tencentcloud-sdk-python 3.0.1433__py2.py3-none-any.whl → 3.0.1435__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (27) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/bi/v20220105/models.py +156 -2
  3. tencentcloud/cam/v20190116/cam_client.py +23 -0
  4. tencentcloud/cam/v20190116/errorcodes.py +15 -0
  5. tencentcloud/cam/v20190116/models.py +180 -0
  6. tencentcloud/cdb/v20170320/cdb_client.py +2 -1
  7. tencentcloud/cdb/v20170320/models.py +62 -44
  8. tencentcloud/cfs/v20190719/cfs_client.py +299 -0
  9. tencentcloud/cfs/v20190719/errorcodes.py +54 -0
  10. tencentcloud/cfs/v20190719/models.py +4437 -1976
  11. tencentcloud/clb/v20180317/models.py +44 -14
  12. tencentcloud/cls/v20201016/models.py +348 -132
  13. tencentcloud/ctem/v20231128/models.py +405 -15
  14. tencentcloud/kms/v20190118/models.py +2 -2
  15. tencentcloud/live/v20180801/models.py +2 -2
  16. tencentcloud/lowcode/v20210108/lowcode_client.py +92 -0
  17. tencentcloud/lowcode/v20210108/models.py +423 -0
  18. tencentcloud/ssl/v20191205/errorcodes.py +1 -1
  19. tencentcloud/ssl/v20191205/models.py +39 -24
  20. tencentcloud/teo/v20220901/models.py +42 -2
  21. tencentcloud/wedata/v20210820/models.py +336 -15
  22. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  23. {tencentcloud_sdk_python-3.0.1433.dist-info → tencentcloud_sdk_python-3.0.1435.dist-info}/METADATA +1 -1
  24. {tencentcloud_sdk_python-3.0.1433.dist-info → tencentcloud_sdk_python-3.0.1435.dist-info}/RECORD +27 -27
  25. {tencentcloud_sdk_python-3.0.1433.dist-info → tencentcloud_sdk_python-3.0.1435.dist-info}/LICENSE +0 -0
  26. {tencentcloud_sdk_python-3.0.1433.dist-info → tencentcloud_sdk_python-3.0.1435.dist-info}/WHEEL +0 -0
  27. {tencentcloud_sdk_python-3.0.1433.dist-info → tencentcloud_sdk_python-3.0.1435.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1433'
17
+ __version__ = '3.0.1435'
@@ -601,6 +601,10 @@ class CreateDatasourceCloudRequest(AbstractModel):
601
601
  :type DataOriginDatasourceId: str
602
602
  :param _ClusterId: 集群id
603
603
  :type ClusterId: str
604
+ :param _Schema: 数据库schema
605
+ :type Schema: str
606
+ :param _DbVersion: 数据库版本
607
+ :type DbVersion: str
604
608
  """
605
609
  self._ServiceType = None
606
610
  self._DbType = None
@@ -622,6 +626,8 @@ class CreateDatasourceCloudRequest(AbstractModel):
622
626
  self._DataOriginProjectId = None
623
627
  self._DataOriginDatasourceId = None
624
628
  self._ClusterId = None
629
+ self._Schema = None
630
+ self._DbVersion = None
625
631
 
626
632
  @property
627
633
  def ServiceType(self):
@@ -843,6 +849,28 @@ class CreateDatasourceCloudRequest(AbstractModel):
843
849
  def ClusterId(self, ClusterId):
844
850
  self._ClusterId = ClusterId
845
851
 
852
+ @property
853
+ def Schema(self):
854
+ """数据库schema
855
+ :rtype: str
856
+ """
857
+ return self._Schema
858
+
859
+ @Schema.setter
860
+ def Schema(self, Schema):
861
+ self._Schema = Schema
862
+
863
+ @property
864
+ def DbVersion(self):
865
+ """数据库版本
866
+ :rtype: str
867
+ """
868
+ return self._DbVersion
869
+
870
+ @DbVersion.setter
871
+ def DbVersion(self, DbVersion):
872
+ self._DbVersion = DbVersion
873
+
846
874
 
847
875
  def _deserialize(self, params):
848
876
  self._ServiceType = params.get("ServiceType")
@@ -865,6 +893,8 @@ class CreateDatasourceCloudRequest(AbstractModel):
865
893
  self._DataOriginProjectId = params.get("DataOriginProjectId")
866
894
  self._DataOriginDatasourceId = params.get("DataOriginDatasourceId")
867
895
  self._ClusterId = params.get("ClusterId")
896
+ self._Schema = params.get("Schema")
897
+ self._DbVersion = params.get("DbVersion")
868
898
  memeber_set = set(params.keys())
869
899
  for name, value in vars(self).items():
870
900
  property_name = name[1:]
@@ -1026,6 +1056,10 @@ class CreateDatasourceRequest(AbstractModel):
1026
1056
  :type UseVPC: bool
1027
1057
  :param _RegionId: 地域
1028
1058
  :type RegionId: str
1059
+ :param _Schema: 数据库schema
1060
+ :type Schema: str
1061
+ :param _DbVersion: 数据库版本
1062
+ :type DbVersion: str
1029
1063
  """
1030
1064
  self._DbHost = None
1031
1065
  self._DbPort = None
@@ -1049,6 +1083,8 @@ class CreateDatasourceRequest(AbstractModel):
1049
1083
  self._OperationAuthLimit = None
1050
1084
  self._UseVPC = None
1051
1085
  self._RegionId = None
1086
+ self._Schema = None
1087
+ self._DbVersion = None
1052
1088
 
1053
1089
  @property
1054
1090
  def DbHost(self):
@@ -1292,6 +1328,28 @@ class CreateDatasourceRequest(AbstractModel):
1292
1328
  def RegionId(self, RegionId):
1293
1329
  self._RegionId = RegionId
1294
1330
 
1331
+ @property
1332
+ def Schema(self):
1333
+ """数据库schema
1334
+ :rtype: str
1335
+ """
1336
+ return self._Schema
1337
+
1338
+ @Schema.setter
1339
+ def Schema(self, Schema):
1340
+ self._Schema = Schema
1341
+
1342
+ @property
1343
+ def DbVersion(self):
1344
+ """数据库版本
1345
+ :rtype: str
1346
+ """
1347
+ return self._DbVersion
1348
+
1349
+ @DbVersion.setter
1350
+ def DbVersion(self, DbVersion):
1351
+ self._DbVersion = DbVersion
1352
+
1295
1353
 
1296
1354
  def _deserialize(self, params):
1297
1355
  self._DbHost = params.get("DbHost")
@@ -1316,6 +1374,8 @@ class CreateDatasourceRequest(AbstractModel):
1316
1374
  self._OperationAuthLimit = params.get("OperationAuthLimit")
1317
1375
  self._UseVPC = params.get("UseVPC")
1318
1376
  self._RegionId = params.get("RegionId")
1377
+ self._Schema = params.get("Schema")
1378
+ self._DbVersion = params.get("DbVersion")
1319
1379
  memeber_set = set(params.keys())
1320
1380
  for name, value in vars(self).items():
1321
1381
  property_name = name[1:]
@@ -2639,6 +2699,12 @@ class DatasourceInfo(AbstractModel):
2639
2699
  :param _OwnerName: 所属人名称
2640
2700
  注意:此字段可能返回 null,表示取不到有效值。
2641
2701
  :type OwnerName: str
2702
+ :param _Schema: 数据库schema
2703
+ 注意:此字段可能返回 null,表示取不到有效值。
2704
+ :type Schema: str
2705
+ :param _DbVersion: 数据库版本
2706
+ 注意:此字段可能返回 null,表示取不到有效值。
2707
+ :type DbVersion: str
2642
2708
  """
2643
2709
  self._Id = None
2644
2710
  self._DbName = None
@@ -2679,6 +2745,8 @@ class DatasourceInfo(AbstractModel):
2679
2745
  self._UseVPC = None
2680
2746
  self._Owner = None
2681
2747
  self._OwnerName = None
2748
+ self._Schema = None
2749
+ self._DbVersion = None
2682
2750
 
2683
2751
  @property
2684
2752
  def Id(self):
@@ -3138,6 +3206,30 @@ class DatasourceInfo(AbstractModel):
3138
3206
  def OwnerName(self, OwnerName):
3139
3207
  self._OwnerName = OwnerName
3140
3208
 
3209
+ @property
3210
+ def Schema(self):
3211
+ """数据库schema
3212
+ 注意:此字段可能返回 null,表示取不到有效值。
3213
+ :rtype: str
3214
+ """
3215
+ return self._Schema
3216
+
3217
+ @Schema.setter
3218
+ def Schema(self, Schema):
3219
+ self._Schema = Schema
3220
+
3221
+ @property
3222
+ def DbVersion(self):
3223
+ """数据库版本
3224
+ 注意:此字段可能返回 null,表示取不到有效值。
3225
+ :rtype: str
3226
+ """
3227
+ return self._DbVersion
3228
+
3229
+ @DbVersion.setter
3230
+ def DbVersion(self, DbVersion):
3231
+ self._DbVersion = DbVersion
3232
+
3141
3233
 
3142
3234
  def _deserialize(self, params):
3143
3235
  self._Id = params.get("Id")
@@ -3186,6 +3278,8 @@ class DatasourceInfo(AbstractModel):
3186
3278
  self._UseVPC = params.get("UseVPC")
3187
3279
  self._Owner = params.get("Owner")
3188
3280
  self._OwnerName = params.get("OwnerName")
3281
+ self._Schema = params.get("Schema")
3282
+ self._DbVersion = params.get("DbVersion")
3189
3283
  memeber_set = set(params.keys())
3190
3284
  for name, value in vars(self).items():
3191
3285
  property_name = name[1:]
@@ -6166,6 +6260,10 @@ class ModifyDatasourceCloudRequest(AbstractModel):
6166
6260
  :type DataOriginDatasourceId: str
6167
6261
  :param _ClusterId: 集群id
6168
6262
  :type ClusterId: str
6263
+ :param _Schema: 数据库schema
6264
+ :type Schema: str
6265
+ :param _DbVersion: 数据库版本
6266
+ :type DbVersion: str
6169
6267
  """
6170
6268
  self._ServiceType = None
6171
6269
  self._DbType = None
@@ -6188,6 +6286,8 @@ class ModifyDatasourceCloudRequest(AbstractModel):
6188
6286
  self._DataOriginProjectId = None
6189
6287
  self._DataOriginDatasourceId = None
6190
6288
  self._ClusterId = None
6289
+ self._Schema = None
6290
+ self._DbVersion = None
6191
6291
 
6192
6292
  @property
6193
6293
  def ServiceType(self):
@@ -6420,6 +6520,28 @@ class ModifyDatasourceCloudRequest(AbstractModel):
6420
6520
  def ClusterId(self, ClusterId):
6421
6521
  self._ClusterId = ClusterId
6422
6522
 
6523
+ @property
6524
+ def Schema(self):
6525
+ """数据库schema
6526
+ :rtype: str
6527
+ """
6528
+ return self._Schema
6529
+
6530
+ @Schema.setter
6531
+ def Schema(self, Schema):
6532
+ self._Schema = Schema
6533
+
6534
+ @property
6535
+ def DbVersion(self):
6536
+ """数据库版本
6537
+ :rtype: str
6538
+ """
6539
+ return self._DbVersion
6540
+
6541
+ @DbVersion.setter
6542
+ def DbVersion(self, DbVersion):
6543
+ self._DbVersion = DbVersion
6544
+
6423
6545
 
6424
6546
  def _deserialize(self, params):
6425
6547
  self._ServiceType = params.get("ServiceType")
@@ -6443,6 +6565,8 @@ class ModifyDatasourceCloudRequest(AbstractModel):
6443
6565
  self._DataOriginProjectId = params.get("DataOriginProjectId")
6444
6566
  self._DataOriginDatasourceId = params.get("DataOriginDatasourceId")
6445
6567
  self._ClusterId = params.get("ClusterId")
6568
+ self._Schema = params.get("Schema")
6569
+ self._DbVersion = params.get("DbVersion")
6446
6570
  memeber_set = set(params.keys())
6447
6571
  for name, value in vars(self).items():
6448
6572
  property_name = name[1:]
@@ -6463,7 +6587,7 @@ class ModifyDatasourceCloudResponse(AbstractModel):
6463
6587
  :param _ErrorInfo: 自定义错误信息对象
6464
6588
  注意:此字段可能返回 null,表示取不到有效值。
6465
6589
  :type ErrorInfo: :class:`tencentcloud.bi.v20220105.models.ErrorInfo`
6466
- :param _Data: 成功无
6590
+ :param _Data:
6467
6591
  注意:此字段可能返回 null,表示取不到有效值。
6468
6592
  :type Data: str
6469
6593
  :param _Extra: 额外信息
@@ -6495,7 +6619,7 @@ class ModifyDatasourceCloudResponse(AbstractModel):
6495
6619
 
6496
6620
  @property
6497
6621
  def Data(self):
6498
- """成功无
6622
+ """
6499
6623
  注意:此字段可能返回 null,表示取不到有效值。
6500
6624
  :rtype: str
6501
6625
  """
@@ -6602,6 +6726,10 @@ class ModifyDatasourceRequest(AbstractModel):
6602
6726
  :type UseVPC: bool
6603
6727
  :param _RegionId: 地域
6604
6728
  :type RegionId: str
6729
+ :param _Schema: 数据库schema
6730
+ :type Schema: str
6731
+ :param _DbVersion: 数据库版本
6732
+ :type DbVersion: str
6605
6733
  """
6606
6734
  self._DbHost = None
6607
6735
  self._DbPort = None
@@ -6625,6 +6753,8 @@ class ModifyDatasourceRequest(AbstractModel):
6625
6753
  self._VpcId = None
6626
6754
  self._UseVPC = None
6627
6755
  self._RegionId = None
6756
+ self._Schema = None
6757
+ self._DbVersion = None
6628
6758
 
6629
6759
  @property
6630
6760
  def DbHost(self):
@@ -6868,6 +6998,28 @@ class ModifyDatasourceRequest(AbstractModel):
6868
6998
  def RegionId(self, RegionId):
6869
6999
  self._RegionId = RegionId
6870
7000
 
7001
+ @property
7002
+ def Schema(self):
7003
+ """数据库schema
7004
+ :rtype: str
7005
+ """
7006
+ return self._Schema
7007
+
7008
+ @Schema.setter
7009
+ def Schema(self, Schema):
7010
+ self._Schema = Schema
7011
+
7012
+ @property
7013
+ def DbVersion(self):
7014
+ """数据库版本
7015
+ :rtype: str
7016
+ """
7017
+ return self._DbVersion
7018
+
7019
+ @DbVersion.setter
7020
+ def DbVersion(self, DbVersion):
7021
+ self._DbVersion = DbVersion
7022
+
6871
7023
 
6872
7024
  def _deserialize(self, params):
6873
7025
  self._DbHost = params.get("DbHost")
@@ -6892,6 +7044,8 @@ class ModifyDatasourceRequest(AbstractModel):
6892
7044
  self._VpcId = params.get("VpcId")
6893
7045
  self._UseVPC = params.get("UseVPC")
6894
7046
  self._RegionId = params.get("RegionId")
7047
+ self._Schema = params.get("Schema")
7048
+ self._DbVersion = params.get("DbVersion")
6895
7049
  memeber_set = set(params.keys())
6896
7050
  for name, value in vars(self).items():
6897
7051
  property_name = name[1:]
@@ -394,6 +394,29 @@ class CamClient(AbstractClient):
394
394
  raise TencentCloudSDKException(type(e).__name__, str(e))
395
395
 
396
396
 
397
+ def CreateSubAccountLoginIpPolicy(self, request):
398
+ """增加子账号登录IP策略
399
+
400
+ :param request: Request instance for CreateSubAccountLoginIpPolicy.
401
+ :type request: :class:`tencentcloud.cam.v20190116.models.CreateSubAccountLoginIpPolicyRequest`
402
+ :rtype: :class:`tencentcloud.cam.v20190116.models.CreateSubAccountLoginIpPolicyResponse`
403
+
404
+ """
405
+ try:
406
+ params = request._serialize()
407
+ headers = request.headers
408
+ body = self.call("CreateSubAccountLoginIpPolicy", params, headers=headers)
409
+ response = json.loads(body)
410
+ model = models.CreateSubAccountLoginIpPolicyResponse()
411
+ model._deserialize(response["Response"])
412
+ return model
413
+ except Exception as e:
414
+ if isinstance(e, TencentCloudSDKException):
415
+ raise
416
+ else:
417
+ raise TencentCloudSDKException(type(e).__name__, str(e))
418
+
419
+
397
420
  def CreateUserOIDCConfig(self, request):
398
421
  """创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
399
422
 
@@ -23,6 +23,9 @@ FAILEDOPERATION = 'FailedOperation'
23
23
  # 操作访问密钥错误。
24
24
  FAILEDOPERATION_ACCESSKEY = 'FailedOperation.Accesskey'
25
25
 
26
+ # 协助审批人已达到上限。
27
+ FAILEDOPERATION_ASSISTAPPROVERFULL = 'FailedOperation.AssistApproverFull'
28
+
26
29
  # 生成AuthToken异常。
27
30
  FAILEDOPERATION_BUILDAUTHTOKEN = 'FailedOperation.BuildAuthToken'
28
31
 
@@ -98,6 +101,9 @@ INVALIDPARAMETER_ACTIONNOTEXIST = 'InvalidParameter.ActionNotExist'
98
101
  # 策略语法中操作服务不存在。
99
102
  INVALIDPARAMETER_ACTIONSERVICENOTEXIST = 'InvalidParameter.ActionServiceNotExist'
100
103
 
104
+ # 协助审批类型不合法。
105
+ INVALIDPARAMETER_ASSITAPPROVERTYPEERROR = 'InvalidParameter.AssitApproverTypeError'
106
+
101
107
  # principal字段的授权对象关联策略数已达到上限。
102
108
  INVALIDPARAMETER_ATTACHMENTFULL = 'InvalidParameter.AttachmentFull'
103
109
 
@@ -137,6 +143,12 @@ INVALIDPARAMETER_GROUPNOTEXIST = 'InvalidParameter.GroupNotExist'
137
143
  # 用户组中的子用户数量达到上限。
138
144
  INVALIDPARAMETER_GROUPUSERFULL = 'InvalidParameter.GroupUserFull'
139
145
 
146
+ # IP段格式不合法。
147
+ INVALIDPARAMETER_IPILLEGAL = 'InvalidParameter.IPIllegal'
148
+
149
+ # IP段重复。
150
+ INVALIDPARAMETER_IPRANGEOVERLAPPING = 'InvalidParameter.IPRangeOverlapping'
151
+
140
152
  # 身份提供商名称已经使用。
141
153
  INVALIDPARAMETER_IDENTITYNAMEINUSE = 'InvalidParameter.IdentityNameInUse'
142
154
 
@@ -263,6 +275,9 @@ INVALIDPARAMETER_SUBUSERFULL = 'InvalidParameter.SubUserFull'
263
275
  # 子用户名称重复。
264
276
  INVALIDPARAMETER_SUBUSERNAMEINUSE = 'InvalidParameter.SubUserNameInUse'
265
277
 
278
+ # 子账号不存在已认证的手机。
279
+ INVALIDPARAMETER_SUBUSERPHONENOTEXSIT = 'InvalidParameter.SubUserPhoneNotExsit'
280
+
266
281
  # 超出标签限制。
267
282
  INVALIDPARAMETER_TAGLIMITEXCEEDED = 'InvalidParameter.TagLimitExceeded'
268
283
 
@@ -2809,6 +2809,135 @@ class CreateServiceLinkedRoleResponse(AbstractModel):
2809
2809
  self._RequestId = params.get("RequestId")
2810
2810
 
2811
2811
 
2812
+ class CreateSubAccountLoginIpPolicyRequest(AbstractModel):
2813
+ """CreateSubAccountLoginIpPolicy请求参数结构体
2814
+
2815
+ """
2816
+
2817
+ def __init__(self):
2818
+ r"""
2819
+ :param _IpPolicies: IP策略集合
2820
+ :type IpPolicies: list of IpPolicy
2821
+ :param _ApproverType: 审批人类型,目前支持的类型有:SubAccountLoginLimitApproval(子账号登录限制审批)
2822
+ :type ApproverType: str
2823
+ :param _ApproverUin: 被添加为协助审批人的账号ID数组
2824
+ :type ApproverUin: list of int non-negative
2825
+ :param _DisablePolicy: 是否禁用策略:0:不禁用,1:禁用
2826
+ :type DisablePolicy: int
2827
+ :param _PolicyType: 策略类型:1:更新IP策略,2:设置异地登录校验校验规则
2828
+ :type PolicyType: int
2829
+ """
2830
+ self._IpPolicies = None
2831
+ self._ApproverType = None
2832
+ self._ApproverUin = None
2833
+ self._DisablePolicy = None
2834
+ self._PolicyType = None
2835
+
2836
+ @property
2837
+ def IpPolicies(self):
2838
+ """IP策略集合
2839
+ :rtype: list of IpPolicy
2840
+ """
2841
+ return self._IpPolicies
2842
+
2843
+ @IpPolicies.setter
2844
+ def IpPolicies(self, IpPolicies):
2845
+ self._IpPolicies = IpPolicies
2846
+
2847
+ @property
2848
+ def ApproverType(self):
2849
+ """审批人类型,目前支持的类型有:SubAccountLoginLimitApproval(子账号登录限制审批)
2850
+ :rtype: str
2851
+ """
2852
+ return self._ApproverType
2853
+
2854
+ @ApproverType.setter
2855
+ def ApproverType(self, ApproverType):
2856
+ self._ApproverType = ApproverType
2857
+
2858
+ @property
2859
+ def ApproverUin(self):
2860
+ """被添加为协助审批人的账号ID数组
2861
+ :rtype: list of int non-negative
2862
+ """
2863
+ return self._ApproverUin
2864
+
2865
+ @ApproverUin.setter
2866
+ def ApproverUin(self, ApproverUin):
2867
+ self._ApproverUin = ApproverUin
2868
+
2869
+ @property
2870
+ def DisablePolicy(self):
2871
+ """是否禁用策略:0:不禁用,1:禁用
2872
+ :rtype: int
2873
+ """
2874
+ return self._DisablePolicy
2875
+
2876
+ @DisablePolicy.setter
2877
+ def DisablePolicy(self, DisablePolicy):
2878
+ self._DisablePolicy = DisablePolicy
2879
+
2880
+ @property
2881
+ def PolicyType(self):
2882
+ """策略类型:1:更新IP策略,2:设置异地登录校验校验规则
2883
+ :rtype: int
2884
+ """
2885
+ return self._PolicyType
2886
+
2887
+ @PolicyType.setter
2888
+ def PolicyType(self, PolicyType):
2889
+ self._PolicyType = PolicyType
2890
+
2891
+
2892
+ def _deserialize(self, params):
2893
+ if params.get("IpPolicies") is not None:
2894
+ self._IpPolicies = []
2895
+ for item in params.get("IpPolicies"):
2896
+ obj = IpPolicy()
2897
+ obj._deserialize(item)
2898
+ self._IpPolicies.append(obj)
2899
+ self._ApproverType = params.get("ApproverType")
2900
+ self._ApproverUin = params.get("ApproverUin")
2901
+ self._DisablePolicy = params.get("DisablePolicy")
2902
+ self._PolicyType = params.get("PolicyType")
2903
+ memeber_set = set(params.keys())
2904
+ for name, value in vars(self).items():
2905
+ property_name = name[1:]
2906
+ if property_name in memeber_set:
2907
+ memeber_set.remove(property_name)
2908
+ if len(memeber_set) > 0:
2909
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2910
+
2911
+
2912
+
2913
+ class CreateSubAccountLoginIpPolicyResponse(AbstractModel):
2914
+ """CreateSubAccountLoginIpPolicy返回参数结构体
2915
+
2916
+ """
2917
+
2918
+ def __init__(self):
2919
+ r"""
2920
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2921
+ :type RequestId: str
2922
+ """
2923
+ self._RequestId = None
2924
+
2925
+ @property
2926
+ def RequestId(self):
2927
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2928
+ :rtype: str
2929
+ """
2930
+ return self._RequestId
2931
+
2932
+ @RequestId.setter
2933
+ def RequestId(self, RequestId):
2934
+ self._RequestId = RequestId
2935
+
2936
+
2937
+ def _deserialize(self, params):
2938
+ self._RequestId = params.get("RequestId")
2939
+
2940
+
2812
2941
  class CreateUserOIDCConfigRequest(AbstractModel):
2813
2942
  """CreateUserOIDCConfig请求参数结构体
2814
2943
 
@@ -7266,6 +7395,57 @@ class GroupMemberInfo(AbstractModel):
7266
7395
 
7267
7396
 
7268
7397
 
7398
+ class IpPolicy(AbstractModel):
7399
+ """IP限制策略
7400
+
7401
+ """
7402
+
7403
+ def __init__(self):
7404
+ r"""
7405
+ :param _IP: IP段
7406
+ :type IP: str
7407
+ :param _Effect: 策略效力,Allow或Deny
7408
+ :type Effect: str
7409
+ """
7410
+ self._IP = None
7411
+ self._Effect = None
7412
+
7413
+ @property
7414
+ def IP(self):
7415
+ """IP段
7416
+ :rtype: str
7417
+ """
7418
+ return self._IP
7419
+
7420
+ @IP.setter
7421
+ def IP(self, IP):
7422
+ self._IP = IP
7423
+
7424
+ @property
7425
+ def Effect(self):
7426
+ """策略效力,Allow或Deny
7427
+ :rtype: str
7428
+ """
7429
+ return self._Effect
7430
+
7431
+ @Effect.setter
7432
+ def Effect(self, Effect):
7433
+ self._Effect = Effect
7434
+
7435
+
7436
+ def _deserialize(self, params):
7437
+ self._IP = params.get("IP")
7438
+ self._Effect = params.get("Effect")
7439
+ memeber_set = set(params.keys())
7440
+ for name, value in vars(self).items():
7441
+ property_name = name[1:]
7442
+ if property_name in memeber_set:
7443
+ memeber_set.remove(property_name)
7444
+ if len(memeber_set) > 0:
7445
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7446
+
7447
+
7448
+
7269
7449
  class ListAccessKeysRequest(AbstractModel):
7270
7450
  """ListAccessKeys请求参数结构体
7271
7451
 
@@ -2403,7 +2403,8 @@ class CdbClient(AbstractClient):
2403
2403
 
2404
2404
 
2405
2405
  def DescribeSlowLogs(self, request):
2406
- """本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
2406
+ """本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
2407
+ 说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
2407
2408
 
2408
2409
  :param request: Request instance for DescribeSlowLogs.
2409
2410
  :type request: :class:`tencentcloud.cdb.v20170320.models.DescribeSlowLogsRequest`