tencentcloud-sdk-python 3.0.1435__py2.py3-none-any.whl → 3.0.1437__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cdn/v20180606/cdn_client.py +0 -575
- tencentcloud/cdn/v20180606/errorcodes.py +0 -48
- tencentcloud/cdn/v20180606/models.py +12881 -21511
- tencentcloud/cfs/v20190719/models.py +16 -18
- tencentcloud/cls/v20201016/models.py +46 -20
- tencentcloud/dlc/v20210125/dlc_client.py +529 -0
- tencentcloud/dlc/v20210125/errorcodes.py +30 -0
- tencentcloud/dlc/v20210125/models.py +7909 -2612
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/es/v20250101/models.py +70 -0
- tencentcloud/ess/v20201111/ess_client.py +55 -3
- tencentcloud/ess/v20201111/models.py +686 -2
- tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
- tencentcloud/hunyuan/v20230901/models.py +0 -357
- tencentcloud/lke/v20231130/models.py +86 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +24 -8
- tencentcloud/mqtt/v20240516/models.py +150 -0
- tencentcloud/ocr/v20181119/models.py +90 -4
- tencentcloud/partners/v20180321/partners_client.py +2 -1
- tencentcloud/postgres/v20170312/models.py +28 -24
- tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +6 -6
- tencentcloud/tcbr/v20220217/models.py +266 -4
- tencentcloud/tcr/v20190924/models.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +24 -0
- tencentcloud/teo/v20220901/models.py +3469 -441
- tencentcloud/teo/v20220901/teo_client.py +469 -2
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +70 -6
- tencentcloud/waf/v20180125/models.py +1029 -151
- tencentcloud/waf/v20180125/waf_client.py +92 -0
- tencentcloud/wsa/v20250508/models.py +22 -4
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/top_level.txt +0 -0
|
@@ -62405,17 +62405,25 @@ class TimeSpotCheck(AbstractModel):
|
|
|
62405
62405
|
|
|
62406
62406
|
def __init__(self):
|
|
62407
62407
|
r"""
|
|
62408
|
-
:param _CheckDuration:
|
|
62408
|
+
:param _CheckDuration: 每次循环检测的时长。取值范围(单位s):
|
|
62409
62409
|
|
|
62410
62410
|
- 最小值:10
|
|
62411
62411
|
- 最大值:86400
|
|
62412
62412
|
|
|
62413
62413
|
:type CheckDuration: int
|
|
62414
|
-
:param _CheckInterval:
|
|
62414
|
+
:param _CheckInterval: 抽检间隔,表示在一次检测结束后,等待多长时间后,再次检测。取值范围(单位 s):
|
|
62415
|
+
- 最小值:10
|
|
62416
|
+
- 最大值:3600
|
|
62415
62417
|
:type CheckInterval: int
|
|
62416
|
-
:param _SkipDuration:
|
|
62418
|
+
:param _SkipDuration: 片头跳过时长。取值范围(单位 s):
|
|
62419
|
+
- 最小值:1
|
|
62420
|
+
- 最大值:1800
|
|
62417
62421
|
:type SkipDuration: int
|
|
62418
|
-
:param _CirclesNumber:
|
|
62422
|
+
:param _CirclesNumber: 循环次数。取值范围:
|
|
62423
|
+
- 最小值:0
|
|
62424
|
+
- 最大值:1000
|
|
62425
|
+
|
|
62426
|
+
取值为 0 或为空时,表示循环至视频结束。
|
|
62419
62427
|
:type CirclesNumber: int
|
|
62420
62428
|
"""
|
|
62421
62429
|
self._CheckDuration = None
|
|
@@ -62425,7 +62433,7 @@ class TimeSpotCheck(AbstractModel):
|
|
|
62425
62433
|
|
|
62426
62434
|
@property
|
|
62427
62435
|
def CheckDuration(self):
|
|
62428
|
-
"""
|
|
62436
|
+
"""每次循环检测的时长。取值范围(单位s):
|
|
62429
62437
|
|
|
62430
62438
|
- 最小值:10
|
|
62431
62439
|
- 最大值:86400
|
|
@@ -62440,7 +62448,9 @@ class TimeSpotCheck(AbstractModel):
|
|
|
62440
62448
|
|
|
62441
62449
|
@property
|
|
62442
62450
|
def CheckInterval(self):
|
|
62443
|
-
"""
|
|
62451
|
+
"""抽检间隔,表示在一次检测结束后,等待多长时间后,再次检测。取值范围(单位 s):
|
|
62452
|
+
- 最小值:10
|
|
62453
|
+
- 最大值:3600
|
|
62444
62454
|
:rtype: int
|
|
62445
62455
|
"""
|
|
62446
62456
|
return self._CheckInterval
|
|
@@ -62451,7 +62461,9 @@ class TimeSpotCheck(AbstractModel):
|
|
|
62451
62461
|
|
|
62452
62462
|
@property
|
|
62453
62463
|
def SkipDuration(self):
|
|
62454
|
-
"""
|
|
62464
|
+
"""片头跳过时长。取值范围(单位 s):
|
|
62465
|
+
- 最小值:1
|
|
62466
|
+
- 最大值:1800
|
|
62455
62467
|
:rtype: int
|
|
62456
62468
|
"""
|
|
62457
62469
|
return self._SkipDuration
|
|
@@ -62462,7 +62474,11 @@ class TimeSpotCheck(AbstractModel):
|
|
|
62462
62474
|
|
|
62463
62475
|
@property
|
|
62464
62476
|
def CirclesNumber(self):
|
|
62465
|
-
"""
|
|
62477
|
+
"""循环次数。取值范围:
|
|
62478
|
+
- 最小值:0
|
|
62479
|
+
- 最大值:1000
|
|
62480
|
+
|
|
62481
|
+
取值为 0 或为空时,表示循环至视频结束。
|
|
62466
62482
|
:rtype: int
|
|
62467
62483
|
"""
|
|
62468
62484
|
return self._CirclesNumber
|
|
@@ -4744,6 +4744,12 @@ API:通过API手动注册
|
|
|
4744
4744
|
:type AutoSubscriptionPolicyLimit: int
|
|
4745
4745
|
:param _MaxTopicFilterPerAutoSubscriptionPolicy: 单条自动订阅规则TopicFilter数限制
|
|
4746
4746
|
:type MaxTopicFilterPerAutoSubscriptionPolicy: int
|
|
4747
|
+
:param _UseDefaultServerCert: 是否使用默认的服务端证书
|
|
4748
|
+
:type UseDefaultServerCert: bool
|
|
4749
|
+
:param _TrustedCaLimit: 服务端CA最大数量
|
|
4750
|
+
:type TrustedCaLimit: int
|
|
4751
|
+
:param _ServerCertLimit: 服务端证书最大数量
|
|
4752
|
+
:type ServerCertLimit: int
|
|
4747
4753
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4748
4754
|
:type RequestId: str
|
|
4749
4755
|
"""
|
|
@@ -4775,6 +4781,9 @@ API:通过API手动注册
|
|
|
4775
4781
|
self._MaxTopicFilterPerSharedSubscriptionGroup = None
|
|
4776
4782
|
self._AutoSubscriptionPolicyLimit = None
|
|
4777
4783
|
self._MaxTopicFilterPerAutoSubscriptionPolicy = None
|
|
4784
|
+
self._UseDefaultServerCert = None
|
|
4785
|
+
self._TrustedCaLimit = None
|
|
4786
|
+
self._ServerCertLimit = None
|
|
4778
4787
|
self._RequestId = None
|
|
4779
4788
|
|
|
4780
4789
|
@property
|
|
@@ -5090,6 +5099,39 @@ API:通过API手动注册
|
|
|
5090
5099
|
def MaxTopicFilterPerAutoSubscriptionPolicy(self, MaxTopicFilterPerAutoSubscriptionPolicy):
|
|
5091
5100
|
self._MaxTopicFilterPerAutoSubscriptionPolicy = MaxTopicFilterPerAutoSubscriptionPolicy
|
|
5092
5101
|
|
|
5102
|
+
@property
|
|
5103
|
+
def UseDefaultServerCert(self):
|
|
5104
|
+
"""是否使用默认的服务端证书
|
|
5105
|
+
:rtype: bool
|
|
5106
|
+
"""
|
|
5107
|
+
return self._UseDefaultServerCert
|
|
5108
|
+
|
|
5109
|
+
@UseDefaultServerCert.setter
|
|
5110
|
+
def UseDefaultServerCert(self, UseDefaultServerCert):
|
|
5111
|
+
self._UseDefaultServerCert = UseDefaultServerCert
|
|
5112
|
+
|
|
5113
|
+
@property
|
|
5114
|
+
def TrustedCaLimit(self):
|
|
5115
|
+
"""服务端CA最大数量
|
|
5116
|
+
:rtype: int
|
|
5117
|
+
"""
|
|
5118
|
+
return self._TrustedCaLimit
|
|
5119
|
+
|
|
5120
|
+
@TrustedCaLimit.setter
|
|
5121
|
+
def TrustedCaLimit(self, TrustedCaLimit):
|
|
5122
|
+
self._TrustedCaLimit = TrustedCaLimit
|
|
5123
|
+
|
|
5124
|
+
@property
|
|
5125
|
+
def ServerCertLimit(self):
|
|
5126
|
+
"""服务端证书最大数量
|
|
5127
|
+
:rtype: int
|
|
5128
|
+
"""
|
|
5129
|
+
return self._ServerCertLimit
|
|
5130
|
+
|
|
5131
|
+
@ServerCertLimit.setter
|
|
5132
|
+
def ServerCertLimit(self, ServerCertLimit):
|
|
5133
|
+
self._ServerCertLimit = ServerCertLimit
|
|
5134
|
+
|
|
5093
5135
|
@property
|
|
5094
5136
|
def RequestId(self):
|
|
5095
5137
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5131,6 +5173,9 @@ API:通过API手动注册
|
|
|
5131
5173
|
self._MaxTopicFilterPerSharedSubscriptionGroup = params.get("MaxTopicFilterPerSharedSubscriptionGroup")
|
|
5132
5174
|
self._AutoSubscriptionPolicyLimit = params.get("AutoSubscriptionPolicyLimit")
|
|
5133
5175
|
self._MaxTopicFilterPerAutoSubscriptionPolicy = params.get("MaxTopicFilterPerAutoSubscriptionPolicy")
|
|
5176
|
+
self._UseDefaultServerCert = params.get("UseDefaultServerCert")
|
|
5177
|
+
self._TrustedCaLimit = params.get("TrustedCaLimit")
|
|
5178
|
+
self._ServerCertLimit = params.get("ServerCertLimit")
|
|
5134
5179
|
self._RequestId = params.get("RequestId")
|
|
5135
5180
|
|
|
5136
5181
|
|
|
@@ -7050,11 +7095,14 @@ class MQTTClientSubscription(AbstractModel):
|
|
|
7050
7095
|
:type Lag: int
|
|
7051
7096
|
:param _Inflight: 投递未确认数量
|
|
7052
7097
|
:type Inflight: int
|
|
7098
|
+
:param _UserProperties: 用户属性
|
|
7099
|
+
:type UserProperties: list of SubscriptionUserProperty
|
|
7053
7100
|
"""
|
|
7054
7101
|
self._TopicFilter = None
|
|
7055
7102
|
self._Qos = None
|
|
7056
7103
|
self._Lag = None
|
|
7057
7104
|
self._Inflight = None
|
|
7105
|
+
self._UserProperties = None
|
|
7058
7106
|
|
|
7059
7107
|
@property
|
|
7060
7108
|
def TopicFilter(self):
|
|
@@ -7103,12 +7151,29 @@ class MQTTClientSubscription(AbstractModel):
|
|
|
7103
7151
|
def Inflight(self, Inflight):
|
|
7104
7152
|
self._Inflight = Inflight
|
|
7105
7153
|
|
|
7154
|
+
@property
|
|
7155
|
+
def UserProperties(self):
|
|
7156
|
+
"""用户属性
|
|
7157
|
+
:rtype: list of SubscriptionUserProperty
|
|
7158
|
+
"""
|
|
7159
|
+
return self._UserProperties
|
|
7160
|
+
|
|
7161
|
+
@UserProperties.setter
|
|
7162
|
+
def UserProperties(self, UserProperties):
|
|
7163
|
+
self._UserProperties = UserProperties
|
|
7164
|
+
|
|
7106
7165
|
|
|
7107
7166
|
def _deserialize(self, params):
|
|
7108
7167
|
self._TopicFilter = params.get("TopicFilter")
|
|
7109
7168
|
self._Qos = params.get("Qos")
|
|
7110
7169
|
self._Lag = params.get("Lag")
|
|
7111
7170
|
self._Inflight = params.get("Inflight")
|
|
7171
|
+
if params.get("UserProperties") is not None:
|
|
7172
|
+
self._UserProperties = []
|
|
7173
|
+
for item in params.get("UserProperties"):
|
|
7174
|
+
obj = SubscriptionUserProperty()
|
|
7175
|
+
obj._deserialize(item)
|
|
7176
|
+
self._UserProperties.append(obj)
|
|
7112
7177
|
memeber_set = set(params.keys())
|
|
7113
7178
|
for name, value in vars(self).items():
|
|
7114
7179
|
property_name = name[1:]
|
|
@@ -8854,6 +8919,12 @@ API:手动通过API注册
|
|
|
8854
8919
|
:type AutomaticActivation: bool
|
|
8855
8920
|
:param _AuthorizationPolicy: 授权策略开关
|
|
8856
8921
|
:type AuthorizationPolicy: bool
|
|
8922
|
+
:param _UseDefaultServerCert: 是否使用默认的服务端证书
|
|
8923
|
+
:type UseDefaultServerCert: bool
|
|
8924
|
+
:param _X509Mode: TLS:单向认证
|
|
8925
|
+
mTLS;双向认证
|
|
8926
|
+
BYOC:一机一证
|
|
8927
|
+
:type X509Mode: str
|
|
8857
8928
|
"""
|
|
8858
8929
|
self._InstanceId = None
|
|
8859
8930
|
self._Name = None
|
|
@@ -8862,6 +8933,8 @@ API:手动通过API注册
|
|
|
8862
8933
|
self._DeviceCertificateProvisionType = None
|
|
8863
8934
|
self._AutomaticActivation = None
|
|
8864
8935
|
self._AuthorizationPolicy = None
|
|
8936
|
+
self._UseDefaultServerCert = None
|
|
8937
|
+
self._X509Mode = None
|
|
8865
8938
|
|
|
8866
8939
|
@property
|
|
8867
8940
|
def InstanceId(self):
|
|
@@ -8951,6 +9024,30 @@ API:手动通过API注册
|
|
|
8951
9024
|
def AuthorizationPolicy(self, AuthorizationPolicy):
|
|
8952
9025
|
self._AuthorizationPolicy = AuthorizationPolicy
|
|
8953
9026
|
|
|
9027
|
+
@property
|
|
9028
|
+
def UseDefaultServerCert(self):
|
|
9029
|
+
"""是否使用默认的服务端证书
|
|
9030
|
+
:rtype: bool
|
|
9031
|
+
"""
|
|
9032
|
+
return self._UseDefaultServerCert
|
|
9033
|
+
|
|
9034
|
+
@UseDefaultServerCert.setter
|
|
9035
|
+
def UseDefaultServerCert(self, UseDefaultServerCert):
|
|
9036
|
+
self._UseDefaultServerCert = UseDefaultServerCert
|
|
9037
|
+
|
|
9038
|
+
@property
|
|
9039
|
+
def X509Mode(self):
|
|
9040
|
+
"""TLS:单向认证
|
|
9041
|
+
mTLS;双向认证
|
|
9042
|
+
BYOC:一机一证
|
|
9043
|
+
:rtype: str
|
|
9044
|
+
"""
|
|
9045
|
+
return self._X509Mode
|
|
9046
|
+
|
|
9047
|
+
@X509Mode.setter
|
|
9048
|
+
def X509Mode(self, X509Mode):
|
|
9049
|
+
self._X509Mode = X509Mode
|
|
9050
|
+
|
|
8954
9051
|
|
|
8955
9052
|
def _deserialize(self, params):
|
|
8956
9053
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -8960,6 +9057,8 @@ API:手动通过API注册
|
|
|
8960
9057
|
self._DeviceCertificateProvisionType = params.get("DeviceCertificateProvisionType")
|
|
8961
9058
|
self._AutomaticActivation = params.get("AutomaticActivation")
|
|
8962
9059
|
self._AuthorizationPolicy = params.get("AuthorizationPolicy")
|
|
9060
|
+
self._UseDefaultServerCert = params.get("UseDefaultServerCert")
|
|
9061
|
+
self._X509Mode = params.get("X509Mode")
|
|
8963
9062
|
memeber_set = set(params.keys())
|
|
8964
9063
|
for name, value in vars(self).items():
|
|
8965
9064
|
property_name = name[1:]
|
|
@@ -10426,6 +10525,57 @@ class RevokedDeviceCertificateResponse(AbstractModel):
|
|
|
10426
10525
|
self._RequestId = params.get("RequestId")
|
|
10427
10526
|
|
|
10428
10527
|
|
|
10528
|
+
class SubscriptionUserProperty(AbstractModel):
|
|
10529
|
+
"""订阅的UserProperty结构
|
|
10530
|
+
|
|
10531
|
+
"""
|
|
10532
|
+
|
|
10533
|
+
def __init__(self):
|
|
10534
|
+
r"""
|
|
10535
|
+
:param _Key: 订阅的UserProperty键
|
|
10536
|
+
:type Key: str
|
|
10537
|
+
:param _Value: 订阅的UserProperty值
|
|
10538
|
+
:type Value: str
|
|
10539
|
+
"""
|
|
10540
|
+
self._Key = None
|
|
10541
|
+
self._Value = None
|
|
10542
|
+
|
|
10543
|
+
@property
|
|
10544
|
+
def Key(self):
|
|
10545
|
+
"""订阅的UserProperty键
|
|
10546
|
+
:rtype: str
|
|
10547
|
+
"""
|
|
10548
|
+
return self._Key
|
|
10549
|
+
|
|
10550
|
+
@Key.setter
|
|
10551
|
+
def Key(self, Key):
|
|
10552
|
+
self._Key = Key
|
|
10553
|
+
|
|
10554
|
+
@property
|
|
10555
|
+
def Value(self):
|
|
10556
|
+
"""订阅的UserProperty值
|
|
10557
|
+
:rtype: str
|
|
10558
|
+
"""
|
|
10559
|
+
return self._Value
|
|
10560
|
+
|
|
10561
|
+
@Value.setter
|
|
10562
|
+
def Value(self, Value):
|
|
10563
|
+
self._Value = Value
|
|
10564
|
+
|
|
10565
|
+
|
|
10566
|
+
def _deserialize(self, params):
|
|
10567
|
+
self._Key = params.get("Key")
|
|
10568
|
+
self._Value = params.get("Value")
|
|
10569
|
+
memeber_set = set(params.keys())
|
|
10570
|
+
for name, value in vars(self).items():
|
|
10571
|
+
property_name = name[1:]
|
|
10572
|
+
if property_name in memeber_set:
|
|
10573
|
+
memeber_set.remove(property_name)
|
|
10574
|
+
if len(memeber_set) > 0:
|
|
10575
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10576
|
+
|
|
10577
|
+
|
|
10578
|
+
|
|
10429
10579
|
class Tag(AbstractModel):
|
|
10430
10580
|
"""标签数据
|
|
10431
10581
|
|
|
@@ -11899,11 +11899,14 @@ class GetOCRResultResponse(AbstractModel):
|
|
|
11899
11899
|
:type Type: str
|
|
11900
11900
|
:param _OCRResult: ocr结果
|
|
11901
11901
|
:type OCRResult: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
|
|
11902
|
+
:param _RequestIdInfos: requestid 信息
|
|
11903
|
+
:type RequestIdInfos: list of RequestIdInfo
|
|
11902
11904
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11903
11905
|
:type RequestId: str
|
|
11904
11906
|
"""
|
|
11905
11907
|
self._Type = None
|
|
11906
11908
|
self._OCRResult = None
|
|
11909
|
+
self._RequestIdInfos = None
|
|
11907
11910
|
self._RequestId = None
|
|
11908
11911
|
|
|
11909
11912
|
@property
|
|
@@ -11928,6 +11931,17 @@ class GetOCRResultResponse(AbstractModel):
|
|
|
11928
11931
|
def OCRResult(self, OCRResult):
|
|
11929
11932
|
self._OCRResult = OCRResult
|
|
11930
11933
|
|
|
11934
|
+
@property
|
|
11935
|
+
def RequestIdInfos(self):
|
|
11936
|
+
"""requestid 信息
|
|
11937
|
+
:rtype: list of RequestIdInfo
|
|
11938
|
+
"""
|
|
11939
|
+
return self._RequestIdInfos
|
|
11940
|
+
|
|
11941
|
+
@RequestIdInfos.setter
|
|
11942
|
+
def RequestIdInfos(self, RequestIdInfos):
|
|
11943
|
+
self._RequestIdInfos = RequestIdInfos
|
|
11944
|
+
|
|
11931
11945
|
@property
|
|
11932
11946
|
def RequestId(self):
|
|
11933
11947
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -11945,6 +11959,12 @@ class GetOCRResultResponse(AbstractModel):
|
|
|
11945
11959
|
if params.get("OCRResult") is not None:
|
|
11946
11960
|
self._OCRResult = OCRResult()
|
|
11947
11961
|
self._OCRResult._deserialize(params.get("OCRResult"))
|
|
11962
|
+
if params.get("RequestIdInfos") is not None:
|
|
11963
|
+
self._RequestIdInfos = []
|
|
11964
|
+
for item in params.get("RequestIdInfos"):
|
|
11965
|
+
obj = RequestIdInfo()
|
|
11966
|
+
obj._deserialize(item)
|
|
11967
|
+
self._RequestIdInfos.append(obj)
|
|
11948
11968
|
self._RequestId = params.get("RequestId")
|
|
11949
11969
|
|
|
11950
11970
|
|
|
@@ -26025,9 +26045,9 @@ class RecognizeTableAccurateOCRRequest(AbstractModel):
|
|
|
26025
26045
|
|
|
26026
26046
|
def __init__(self):
|
|
26027
26047
|
r"""
|
|
26028
|
-
:param _ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800
|
|
26048
|
+
:param _ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
26029
26049
|
:type ImageBase64: str
|
|
26030
|
-
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800
|
|
26050
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
26031
26051
|
:type ImageUrl: str
|
|
26032
26052
|
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF有效,默认值为1。
|
|
26033
26053
|
:type PdfPageNumber: int
|
|
@@ -26038,7 +26058,7 @@ class RecognizeTableAccurateOCRRequest(AbstractModel):
|
|
|
26038
26058
|
|
|
26039
26059
|
@property
|
|
26040
26060
|
def ImageBase64(self):
|
|
26041
|
-
"""图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800
|
|
26061
|
+
"""图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
26042
26062
|
:rtype: str
|
|
26043
26063
|
"""
|
|
26044
26064
|
return self._ImageBase64
|
|
@@ -26049,7 +26069,7 @@ class RecognizeTableAccurateOCRRequest(AbstractModel):
|
|
|
26049
26069
|
|
|
26050
26070
|
@property
|
|
26051
26071
|
def ImageUrl(self):
|
|
26052
|
-
"""图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800
|
|
26072
|
+
"""图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
26053
26073
|
:rtype: str
|
|
26054
26074
|
"""
|
|
26055
26075
|
return self._ImageUrl
|
|
@@ -27584,6 +27604,72 @@ Others 其他位置
|
|
|
27584
27604
|
|
|
27585
27605
|
|
|
27586
27606
|
|
|
27607
|
+
class RequestIdInfo(AbstractModel):
|
|
27608
|
+
"""请求 id 信息
|
|
27609
|
+
|
|
27610
|
+
"""
|
|
27611
|
+
|
|
27612
|
+
def __init__(self):
|
|
27613
|
+
r"""
|
|
27614
|
+
:param _ApiRequestId: 请求 api 的 requestid
|
|
27615
|
+
:type ApiRequestId: str
|
|
27616
|
+
:param _ApiErrorCode: 请求 api 的错误码
|
|
27617
|
+
:type ApiErrorCode: str
|
|
27618
|
+
:param _WarnCodes: 告警码
|
|
27619
|
+
:type WarnCodes: list of int
|
|
27620
|
+
"""
|
|
27621
|
+
self._ApiRequestId = None
|
|
27622
|
+
self._ApiErrorCode = None
|
|
27623
|
+
self._WarnCodes = None
|
|
27624
|
+
|
|
27625
|
+
@property
|
|
27626
|
+
def ApiRequestId(self):
|
|
27627
|
+
"""请求 api 的 requestid
|
|
27628
|
+
:rtype: str
|
|
27629
|
+
"""
|
|
27630
|
+
return self._ApiRequestId
|
|
27631
|
+
|
|
27632
|
+
@ApiRequestId.setter
|
|
27633
|
+
def ApiRequestId(self, ApiRequestId):
|
|
27634
|
+
self._ApiRequestId = ApiRequestId
|
|
27635
|
+
|
|
27636
|
+
@property
|
|
27637
|
+
def ApiErrorCode(self):
|
|
27638
|
+
"""请求 api 的错误码
|
|
27639
|
+
:rtype: str
|
|
27640
|
+
"""
|
|
27641
|
+
return self._ApiErrorCode
|
|
27642
|
+
|
|
27643
|
+
@ApiErrorCode.setter
|
|
27644
|
+
def ApiErrorCode(self, ApiErrorCode):
|
|
27645
|
+
self._ApiErrorCode = ApiErrorCode
|
|
27646
|
+
|
|
27647
|
+
@property
|
|
27648
|
+
def WarnCodes(self):
|
|
27649
|
+
"""告警码
|
|
27650
|
+
:rtype: list of int
|
|
27651
|
+
"""
|
|
27652
|
+
return self._WarnCodes
|
|
27653
|
+
|
|
27654
|
+
@WarnCodes.setter
|
|
27655
|
+
def WarnCodes(self, WarnCodes):
|
|
27656
|
+
self._WarnCodes = WarnCodes
|
|
27657
|
+
|
|
27658
|
+
|
|
27659
|
+
def _deserialize(self, params):
|
|
27660
|
+
self._ApiRequestId = params.get("ApiRequestId")
|
|
27661
|
+
self._ApiErrorCode = params.get("ApiErrorCode")
|
|
27662
|
+
self._WarnCodes = params.get("WarnCodes")
|
|
27663
|
+
memeber_set = set(params.keys())
|
|
27664
|
+
for name, value in vars(self).items():
|
|
27665
|
+
property_name = name[1:]
|
|
27666
|
+
if property_name in memeber_set:
|
|
27667
|
+
memeber_set.remove(property_name)
|
|
27668
|
+
if len(memeber_set) > 0:
|
|
27669
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
27670
|
+
|
|
27671
|
+
|
|
27672
|
+
|
|
27587
27673
|
class ResidenceBookletOCRRequest(AbstractModel):
|
|
27588
27674
|
"""ResidenceBookletOCR请求参数结构体
|
|
27589
27675
|
|
|
@@ -237,7 +237,8 @@ class PartnersClient(AbstractClient):
|
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
def DescribeAgentDealsByCache(self, request):
|
|
240
|
-
"""
|
|
240
|
+
"""供代理商拉取全量预付费普通客户订单
|
|
241
|
+
(对应控制台:客户订单-预付费-普通订单)
|
|
241
242
|
|
|
242
243
|
:param request: Request instance for DescribeAgentDealsByCache.
|
|
243
244
|
:type request: :class:`tencentcloud.partners.v20180321.models.DescribeAgentDealsByCacheRequest`
|
|
@@ -1620,9 +1620,9 @@ class CloseDBExtranetAccessRequest(AbstractModel):
|
|
|
1620
1620
|
|
|
1621
1621
|
def __init__(self):
|
|
1622
1622
|
r"""
|
|
1623
|
-
:param _DBInstanceId: 实例ID
|
|
1623
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。形如postgres-6r233v55
|
|
1624
1624
|
:type DBInstanceId: str
|
|
1625
|
-
:param _IsIpv6: 是否关闭Ipv6外网,1:是,0
|
|
1625
|
+
:param _IsIpv6: 是否关闭Ipv6外网,1:是,0:否。默认值:0。
|
|
1626
1626
|
:type IsIpv6: int
|
|
1627
1627
|
"""
|
|
1628
1628
|
self._DBInstanceId = None
|
|
@@ -1630,7 +1630,7 @@ class CloseDBExtranetAccessRequest(AbstractModel):
|
|
|
1630
1630
|
|
|
1631
1631
|
@property
|
|
1632
1632
|
def DBInstanceId(self):
|
|
1633
|
-
"""实例ID
|
|
1633
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。形如postgres-6r233v55
|
|
1634
1634
|
:rtype: str
|
|
1635
1635
|
"""
|
|
1636
1636
|
return self._DBInstanceId
|
|
@@ -1641,7 +1641,7 @@ class CloseDBExtranetAccessRequest(AbstractModel):
|
|
|
1641
1641
|
|
|
1642
1642
|
@property
|
|
1643
1643
|
def IsIpv6(self):
|
|
1644
|
-
"""是否关闭Ipv6外网,1:是,0
|
|
1644
|
+
"""是否关闭Ipv6外网,1:是,0:否。默认值:0。
|
|
1645
1645
|
:rtype: int
|
|
1646
1646
|
"""
|
|
1647
1647
|
return self._IsIpv6
|
|
@@ -6003,7 +6003,7 @@ class DeleteDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
6003
6003
|
|
|
6004
6004
|
def __init__(self):
|
|
6005
6005
|
r"""
|
|
6006
|
-
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3
|
|
6006
|
+
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6007
6007
|
:type DBInstanceId: str
|
|
6008
6008
|
:param _VpcId: 私有网络统一 ID,若是基础网络则传"0"。
|
|
6009
6009
|
:type VpcId: str
|
|
@@ -6019,7 +6019,7 @@ class DeleteDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
6019
6019
|
|
|
6020
6020
|
@property
|
|
6021
6021
|
def DBInstanceId(self):
|
|
6022
|
-
"""实例ID,形如:postgres-6bwgamo3
|
|
6022
|
+
"""实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6023
6023
|
:rtype: str
|
|
6024
6024
|
"""
|
|
6025
6025
|
return self._DBInstanceId
|
|
@@ -6270,7 +6270,7 @@ class DeleteReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
6270
6270
|
|
|
6271
6271
|
def __init__(self):
|
|
6272
6272
|
r"""
|
|
6273
|
-
:param _ReadOnlyGroupId: RO组ID,形如:
|
|
6273
|
+
:param _ReadOnlyGroupId: RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
6274
6274
|
:type ReadOnlyGroupId: str
|
|
6275
6275
|
:param _VpcId: 私有网络统一 ID,若是基础网络则传"0"。
|
|
6276
6276
|
:type VpcId: str
|
|
@@ -6286,7 +6286,7 @@ class DeleteReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
6286
6286
|
|
|
6287
6287
|
@property
|
|
6288
6288
|
def ReadOnlyGroupId(self):
|
|
6289
|
-
"""RO组ID,形如:
|
|
6289
|
+
"""RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
6290
6290
|
:rtype: str
|
|
6291
6291
|
"""
|
|
6292
6292
|
return self._ReadOnlyGroupId
|
|
@@ -9677,13 +9677,14 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
|
9677
9677
|
|
|
9678
9678
|
def __init__(self):
|
|
9679
9679
|
r"""
|
|
9680
|
-
:param _DBInstanceId: 实例ID
|
|
9680
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/409/16773)接口获取
|
|
9681
9681
|
:type DBInstanceId: str
|
|
9682
9682
|
:param _Filters: 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:database-name:按照数据库名称过滤,类型为string。此处使用模糊匹配搜索符合条件的数据库。
|
|
9683
9683
|
:type Filters: list of Filter
|
|
9684
9684
|
:param _Offset: 数据偏移量,从0开始。
|
|
9685
9685
|
:type Offset: int
|
|
9686
|
-
:param _Limit:
|
|
9686
|
+
:param _Limit: 单次显示数量。建议最大取值100。
|
|
9687
|
+
默认值:20
|
|
9687
9688
|
:type Limit: int
|
|
9688
9689
|
"""
|
|
9689
9690
|
self._DBInstanceId = None
|
|
@@ -9693,7 +9694,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
|
9693
9694
|
|
|
9694
9695
|
@property
|
|
9695
9696
|
def DBInstanceId(self):
|
|
9696
|
-
"""实例ID
|
|
9697
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/409/16773)接口获取
|
|
9697
9698
|
:rtype: str
|
|
9698
9699
|
"""
|
|
9699
9700
|
return self._DBInstanceId
|
|
@@ -9726,7 +9727,8 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
|
9726
9727
|
|
|
9727
9728
|
@property
|
|
9728
9729
|
def Limit(self):
|
|
9729
|
-
"""
|
|
9730
|
+
"""单次显示数量。建议最大取值100。
|
|
9731
|
+
默认值:20
|
|
9730
9732
|
:rtype: int
|
|
9731
9733
|
"""
|
|
9732
9734
|
return self._Limit
|
|
@@ -13213,9 +13215,10 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
|
|
|
13213
13215
|
|
|
13214
13216
|
def __init__(self):
|
|
13215
13217
|
r"""
|
|
13216
|
-
:param _DBInstanceId: 实例ID
|
|
13218
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)获取。
|
|
13219
|
+
(此接口仅支持预付费实例的查询)
|
|
13217
13220
|
:type DBInstanceId: str
|
|
13218
|
-
:param _Period:
|
|
13221
|
+
:param _Period: 续费周期,按月计算
|
|
13219
13222
|
:type Period: int
|
|
13220
13223
|
"""
|
|
13221
13224
|
self._DBInstanceId = None
|
|
@@ -13223,7 +13226,8 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
|
|
|
13223
13226
|
|
|
13224
13227
|
@property
|
|
13225
13228
|
def DBInstanceId(self):
|
|
13226
|
-
"""实例ID
|
|
13229
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)获取。
|
|
13230
|
+
(此接口仅支持预付费实例的查询)
|
|
13227
13231
|
:rtype: str
|
|
13228
13232
|
"""
|
|
13229
13233
|
return self._DBInstanceId
|
|
@@ -13234,7 +13238,7 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
|
|
|
13234
13238
|
|
|
13235
13239
|
@property
|
|
13236
13240
|
def Period(self):
|
|
13237
|
-
"""
|
|
13241
|
+
"""续费周期,按月计算
|
|
13238
13242
|
:rtype: int
|
|
13239
13243
|
"""
|
|
13240
13244
|
return self._Period
|
|
@@ -13826,9 +13830,9 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
|
13826
13830
|
|
|
13827
13831
|
def __init__(self):
|
|
13828
13832
|
r"""
|
|
13829
|
-
:param _DBInstanceId: 实例ID。
|
|
13833
|
+
:param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
13830
13834
|
:type DBInstanceId: str
|
|
13831
|
-
:param _UserName:
|
|
13835
|
+
:param _UserName: 修改此账号对某数据库对象的权限。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
13832
13836
|
:type UserName: str
|
|
13833
13837
|
:param _ModifyPrivilegeSet: 修改的权限信息,支持批量修改,一次最高修改50条。
|
|
13834
13838
|
:type ModifyPrivilegeSet: list of ModifyPrivilege
|
|
@@ -13839,7 +13843,7 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
|
13839
13843
|
|
|
13840
13844
|
@property
|
|
13841
13845
|
def DBInstanceId(self):
|
|
13842
|
-
"""实例ID。
|
|
13846
|
+
"""实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
13843
13847
|
:rtype: str
|
|
13844
13848
|
"""
|
|
13845
13849
|
return self._DBInstanceId
|
|
@@ -13850,7 +13854,7 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
|
13850
13854
|
|
|
13851
13855
|
@property
|
|
13852
13856
|
def UserName(self):
|
|
13853
|
-
"""
|
|
13857
|
+
"""修改此账号对某数据库对象的权限。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
13854
13858
|
:rtype: str
|
|
13855
13859
|
"""
|
|
13856
13860
|
return self._UserName
|
|
@@ -15262,9 +15266,9 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
15262
15266
|
安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。
|
|
15263
15267
|
**注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
|
15264
15268
|
:type SecurityGroupIdSet: list of str
|
|
15265
|
-
:param _DBInstanceId: 实例ID
|
|
15269
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
|
|
15266
15270
|
:type DBInstanceId: str
|
|
15267
|
-
:param _ReadOnlyGroupId: 只读组ID
|
|
15271
|
+
:param _ReadOnlyGroupId: 只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
|
|
15268
15272
|
:type ReadOnlyGroupId: str
|
|
15269
15273
|
"""
|
|
15270
15274
|
self._SecurityGroupIdSet = None
|
|
@@ -15286,7 +15290,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
15286
15290
|
|
|
15287
15291
|
@property
|
|
15288
15292
|
def DBInstanceId(self):
|
|
15289
|
-
"""实例ID
|
|
15293
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
|
|
15290
15294
|
:rtype: str
|
|
15291
15295
|
"""
|
|
15292
15296
|
return self._DBInstanceId
|
|
@@ -15297,7 +15301,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
15297
15301
|
|
|
15298
15302
|
@property
|
|
15299
15303
|
def ReadOnlyGroupId(self):
|
|
15300
|
-
"""只读组ID
|
|
15304
|
+
"""只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
|
|
15301
15305
|
:rtype: str
|
|
15302
15306
|
"""
|
|
15303
15307
|
return self._ReadOnlyGroupId
|
|
@@ -422,7 +422,7 @@ class PostgresClient(AbstractClient):
|
|
|
422
422
|
|
|
423
423
|
|
|
424
424
|
def DeleteDBInstanceNetworkAccess(self, request):
|
|
425
|
-
"""
|
|
425
|
+
"""可对实例进行网络的删除操作(实例内至少保留一个网络)。
|
|
426
426
|
|
|
427
427
|
:param request: Request instance for DeleteDBInstanceNetworkAccess.
|
|
428
428
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DeleteDBInstanceNetworkAccessRequest`
|
|
@@ -514,7 +514,7 @@ class PostgresClient(AbstractClient):
|
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
def DeleteReadOnlyGroupNetworkAccess(self, request):
|
|
517
|
-
"""可对RO
|
|
517
|
+
"""可对RO组进行网络的删除操作(网络数量至少保留1个)。
|
|
518
518
|
|
|
519
519
|
:param request: Request instance for DeleteReadOnlyGroupNetworkAccess.
|
|
520
520
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DeleteReadOnlyGroupNetworkAccessRequest`
|