tencentcloud-sdk-python 3.1.194__py2.py3-none-any.whl → 3.1.196__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/adp/v20260520/adp_client.py +1 -2
- tencentcloud/adp/v20260520/adp_client_async.py +1 -2
- tencentcloud/adp/v20260520/models.py +21 -6
- tencentcloud/ags/v20250920/errorcodes.py +9 -0
- tencentcloud/ags/v20250920/models.py +5 -5
- tencentcloud/cdwdoris/v20211228/models.py +152 -20
- tencentcloud/cdz/v20221123/models.py +27 -12
- tencentcloud/ckafka/v20190819/models.py +71 -26
- tencentcloud/cloudaudit/v20190319/models.py +15 -0
- tencentcloud/cngw/v20230418/cngw_client.py +22 -3
- tencentcloud/cngw/v20230418/cngw_client_async.py +22 -3
- tencentcloud/cngw/v20230418/errorcodes.py +3 -0
- tencentcloud/cngw/v20230418/models.py +1976 -40
- tencentcloud/csip/v20221121/models.py +30 -0
- tencentcloud/ctem/v20231128/ctem_client.py +115 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +90 -0
- tencentcloud/ctem/v20231128/models.py +678 -37
- tencentcloud/cvd/__init__.py +0 -0
- tencentcloud/cvd/v20201104/__init__.py +0 -0
- tencentcloud/cvd/v20201104/cvd_client.py +1133 -0
- tencentcloud/cvd/v20201104/cvd_client_async.py +893 -0
- tencentcloud/cvd/v20201104/errorcodes.py +168 -0
- tencentcloud/cvd/v20201104/models.py +9275 -0
- tencentcloud/cynosdb/v20190107/models.py +277 -40
- tencentcloud/databuddy/v20260715/errorcodes.py +1 -1
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +430 -0
- tencentcloud/dbdc/v20201029/models.py +161 -0
- tencentcloud/ga2/v20250115/models.py +174 -12
- tencentcloud/goosefs/v20220519/goosefs_client.py +23 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +18 -0
- tencentcloud/goosefs/v20220519/models.py +543 -0
- tencentcloud/ioa/v20220601/ioa_client.py +3 -3
- tencentcloud/ioa/v20220601/ioa_client_async.py +3 -3
- tencentcloud/ioa/v20220601/models.py +386 -109
- tencentcloud/kms/v20190118/errorcodes.py +27 -0
- tencentcloud/kms/v20190118/kms_client.py +23 -0
- tencentcloud/kms/v20190118/kms_client_async.py +18 -0
- tencentcloud/kms/v20190118/models.py +227 -0
- tencentcloud/live/v20180801/models.py +102 -122
- tencentcloud/mps/v20190612/models.py +2 -2
- tencentcloud/mqtt/v20240516/models.py +72 -92
- tencentcloud/privatedns/v20201028/models.py +240 -6
- tencentcloud/redis/v20180412/models.py +62 -146
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +245 -1732
- tencentcloud/tcb/v20180608/tcb_client.py +0 -115
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -90
- tencentcloud/tse/v20201207/models.py +1576 -340
- tencentcloud/tse/v20201207/tse_client.py +1 -1
- tencentcloud/tse/v20201207/tse_client_async.py +1 -1
- tencentcloud/vod/v20180717/models.py +607 -4
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/vod/v20180717/vod_client_async.py +1 -0
- tencentcloud/waf/v20180125/models.py +14 -14
- tencentcloud/wedata/v20210820/models.py +68 -0
- tencentcloud/workbuddyenterprise/v20260709/models.py +207 -2
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client.py +1 -1
- tencentcloud/workbuddyenterprise/v20260709/workbuddyenterprise_client_async.py +1 -1
- tencentcloud/wsa/v20250508/models.py +2 -2
- {tencentcloud_sdk_python-3.1.194.dist-info → tencentcloud_sdk_python-3.1.196.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.194.dist-info → tencentcloud_sdk_python-3.1.196.dist-info}/RECORD +67 -61
- {tencentcloud_sdk_python-3.1.194.dist-info → tencentcloud_sdk_python-3.1.196.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.194.dist-info → tencentcloud_sdk_python-3.1.196.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.194.dist-info → tencentcloud_sdk_python-3.1.196.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -2811,8 +2811,7 @@ class AdpClient(AbstractClient):
|
|
|
2811
2811
|
|
|
2812
2812
|
|
|
2813
2813
|
def ResetConversation(self, request):
|
|
2814
|
-
r"""
|
|
2815
|
-
注意:当前Claw模式应用会话不支持重置
|
|
2814
|
+
r"""该接口用于重置会话上下文。会话上下文重置后,对话处理中不会携带重置前的历史对话内容
|
|
2816
2815
|
|
|
2817
2816
|
:param request: Request instance for ResetConversation.
|
|
2818
2817
|
:type request: :class:`tencentcloud.adp.v20260520.models.ResetConversationRequest`
|
|
@@ -10779,6 +10779,8 @@ class ConversationExperience(AbstractModel):
|
|
|
10779
10779
|
:type Method: int
|
|
10780
10780
|
:param _RecommendPromptMode: <p>推荐问生成prompt模式。枚举值: 1:仅结合知识库输出推荐问的prompt</p>
|
|
10781
10781
|
:type RecommendPromptMode: int
|
|
10782
|
+
:param _EnableNewMessageInterrupt: <p>新消息中断正在进行的消息</p>
|
|
10783
|
+
:type EnableNewMessageInterrupt: bool
|
|
10782
10784
|
"""
|
|
10783
10785
|
self._AiCall = None
|
|
10784
10786
|
self._BackgroundImage = None
|
|
@@ -10789,6 +10791,7 @@ class ConversationExperience(AbstractModel):
|
|
|
10789
10791
|
self._InputBoxConfig = None
|
|
10790
10792
|
self._Method = None
|
|
10791
10793
|
self._RecommendPromptMode = None
|
|
10794
|
+
self._EnableNewMessageInterrupt = None
|
|
10792
10795
|
|
|
10793
10796
|
@property
|
|
10794
10797
|
def AiCall(self):
|
|
@@ -10892,6 +10895,17 @@ class ConversationExperience(AbstractModel):
|
|
|
10892
10895
|
def RecommendPromptMode(self, RecommendPromptMode):
|
|
10893
10896
|
self._RecommendPromptMode = RecommendPromptMode
|
|
10894
10897
|
|
|
10898
|
+
@property
|
|
10899
|
+
def EnableNewMessageInterrupt(self):
|
|
10900
|
+
r"""<p>新消息中断正在进行的消息</p>
|
|
10901
|
+
:rtype: bool
|
|
10902
|
+
"""
|
|
10903
|
+
return self._EnableNewMessageInterrupt
|
|
10904
|
+
|
|
10905
|
+
@EnableNewMessageInterrupt.setter
|
|
10906
|
+
def EnableNewMessageInterrupt(self, EnableNewMessageInterrupt):
|
|
10907
|
+
self._EnableNewMessageInterrupt = EnableNewMessageInterrupt
|
|
10908
|
+
|
|
10895
10909
|
|
|
10896
10910
|
def _deserialize(self, params):
|
|
10897
10911
|
if params.get("AiCall") is not None:
|
|
@@ -10909,6 +10923,7 @@ class ConversationExperience(AbstractModel):
|
|
|
10909
10923
|
self._InputBoxConfig._deserialize(params.get("InputBoxConfig"))
|
|
10910
10924
|
self._Method = params.get("Method")
|
|
10911
10925
|
self._RecommendPromptMode = params.get("RecommendPromptMode")
|
|
10926
|
+
self._EnableNewMessageInterrupt = params.get("EnableNewMessageInterrupt")
|
|
10912
10927
|
memeber_set = set(params.keys())
|
|
10913
10928
|
for name, value in vars(self).items():
|
|
10914
10929
|
property_name = name[1:]
|
|
@@ -37240,11 +37255,11 @@ class OperationResult(AbstractModel):
|
|
|
37240
37255
|
|
|
37241
37256
|
def __init__(self):
|
|
37242
37257
|
r"""
|
|
37243
|
-
:param _Id:
|
|
37258
|
+
:param _Id: 资源 ID
|
|
37244
37259
|
:type Id: str
|
|
37245
|
-
:param _Reason:
|
|
37260
|
+
:param _Reason: 失败原因(succeeded=false 时填充)
|
|
37246
37261
|
:type Reason: str
|
|
37247
|
-
:param _Succeeded:
|
|
37262
|
+
:param _Succeeded: 是否成功
|
|
37248
37263
|
:type Succeeded: bool
|
|
37249
37264
|
"""
|
|
37250
37265
|
self._Id = None
|
|
@@ -37253,7 +37268,7 @@ class OperationResult(AbstractModel):
|
|
|
37253
37268
|
|
|
37254
37269
|
@property
|
|
37255
37270
|
def Id(self):
|
|
37256
|
-
r"""
|
|
37271
|
+
r"""资源 ID
|
|
37257
37272
|
:rtype: str
|
|
37258
37273
|
"""
|
|
37259
37274
|
return self._Id
|
|
@@ -37264,7 +37279,7 @@ class OperationResult(AbstractModel):
|
|
|
37264
37279
|
|
|
37265
37280
|
@property
|
|
37266
37281
|
def Reason(self):
|
|
37267
|
-
r"""
|
|
37282
|
+
r"""失败原因(succeeded=false 时填充)
|
|
37268
37283
|
:rtype: str
|
|
37269
37284
|
"""
|
|
37270
37285
|
return self._Reason
|
|
@@ -37275,7 +37290,7 @@ class OperationResult(AbstractModel):
|
|
|
37275
37290
|
|
|
37276
37291
|
@property
|
|
37277
37292
|
def Succeeded(self):
|
|
37278
|
-
r"""
|
|
37293
|
+
r"""是否成功
|
|
37279
37294
|
:rtype: bool
|
|
37280
37295
|
"""
|
|
37281
37296
|
return self._Succeeded
|
|
@@ -149,6 +149,12 @@ INVALIDPARAMETERVALUE_AGENTSOURCETYPE = 'InvalidParameterValue.AgentSourceType'
|
|
|
149
149
|
# InvalidParameterValue.ApprovalMode
|
|
150
150
|
INVALIDPARAMETERVALUE_APPROVALMODE = 'InvalidParameterValue.ApprovalMode'
|
|
151
151
|
|
|
152
|
+
# 用户不在自动暂停白名单中
|
|
153
|
+
INVALIDPARAMETERVALUE_AUTOPAUSENOTALLOWED = 'InvalidParameterValue.AutoPauseNotAllowed'
|
|
154
|
+
|
|
155
|
+
# 用户不在自动恢复白名单中
|
|
156
|
+
INVALIDPARAMETERVALUE_AUTORESUMENOTALLOWED = 'InvalidParameterValue.AutoResumeNotAllowed'
|
|
157
|
+
|
|
152
158
|
# InvalidParameterValue.DescriptorType
|
|
153
159
|
INVALIDPARAMETERVALUE_DESCRIPTORTYPE = 'InvalidParameterValue.DescriptorType'
|
|
154
160
|
|
|
@@ -179,6 +185,9 @@ INVALIDPARAMETERVALUE_SANDBOXTOOL = 'InvalidParameterValue.SandboxTool'
|
|
|
179
185
|
# 参数 Scopes 取值无效,或当前地域不支持指定的镜像预热范围。
|
|
180
186
|
INVALIDPARAMETERVALUE_SCOPE = 'InvalidParameterValue.Scope'
|
|
181
187
|
|
|
188
|
+
# 参数 SecurityContext 取值无效
|
|
189
|
+
INVALIDPARAMETERVALUE_SECURITYCONTEXT = 'InvalidParameterValue.SecurityContext'
|
|
190
|
+
|
|
182
191
|
# 安全组ID格式错误
|
|
183
192
|
INVALIDPARAMETERVALUE_SECURITYGROUPID = 'InvalidParameterValue.SecurityGroupId'
|
|
184
193
|
|
|
@@ -11779,7 +11779,7 @@ class ResumeSandboxInstanceResponse(AbstractModel):
|
|
|
11779
11779
|
|
|
11780
11780
|
|
|
11781
11781
|
class SandboxInstance(AbstractModel):
|
|
11782
|
-
r"""
|
|
11782
|
+
r"""沙箱实例结构体信息
|
|
11783
11783
|
|
|
11784
11784
|
"""
|
|
11785
11785
|
|
|
@@ -14169,9 +14169,9 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
14169
14169
|
r"""
|
|
14170
14170
|
:param _InstanceId: <p>沙箱实例ID</p>
|
|
14171
14171
|
:type InstanceId: str
|
|
14172
|
-
:param _Timeout:
|
|
14172
|
+
:param _Timeout: 手动设置实例还需运行多久,如 5m、300s、1h。未传入时保持原设置;传入后从本次设置开始重新计时。仅正在运行、且未设置为永久运行的实例可修改。修改时不会缩短已获得的自动续期时间。
|
|
14173
14173
|
:type Timeout: str
|
|
14174
|
-
:param _Metadata:
|
|
14174
|
+
:param _Metadata: 实例元数据。
|
|
14175
14175
|
:type Metadata: list of MetadataVar
|
|
14176
14176
|
"""
|
|
14177
14177
|
self._InstanceId = None
|
|
@@ -14191,7 +14191,7 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
14191
14191
|
|
|
14192
14192
|
@property
|
|
14193
14193
|
def Timeout(self):
|
|
14194
|
-
r"""
|
|
14194
|
+
r"""手动设置实例还需运行多久,如 5m、300s、1h。未传入时保持原设置;传入后从本次设置开始重新计时。仅正在运行、且未设置为永久运行的实例可修改。修改时不会缩短已获得的自动续期时间。
|
|
14195
14195
|
:rtype: str
|
|
14196
14196
|
"""
|
|
14197
14197
|
return self._Timeout
|
|
@@ -14202,7 +14202,7 @@ class UpdateSandboxInstanceRequest(AbstractModel):
|
|
|
14202
14202
|
|
|
14203
14203
|
@property
|
|
14204
14204
|
def Metadata(self):
|
|
14205
|
-
r"""
|
|
14205
|
+
r"""实例元数据。
|
|
14206
14206
|
:rtype: list of MetadataVar
|
|
14207
14207
|
"""
|
|
14208
14208
|
return self._Metadata
|
|
@@ -12609,22 +12609,26 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12609
12609
|
|
|
12610
12610
|
def __init__(self):
|
|
12611
12611
|
r"""
|
|
12612
|
-
:param _InstanceId:
|
|
12612
|
+
:param _InstanceId: <p>集群id</p>
|
|
12613
12613
|
:type InstanceId: str
|
|
12614
|
-
:param _UserName:
|
|
12614
|
+
:param _UserName: <p>用户名</p>
|
|
12615
12615
|
:type UserName: str
|
|
12616
|
-
:param _UserPrivileges:
|
|
12616
|
+
:param _UserPrivileges: <p>用户权限</p>
|
|
12617
12617
|
:type UserPrivileges: :class:`tencentcloud.cdwdoris.v20211228.models.UpdateUserPrivileges`
|
|
12618
|
-
:param _WhiteHost:
|
|
12618
|
+
:param _WhiteHost: <p>用户链接来自的 IP</p>
|
|
12619
12619
|
:type WhiteHost: str
|
|
12620
|
-
:param _UpdateType:
|
|
12620
|
+
:param _UpdateType: <p>更新类型,默认0,1为更新绑定计算组,2为更新默认计算组,4 为 GrantPrivileges, RevokePrivileges 接口专用批量授权</p><p>枚举值:</p><ul><li>0: 默认</li><li>1: 更新绑定计算组</li><li>2: 更新默认计算组</li><li>4: GrantPrivileges, RevokePrivileges 接口专用批量授权</li></ul>
|
|
12621
12621
|
:type UpdateType: int
|
|
12622
|
-
:param _UpdateComputeGroups:
|
|
12622
|
+
:param _UpdateComputeGroups: <p>需绑定计算组列表</p>
|
|
12623
12623
|
:type UpdateComputeGroups: list of str
|
|
12624
|
-
:param _DefaultComputeGroup:
|
|
12624
|
+
:param _DefaultComputeGroup: <p>默认计算组</p>
|
|
12625
12625
|
:type DefaultComputeGroup: str
|
|
12626
|
-
:param _ComputeGroupType: 0: 灵活场景 1:
|
|
12626
|
+
:param _ComputeGroupType: <p>0: 灵活场景 1: 固定场景</p>
|
|
12627
12627
|
:type ComputeGroupType: int
|
|
12628
|
+
:param _GrantPrivileges: <p>本次新增授权的库表,仅 UpdateType=4 时生效</p>
|
|
12629
|
+
:type GrantPrivileges: :class:`tencentcloud.cdwdoris.v20211228.models.UpdateUserPrivileges`
|
|
12630
|
+
:param _RevokePrivileges: <p>本次取消授权的库表,仅 UpdateType=4 时生效</p>
|
|
12631
|
+
:type RevokePrivileges: :class:`tencentcloud.cdwdoris.v20211228.models.UpdateUserPrivileges`
|
|
12628
12632
|
"""
|
|
12629
12633
|
self._InstanceId = None
|
|
12630
12634
|
self._UserName = None
|
|
@@ -12634,10 +12638,12 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12634
12638
|
self._UpdateComputeGroups = None
|
|
12635
12639
|
self._DefaultComputeGroup = None
|
|
12636
12640
|
self._ComputeGroupType = None
|
|
12641
|
+
self._GrantPrivileges = None
|
|
12642
|
+
self._RevokePrivileges = None
|
|
12637
12643
|
|
|
12638
12644
|
@property
|
|
12639
12645
|
def InstanceId(self):
|
|
12640
|
-
r"""
|
|
12646
|
+
r"""<p>集群id</p>
|
|
12641
12647
|
:rtype: str
|
|
12642
12648
|
"""
|
|
12643
12649
|
return self._InstanceId
|
|
@@ -12648,7 +12654,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12648
12654
|
|
|
12649
12655
|
@property
|
|
12650
12656
|
def UserName(self):
|
|
12651
|
-
r"""
|
|
12657
|
+
r"""<p>用户名</p>
|
|
12652
12658
|
:rtype: str
|
|
12653
12659
|
"""
|
|
12654
12660
|
return self._UserName
|
|
@@ -12659,7 +12665,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12659
12665
|
|
|
12660
12666
|
@property
|
|
12661
12667
|
def UserPrivileges(self):
|
|
12662
|
-
r"""
|
|
12668
|
+
r"""<p>用户权限</p>
|
|
12663
12669
|
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.UpdateUserPrivileges`
|
|
12664
12670
|
"""
|
|
12665
12671
|
return self._UserPrivileges
|
|
@@ -12670,7 +12676,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12670
12676
|
|
|
12671
12677
|
@property
|
|
12672
12678
|
def WhiteHost(self):
|
|
12673
|
-
r"""
|
|
12679
|
+
r"""<p>用户链接来自的 IP</p>
|
|
12674
12680
|
:rtype: str
|
|
12675
12681
|
"""
|
|
12676
12682
|
return self._WhiteHost
|
|
@@ -12681,7 +12687,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12681
12687
|
|
|
12682
12688
|
@property
|
|
12683
12689
|
def UpdateType(self):
|
|
12684
|
-
r"""
|
|
12690
|
+
r"""<p>更新类型,默认0,1为更新绑定计算组,2为更新默认计算组,4 为 GrantPrivileges, RevokePrivileges 接口专用批量授权</p><p>枚举值:</p><ul><li>0: 默认</li><li>1: 更新绑定计算组</li><li>2: 更新默认计算组</li><li>4: GrantPrivileges, RevokePrivileges 接口专用批量授权</li></ul>
|
|
12685
12691
|
:rtype: int
|
|
12686
12692
|
"""
|
|
12687
12693
|
return self._UpdateType
|
|
@@ -12692,7 +12698,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12692
12698
|
|
|
12693
12699
|
@property
|
|
12694
12700
|
def UpdateComputeGroups(self):
|
|
12695
|
-
r"""
|
|
12701
|
+
r"""<p>需绑定计算组列表</p>
|
|
12696
12702
|
:rtype: list of str
|
|
12697
12703
|
"""
|
|
12698
12704
|
return self._UpdateComputeGroups
|
|
@@ -12703,7 +12709,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12703
12709
|
|
|
12704
12710
|
@property
|
|
12705
12711
|
def DefaultComputeGroup(self):
|
|
12706
|
-
r"""
|
|
12712
|
+
r"""<p>默认计算组</p>
|
|
12707
12713
|
:rtype: str
|
|
12708
12714
|
"""
|
|
12709
12715
|
return self._DefaultComputeGroup
|
|
@@ -12714,7 +12720,7 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12714
12720
|
|
|
12715
12721
|
@property
|
|
12716
12722
|
def ComputeGroupType(self):
|
|
12717
|
-
r"""0: 灵活场景 1:
|
|
12723
|
+
r"""<p>0: 灵活场景 1: 固定场景</p>
|
|
12718
12724
|
:rtype: int
|
|
12719
12725
|
"""
|
|
12720
12726
|
return self._ComputeGroupType
|
|
@@ -12723,6 +12729,28 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12723
12729
|
def ComputeGroupType(self, ComputeGroupType):
|
|
12724
12730
|
self._ComputeGroupType = ComputeGroupType
|
|
12725
12731
|
|
|
12732
|
+
@property
|
|
12733
|
+
def GrantPrivileges(self):
|
|
12734
|
+
r"""<p>本次新增授权的库表,仅 UpdateType=4 时生效</p>
|
|
12735
|
+
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.UpdateUserPrivileges`
|
|
12736
|
+
"""
|
|
12737
|
+
return self._GrantPrivileges
|
|
12738
|
+
|
|
12739
|
+
@GrantPrivileges.setter
|
|
12740
|
+
def GrantPrivileges(self, GrantPrivileges):
|
|
12741
|
+
self._GrantPrivileges = GrantPrivileges
|
|
12742
|
+
|
|
12743
|
+
@property
|
|
12744
|
+
def RevokePrivileges(self):
|
|
12745
|
+
r"""<p>本次取消授权的库表,仅 UpdateType=4 时生效</p>
|
|
12746
|
+
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.UpdateUserPrivileges`
|
|
12747
|
+
"""
|
|
12748
|
+
return self._RevokePrivileges
|
|
12749
|
+
|
|
12750
|
+
@RevokePrivileges.setter
|
|
12751
|
+
def RevokePrivileges(self, RevokePrivileges):
|
|
12752
|
+
self._RevokePrivileges = RevokePrivileges
|
|
12753
|
+
|
|
12726
12754
|
|
|
12727
12755
|
def _deserialize(self, params):
|
|
12728
12756
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -12735,6 +12763,12 @@ class ModifyUserPrivilegesV3Request(AbstractModel):
|
|
|
12735
12763
|
self._UpdateComputeGroups = params.get("UpdateComputeGroups")
|
|
12736
12764
|
self._DefaultComputeGroup = params.get("DefaultComputeGroup")
|
|
12737
12765
|
self._ComputeGroupType = params.get("ComputeGroupType")
|
|
12766
|
+
if params.get("GrantPrivileges") is not None:
|
|
12767
|
+
self._GrantPrivileges = UpdateUserPrivileges()
|
|
12768
|
+
self._GrantPrivileges._deserialize(params.get("GrantPrivileges"))
|
|
12769
|
+
if params.get("RevokePrivileges") is not None:
|
|
12770
|
+
self._RevokePrivileges = UpdateUserPrivileges()
|
|
12771
|
+
self._RevokePrivileges._deserialize(params.get("RevokePrivileges"))
|
|
12738
12772
|
memeber_set = set(params.keys())
|
|
12739
12773
|
for name, value in vars(self).items():
|
|
12740
12774
|
property_name = name[1:]
|
|
@@ -12752,20 +12786,23 @@ class ModifyUserPrivilegesV3Response(AbstractModel):
|
|
|
12752
12786
|
|
|
12753
12787
|
def __init__(self):
|
|
12754
12788
|
r"""
|
|
12755
|
-
:param _ErrorMsg:
|
|
12789
|
+
:param _ErrorMsg: <p>错误信息,为空就是没有错误</p>
|
|
12756
12790
|
:type ErrorMsg: str
|
|
12757
|
-
:param _InstanceId:
|
|
12791
|
+
:param _InstanceId: <p>集群id</p>
|
|
12758
12792
|
:type InstanceId: str
|
|
12793
|
+
:param _SkippedItems: <p>因库/表已删除而被跳过的目标;ErrorMsg 为空时不代表失败,前端需弹窗提示</p>
|
|
12794
|
+
:type SkippedItems: :class:`tencentcloud.cdwdoris.v20211228.models.SkippedPrivilegeItem`
|
|
12759
12795
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12760
12796
|
:type RequestId: str
|
|
12761
12797
|
"""
|
|
12762
12798
|
self._ErrorMsg = None
|
|
12763
12799
|
self._InstanceId = None
|
|
12800
|
+
self._SkippedItems = None
|
|
12764
12801
|
self._RequestId = None
|
|
12765
12802
|
|
|
12766
12803
|
@property
|
|
12767
12804
|
def ErrorMsg(self):
|
|
12768
|
-
r"""
|
|
12805
|
+
r"""<p>错误信息,为空就是没有错误</p>
|
|
12769
12806
|
:rtype: str
|
|
12770
12807
|
"""
|
|
12771
12808
|
return self._ErrorMsg
|
|
@@ -12776,7 +12813,7 @@ class ModifyUserPrivilegesV3Response(AbstractModel):
|
|
|
12776
12813
|
|
|
12777
12814
|
@property
|
|
12778
12815
|
def InstanceId(self):
|
|
12779
|
-
r"""
|
|
12816
|
+
r"""<p>集群id</p>
|
|
12780
12817
|
:rtype: str
|
|
12781
12818
|
"""
|
|
12782
12819
|
return self._InstanceId
|
|
@@ -12785,6 +12822,17 @@ class ModifyUserPrivilegesV3Response(AbstractModel):
|
|
|
12785
12822
|
def InstanceId(self, InstanceId):
|
|
12786
12823
|
self._InstanceId = InstanceId
|
|
12787
12824
|
|
|
12825
|
+
@property
|
|
12826
|
+
def SkippedItems(self):
|
|
12827
|
+
r"""<p>因库/表已删除而被跳过的目标;ErrorMsg 为空时不代表失败,前端需弹窗提示</p>
|
|
12828
|
+
:rtype: :class:`tencentcloud.cdwdoris.v20211228.models.SkippedPrivilegeItem`
|
|
12829
|
+
"""
|
|
12830
|
+
return self._SkippedItems
|
|
12831
|
+
|
|
12832
|
+
@SkippedItems.setter
|
|
12833
|
+
def SkippedItems(self, SkippedItems):
|
|
12834
|
+
self._SkippedItems = SkippedItems
|
|
12835
|
+
|
|
12788
12836
|
@property
|
|
12789
12837
|
def RequestId(self):
|
|
12790
12838
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -12800,6 +12848,9 @@ class ModifyUserPrivilegesV3Response(AbstractModel):
|
|
|
12800
12848
|
def _deserialize(self, params):
|
|
12801
12849
|
self._ErrorMsg = params.get("ErrorMsg")
|
|
12802
12850
|
self._InstanceId = params.get("InstanceId")
|
|
12851
|
+
if params.get("SkippedItems") is not None:
|
|
12852
|
+
self._SkippedItems = SkippedPrivilegeItem()
|
|
12853
|
+
self._SkippedItems._deserialize(params.get("SkippedItems"))
|
|
12803
12854
|
self._RequestId = params.get("RequestId")
|
|
12804
12855
|
|
|
12805
12856
|
|
|
@@ -16247,6 +16298,87 @@ class SearchTags(AbstractModel):
|
|
|
16247
16298
|
|
|
16248
16299
|
|
|
16249
16300
|
|
|
16301
|
+
class SkippedPrivilegeItem(AbstractModel):
|
|
16302
|
+
r"""增量授权(UpdateType=4)时因库/表已被物理删除而被跳过的目标,后端已自动清理其残留权限,前端需弹窗提示用户
|
|
16303
|
+
|
|
16304
|
+
"""
|
|
16305
|
+
|
|
16306
|
+
def __init__(self):
|
|
16307
|
+
r"""
|
|
16308
|
+
:param _CatalogName: <p>数据目录(catalog)名称</p>
|
|
16309
|
+
:type CatalogName: str
|
|
16310
|
+
:param _Database: <p>库名</p>
|
|
16311
|
+
:type Database: str
|
|
16312
|
+
:param _Table: <p>表名;库级条目被跳过时该字段为空(Go 定义带 omitempty,为空时响应里整个字段不出现)</p>
|
|
16313
|
+
:type Table: str
|
|
16314
|
+
:param _Reason: <p>跳过原因,如 table not found, maybe already dropped、database not found, maybe already dropped、existence check failed, granting skipped this round, please retry</p>
|
|
16315
|
+
:type Reason: str
|
|
16316
|
+
"""
|
|
16317
|
+
self._CatalogName = None
|
|
16318
|
+
self._Database = None
|
|
16319
|
+
self._Table = None
|
|
16320
|
+
self._Reason = None
|
|
16321
|
+
|
|
16322
|
+
@property
|
|
16323
|
+
def CatalogName(self):
|
|
16324
|
+
r"""<p>数据目录(catalog)名称</p>
|
|
16325
|
+
:rtype: str
|
|
16326
|
+
"""
|
|
16327
|
+
return self._CatalogName
|
|
16328
|
+
|
|
16329
|
+
@CatalogName.setter
|
|
16330
|
+
def CatalogName(self, CatalogName):
|
|
16331
|
+
self._CatalogName = CatalogName
|
|
16332
|
+
|
|
16333
|
+
@property
|
|
16334
|
+
def Database(self):
|
|
16335
|
+
r"""<p>库名</p>
|
|
16336
|
+
:rtype: str
|
|
16337
|
+
"""
|
|
16338
|
+
return self._Database
|
|
16339
|
+
|
|
16340
|
+
@Database.setter
|
|
16341
|
+
def Database(self, Database):
|
|
16342
|
+
self._Database = Database
|
|
16343
|
+
|
|
16344
|
+
@property
|
|
16345
|
+
def Table(self):
|
|
16346
|
+
r"""<p>表名;库级条目被跳过时该字段为空(Go 定义带 omitempty,为空时响应里整个字段不出现)</p>
|
|
16347
|
+
:rtype: str
|
|
16348
|
+
"""
|
|
16349
|
+
return self._Table
|
|
16350
|
+
|
|
16351
|
+
@Table.setter
|
|
16352
|
+
def Table(self, Table):
|
|
16353
|
+
self._Table = Table
|
|
16354
|
+
|
|
16355
|
+
@property
|
|
16356
|
+
def Reason(self):
|
|
16357
|
+
r"""<p>跳过原因,如 table not found, maybe already dropped、database not found, maybe already dropped、existence check failed, granting skipped this round, please retry</p>
|
|
16358
|
+
:rtype: str
|
|
16359
|
+
"""
|
|
16360
|
+
return self._Reason
|
|
16361
|
+
|
|
16362
|
+
@Reason.setter
|
|
16363
|
+
def Reason(self, Reason):
|
|
16364
|
+
self._Reason = Reason
|
|
16365
|
+
|
|
16366
|
+
|
|
16367
|
+
def _deserialize(self, params):
|
|
16368
|
+
self._CatalogName = params.get("CatalogName")
|
|
16369
|
+
self._Database = params.get("Database")
|
|
16370
|
+
self._Table = params.get("Table")
|
|
16371
|
+
self._Reason = params.get("Reason")
|
|
16372
|
+
memeber_set = set(params.keys())
|
|
16373
|
+
for name, value in vars(self).items():
|
|
16374
|
+
property_name = name[1:]
|
|
16375
|
+
if property_name in memeber_set:
|
|
16376
|
+
memeber_set.remove(property_name)
|
|
16377
|
+
if len(memeber_set) > 0:
|
|
16378
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16379
|
+
|
|
16380
|
+
|
|
16381
|
+
|
|
16250
16382
|
class SlowQueryRecord(AbstractModel):
|
|
16251
16383
|
r"""慢查询记录
|
|
16252
16384
|
|
|
@@ -318,15 +318,15 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
318
318
|
|
|
319
319
|
def __init__(self):
|
|
320
320
|
r"""
|
|
321
|
-
:param _CloudDedicatedZoneID:
|
|
321
|
+
:param _CloudDedicatedZoneID: <p>专属可用区ID</p>
|
|
322
322
|
:type CloudDedicatedZoneID: str
|
|
323
|
-
:param _HostUuids:
|
|
323
|
+
:param _HostUuids: <p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
|
|
324
324
|
:type HostUuids: list of str
|
|
325
|
-
:param _InstanceIds:
|
|
325
|
+
:param _InstanceIds: <p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
|
|
326
326
|
:type InstanceIds: list of str
|
|
327
|
-
:param _Offset:
|
|
327
|
+
:param _Offset: <p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
328
328
|
:type Offset: int
|
|
329
|
-
:param _Limit:
|
|
329
|
+
:param _Limit: <p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
330
330
|
:type Limit: int
|
|
331
331
|
"""
|
|
332
332
|
self._CloudDedicatedZoneID = None
|
|
@@ -337,7 +337,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
337
337
|
|
|
338
338
|
@property
|
|
339
339
|
def CloudDedicatedZoneID(self):
|
|
340
|
-
r"""
|
|
340
|
+
r"""<p>专属可用区ID</p>
|
|
341
341
|
:rtype: str
|
|
342
342
|
"""
|
|
343
343
|
return self._CloudDedicatedZoneID
|
|
@@ -348,7 +348,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
348
348
|
|
|
349
349
|
@property
|
|
350
350
|
def HostUuids(self):
|
|
351
|
-
r"""
|
|
351
|
+
r"""<p>一个或多个Host面的CVM实例信息。最大支持查询100台Host。</p>
|
|
352
352
|
:rtype: list of str
|
|
353
353
|
"""
|
|
354
354
|
return self._HostUuids
|
|
@@ -359,7 +359,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
359
359
|
|
|
360
360
|
@property
|
|
361
361
|
def InstanceIds(self):
|
|
362
|
-
r"""
|
|
362
|
+
r"""<p>查询一个实例或者多个实例所在的Host上面的CVM实例信息。最大支持查询100台实例。</p>
|
|
363
363
|
:rtype: list of str
|
|
364
364
|
"""
|
|
365
365
|
return self._InstanceIds
|
|
@@ -370,7 +370,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
370
370
|
|
|
371
371
|
@property
|
|
372
372
|
def Offset(self):
|
|
373
|
-
r"""
|
|
373
|
+
r"""<p>偏移量,默认为0。关于Offset的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
374
374
|
:rtype: int
|
|
375
375
|
"""
|
|
376
376
|
return self._Offset
|
|
@@ -381,7 +381,7 @@ class DescribeCloudDedicatedZoneHostsRequest(AbstractModel):
|
|
|
381
381
|
|
|
382
382
|
@property
|
|
383
383
|
def Limit(self):
|
|
384
|
-
r"""
|
|
384
|
+
r"""<p>返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API 简介中的相关小节。该参数仅与CloudDedicatedZoneID有关,传递了HostUuids和InstanceIds则会失效。</p>
|
|
385
385
|
:rtype: int
|
|
386
386
|
"""
|
|
387
387
|
return self._Limit
|
|
@@ -414,17 +414,20 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
414
414
|
|
|
415
415
|
def __init__(self):
|
|
416
416
|
r"""
|
|
417
|
-
:param _CloudDedicatedZoneHostsInfoSet:
|
|
417
|
+
:param _CloudDedicatedZoneHostsInfoSet: <p>返回Host和Host上部署的实例信息之间的关系</p>
|
|
418
418
|
:type CloudDedicatedZoneHostsInfoSet: list of CloudDedicatedZoneHostsInfo
|
|
419
|
+
:param _TotalCount: <p>母机总数</p>
|
|
420
|
+
:type TotalCount: int
|
|
419
421
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
420
422
|
:type RequestId: str
|
|
421
423
|
"""
|
|
422
424
|
self._CloudDedicatedZoneHostsInfoSet = None
|
|
425
|
+
self._TotalCount = None
|
|
423
426
|
self._RequestId = None
|
|
424
427
|
|
|
425
428
|
@property
|
|
426
429
|
def CloudDedicatedZoneHostsInfoSet(self):
|
|
427
|
-
r"""
|
|
430
|
+
r"""<p>返回Host和Host上部署的实例信息之间的关系</p>
|
|
428
431
|
:rtype: list of CloudDedicatedZoneHostsInfo
|
|
429
432
|
"""
|
|
430
433
|
return self._CloudDedicatedZoneHostsInfoSet
|
|
@@ -433,6 +436,17 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
433
436
|
def CloudDedicatedZoneHostsInfoSet(self, CloudDedicatedZoneHostsInfoSet):
|
|
434
437
|
self._CloudDedicatedZoneHostsInfoSet = CloudDedicatedZoneHostsInfoSet
|
|
435
438
|
|
|
439
|
+
@property
|
|
440
|
+
def TotalCount(self):
|
|
441
|
+
r"""<p>母机总数</p>
|
|
442
|
+
:rtype: int
|
|
443
|
+
"""
|
|
444
|
+
return self._TotalCount
|
|
445
|
+
|
|
446
|
+
@TotalCount.setter
|
|
447
|
+
def TotalCount(self, TotalCount):
|
|
448
|
+
self._TotalCount = TotalCount
|
|
449
|
+
|
|
436
450
|
@property
|
|
437
451
|
def RequestId(self):
|
|
438
452
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -452,6 +466,7 @@ class DescribeCloudDedicatedZoneHostsResponse(AbstractModel):
|
|
|
452
466
|
obj = CloudDedicatedZoneHostsInfo()
|
|
453
467
|
obj._deserialize(item)
|
|
454
468
|
self._CloudDedicatedZoneHostsInfoSet.append(obj)
|
|
469
|
+
self._TotalCount = params.get("TotalCount")
|
|
455
470
|
self._RequestId = params.get("RequestId")
|
|
456
471
|
|
|
457
472
|
|