tencentcloud-sdk-python 3.0.1167__py2.py3-none-any.whl → 3.0.1168__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/billing/v20180709/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +26 -0
- tencentcloud/dc/v20180410/dc_client.py +1 -1
- tencentcloud/dc/v20180410/models.py +24 -8
- tencentcloud/es/v20180416/models.py +13 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -0
- tencentcloud/essbasic/v20210526/models.py +78 -1
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/monitor/v20180724/monitor_client.py +3 -1
- tencentcloud/mps/v20190612/models.py +198 -0
- tencentcloud/mrs/v20200910/models.py +325 -0
- tencentcloud/ocr/v20181119/models.py +1 -0
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +37 -0
- tencentcloud/rce/v20201103/models.py +21 -13
- tencentcloud/redis/v20180412/models.py +25 -13
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/tke/v20180525/models.py +9 -2
- tencentcloud/wedata/v20210820/models.py +172 -0
- {tencentcloud_sdk_python-3.0.1167.dist-info → tencentcloud_sdk_python-3.0.1168.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1167.dist-info → tencentcloud_sdk_python-3.0.1168.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.1167.dist-info → tencentcloud_sdk_python-3.0.1168.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1167.dist-info → tencentcloud_sdk_python-3.0.1168.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1167.dist-info → tencentcloud_sdk_python-3.0.1168.dist-info}/top_level.txt +0 -0
@@ -77,6 +77,9 @@ FAILEDOPERATION_EMAILALREADYUSED = 'FailedOperation.EmailAlreadyUsed'
|
|
77
77
|
# 邮箱绑定已经失效。
|
78
78
|
FAILEDOPERATION_EMAILBINDRECORDINVALID = 'FailedOperation.EmailBindRecordInvalid'
|
79
79
|
|
80
|
+
# 存在不在组织内的共享成员。
|
81
|
+
FAILEDOPERATION_EXISTSHAREMEMBERNOTINORGANIZATION = 'FailedOperation.ExistShareMemberNotInOrganization'
|
82
|
+
|
80
83
|
# 查询实名信息出错。
|
81
84
|
FAILEDOPERATION_GETAUTHINFO = 'FailedOperation.GetAuthInfo'
|
82
85
|
|
@@ -319,10 +319,13 @@ class AddShareUnitRequest(AbstractModel):
|
|
319
319
|
:type Area: str
|
320
320
|
:param _Description: 共享单元描述。最大128个字符。
|
321
321
|
:type Description: str
|
322
|
+
:param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号,默认值:1
|
323
|
+
:type ShareScope: int
|
322
324
|
"""
|
323
325
|
self._Name = None
|
324
326
|
self._Area = None
|
325
327
|
self._Description = None
|
328
|
+
self._ShareScope = None
|
326
329
|
|
327
330
|
@property
|
328
331
|
def Name(self):
|
@@ -348,11 +351,20 @@ class AddShareUnitRequest(AbstractModel):
|
|
348
351
|
def Description(self, Description):
|
349
352
|
self._Description = Description
|
350
353
|
|
354
|
+
@property
|
355
|
+
def ShareScope(self):
|
356
|
+
return self._ShareScope
|
357
|
+
|
358
|
+
@ShareScope.setter
|
359
|
+
def ShareScope(self, ShareScope):
|
360
|
+
self._ShareScope = ShareScope
|
361
|
+
|
351
362
|
|
352
363
|
def _deserialize(self, params):
|
353
364
|
self._Name = params.get("Name")
|
354
365
|
self._Area = params.get("Area")
|
355
366
|
self._Description = params.get("Description")
|
367
|
+
self._ShareScope = params.get("ShareScope")
|
356
368
|
memeber_set = set(params.keys())
|
357
369
|
for name, value in vars(self).items():
|
358
370
|
property_name = name[1:]
|
@@ -6164,6 +6176,9 @@ class ManagerShareUnit(AbstractModel):
|
|
6164
6176
|
:param _ShareMemberNum: 共享单元成员数。
|
6165
6177
|
注意:此字段可能返回 null,表示取不到有效值。
|
6166
6178
|
:type ShareMemberNum: int
|
6179
|
+
:param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号
|
6180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6181
|
+
:type ShareScope: int
|
6167
6182
|
"""
|
6168
6183
|
self._UnitId = None
|
6169
6184
|
self._Name = None
|
@@ -6174,6 +6189,7 @@ class ManagerShareUnit(AbstractModel):
|
|
6174
6189
|
self._CreateTime = None
|
6175
6190
|
self._ShareResourceNum = None
|
6176
6191
|
self._ShareMemberNum = None
|
6192
|
+
self._ShareScope = None
|
6177
6193
|
|
6178
6194
|
@property
|
6179
6195
|
def UnitId(self):
|
@@ -6247,6 +6263,14 @@ class ManagerShareUnit(AbstractModel):
|
|
6247
6263
|
def ShareMemberNum(self, ShareMemberNum):
|
6248
6264
|
self._ShareMemberNum = ShareMemberNum
|
6249
6265
|
|
6266
|
+
@property
|
6267
|
+
def ShareScope(self):
|
6268
|
+
return self._ShareScope
|
6269
|
+
|
6270
|
+
@ShareScope.setter
|
6271
|
+
def ShareScope(self, ShareScope):
|
6272
|
+
self._ShareScope = ShareScope
|
6273
|
+
|
6250
6274
|
|
6251
6275
|
def _deserialize(self, params):
|
6252
6276
|
self._UnitId = params.get("UnitId")
|
@@ -6258,6 +6282,7 @@ class ManagerShareUnit(AbstractModel):
|
|
6258
6282
|
self._CreateTime = params.get("CreateTime")
|
6259
6283
|
self._ShareResourceNum = params.get("ShareResourceNum")
|
6260
6284
|
self._ShareMemberNum = params.get("ShareMemberNum")
|
6285
|
+
self._ShareScope = params.get("ShareScope")
|
6261
6286
|
memeber_set = set(params.keys())
|
6262
6287
|
for name, value in vars(self).items():
|
6263
6288
|
property_name = name[1:]
|
@@ -8805,10 +8830,13 @@ class UpdateShareUnitRequest(AbstractModel):
|
|
8805
8830
|
:type Name: str
|
8806
8831
|
:param _Description: 共享单元描述。最大128个字符。
|
8807
8832
|
:type Description: str
|
8833
|
+
:param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号,默认值:1
|
8834
|
+
:type ShareScope: int
|
8808
8835
|
"""
|
8809
8836
|
self._UnitId = None
|
8810
8837
|
self._Name = None
|
8811
8838
|
self._Description = None
|
8839
|
+
self._ShareScope = None
|
8812
8840
|
|
8813
8841
|
@property
|
8814
8842
|
def UnitId(self):
|
@@ -8834,11 +8862,20 @@ class UpdateShareUnitRequest(AbstractModel):
|
|
8834
8862
|
def Description(self, Description):
|
8835
8863
|
self._Description = Description
|
8836
8864
|
|
8865
|
+
@property
|
8866
|
+
def ShareScope(self):
|
8867
|
+
return self._ShareScope
|
8868
|
+
|
8869
|
+
@ShareScope.setter
|
8870
|
+
def ShareScope(self, ShareScope):
|
8871
|
+
self._ShareScope = ShareScope
|
8872
|
+
|
8837
8873
|
|
8838
8874
|
def _deserialize(self, params):
|
8839
8875
|
self._UnitId = params.get("UnitId")
|
8840
8876
|
self._Name = params.get("Name")
|
8841
8877
|
self._Description = params.get("Description")
|
8878
|
+
self._ShareScope = params.get("ShareScope")
|
8842
8879
|
memeber_set = set(params.keys())
|
8843
8880
|
for name, value in vars(self).items():
|
8844
8881
|
property_name = name[1:]
|
@@ -28,13 +28,14 @@ class AccountInfo(AbstractModel):
|
|
28
28
|
:param _AccountType: 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
|
29
29
|
1:QQ开放账号
|
30
30
|
2:微信开放账号
|
31
|
-
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32
|
31
|
+
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值
|
32
|
+
10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值
|
32
33
|
:type AccountType: int
|
33
34
|
:param _QQAccount: QQ账号信息,AccountType是"1"时,该字段必填。
|
34
35
|
:type QQAccount: :class:`tencentcloud.rce.v20201103.models.QQAccountInfo`
|
35
36
|
:param _WeChatAccount: 微信账号信息,AccountType是"2"时,该字段必填。
|
36
37
|
:type WeChatAccount: :class:`tencentcloud.rce.v20201103.models.WeChatAccountInfo`
|
37
|
-
:param _OtherAccount: 其它账号信息,AccountType是10004时,该字段必填。
|
38
|
+
:param _OtherAccount: 其它账号信息,AccountType是10004或10005时,该字段必填。
|
38
39
|
:type OtherAccount: :class:`tencentcloud.rce.v20201103.models.OtherAccountInfo`
|
39
40
|
"""
|
40
41
|
self._AccountType = None
|
@@ -212,7 +213,8 @@ class InputManageMarketingRisk(AbstractModel):
|
|
212
213
|
:param _Account: 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
|
213
214
|
1:QQ开放账号
|
214
215
|
2:微信开放账号
|
215
|
-
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32
|
216
|
+
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值
|
217
|
+
10005:手机号SHA256,中国大陆11位手机号进行SHA256加密,取64位小写值
|
216
218
|
:type Account: :class:`tencentcloud.rce.v20201103.models.AccountInfo`
|
217
219
|
:param _SceneCode: 场景码,用于识别和区分不同的业务场景,可在控制台上新建和管理
|
218
220
|
控制台链接:https://console.cloud.tencent.com/rce/risk/strategy/scene-root
|
@@ -693,13 +695,16 @@ class OtherAccountInfo(AbstractModel):
|
|
693
695
|
r"""
|
694
696
|
:param _AccountId: 其他账号信息;
|
695
697
|
AccountType是10004时,填入中国大陆标准11位手机号的MD5值
|
698
|
+
AccountType是10005时,填入中国大陆标准11位手机号的SHA256值
|
696
699
|
注释:
|
697
700
|
MD5手机号加密方式,使用中国大陆11位手机号进行MD5加密,加密后取32位小写值。
|
701
|
+
SHA256手机号加密方式,使用中国大陆11位手机号进行SHA256加密,加密后取64位小写值。
|
698
702
|
:type AccountId: str
|
699
|
-
:param _MobilePhone: 账号绑定的MD5
|
700
|
-
|
703
|
+
:param _MobilePhone: 账号绑定的MD5或SHA256加密的手机号(该字段已不推荐使用)。
|
704
|
+
注释:支持标准中国大陆11位手机号MD5加密后位的32位小写字符串;
|
705
|
+
支持标准中国大陆11位手机号SHA256加密后位的64位小写字符串。
|
701
706
|
:type MobilePhone: str
|
702
|
-
:param _DeviceId:
|
707
|
+
:param _DeviceId: 用户设备号(该字段已不推荐使用)。
|
703
708
|
:type DeviceId: str
|
704
709
|
"""
|
705
710
|
self._AccountId = None
|
@@ -833,9 +838,10 @@ class OutputManageMarketingRiskValue(AbstractModel):
|
|
833
838
|
def __init__(self):
|
834
839
|
r"""
|
835
840
|
:param _UserId: 账号ID:对应输入参数。
|
836
|
-
当AccountType为1时,对应QQ的OpenId
|
837
|
-
当AccountType为2时,对应微信的OpenId/UnionId
|
838
|
-
当AccountType为10004时,对应手机号的MD5
|
841
|
+
当AccountType为1时,对应QQ的OpenId;
|
842
|
+
当AccountType为2时,对应微信的OpenId/UnionId;
|
843
|
+
当AccountType为10004时,对应手机号的MD5值;
|
844
|
+
当AccountType为10005时,对应手机号的SHA256值。
|
839
845
|
注意:此字段可能返回 null,表示取不到有效值。
|
840
846
|
:type UserId: str
|
841
847
|
:param _PostTime: 操作时间戳,单位秒(对应输入参数)。
|
@@ -987,8 +993,9 @@ class QQAccountInfo(AbstractModel):
|
|
987
993
|
:type AppIdUser: str
|
988
994
|
:param _AssociateAccount: 用于标识QQ用户登录后所关联业务自身的账号ID。
|
989
995
|
:type AssociateAccount: str
|
990
|
-
:param _MobilePhone: 账号绑定的MD5
|
991
|
-
|
996
|
+
:param _MobilePhone: 账号绑定的MD5或SHA256加密的手机号。
|
997
|
+
注释:支持标准中国大陆11位手机号MD5加密后位的32位小写字符串;
|
998
|
+
支持标准中国大陆11位手机号SHA256加密后位的64位小写字符串。
|
992
999
|
:type MobilePhone: str
|
993
1000
|
:param _DeviceId: 用户设备号(已不推荐使用)。
|
994
1001
|
|
@@ -1158,8 +1165,9 @@ class WeChatAccountInfo(AbstractModel):
|
|
1158
1165
|
:type WeChatAccessToken: str
|
1159
1166
|
:param _AssociateAccount: 用于标识微信用户登录后所关联业务自身的账号ID。
|
1160
1167
|
:type AssociateAccount: str
|
1161
|
-
:param _MobilePhone: 账号绑定的MD5
|
1162
|
-
|
1168
|
+
:param _MobilePhone: 账号绑定的MD5或SHA256加密的手机号。
|
1169
|
+
注释:支持标准中国大陆11位手机号MD5加密后位的32位小写字符串;
|
1170
|
+
支持标准中国大陆11位手机号SHA256加密后位的64位小写字符串。
|
1163
1171
|
:type MobilePhone: str
|
1164
1172
|
:param _DeviceId: 用户设备号(已不推荐使用)。
|
1165
1173
|
:type DeviceId: str
|
@@ -1573,9 +1573,9 @@ class CommandTake(AbstractModel):
|
|
1573
1573
|
|
1574
1574
|
def __init__(self):
|
1575
1575
|
r"""
|
1576
|
-
:param _Cmd:
|
1576
|
+
:param _Cmd: 命令名。
|
1577
1577
|
:type Cmd: str
|
1578
|
-
:param _Took:
|
1578
|
+
:param _Took: 耗时时长。
|
1579
1579
|
:type Took: int
|
1580
1580
|
"""
|
1581
1581
|
self._Cmd = None
|
@@ -4895,9 +4895,13 @@ class DescribeInstanceMonitorHotKeyRequest(AbstractModel):
|
|
4895
4895
|
|
4896
4896
|
def __init__(self):
|
4897
4897
|
r"""
|
4898
|
-
:param _InstanceId:
|
4898
|
+
:param _InstanceId: 指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
4899
4899
|
:type InstanceId: str
|
4900
|
-
:param _SpanType:
|
4900
|
+
:param _SpanType: 查询时间范围。
|
4901
|
+
- 1:实时。
|
4902
|
+
- 2:近30分钟。
|
4903
|
+
- 3:近6小时。
|
4904
|
+
- 4:近24小时。
|
4901
4905
|
:type SpanType: int
|
4902
4906
|
"""
|
4903
4907
|
self._InstanceId = None
|
@@ -4940,7 +4944,7 @@ class DescribeInstanceMonitorHotKeyResponse(AbstractModel):
|
|
4940
4944
|
|
4941
4945
|
def __init__(self):
|
4942
4946
|
r"""
|
4943
|
-
:param _Data: 热Key
|
4947
|
+
:param _Data: 热 Key 详细信息。
|
4944
4948
|
:type Data: list of HotKeyInfo
|
4945
4949
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4946
4950
|
:type RequestId: str
|
@@ -5057,11 +5061,15 @@ class DescribeInstanceMonitorTookDistRequest(AbstractModel):
|
|
5057
5061
|
|
5058
5062
|
def __init__(self):
|
5059
5063
|
r"""
|
5060
|
-
:param _InstanceId: 实例
|
5064
|
+
:param _InstanceId: 实例 ID。
|
5061
5065
|
:type InstanceId: str
|
5062
|
-
:param _Date:
|
5066
|
+
:param _Date: 查询时间日期。
|
5063
5067
|
:type Date: str
|
5064
|
-
:param _SpanType:
|
5068
|
+
:param _SpanType: 时间范围。
|
5069
|
+
- 1:实时。
|
5070
|
+
- 2:近30分钟。
|
5071
|
+
- 3:近6小时。
|
5072
|
+
- 4:近24小时。
|
5065
5073
|
:type SpanType: int
|
5066
5074
|
"""
|
5067
5075
|
self._InstanceId = None
|
@@ -5114,7 +5122,7 @@ class DescribeInstanceMonitorTookDistResponse(AbstractModel):
|
|
5114
5122
|
|
5115
5123
|
def __init__(self):
|
5116
5124
|
r"""
|
5117
|
-
:param _Data:
|
5125
|
+
:param _Data: 时延分布信息。
|
5118
5126
|
:type Data: list of DelayDistribution
|
5119
5127
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5120
5128
|
:type RequestId: str
|
@@ -5243,9 +5251,13 @@ class DescribeInstanceMonitorTopNCmdTookRequest(AbstractModel):
|
|
5243
5251
|
|
5244
5252
|
def __init__(self):
|
5245
5253
|
r"""
|
5246
|
-
:param _InstanceId: 实例ID
|
5254
|
+
:param _InstanceId: 实例 ID。
|
5247
5255
|
:type InstanceId: str
|
5248
|
-
:param _SpanType:
|
5256
|
+
:param _SpanType: 查询时间范围。
|
5257
|
+
- 1:实时。
|
5258
|
+
- 2:近30分钟。
|
5259
|
+
- 3:近6小时。
|
5260
|
+
- 4:近24小时。
|
5249
5261
|
:type SpanType: int
|
5250
5262
|
"""
|
5251
5263
|
self._InstanceId = None
|
@@ -15979,9 +15991,9 @@ class SourceCommand(AbstractModel):
|
|
15979
15991
|
|
15980
15992
|
def __init__(self):
|
15981
15993
|
r"""
|
15982
|
-
:param _Cmd:
|
15994
|
+
:param _Cmd: 命令名称。
|
15983
15995
|
:type Cmd: str
|
15984
|
-
:param _Count:
|
15996
|
+
:param _Count: 执行次数。
|
15985
15997
|
:type Count: int
|
15986
15998
|
"""
|
15987
15999
|
self._Cmd = None
|
@@ -786,7 +786,7 @@ class RedisClient(AbstractClient):
|
|
786
786
|
|
787
787
|
|
788
788
|
def DescribeInstanceMonitorHotKey(self, request):
|
789
|
-
"""
|
789
|
+
"""本接口(DescribeInstanceMonitorHotKey)用于查询实例热Key。
|
790
790
|
|
791
791
|
:param request: Request instance for DescribeInstanceMonitorHotKey.
|
792
792
|
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorHotKeyRequest`
|
@@ -3038,8 +3038,10 @@ class ClusterInternalLB(AbstractModel):
|
|
3038
3038
|
def __init__(self):
|
3039
3039
|
r"""
|
3040
3040
|
:param _Enabled: 是否开启内网访问LB
|
3041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3041
3042
|
:type Enabled: bool
|
3042
3043
|
:param _SubnetId: 内网访问LB关联的子网Id
|
3044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3043
3045
|
:type SubnetId: str
|
3044
3046
|
"""
|
3045
3047
|
self._Enabled = None
|
@@ -3585,14 +3587,19 @@ class ClusterPublicLB(AbstractModel):
|
|
3585
3587
|
def __init__(self):
|
3586
3588
|
r"""
|
3587
3589
|
:param _Enabled: 是否开启公网访问LB
|
3590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3588
3591
|
:type Enabled: bool
|
3589
3592
|
:param _AllowFromCidrs: 允许访问的来源CIDR列表
|
3593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3590
3594
|
:type AllowFromCidrs: list of str
|
3591
3595
|
:param _SecurityPolicies: 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
|
3596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3592
3597
|
:type SecurityPolicies: list of str
|
3593
3598
|
:param _ExtraParam: 外网访问相关的扩展参数,格式为json
|
3599
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3594
3600
|
:type ExtraParam: str
|
3595
3601
|
:param _SecurityGroup: 新内外网功能,需要传递安全组
|
3602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3596
3603
|
:type SecurityGroup: str
|
3597
3604
|
"""
|
3598
3605
|
self._Enabled = None
|
@@ -36422,9 +36429,9 @@ class SubnetInfos(AbstractModel):
|
|
36422
36429
|
:type Name: str
|
36423
36430
|
:param _SecurityGroups: 安全组id
|
36424
36431
|
:type SecurityGroups: list of str
|
36425
|
-
:param _Os:
|
36432
|
+
:param _Os: 系统,默认linux
|
36426
36433
|
:type Os: str
|
36427
|
-
:param _Arch:
|
36434
|
+
:param _Arch: 硬件架构,默认amd64
|
36428
36435
|
:type Arch: str
|
36429
36436
|
"""
|
36430
36437
|
self._SubnetId = None
|
@@ -25504,8 +25504,14 @@ class DescribeTableMetaRequest(AbstractModel):
|
|
25504
25504
|
r"""
|
25505
25505
|
:param _TableId: 表唯一id
|
25506
25506
|
:type TableId: str
|
25507
|
+
:param _TableNameFilter: 按名称查询的条件
|
25508
|
+
:type TableNameFilter: :class:`tencentcloud.wedata.v20210820.models.TableNameFilter`
|
25509
|
+
:param _TableFilterType: 查询条件类型0按id,1按名称,默认为0
|
25510
|
+
:type TableFilterType: int
|
25507
25511
|
"""
|
25508
25512
|
self._TableId = None
|
25513
|
+
self._TableNameFilter = None
|
25514
|
+
self._TableFilterType = None
|
25509
25515
|
|
25510
25516
|
@property
|
25511
25517
|
def TableId(self):
|
@@ -25515,9 +25521,29 @@ class DescribeTableMetaRequest(AbstractModel):
|
|
25515
25521
|
def TableId(self, TableId):
|
25516
25522
|
self._TableId = TableId
|
25517
25523
|
|
25524
|
+
@property
|
25525
|
+
def TableNameFilter(self):
|
25526
|
+
return self._TableNameFilter
|
25527
|
+
|
25528
|
+
@TableNameFilter.setter
|
25529
|
+
def TableNameFilter(self, TableNameFilter):
|
25530
|
+
self._TableNameFilter = TableNameFilter
|
25531
|
+
|
25532
|
+
@property
|
25533
|
+
def TableFilterType(self):
|
25534
|
+
return self._TableFilterType
|
25535
|
+
|
25536
|
+
@TableFilterType.setter
|
25537
|
+
def TableFilterType(self, TableFilterType):
|
25538
|
+
self._TableFilterType = TableFilterType
|
25539
|
+
|
25518
25540
|
|
25519
25541
|
def _deserialize(self, params):
|
25520
25542
|
self._TableId = params.get("TableId")
|
25543
|
+
if params.get("TableNameFilter") is not None:
|
25544
|
+
self._TableNameFilter = TableNameFilter()
|
25545
|
+
self._TableNameFilter._deserialize(params.get("TableNameFilter"))
|
25546
|
+
self._TableFilterType = params.get("TableFilterType")
|
25521
25547
|
memeber_set = set(params.keys())
|
25522
25548
|
for name, value in vars(self).items():
|
25523
25549
|
property_name = name[1:]
|
@@ -54383,6 +54409,9 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
|
|
54383
54409
|
:param _PartitionExpireDays: 生命周期-分区保留天数【分区保留策略时有效】
|
54384
54410
|
注意:此字段可能返回 null,表示取不到有效值。
|
54385
54411
|
:type PartitionExpireDays: int
|
54412
|
+
:param _TableProperties: 表附属信息
|
54413
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54414
|
+
:type TableProperties: list of TableMetaProperty
|
54386
54415
|
"""
|
54387
54416
|
self._TableId = None
|
54388
54417
|
self._TableName = None
|
@@ -54437,6 +54466,7 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
|
|
54437
54466
|
self._IsPartitionTable = None
|
54438
54467
|
self._PartitionColumns = None
|
54439
54468
|
self._PartitionExpireDays = None
|
54469
|
+
self._TableProperties = None
|
54440
54470
|
|
54441
54471
|
@property
|
54442
54472
|
def TableId(self):
|
@@ -54862,6 +54892,14 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
|
|
54862
54892
|
def PartitionExpireDays(self, PartitionExpireDays):
|
54863
54893
|
self._PartitionExpireDays = PartitionExpireDays
|
54864
54894
|
|
54895
|
+
@property
|
54896
|
+
def TableProperties(self):
|
54897
|
+
return self._TableProperties
|
54898
|
+
|
54899
|
+
@TableProperties.setter
|
54900
|
+
def TableProperties(self, TableProperties):
|
54901
|
+
self._TableProperties = TableProperties
|
54902
|
+
|
54865
54903
|
|
54866
54904
|
def _deserialize(self, params):
|
54867
54905
|
self._TableId = params.get("TableId")
|
@@ -54926,6 +54964,140 @@ TABLE, VIEW, MANAGED_TABLE(Hive管理表), EXTERNAL_TABLE(Hive外部表), VIRTUA
|
|
54926
54964
|
self._IsPartitionTable = params.get("IsPartitionTable")
|
54927
54965
|
self._PartitionColumns = params.get("PartitionColumns")
|
54928
54966
|
self._PartitionExpireDays = params.get("PartitionExpireDays")
|
54967
|
+
if params.get("TableProperties") is not None:
|
54968
|
+
self._TableProperties = []
|
54969
|
+
for item in params.get("TableProperties"):
|
54970
|
+
obj = TableMetaProperty()
|
54971
|
+
obj._deserialize(item)
|
54972
|
+
self._TableProperties.append(obj)
|
54973
|
+
memeber_set = set(params.keys())
|
54974
|
+
for name, value in vars(self).items():
|
54975
|
+
property_name = name[1:]
|
54976
|
+
if property_name in memeber_set:
|
54977
|
+
memeber_set.remove(property_name)
|
54978
|
+
if len(memeber_set) > 0:
|
54979
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
54980
|
+
|
54981
|
+
|
54982
|
+
|
54983
|
+
class TableMetaProperty(AbstractModel):
|
54984
|
+
"""表附加信息
|
54985
|
+
|
54986
|
+
"""
|
54987
|
+
|
54988
|
+
def __init__(self):
|
54989
|
+
r"""
|
54990
|
+
:param _Key: 属性的key
|
54991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54992
|
+
:type Key: str
|
54993
|
+
:param _Value: 属性的值
|
54994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54995
|
+
:type Value: str
|
54996
|
+
"""
|
54997
|
+
self._Key = None
|
54998
|
+
self._Value = None
|
54999
|
+
|
55000
|
+
@property
|
55001
|
+
def Key(self):
|
55002
|
+
return self._Key
|
55003
|
+
|
55004
|
+
@Key.setter
|
55005
|
+
def Key(self, Key):
|
55006
|
+
self._Key = Key
|
55007
|
+
|
55008
|
+
@property
|
55009
|
+
def Value(self):
|
55010
|
+
return self._Value
|
55011
|
+
|
55012
|
+
@Value.setter
|
55013
|
+
def Value(self, Value):
|
55014
|
+
self._Value = Value
|
55015
|
+
|
55016
|
+
|
55017
|
+
def _deserialize(self, params):
|
55018
|
+
self._Key = params.get("Key")
|
55019
|
+
self._Value = params.get("Value")
|
55020
|
+
memeber_set = set(params.keys())
|
55021
|
+
for name, value in vars(self).items():
|
55022
|
+
property_name = name[1:]
|
55023
|
+
if property_name in memeber_set:
|
55024
|
+
memeber_set.remove(property_name)
|
55025
|
+
if len(memeber_set) > 0:
|
55026
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
55027
|
+
|
55028
|
+
|
55029
|
+
|
55030
|
+
class TableNameFilter(AbstractModel):
|
55031
|
+
"""按表名查询的查询条件
|
55032
|
+
|
55033
|
+
"""
|
55034
|
+
|
55035
|
+
def __init__(self):
|
55036
|
+
r"""
|
55037
|
+
:param _MsType: 数据源类型
|
55038
|
+
:type MsType: str
|
55039
|
+
:param _DatasourceId: 数据源id
|
55040
|
+
:type DatasourceId: int
|
55041
|
+
:param _DatabaseName: 数据库名称
|
55042
|
+
:type DatabaseName: str
|
55043
|
+
:param _SchemaName: schema
|
55044
|
+
:type SchemaName: str
|
55045
|
+
:param _Name: 表名
|
55046
|
+
:type Name: str
|
55047
|
+
"""
|
55048
|
+
self._MsType = None
|
55049
|
+
self._DatasourceId = None
|
55050
|
+
self._DatabaseName = None
|
55051
|
+
self._SchemaName = None
|
55052
|
+
self._Name = None
|
55053
|
+
|
55054
|
+
@property
|
55055
|
+
def MsType(self):
|
55056
|
+
return self._MsType
|
55057
|
+
|
55058
|
+
@MsType.setter
|
55059
|
+
def MsType(self, MsType):
|
55060
|
+
self._MsType = MsType
|
55061
|
+
|
55062
|
+
@property
|
55063
|
+
def DatasourceId(self):
|
55064
|
+
return self._DatasourceId
|
55065
|
+
|
55066
|
+
@DatasourceId.setter
|
55067
|
+
def DatasourceId(self, DatasourceId):
|
55068
|
+
self._DatasourceId = DatasourceId
|
55069
|
+
|
55070
|
+
@property
|
55071
|
+
def DatabaseName(self):
|
55072
|
+
return self._DatabaseName
|
55073
|
+
|
55074
|
+
@DatabaseName.setter
|
55075
|
+
def DatabaseName(self, DatabaseName):
|
55076
|
+
self._DatabaseName = DatabaseName
|
55077
|
+
|
55078
|
+
@property
|
55079
|
+
def SchemaName(self):
|
55080
|
+
return self._SchemaName
|
55081
|
+
|
55082
|
+
@SchemaName.setter
|
55083
|
+
def SchemaName(self, SchemaName):
|
55084
|
+
self._SchemaName = SchemaName
|
55085
|
+
|
55086
|
+
@property
|
55087
|
+
def Name(self):
|
55088
|
+
return self._Name
|
55089
|
+
|
55090
|
+
@Name.setter
|
55091
|
+
def Name(self, Name):
|
55092
|
+
self._Name = Name
|
55093
|
+
|
55094
|
+
|
55095
|
+
def _deserialize(self, params):
|
55096
|
+
self._MsType = params.get("MsType")
|
55097
|
+
self._DatasourceId = params.get("DatasourceId")
|
55098
|
+
self._DatabaseName = params.get("DatabaseName")
|
55099
|
+
self._SchemaName = params.get("SchemaName")
|
55100
|
+
self._Name = params.get("Name")
|
54929
55101
|
memeber_set = set(params.keys())
|
54930
55102
|
for name, value in vars(self).items():
|
54931
55103
|
property_name = name[1:]
|