tencentcloud-sdk-python 3.0.1384__py2.py3-none-any.whl → 3.0.1385__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +62 -2
- tencentcloud/clb/v20180317/models.py +10 -2
- tencentcloud/cls/v20201016/cls_client.py +2 -1
- tencentcloud/cls/v20201016/models.py +21 -2
- tencentcloud/cvm/v20170312/errorcodes.py +12 -3
- tencentcloud/cvm/v20170312/models.py +12 -10
- tencentcloud/cynosdb/v20190107/models.py +0 -4
- tencentcloud/dsgc/v20190723/dsgc_client.py +45 -15
- tencentcloud/dsgc/v20190723/models.py +24 -4
- tencentcloud/dts/v20180330/models.py +8 -0
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/goosefs/v20220519/goosefs_client.py +138 -0
- tencentcloud/goosefs/v20220519/models.py +861 -1
- tencentcloud/hai/v20230812/models.py +6 -6
- tencentcloud/iotexplorer/v20190423/models.py +19 -4
- tencentcloud/keewidb/v20220308/models.py +26 -2
- tencentcloud/lighthouse/v20200324/models.py +4 -0
- tencentcloud/lke/v20231130/lke_client.py +3 -3
- tencentcloud/lke/v20231130/models.py +0 -90
- tencentcloud/postgres/v20170312/models.py +0 -214
- tencentcloud/postgres/v20170312/postgres_client.py +0 -25
- tencentcloud/scf/v20180416/models.py +4 -4
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +30 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +50 -2
- tencentcloud/tse/v20201207/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +126 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1384.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/top_level.txt +0 -0
@@ -1895,7 +1895,7 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
|
|
1895
1895
|
默认值:NOTIFY_AND_MANUAL_RENEW
|
1896
1896
|
|
1897
1897
|
:type RenewFlag: str
|
1898
|
-
:param _TimeUnit:
|
1898
|
+
:param _TimeUnit: 时长单位,枚举: MONTH, DAY, HOUR;释义:月,日,小时
|
1899
1899
|
:type TimeUnit: str
|
1900
1900
|
"""
|
1901
1901
|
self._Period = None
|
@@ -1931,7 +1931,7 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
|
|
1931
1931
|
|
1932
1932
|
@property
|
1933
1933
|
def TimeUnit(self):
|
1934
|
-
"""
|
1934
|
+
"""时长单位,枚举: MONTH, DAY, HOUR;释义:月,日,小时
|
1935
1935
|
:rtype: str
|
1936
1936
|
"""
|
1937
1937
|
return self._TimeUnit
|
@@ -1962,9 +1962,9 @@ class ItemPrice(AbstractModel):
|
|
1962
1962
|
|
1963
1963
|
def __init__(self):
|
1964
1964
|
r"""
|
1965
|
-
:param _UnitPrice:
|
1965
|
+
:param _UnitPrice: 原单价,元
|
1966
1966
|
:type UnitPrice: float
|
1967
|
-
:param _DiscountUnitPrice:
|
1967
|
+
:param _DiscountUnitPrice: 折扣后单价,元
|
1968
1968
|
:type DiscountUnitPrice: float
|
1969
1969
|
:param _Discount: 折扣
|
1970
1970
|
:type Discount: float
|
@@ -1982,7 +1982,7 @@ class ItemPrice(AbstractModel):
|
|
1982
1982
|
|
1983
1983
|
@property
|
1984
1984
|
def UnitPrice(self):
|
1985
|
-
"""
|
1985
|
+
"""原单价,元
|
1986
1986
|
:rtype: float
|
1987
1987
|
"""
|
1988
1988
|
return self._UnitPrice
|
@@ -1993,7 +1993,7 @@ class ItemPrice(AbstractModel):
|
|
1993
1993
|
|
1994
1994
|
@property
|
1995
1995
|
def DiscountUnitPrice(self):
|
1996
|
-
"""
|
1996
|
+
"""折扣后单价,元
|
1997
1997
|
:rtype: float
|
1998
1998
|
"""
|
1999
1999
|
return self._DiscountUnitPrice
|
@@ -29755,7 +29755,7 @@ class VisionRecognitionResult(AbstractModel):
|
|
29755
29755
|
|
29756
29756
|
def __init__(self):
|
29757
29757
|
r"""
|
29758
|
-
:param _Status: 任务状态(1
|
29758
|
+
:param _Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功)
|
29759
29759
|
:type Status: int
|
29760
29760
|
:param _DetectedClassifications: 识别到的目标类型。可能取值:
|
29761
29761
|
|
@@ -29769,16 +29769,19 @@ class VisionRecognitionResult(AbstractModel):
|
|
29769
29769
|
- `license_plate`:车牌
|
29770
29770
|
|
29771
29771
|
:type DetectedClassifications: list of str
|
29772
|
-
:param _Summary:
|
29772
|
+
:param _Summary: 摘要文本
|
29773
29773
|
:type Summary: str
|
29774
|
+
:param _AlternativeSummary: 摘要文本(次选语言)
|
29775
|
+
:type AlternativeSummary: str
|
29774
29776
|
"""
|
29775
29777
|
self._Status = None
|
29776
29778
|
self._DetectedClassifications = None
|
29777
29779
|
self._Summary = None
|
29780
|
+
self._AlternativeSummary = None
|
29778
29781
|
|
29779
29782
|
@property
|
29780
29783
|
def Status(self):
|
29781
|
-
"""任务状态(1
|
29784
|
+
"""任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功)
|
29782
29785
|
:rtype: int
|
29783
29786
|
"""
|
29784
29787
|
return self._Status
|
@@ -29810,7 +29813,7 @@ class VisionRecognitionResult(AbstractModel):
|
|
29810
29813
|
|
29811
29814
|
@property
|
29812
29815
|
def Summary(self):
|
29813
|
-
"""
|
29816
|
+
"""摘要文本
|
29814
29817
|
:rtype: str
|
29815
29818
|
"""
|
29816
29819
|
return self._Summary
|
@@ -29819,11 +29822,23 @@ class VisionRecognitionResult(AbstractModel):
|
|
29819
29822
|
def Summary(self, Summary):
|
29820
29823
|
self._Summary = Summary
|
29821
29824
|
|
29825
|
+
@property
|
29826
|
+
def AlternativeSummary(self):
|
29827
|
+
"""摘要文本(次选语言)
|
29828
|
+
:rtype: str
|
29829
|
+
"""
|
29830
|
+
return self._AlternativeSummary
|
29831
|
+
|
29832
|
+
@AlternativeSummary.setter
|
29833
|
+
def AlternativeSummary(self, AlternativeSummary):
|
29834
|
+
self._AlternativeSummary = AlternativeSummary
|
29835
|
+
|
29822
29836
|
|
29823
29837
|
def _deserialize(self, params):
|
29824
29838
|
self._Status = params.get("Status")
|
29825
29839
|
self._DetectedClassifications = params.get("DetectedClassifications")
|
29826
29840
|
self._Summary = params.get("Summary")
|
29841
|
+
self._AlternativeSummary = params.get("AlternativeSummary")
|
29827
29842
|
memeber_set = set(params.keys())
|
29828
29843
|
for name, value in vars(self).items():
|
29829
29844
|
property_name = name[1:]
|
@@ -2644,10 +2644,12 @@ class DescribeInstancesRequest(AbstractModel):
|
|
2644
2644
|
:type TypeList: list of int
|
2645
2645
|
:param _MonitorVersion: 内部参数,用户可忽略。
|
2646
2646
|
:type MonitorVersion: str
|
2647
|
-
:param _InstanceTags:
|
2647
|
+
:param _InstanceTags: 废弃字段。请使用TagList传参。
|
2648
2648
|
:type InstanceTags: :class:`tencentcloud.keewidb.v20220308.models.InstanceTagInfo`
|
2649
2649
|
:param _TagKeys: 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。
|
2650
2650
|
:type TagKeys: list of str
|
2651
|
+
:param _TagList: 根据标签的 Key 和 Value 筛选资源。该参数不配置或者数组设置为空值,则不根据标签进行过滤。
|
2652
|
+
:type TagList: list of InstanceTagInfo
|
2651
2653
|
"""
|
2652
2654
|
self._Limit = None
|
2653
2655
|
self._Offset = None
|
@@ -2670,6 +2672,7 @@ class DescribeInstancesRequest(AbstractModel):
|
|
2670
2672
|
self._MonitorVersion = None
|
2671
2673
|
self._InstanceTags = None
|
2672
2674
|
self._TagKeys = None
|
2675
|
+
self._TagList = None
|
2673
2676
|
|
2674
2677
|
@property
|
2675
2678
|
def Limit(self):
|
@@ -2883,13 +2886,17 @@ class DescribeInstancesRequest(AbstractModel):
|
|
2883
2886
|
|
2884
2887
|
@property
|
2885
2888
|
def InstanceTags(self):
|
2886
|
-
"
|
2889
|
+
warnings.warn("parameter `InstanceTags` is deprecated", DeprecationWarning)
|
2890
|
+
|
2891
|
+
"""废弃字段。请使用TagList传参。
|
2887
2892
|
:rtype: :class:`tencentcloud.keewidb.v20220308.models.InstanceTagInfo`
|
2888
2893
|
"""
|
2889
2894
|
return self._InstanceTags
|
2890
2895
|
|
2891
2896
|
@InstanceTags.setter
|
2892
2897
|
def InstanceTags(self, InstanceTags):
|
2898
|
+
warnings.warn("parameter `InstanceTags` is deprecated", DeprecationWarning)
|
2899
|
+
|
2893
2900
|
self._InstanceTags = InstanceTags
|
2894
2901
|
|
2895
2902
|
@property
|
@@ -2903,6 +2910,17 @@ class DescribeInstancesRequest(AbstractModel):
|
|
2903
2910
|
def TagKeys(self, TagKeys):
|
2904
2911
|
self._TagKeys = TagKeys
|
2905
2912
|
|
2913
|
+
@property
|
2914
|
+
def TagList(self):
|
2915
|
+
"""根据标签的 Key 和 Value 筛选资源。该参数不配置或者数组设置为空值,则不根据标签进行过滤。
|
2916
|
+
:rtype: list of InstanceTagInfo
|
2917
|
+
"""
|
2918
|
+
return self._TagList
|
2919
|
+
|
2920
|
+
@TagList.setter
|
2921
|
+
def TagList(self, TagList):
|
2922
|
+
self._TagList = TagList
|
2923
|
+
|
2906
2924
|
|
2907
2925
|
def _deserialize(self, params):
|
2908
2926
|
self._Limit = params.get("Limit")
|
@@ -2928,6 +2946,12 @@ class DescribeInstancesRequest(AbstractModel):
|
|
2928
2946
|
self._InstanceTags = InstanceTagInfo()
|
2929
2947
|
self._InstanceTags._deserialize(params.get("InstanceTags"))
|
2930
2948
|
self._TagKeys = params.get("TagKeys")
|
2949
|
+
if params.get("TagList") is not None:
|
2950
|
+
self._TagList = []
|
2951
|
+
for item in params.get("TagList"):
|
2952
|
+
obj = InstanceTagInfo()
|
2953
|
+
obj._deserialize(item)
|
2954
|
+
self._TagList.append(obj)
|
2931
2955
|
memeber_set = set(params.keys())
|
2932
2956
|
for name, value in vars(self).items():
|
2933
2957
|
property_name = name[1:]
|
@@ -15794,6 +15794,8 @@ class RenewDiskChargePrepaid(AbstractModel):
|
|
15794
15794
|
def __init__(self):
|
15795
15795
|
r"""
|
15796
15796
|
:param _Period: 续费周期。
|
15797
|
+
单位:月。
|
15798
|
+
取值范围: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]
|
15797
15799
|
:type Period: int
|
15798
15800
|
:param _RenewFlag: 自动续费标识。
|
15799
15801
|
取值范围:
|
@@ -15817,6 +15819,8 @@ class RenewDiskChargePrepaid(AbstractModel):
|
|
15817
15819
|
@property
|
15818
15820
|
def Period(self):
|
15819
15821
|
"""续费周期。
|
15822
|
+
单位:月。
|
15823
|
+
取值范围: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36]
|
15820
15824
|
:rtype: int
|
15821
15825
|
"""
|
15822
15826
|
return self._Period
|
@@ -2202,9 +2202,9 @@ class LkeClient(AbstractClient):
|
|
2202
2202
|
def SaveDoc(self, request):
|
2203
2203
|
"""知识库文档问答保存。
|
2204
2204
|
将文件存储到应用的知识库内需要三步:
|
2205
|
-
1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [
|
2206
|
-
2.调用腾讯云提供的 cos
|
2207
|
-
3
|
2205
|
+
1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [智能体开发平台操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
|
2206
|
+
2.调用腾讯云提供的 cos 存储接口,将文件存储到智能体开发平台 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
|
2207
|
+
3.调用本接口,将文件的基础信息存储到智能体开发平台中。
|
2208
2208
|
以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
|
2209
2209
|
|
2210
2210
|
:param request: Request instance for SaveDoc.
|
@@ -6823,10 +6823,6 @@ class DescribeDocResponse(AbstractModel):
|
|
6823
6823
|
:type AttrLabels: list of AttrLabel
|
6824
6824
|
:param _CateBizId: 分类ID
|
6825
6825
|
:type CateBizId: str
|
6826
|
-
:param _CustomerKnowledgeId: 文档的用户自定义ID
|
6827
|
-
:type CustomerKnowledgeId: str
|
6828
|
-
:param _AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
6829
|
-
:type AttributeFlags: list of int non-negative
|
6830
6826
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6831
6827
|
:type RequestId: str
|
6832
6828
|
"""
|
@@ -6854,8 +6850,6 @@ class DescribeDocResponse(AbstractModel):
|
|
6854
6850
|
self._AttrRange = None
|
6855
6851
|
self._AttrLabels = None
|
6856
6852
|
self._CateBizId = None
|
6857
|
-
self._CustomerKnowledgeId = None
|
6858
|
-
self._AttributeFlags = None
|
6859
6853
|
self._RequestId = None
|
6860
6854
|
|
6861
6855
|
@property
|
@@ -7122,28 +7116,6 @@ class DescribeDocResponse(AbstractModel):
|
|
7122
7116
|
def CateBizId(self, CateBizId):
|
7123
7117
|
self._CateBizId = CateBizId
|
7124
7118
|
|
7125
|
-
@property
|
7126
|
-
def CustomerKnowledgeId(self):
|
7127
|
-
"""文档的用户自定义ID
|
7128
|
-
:rtype: str
|
7129
|
-
"""
|
7130
|
-
return self._CustomerKnowledgeId
|
7131
|
-
|
7132
|
-
@CustomerKnowledgeId.setter
|
7133
|
-
def CustomerKnowledgeId(self, CustomerKnowledgeId):
|
7134
|
-
self._CustomerKnowledgeId = CustomerKnowledgeId
|
7135
|
-
|
7136
|
-
@property
|
7137
|
-
def AttributeFlags(self):
|
7138
|
-
"""文档的属性标记,0: 不做用户外部权限校验
|
7139
|
-
:rtype: list of int non-negative
|
7140
|
-
"""
|
7141
|
-
return self._AttributeFlags
|
7142
|
-
|
7143
|
-
@AttributeFlags.setter
|
7144
|
-
def AttributeFlags(self, AttributeFlags):
|
7145
|
-
self._AttributeFlags = AttributeFlags
|
7146
|
-
|
7147
7119
|
@property
|
7148
7120
|
def RequestId(self):
|
7149
7121
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -7186,8 +7158,6 @@ class DescribeDocResponse(AbstractModel):
|
|
7186
7158
|
obj._deserialize(item)
|
7187
7159
|
self._AttrLabels.append(obj)
|
7188
7160
|
self._CateBizId = params.get("CateBizId")
|
7189
|
-
self._CustomerKnowledgeId = params.get("CustomerKnowledgeId")
|
7190
|
-
self._AttributeFlags = params.get("AttributeFlags")
|
7191
7161
|
self._RequestId = params.get("RequestId")
|
7192
7162
|
|
7193
7163
|
|
@@ -20201,10 +20171,6 @@ class ModifyDocRequest(AbstractModel):
|
|
20201
20171
|
:type ExpireEnd: str
|
20202
20172
|
:param _CateBizId: 分类ID
|
20203
20173
|
:type CateBizId: str
|
20204
|
-
:param _CustomerKnowledgeId: 文档的用户自定义ID
|
20205
|
-
:type CustomerKnowledgeId: str
|
20206
|
-
:param _AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
20207
|
-
:type AttributeFlags: list of int non-negative
|
20208
20174
|
"""
|
20209
20175
|
self._BotBizId = None
|
20210
20176
|
self._DocBizId = None
|
@@ -20218,8 +20184,6 @@ class ModifyDocRequest(AbstractModel):
|
|
20218
20184
|
self._ExpireStart = None
|
20219
20185
|
self._ExpireEnd = None
|
20220
20186
|
self._CateBizId = None
|
20221
|
-
self._CustomerKnowledgeId = None
|
20222
|
-
self._AttributeFlags = None
|
20223
20187
|
|
20224
20188
|
@property
|
20225
20189
|
def BotBizId(self):
|
@@ -20354,28 +20318,6 @@ class ModifyDocRequest(AbstractModel):
|
|
20354
20318
|
def CateBizId(self, CateBizId):
|
20355
20319
|
self._CateBizId = CateBizId
|
20356
20320
|
|
20357
|
-
@property
|
20358
|
-
def CustomerKnowledgeId(self):
|
20359
|
-
"""文档的用户自定义ID
|
20360
|
-
:rtype: str
|
20361
|
-
"""
|
20362
|
-
return self._CustomerKnowledgeId
|
20363
|
-
|
20364
|
-
@CustomerKnowledgeId.setter
|
20365
|
-
def CustomerKnowledgeId(self, CustomerKnowledgeId):
|
20366
|
-
self._CustomerKnowledgeId = CustomerKnowledgeId
|
20367
|
-
|
20368
|
-
@property
|
20369
|
-
def AttributeFlags(self):
|
20370
|
-
"""文档的属性标记,0: 不做用户外部权限校验
|
20371
|
-
:rtype: list of int non-negative
|
20372
|
-
"""
|
20373
|
-
return self._AttributeFlags
|
20374
|
-
|
20375
|
-
@AttributeFlags.setter
|
20376
|
-
def AttributeFlags(self, AttributeFlags):
|
20377
|
-
self._AttributeFlags = AttributeFlags
|
20378
|
-
|
20379
20321
|
|
20380
20322
|
def _deserialize(self, params):
|
20381
20323
|
self._BotBizId = params.get("BotBizId")
|
@@ -20395,8 +20337,6 @@ class ModifyDocRequest(AbstractModel):
|
|
20395
20337
|
self._ExpireStart = params.get("ExpireStart")
|
20396
20338
|
self._ExpireEnd = params.get("ExpireEnd")
|
20397
20339
|
self._CateBizId = params.get("CateBizId")
|
20398
|
-
self._CustomerKnowledgeId = params.get("CustomerKnowledgeId")
|
20399
|
-
self._AttributeFlags = params.get("AttributeFlags")
|
20400
20340
|
memeber_set = set(params.keys())
|
20401
20341
|
for name, value in vars(self).items():
|
20402
20342
|
property_name = name[1:]
|
@@ -25078,10 +25018,6 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
25078
25018
|
:type Opt: int
|
25079
25019
|
:param _CateBizId: 分类ID
|
25080
25020
|
:type CateBizId: str
|
25081
|
-
:param _CustomerKnowledgeId: 文档的用户自定义ID
|
25082
|
-
:type CustomerKnowledgeId: str
|
25083
|
-
:param _AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
25084
|
-
:type AttributeFlags: list of int non-negative
|
25085
25021
|
"""
|
25086
25022
|
self._BotBizId = None
|
25087
25023
|
self._FileName = None
|
@@ -25100,8 +25036,6 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
25100
25036
|
self._IsRefer = None
|
25101
25037
|
self._Opt = None
|
25102
25038
|
self._CateBizId = None
|
25103
|
-
self._CustomerKnowledgeId = None
|
25104
|
-
self._AttributeFlags = None
|
25105
25039
|
|
25106
25040
|
@property
|
25107
25041
|
def BotBizId(self):
|
@@ -25300,28 +25234,6 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
25300
25234
|
def CateBizId(self, CateBizId):
|
25301
25235
|
self._CateBizId = CateBizId
|
25302
25236
|
|
25303
|
-
@property
|
25304
|
-
def CustomerKnowledgeId(self):
|
25305
|
-
"""文档的用户自定义ID
|
25306
|
-
:rtype: str
|
25307
|
-
"""
|
25308
|
-
return self._CustomerKnowledgeId
|
25309
|
-
|
25310
|
-
@CustomerKnowledgeId.setter
|
25311
|
-
def CustomerKnowledgeId(self, CustomerKnowledgeId):
|
25312
|
-
self._CustomerKnowledgeId = CustomerKnowledgeId
|
25313
|
-
|
25314
|
-
@property
|
25315
|
-
def AttributeFlags(self):
|
25316
|
-
"""文档的属性标记,0: 不做用户外部权限校验
|
25317
|
-
:rtype: list of int non-negative
|
25318
|
-
"""
|
25319
|
-
return self._AttributeFlags
|
25320
|
-
|
25321
|
-
@AttributeFlags.setter
|
25322
|
-
def AttributeFlags(self, AttributeFlags):
|
25323
|
-
self._AttributeFlags = AttributeFlags
|
25324
|
-
|
25325
25237
|
|
25326
25238
|
def _deserialize(self, params):
|
25327
25239
|
self._BotBizId = params.get("BotBizId")
|
@@ -25346,8 +25258,6 @@ cos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判
|
|
25346
25258
|
self._IsRefer = params.get("IsRefer")
|
25347
25259
|
self._Opt = params.get("Opt")
|
25348
25260
|
self._CateBizId = params.get("CateBizId")
|
25349
|
-
self._CustomerKnowledgeId = params.get("CustomerKnowledgeId")
|
25350
|
-
self._AttributeFlags = params.get("AttributeFlags")
|
25351
25261
|
memeber_set = set(params.keys())
|
25352
25262
|
for name, value in vars(self).items():
|
25353
25263
|
property_name = name[1:]
|
@@ -21304,220 +21304,6 @@ class UpgradeDBInstanceMajorVersionResponse(AbstractModel):
|
|
21304
21304
|
self._RequestId = params.get("RequestId")
|
21305
21305
|
|
21306
21306
|
|
21307
|
-
class UpgradeDBInstanceRequest(AbstractModel):
|
21308
|
-
"""UpgradeDBInstance请求参数结构体
|
21309
|
-
|
21310
|
-
"""
|
21311
|
-
|
21312
|
-
def __init__(self):
|
21313
|
-
r"""
|
21314
|
-
:param _Memory: 升级后的实例内存大小,单位GB
|
21315
|
-
:type Memory: int
|
21316
|
-
:param _Storage: 升级后的实例磁盘大小,单位GB
|
21317
|
-
:type Storage: int
|
21318
|
-
:param _DBInstanceId: 实例ID,形如postgres-lnp6j617
|
21319
|
-
:type DBInstanceId: str
|
21320
|
-
:param _AutoVoucher: 是否自动使用代金券,1是,0否,默认不使用
|
21321
|
-
:type AutoVoucher: int
|
21322
|
-
:param _VoucherIds: 代金券ID列表,目前仅支持指定一张代金券
|
21323
|
-
:type VoucherIds: list of str
|
21324
|
-
:param _ActivityId: 活动ID
|
21325
|
-
:type ActivityId: int
|
21326
|
-
:param _SwitchTag: 指定实例配置完成变更后的切换时间,默认为 立即切换,入参为 0 :立即切换 。1:指定时间切换。
|
21327
|
-
:type SwitchTag: int
|
21328
|
-
:param _SwitchStartTime: 切换开始时间
|
21329
|
-
:type SwitchStartTime: str
|
21330
|
-
:param _SwitchEndTime: 切换截止时间
|
21331
|
-
:type SwitchEndTime: str
|
21332
|
-
"""
|
21333
|
-
self._Memory = None
|
21334
|
-
self._Storage = None
|
21335
|
-
self._DBInstanceId = None
|
21336
|
-
self._AutoVoucher = None
|
21337
|
-
self._VoucherIds = None
|
21338
|
-
self._ActivityId = None
|
21339
|
-
self._SwitchTag = None
|
21340
|
-
self._SwitchStartTime = None
|
21341
|
-
self._SwitchEndTime = None
|
21342
|
-
|
21343
|
-
@property
|
21344
|
-
def Memory(self):
|
21345
|
-
"""升级后的实例内存大小,单位GB
|
21346
|
-
:rtype: int
|
21347
|
-
"""
|
21348
|
-
return self._Memory
|
21349
|
-
|
21350
|
-
@Memory.setter
|
21351
|
-
def Memory(self, Memory):
|
21352
|
-
self._Memory = Memory
|
21353
|
-
|
21354
|
-
@property
|
21355
|
-
def Storage(self):
|
21356
|
-
"""升级后的实例磁盘大小,单位GB
|
21357
|
-
:rtype: int
|
21358
|
-
"""
|
21359
|
-
return self._Storage
|
21360
|
-
|
21361
|
-
@Storage.setter
|
21362
|
-
def Storage(self, Storage):
|
21363
|
-
self._Storage = Storage
|
21364
|
-
|
21365
|
-
@property
|
21366
|
-
def DBInstanceId(self):
|
21367
|
-
"""实例ID,形如postgres-lnp6j617
|
21368
|
-
:rtype: str
|
21369
|
-
"""
|
21370
|
-
return self._DBInstanceId
|
21371
|
-
|
21372
|
-
@DBInstanceId.setter
|
21373
|
-
def DBInstanceId(self, DBInstanceId):
|
21374
|
-
self._DBInstanceId = DBInstanceId
|
21375
|
-
|
21376
|
-
@property
|
21377
|
-
def AutoVoucher(self):
|
21378
|
-
"""是否自动使用代金券,1是,0否,默认不使用
|
21379
|
-
:rtype: int
|
21380
|
-
"""
|
21381
|
-
return self._AutoVoucher
|
21382
|
-
|
21383
|
-
@AutoVoucher.setter
|
21384
|
-
def AutoVoucher(self, AutoVoucher):
|
21385
|
-
self._AutoVoucher = AutoVoucher
|
21386
|
-
|
21387
|
-
@property
|
21388
|
-
def VoucherIds(self):
|
21389
|
-
"""代金券ID列表,目前仅支持指定一张代金券
|
21390
|
-
:rtype: list of str
|
21391
|
-
"""
|
21392
|
-
return self._VoucherIds
|
21393
|
-
|
21394
|
-
@VoucherIds.setter
|
21395
|
-
def VoucherIds(self, VoucherIds):
|
21396
|
-
self._VoucherIds = VoucherIds
|
21397
|
-
|
21398
|
-
@property
|
21399
|
-
def ActivityId(self):
|
21400
|
-
"""活动ID
|
21401
|
-
:rtype: int
|
21402
|
-
"""
|
21403
|
-
return self._ActivityId
|
21404
|
-
|
21405
|
-
@ActivityId.setter
|
21406
|
-
def ActivityId(self, ActivityId):
|
21407
|
-
self._ActivityId = ActivityId
|
21408
|
-
|
21409
|
-
@property
|
21410
|
-
def SwitchTag(self):
|
21411
|
-
"""指定实例配置完成变更后的切换时间,默认为 立即切换,入参为 0 :立即切换 。1:指定时间切换。
|
21412
|
-
:rtype: int
|
21413
|
-
"""
|
21414
|
-
return self._SwitchTag
|
21415
|
-
|
21416
|
-
@SwitchTag.setter
|
21417
|
-
def SwitchTag(self, SwitchTag):
|
21418
|
-
self._SwitchTag = SwitchTag
|
21419
|
-
|
21420
|
-
@property
|
21421
|
-
def SwitchStartTime(self):
|
21422
|
-
"""切换开始时间
|
21423
|
-
:rtype: str
|
21424
|
-
"""
|
21425
|
-
return self._SwitchStartTime
|
21426
|
-
|
21427
|
-
@SwitchStartTime.setter
|
21428
|
-
def SwitchStartTime(self, SwitchStartTime):
|
21429
|
-
self._SwitchStartTime = SwitchStartTime
|
21430
|
-
|
21431
|
-
@property
|
21432
|
-
def SwitchEndTime(self):
|
21433
|
-
"""切换截止时间
|
21434
|
-
:rtype: str
|
21435
|
-
"""
|
21436
|
-
return self._SwitchEndTime
|
21437
|
-
|
21438
|
-
@SwitchEndTime.setter
|
21439
|
-
def SwitchEndTime(self, SwitchEndTime):
|
21440
|
-
self._SwitchEndTime = SwitchEndTime
|
21441
|
-
|
21442
|
-
|
21443
|
-
def _deserialize(self, params):
|
21444
|
-
self._Memory = params.get("Memory")
|
21445
|
-
self._Storage = params.get("Storage")
|
21446
|
-
self._DBInstanceId = params.get("DBInstanceId")
|
21447
|
-
self._AutoVoucher = params.get("AutoVoucher")
|
21448
|
-
self._VoucherIds = params.get("VoucherIds")
|
21449
|
-
self._ActivityId = params.get("ActivityId")
|
21450
|
-
self._SwitchTag = params.get("SwitchTag")
|
21451
|
-
self._SwitchStartTime = params.get("SwitchStartTime")
|
21452
|
-
self._SwitchEndTime = params.get("SwitchEndTime")
|
21453
|
-
memeber_set = set(params.keys())
|
21454
|
-
for name, value in vars(self).items():
|
21455
|
-
property_name = name[1:]
|
21456
|
-
if property_name in memeber_set:
|
21457
|
-
memeber_set.remove(property_name)
|
21458
|
-
if len(memeber_set) > 0:
|
21459
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21460
|
-
|
21461
|
-
|
21462
|
-
|
21463
|
-
class UpgradeDBInstanceResponse(AbstractModel):
|
21464
|
-
"""UpgradeDBInstance返回参数结构体
|
21465
|
-
|
21466
|
-
"""
|
21467
|
-
|
21468
|
-
def __init__(self):
|
21469
|
-
r"""
|
21470
|
-
:param _DealName: 交易名字。
|
21471
|
-
:type DealName: str
|
21472
|
-
:param _BillId: 冻结流水号
|
21473
|
-
:type BillId: str
|
21474
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21475
|
-
:type RequestId: str
|
21476
|
-
"""
|
21477
|
-
self._DealName = None
|
21478
|
-
self._BillId = None
|
21479
|
-
self._RequestId = None
|
21480
|
-
|
21481
|
-
@property
|
21482
|
-
def DealName(self):
|
21483
|
-
"""交易名字。
|
21484
|
-
:rtype: str
|
21485
|
-
"""
|
21486
|
-
return self._DealName
|
21487
|
-
|
21488
|
-
@DealName.setter
|
21489
|
-
def DealName(self, DealName):
|
21490
|
-
self._DealName = DealName
|
21491
|
-
|
21492
|
-
@property
|
21493
|
-
def BillId(self):
|
21494
|
-
"""冻结流水号
|
21495
|
-
:rtype: str
|
21496
|
-
"""
|
21497
|
-
return self._BillId
|
21498
|
-
|
21499
|
-
@BillId.setter
|
21500
|
-
def BillId(self, BillId):
|
21501
|
-
self._BillId = BillId
|
21502
|
-
|
21503
|
-
@property
|
21504
|
-
def RequestId(self):
|
21505
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21506
|
-
:rtype: str
|
21507
|
-
"""
|
21508
|
-
return self._RequestId
|
21509
|
-
|
21510
|
-
@RequestId.setter
|
21511
|
-
def RequestId(self, RequestId):
|
21512
|
-
self._RequestId = RequestId
|
21513
|
-
|
21514
|
-
|
21515
|
-
def _deserialize(self, params):
|
21516
|
-
self._DealName = params.get("DealName")
|
21517
|
-
self._BillId = params.get("BillId")
|
21518
|
-
self._RequestId = params.get("RequestId")
|
21519
|
-
|
21520
|
-
|
21521
21307
|
class Version(AbstractModel):
|
21522
21308
|
"""数据库版本号信息
|
21523
21309
|
|
@@ -2390,31 +2390,6 @@ class PostgresClient(AbstractClient):
|
|
2390
2390
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2391
2391
|
|
2392
2392
|
|
2393
|
-
def UpgradeDBInstance(self, request):
|
2394
|
-
"""早期接口,不规范,已提供新接口 ModifyDBInstanceSpec 替换
|
2395
|
-
|
2396
|
-
本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。
|
2397
|
-
|
2398
|
-
:param request: Request instance for UpgradeDBInstance.
|
2399
|
-
:type request: :class:`tencentcloud.postgres.v20170312.models.UpgradeDBInstanceRequest`
|
2400
|
-
:rtype: :class:`tencentcloud.postgres.v20170312.models.UpgradeDBInstanceResponse`
|
2401
|
-
|
2402
|
-
"""
|
2403
|
-
try:
|
2404
|
-
params = request._serialize()
|
2405
|
-
headers = request.headers
|
2406
|
-
body = self.call("UpgradeDBInstance", params, headers=headers)
|
2407
|
-
response = json.loads(body)
|
2408
|
-
model = models.UpgradeDBInstanceResponse()
|
2409
|
-
model._deserialize(response["Response"])
|
2410
|
-
return model
|
2411
|
-
except Exception as e:
|
2412
|
-
if isinstance(e, TencentCloudSDKException):
|
2413
|
-
raise
|
2414
|
-
else:
|
2415
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2416
|
-
|
2417
|
-
|
2418
2393
|
def UpgradeDBInstanceKernelVersion(self, request):
|
2419
2394
|
"""本接口(UpgradeDBInstanceKernelVersion)用于升级实例的内核版本号。
|
2420
2395
|
|
@@ -6728,7 +6728,7 @@ class ImageConfig(AbstractModel):
|
|
6728
6728
|
:param _RegistryId: 用于企业版TCR获取镜像拉取临时凭证,ImageType为"enterprise"时必填
|
6729
6729
|
注意:此字段可能返回 null,表示取不到有效值。
|
6730
6730
|
:type RegistryId: str
|
6731
|
-
:param _EntryPoint:
|
6731
|
+
:param _EntryPoint: 该参数即将下线,不推荐用户使用
|
6732
6732
|
注意:此字段可能返回 null,表示取不到有效值。
|
6733
6733
|
:type EntryPoint: str
|
6734
6734
|
:param _Command: 容器的启动命令。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 Entrypoint。传入规范,填写可运行的指令,例如 python
|
@@ -6794,7 +6794,7 @@ Job 镜像:-1
|
|
6794
6794
|
|
6795
6795
|
@property
|
6796
6796
|
def EntryPoint(self):
|
6797
|
-
"""
|
6797
|
+
"""该参数即将下线,不推荐用户使用
|
6798
6798
|
注意:此字段可能返回 null,表示取不到有效值。
|
6799
6799
|
:rtype: str
|
6800
6800
|
"""
|
@@ -11238,7 +11238,7 @@ class Result(AbstractModel):
|
|
11238
11238
|
:type BillDuration: int
|
11239
11239
|
:param _FunctionRequestId: 此次函数执行的Id
|
11240
11240
|
:type FunctionRequestId: str
|
11241
|
-
:param _InvokeResult:
|
11241
|
+
:param _InvokeResult: 该参数不再维护,不推荐用户继续使用。
|
11242
11242
|
:type InvokeResult: int
|
11243
11243
|
"""
|
11244
11244
|
self._Log = None
|
@@ -11329,7 +11329,7 @@ class Result(AbstractModel):
|
|
11329
11329
|
|
11330
11330
|
@property
|
11331
11331
|
def InvokeResult(self):
|
11332
|
-
"""
|
11332
|
+
"""该参数不再维护,不推荐用户继续使用。
|
11333
11333
|
:rtype: int
|
11334
11334
|
"""
|
11335
11335
|
return self._InvokeResult
|