tencentcloud-sdk-python-intl-en 3.0.1068__py2.py3-none-any.whl → 3.0.1070__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/aiart/v20221229/models.py +3 -3
- tencentcloud/antiddos/v20200309/antiddos_client.py +23 -0
- tencentcloud/antiddos/v20200309/models.py +141 -0
- tencentcloud/apigateway/v20180808/apigateway_client.py +0 -1
- tencentcloud/apigateway/v20180808/models.py +5 -5
- tencentcloud/autoscaling/v20180419/errorcodes.py +9 -0
- tencentcloud/autoscaling/v20180419/models.py +216 -70
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/errorcodes.py +6 -0
- tencentcloud/billing/v20180709/models.py +227 -0
- tencentcloud/captcha/v20190722/models.py +17 -5
- tencentcloud/ciam/v20220331/models.py +15 -15
- tencentcloud/cvm/v20170312/models.py +0 -1
- tencentcloud/mdl/v20200326/models.py +12 -0
- tencentcloud/ocr/v20181119/models.py +56 -0
- tencentcloud/ocr/v20181119/ocr_client.py +1 -0
- tencentcloud/tcss/v20201101/models.py +433 -1
- tencentcloud/tmt/v20180321/errorcodes.py +21 -0
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +58 -0
- tencentcloud/trtc/v20190722/trtc_client.py +23 -0
- tencentcloud/vod/v20180717/models.py +896 -9
- tencentcloud/vpc/v20170312/errorcodes.py +1 -1
- tencentcloud/vpc/v20170312/models.py +76 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/RECORD +30 -30
- {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1068.dist-info → tencentcloud_sdk_python_intl_en-3.0.1070.dist-info}/top_level.txt +0 -0
|
@@ -95,6 +95,29 @@ class BillingClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def DescribeBillAdjustInfo(self, request):
|
|
99
|
+
"""This API is used to check whether the current UIN has any adjustment, enabling customers to proactively obtain the adjustment status faster.
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for DescribeBillAdjustInfo.
|
|
102
|
+
:type request: :class:`tencentcloud.billing.v20180709.models.DescribeBillAdjustInfoRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.billing.v20180709.models.DescribeBillAdjustInfoResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("DescribeBillAdjustInfo", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.DescribeBillAdjustInfoResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
98
121
|
def DescribeBillDetail(self, request):
|
|
99
122
|
"""u200cThis API is used to get bill details.
|
|
100
123
|
Note:
|
|
@@ -41,12 +41,18 @@ INTERNALERROR = 'InternalError'
|
|
|
41
41
|
# Gateway error.
|
|
42
42
|
INTERNALERROR_GATEWAYERROR = 'InternalError.GatewayError'
|
|
43
43
|
|
|
44
|
+
# An internal system error occurred.
|
|
45
|
+
INTERNALERROR_INTERNALERROR = 'InternalError.InternalError'
|
|
46
|
+
|
|
44
47
|
# Undefined exception.
|
|
45
48
|
INTERNALERROR_UNKNOWNERROR = 'InternalError.UnknownError'
|
|
46
49
|
|
|
47
50
|
# Invalid parameter.
|
|
48
51
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
49
52
|
|
|
53
|
+
# A parameter error occurred.
|
|
54
|
+
INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
|
|
55
|
+
|
|
50
56
|
# Invalid parameter value.
|
|
51
57
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
52
58
|
|
|
@@ -159,6 +159,114 @@ class ActionSummaryOverviewItem(AbstractModel):
|
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
|
|
162
|
+
class AdjustInfoDetail(AbstractModel):
|
|
163
|
+
"""This API is used to view UIN exception adjustment details.
|
|
164
|
+
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
def __init__(self):
|
|
168
|
+
r"""
|
|
169
|
+
:param _PayerUin: Payer UIN, namely the account ID of the payer. The account ID is the user's unique account identifier on Tencent Cloud.
|
|
170
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
171
|
+
Example value: 909619400.
|
|
172
|
+
:type PayerUin: str
|
|
173
|
+
:param _Month: Bill month. Format: yyyy-MM.
|
|
174
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
175
|
+
Example value: 2024-10.
|
|
176
|
+
:type Month: str
|
|
177
|
+
:param _AdjustType: Adjustment type.
|
|
178
|
+
Adjustment: manualAdjustment.
|
|
179
|
+
Supplementary settlement: supplementarySettlement.
|
|
180
|
+
Re-settlement: reSettlement.
|
|
181
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
182
|
+
Example value: manualAdjustment.
|
|
183
|
+
:type AdjustType: str
|
|
184
|
+
:param _AdjustNum: Adjustment order number.
|
|
185
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
186
|
+
Example value: 2220726096135.
|
|
187
|
+
:type AdjustNum: str
|
|
188
|
+
:param _AdjustCompletionTime: Completion time of exception adjustment. Format: yyyy-MM-dd HH:mm:ss.
|
|
189
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
190
|
+
Example value: 2022-12-02 12:39:04.
|
|
191
|
+
:type AdjustCompletionTime: str
|
|
192
|
+
:param _AdjustAmount: Adjustment amount.
|
|
193
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
194
|
+
Example value: 333.00000000.
|
|
195
|
+
:type AdjustAmount: float
|
|
196
|
+
"""
|
|
197
|
+
self._PayerUin = None
|
|
198
|
+
self._Month = None
|
|
199
|
+
self._AdjustType = None
|
|
200
|
+
self._AdjustNum = None
|
|
201
|
+
self._AdjustCompletionTime = None
|
|
202
|
+
self._AdjustAmount = None
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
def PayerUin(self):
|
|
206
|
+
return self._PayerUin
|
|
207
|
+
|
|
208
|
+
@PayerUin.setter
|
|
209
|
+
def PayerUin(self, PayerUin):
|
|
210
|
+
self._PayerUin = PayerUin
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def Month(self):
|
|
214
|
+
return self._Month
|
|
215
|
+
|
|
216
|
+
@Month.setter
|
|
217
|
+
def Month(self, Month):
|
|
218
|
+
self._Month = Month
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
def AdjustType(self):
|
|
222
|
+
return self._AdjustType
|
|
223
|
+
|
|
224
|
+
@AdjustType.setter
|
|
225
|
+
def AdjustType(self, AdjustType):
|
|
226
|
+
self._AdjustType = AdjustType
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
def AdjustNum(self):
|
|
230
|
+
return self._AdjustNum
|
|
231
|
+
|
|
232
|
+
@AdjustNum.setter
|
|
233
|
+
def AdjustNum(self, AdjustNum):
|
|
234
|
+
self._AdjustNum = AdjustNum
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
def AdjustCompletionTime(self):
|
|
238
|
+
return self._AdjustCompletionTime
|
|
239
|
+
|
|
240
|
+
@AdjustCompletionTime.setter
|
|
241
|
+
def AdjustCompletionTime(self, AdjustCompletionTime):
|
|
242
|
+
self._AdjustCompletionTime = AdjustCompletionTime
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
def AdjustAmount(self):
|
|
246
|
+
return self._AdjustAmount
|
|
247
|
+
|
|
248
|
+
@AdjustAmount.setter
|
|
249
|
+
def AdjustAmount(self, AdjustAmount):
|
|
250
|
+
self._AdjustAmount = AdjustAmount
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
def _deserialize(self, params):
|
|
254
|
+
self._PayerUin = params.get("PayerUin")
|
|
255
|
+
self._Month = params.get("Month")
|
|
256
|
+
self._AdjustType = params.get("AdjustType")
|
|
257
|
+
self._AdjustNum = params.get("AdjustNum")
|
|
258
|
+
self._AdjustCompletionTime = params.get("AdjustCompletionTime")
|
|
259
|
+
self._AdjustAmount = params.get("AdjustAmount")
|
|
260
|
+
memeber_set = set(params.keys())
|
|
261
|
+
for name, value in vars(self).items():
|
|
262
|
+
property_name = name[1:]
|
|
263
|
+
if property_name in memeber_set:
|
|
264
|
+
memeber_set.remove(property_name)
|
|
265
|
+
if len(memeber_set) > 0:
|
|
266
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
162
270
|
class AnalyseActionTypeDetail(AbstractModel):
|
|
163
271
|
"""Cost analysis transaction type complex type
|
|
164
272
|
|
|
@@ -5761,6 +5869,125 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
5761
5869
|
self._RequestId = params.get("RequestId")
|
|
5762
5870
|
|
|
5763
5871
|
|
|
5872
|
+
class DescribeBillAdjustInfoRequest(AbstractModel):
|
|
5873
|
+
"""DescribeBillAdjustInfo request structure.
|
|
5874
|
+
|
|
5875
|
+
"""
|
|
5876
|
+
|
|
5877
|
+
def __init__(self):
|
|
5878
|
+
r"""
|
|
5879
|
+
:param _Month: Format: yyyy-MM.
|
|
5880
|
+
Billing month. Either Month or the combination of TimeFrom and TimeTo needs to be passed. If the TimeFrom and TimeTo are passed, the Month field is invalid.
|
|
5881
|
+
Example: 2024-10.
|
|
5882
|
+
:type Month: str
|
|
5883
|
+
:param _TimeFrom: Format: yyyy-MM-dd.
|
|
5884
|
+
Start date. Either Month or the combination of TimeFrom and TimeTo needs to be passed. If TimeFrom and TimeTo are passed, the Month field is invalid. TimeFrom and TimeTo should represent the same month and be passed in together. Cross-month queries are not supported. The result will include the full month's data.
|
|
5885
|
+
Example: 2024-10-01.
|
|
5886
|
+
:type TimeFrom: str
|
|
5887
|
+
:param _TimeTo: Format: yyyy-MM-dd.
|
|
5888
|
+
End date. Either Month or the combination of TimeFrom and TimeTo needs to be passed. If TimeFrom and TimeTo are passed, the Month field is invalid. TimeFrom and TimeTo should represent the same month and be passed in together. Cross-month queries are not supported. The result will include the full month's data.
|
|
5889
|
+
Example: 2024-10-02.
|
|
5890
|
+
:type TimeTo: str
|
|
5891
|
+
"""
|
|
5892
|
+
self._Month = None
|
|
5893
|
+
self._TimeFrom = None
|
|
5894
|
+
self._TimeTo = None
|
|
5895
|
+
|
|
5896
|
+
@property
|
|
5897
|
+
def Month(self):
|
|
5898
|
+
return self._Month
|
|
5899
|
+
|
|
5900
|
+
@Month.setter
|
|
5901
|
+
def Month(self, Month):
|
|
5902
|
+
self._Month = Month
|
|
5903
|
+
|
|
5904
|
+
@property
|
|
5905
|
+
def TimeFrom(self):
|
|
5906
|
+
return self._TimeFrom
|
|
5907
|
+
|
|
5908
|
+
@TimeFrom.setter
|
|
5909
|
+
def TimeFrom(self, TimeFrom):
|
|
5910
|
+
self._TimeFrom = TimeFrom
|
|
5911
|
+
|
|
5912
|
+
@property
|
|
5913
|
+
def TimeTo(self):
|
|
5914
|
+
return self._TimeTo
|
|
5915
|
+
|
|
5916
|
+
@TimeTo.setter
|
|
5917
|
+
def TimeTo(self, TimeTo):
|
|
5918
|
+
self._TimeTo = TimeTo
|
|
5919
|
+
|
|
5920
|
+
|
|
5921
|
+
def _deserialize(self, params):
|
|
5922
|
+
self._Month = params.get("Month")
|
|
5923
|
+
self._TimeFrom = params.get("TimeFrom")
|
|
5924
|
+
self._TimeTo = params.get("TimeTo")
|
|
5925
|
+
memeber_set = set(params.keys())
|
|
5926
|
+
for name, value in vars(self).items():
|
|
5927
|
+
property_name = name[1:]
|
|
5928
|
+
if property_name in memeber_set:
|
|
5929
|
+
memeber_set.remove(property_name)
|
|
5930
|
+
if len(memeber_set) > 0:
|
|
5931
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5932
|
+
|
|
5933
|
+
|
|
5934
|
+
|
|
5935
|
+
class DescribeBillAdjustInfoResponse(AbstractModel):
|
|
5936
|
+
"""DescribeBillAdjustInfo response structure.
|
|
5937
|
+
|
|
5938
|
+
"""
|
|
5939
|
+
|
|
5940
|
+
def __init__(self):
|
|
5941
|
+
r"""
|
|
5942
|
+
:param _Total: Total amount of data.
|
|
5943
|
+
Example value: 10.
|
|
5944
|
+
:type Total: int
|
|
5945
|
+
:param _Data: Detailed data.
|
|
5946
|
+
Example value: [].
|
|
5947
|
+
:type Data: list of AdjustInfoDetail
|
|
5948
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5949
|
+
:type RequestId: str
|
|
5950
|
+
"""
|
|
5951
|
+
self._Total = None
|
|
5952
|
+
self._Data = None
|
|
5953
|
+
self._RequestId = None
|
|
5954
|
+
|
|
5955
|
+
@property
|
|
5956
|
+
def Total(self):
|
|
5957
|
+
return self._Total
|
|
5958
|
+
|
|
5959
|
+
@Total.setter
|
|
5960
|
+
def Total(self, Total):
|
|
5961
|
+
self._Total = Total
|
|
5962
|
+
|
|
5963
|
+
@property
|
|
5964
|
+
def Data(self):
|
|
5965
|
+
return self._Data
|
|
5966
|
+
|
|
5967
|
+
@Data.setter
|
|
5968
|
+
def Data(self, Data):
|
|
5969
|
+
self._Data = Data
|
|
5970
|
+
|
|
5971
|
+
@property
|
|
5972
|
+
def RequestId(self):
|
|
5973
|
+
return self._RequestId
|
|
5974
|
+
|
|
5975
|
+
@RequestId.setter
|
|
5976
|
+
def RequestId(self, RequestId):
|
|
5977
|
+
self._RequestId = RequestId
|
|
5978
|
+
|
|
5979
|
+
|
|
5980
|
+
def _deserialize(self, params):
|
|
5981
|
+
self._Total = params.get("Total")
|
|
5982
|
+
if params.get("Data") is not None:
|
|
5983
|
+
self._Data = []
|
|
5984
|
+
for item in params.get("Data"):
|
|
5985
|
+
obj = AdjustInfoDetail()
|
|
5986
|
+
obj._deserialize(item)
|
|
5987
|
+
self._Data.append(obj)
|
|
5988
|
+
self._RequestId = params.get("RequestId")
|
|
5989
|
+
|
|
5990
|
+
|
|
5764
5991
|
class DescribeBillDetailForOrganizationRequest(AbstractModel):
|
|
5765
5992
|
"""DescribeBillDetailForOrganization request structure.
|
|
5766
5993
|
|
|
@@ -25,7 +25,7 @@ class DescribeCaptchaResultRequest(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _CaptchaType: It must be `9` here.
|
|
28
|
+
:param _CaptchaType: It must be `9` here.
|
|
29
29
|
:type CaptchaType: int
|
|
30
30
|
:param _Ticket: The user verification ticket returned by the frontend callback function
|
|
31
31
|
:type Ticket: str
|
|
@@ -182,9 +182,9 @@ class DescribeCaptchaResultResponse(AbstractModel):
|
|
|
182
182
|
`7 captcha no match`: The passed in `Randstr` is invalid. Make sure it is the same as the `Randstr` returned from the frontend.
|
|
183
183
|
`8 ticket expired`: The `Ticket` has expired. A ticket is valid for five minutes. Please generate a new `Ticket` and `Randstr`.
|
|
184
184
|
`9 ticket reused`: The specified `Ticket` has been used. Please generate a new `Ticket` and `Randstr`.
|
|
185
|
-
`15 decrypt fail`: The specified `Ticket` is invalid. Make sure it
|
|
186
|
-
`16 appid-ticket mismatch`: The specified `CaptchaAppId` is invalid. Make sure it
|
|
187
|
-
`21 diff`. Ticket verification error. Possible reasons: 1) If the ticket contains the `terror` prefix, it
|
|
185
|
+
`15 decrypt fail`: The specified `Ticket` is invalid. Make sure it's the same as the Ticket returned from the frontend.
|
|
186
|
+
`16 appid-ticket mismatch`: The specified `CaptchaAppId` is invalid. Make sure it's the same as the `CaptchaAppId` returned from the frontend. You can obtain it from the CAPTCHA console in **Verification management** > **Basic configuration**.
|
|
187
|
+
`21 diff`. Ticket verification error. Possible reasons: 1) If the ticket contains the `terror` prefix, it's usually the case that a disaster recovery ticket is generated due to the network connection problems of the user. You can choose to ignore it or verify again. 2) If the ticket does not include the `terror` prefix, Captcha detects security risk on this request . You can choose to block it or not.
|
|
188
188
|
`100 appid-secretkey-ticket mismatch`: Parameter error. 1) Make sure `CaptchaAppId` and `AppSecretKey` are correct. `CaptchaAppId` and `AppSecretKey` in the CAPTACHA console under **Verification management** > **Basic configuration**. 2) Make sure the passed-in `Ticket` is generated by using the passed-in `CaptchaAppId`.
|
|
189
189
|
:type CaptchaCode: int
|
|
190
190
|
:param _CaptchaMsg: Status description and verification error message
|
|
@@ -203,7 +203,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
203
203
|
:type EvilBitmap: int
|
|
204
204
|
:param _SubmitCaptchaTime: The time when the CAPTCHA is submitted.
|
|
205
205
|
:type SubmitCaptchaTime: int
|
|
206
|
-
:param
|
|
206
|
+
:param _DeviceRiskCategory: Device Risk Category
|
|
207
|
+
:type DeviceRiskCategory: str
|
|
208
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
207
209
|
:type RequestId: str
|
|
208
210
|
"""
|
|
209
211
|
self._CaptchaCode = None
|
|
@@ -212,6 +214,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
212
214
|
self._GetCaptchaTime = None
|
|
213
215
|
self._EvilBitmap = None
|
|
214
216
|
self._SubmitCaptchaTime = None
|
|
217
|
+
self._DeviceRiskCategory = None
|
|
215
218
|
self._RequestId = None
|
|
216
219
|
|
|
217
220
|
@property
|
|
@@ -262,6 +265,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
262
265
|
def SubmitCaptchaTime(self, SubmitCaptchaTime):
|
|
263
266
|
self._SubmitCaptchaTime = SubmitCaptchaTime
|
|
264
267
|
|
|
268
|
+
@property
|
|
269
|
+
def DeviceRiskCategory(self):
|
|
270
|
+
return self._DeviceRiskCategory
|
|
271
|
+
|
|
272
|
+
@DeviceRiskCategory.setter
|
|
273
|
+
def DeviceRiskCategory(self, DeviceRiskCategory):
|
|
274
|
+
self._DeviceRiskCategory = DeviceRiskCategory
|
|
275
|
+
|
|
265
276
|
@property
|
|
266
277
|
def RequestId(self):
|
|
267
278
|
return self._RequestId
|
|
@@ -278,4 +289,5 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
278
289
|
self._GetCaptchaTime = params.get("GetCaptchaTime")
|
|
279
290
|
self._EvilBitmap = params.get("EvilBitmap")
|
|
280
291
|
self._SubmitCaptchaTime = params.get("SubmitCaptchaTime")
|
|
292
|
+
self._DeviceRiskCategory = params.get("DeviceRiskCategory")
|
|
281
293
|
self._RequestId = params.get("RequestId")
|
|
@@ -77,7 +77,7 @@ class CreateApiImportUserJobResponse(AbstractModel):
|
|
|
77
77
|
r"""
|
|
78
78
|
:param _Job: Data flow task
|
|
79
79
|
:type Job: :class:`tencentcloud.ciam.v20220331.models.Job`
|
|
80
|
-
:param _RequestId: The unique request ID,
|
|
80
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
81
81
|
:type RequestId: str
|
|
82
82
|
"""
|
|
83
83
|
self._Job = None
|
|
@@ -201,7 +201,7 @@ class CreateFileExportUserJobResponse(AbstractModel):
|
|
|
201
201
|
r"""
|
|
202
202
|
:param _Job: Data flow task
|
|
203
203
|
:type Job: :class:`tencentcloud.ciam.v20220331.models.Job`
|
|
204
|
-
:param _RequestId: The unique request ID,
|
|
204
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
205
205
|
:type RequestId: str
|
|
206
206
|
"""
|
|
207
207
|
self._Job = None
|
|
@@ -447,7 +447,7 @@ class CreateUserResponse(AbstractModel):
|
|
|
447
447
|
:param _User: Information of the created user
|
|
448
448
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
449
449
|
:type User: :class:`tencentcloud.ciam.v20220331.models.User`
|
|
450
|
-
:param _RequestId: The unique request ID,
|
|
450
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
451
451
|
:type RequestId: str
|
|
452
452
|
"""
|
|
453
453
|
self._User = None
|
|
@@ -529,7 +529,7 @@ class DeleteUsersResponse(AbstractModel):
|
|
|
529
529
|
|
|
530
530
|
def __init__(self):
|
|
531
531
|
r"""
|
|
532
|
-
:param _RequestId: The unique request ID,
|
|
532
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
533
533
|
:type RequestId: str
|
|
534
534
|
"""
|
|
535
535
|
self._RequestId = None
|
|
@@ -617,7 +617,7 @@ class DescribeUserByIdResponse(AbstractModel):
|
|
|
617
617
|
:param _User: User information
|
|
618
618
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
619
619
|
:type User: :class:`tencentcloud.ciam.v20220331.models.User`
|
|
620
|
-
:param _RequestId: The unique request ID,
|
|
620
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
621
621
|
:type RequestId: str
|
|
622
622
|
"""
|
|
623
623
|
self._User = None
|
|
@@ -753,7 +753,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
753
753
|
:param _Content: User List
|
|
754
754
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
755
755
|
:type Content: list of User
|
|
756
|
-
:param _RequestId: The unique request ID,
|
|
756
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
757
757
|
:type RequestId: str
|
|
758
758
|
"""
|
|
759
759
|
self._Total = None
|
|
@@ -1630,7 +1630,7 @@ class LinkAccountResponse(AbstractModel):
|
|
|
1630
1630
|
|
|
1631
1631
|
def __init__(self):
|
|
1632
1632
|
r"""
|
|
1633
|
-
:param _RequestId: The unique request ID,
|
|
1633
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1634
1634
|
:type RequestId: str
|
|
1635
1635
|
"""
|
|
1636
1636
|
self._RequestId = None
|
|
@@ -1703,7 +1703,7 @@ class ListJobsResponse(AbstractModel):
|
|
|
1703
1703
|
:param _JobSet: List of tasks
|
|
1704
1704
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1705
1705
|
:type JobSet: list of Job
|
|
1706
|
-
:param _RequestId: The unique request ID,
|
|
1706
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1707
1707
|
:type RequestId: str
|
|
1708
1708
|
"""
|
|
1709
1709
|
self._JobSet = None
|
|
@@ -1828,7 +1828,7 @@ class ListLogMessageByConditionResponse(AbstractModel):
|
|
|
1828
1828
|
:param _Content: List of logs
|
|
1829
1829
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1830
1830
|
:type Content: list of LogMessage
|
|
1831
|
-
:param _RequestId: The unique request ID,
|
|
1831
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1832
1832
|
:type RequestId: str
|
|
1833
1833
|
"""
|
|
1834
1834
|
self._Total = None
|
|
@@ -1965,7 +1965,7 @@ class ListUserByPropertyResponse(AbstractModel):
|
|
|
1965
1965
|
:param _Users: List of users
|
|
1966
1966
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1967
1967
|
:type Users: list of User
|
|
1968
|
-
:param _RequestId: The unique request ID,
|
|
1968
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1969
1969
|
:type RequestId: str
|
|
1970
1970
|
"""
|
|
1971
1971
|
self._Users = None
|
|
@@ -2093,7 +2093,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2093
2093
|
:param _Content: List of users
|
|
2094
2094
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2095
2095
|
:type Content: list of User
|
|
2096
|
-
:param _RequestId: The unique request ID,
|
|
2096
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2097
2097
|
:type RequestId: str
|
|
2098
2098
|
"""
|
|
2099
2099
|
self._Total = None
|
|
@@ -2618,7 +2618,7 @@ class ResetPasswordResponse(AbstractModel):
|
|
|
2618
2618
|
r"""
|
|
2619
2619
|
:param _Password: User password after reset
|
|
2620
2620
|
:type Password: str
|
|
2621
|
-
:param _RequestId: The unique request ID,
|
|
2621
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2622
2622
|
:type RequestId: str
|
|
2623
2623
|
"""
|
|
2624
2624
|
self._Password = None
|
|
@@ -2837,7 +2837,7 @@ class SetPasswordResponse(AbstractModel):
|
|
|
2837
2837
|
|
|
2838
2838
|
def __init__(self):
|
|
2839
2839
|
r"""
|
|
2840
|
-
:param _RequestId: The unique request ID,
|
|
2840
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2841
2841
|
:type RequestId: str
|
|
2842
2842
|
"""
|
|
2843
2843
|
self._RequestId = None
|
|
@@ -3116,7 +3116,7 @@ class UpdateUserResponse(AbstractModel):
|
|
|
3116
3116
|
:param _User: User information after update
|
|
3117
3117
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3118
3118
|
:type User: :class:`tencentcloud.ciam.v20220331.models.User`
|
|
3119
|
-
:param _RequestId: The unique request ID,
|
|
3119
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3120
3120
|
:type RequestId: str
|
|
3121
3121
|
"""
|
|
3122
3122
|
self._User = None
|
|
@@ -3214,7 +3214,7 @@ class UpdateUserStatusResponse(AbstractModel):
|
|
|
3214
3214
|
|
|
3215
3215
|
def __init__(self):
|
|
3216
3216
|
r"""
|
|
3217
|
-
:param _RequestId: The unique request ID,
|
|
3217
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3218
3218
|
:type RequestId: str
|
|
3219
3219
|
"""
|
|
3220
3220
|
self._RequestId = None
|
|
@@ -14102,7 +14102,6 @@ The names of availability zones across the network are as follows:
|
|
|
14102
14102
|
<li> ap-shanghai-8 </li>
|
|
14103
14103
|
<li> ap-mumbai-1 </li>
|
|
14104
14104
|
<li> ap-mumbai-2 </li>
|
|
14105
|
-
<li> eu-moscow-1 </li>
|
|
14106
14105
|
<li> ap-beijing-1 (sold out)</li>
|
|
14107
14106
|
<li> ap-beijing-2 </li>
|
|
14108
14107
|
<li> ap-beijing-3 </li>
|
|
@@ -5788,6 +5788,8 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
5788
5788
|
:type StreamOrder: int
|
|
5789
5789
|
:param _VideoResolution: Whether the Hls main m3u8 file contains resolution information, optional values: 1: INCLUDE includes video resolution; 2: EXCLUDE does not include video resolution. Default value: 1.
|
|
5790
5790
|
:type VideoResolution: int
|
|
5791
|
+
:param _EndListTag: Whether to include the `EXT-X-ENDLIST` tag, 1 includes `EXT-X-ENDLIST` tag, 2 does not include `EXT-X-ENDLIST` tag; the default value is 1.
|
|
5792
|
+
:type EndListTag: int
|
|
5791
5793
|
"""
|
|
5792
5794
|
self._SegmentDuration = None
|
|
5793
5795
|
self._SegmentNumber = None
|
|
@@ -5801,6 +5803,7 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
5801
5803
|
self._PartialSegmentPlaySite = None
|
|
5802
5804
|
self._StreamOrder = None
|
|
5803
5805
|
self._VideoResolution = None
|
|
5806
|
+
self._EndListTag = None
|
|
5804
5807
|
|
|
5805
5808
|
@property
|
|
5806
5809
|
def SegmentDuration(self):
|
|
@@ -5898,6 +5901,14 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
5898
5901
|
def VideoResolution(self, VideoResolution):
|
|
5899
5902
|
self._VideoResolution = VideoResolution
|
|
5900
5903
|
|
|
5904
|
+
@property
|
|
5905
|
+
def EndListTag(self):
|
|
5906
|
+
return self._EndListTag
|
|
5907
|
+
|
|
5908
|
+
@EndListTag.setter
|
|
5909
|
+
def EndListTag(self, EndListTag):
|
|
5910
|
+
self._EndListTag = EndListTag
|
|
5911
|
+
|
|
5901
5912
|
|
|
5902
5913
|
def _deserialize(self, params):
|
|
5903
5914
|
self._SegmentDuration = params.get("SegmentDuration")
|
|
@@ -5912,6 +5923,7 @@ Currently, fMP4 segments do not support DRM or time shifting.
|
|
|
5912
5923
|
self._PartialSegmentPlaySite = params.get("PartialSegmentPlaySite")
|
|
5913
5924
|
self._StreamOrder = params.get("StreamOrder")
|
|
5914
5925
|
self._VideoResolution = params.get("VideoResolution")
|
|
5926
|
+
self._EndListTag = params.get("EndListTag")
|
|
5915
5927
|
memeber_set = set(params.keys())
|
|
5916
5928
|
for name, value in vars(self).items():
|
|
5917
5929
|
property_name = name[1:]
|
|
@@ -6985,16 +6985,22 @@ class RecognizeMacaoIDCardOCRRequest(AbstractModel):
|
|
|
6985
6985
|
Supported image formats: PNG, JPG, JPEG. Not support GIF yet.
|
|
6986
6986
|
Supported image size: The downloaded image should not exceed 7M. The image download takes no more than 3 seconds.Storing images in Tencent Cloud URLs can ensure higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The URL speed and stability of non-Tencent cloud storage may be affected to a certain extent.
|
|
6987
6987
|
:type ImageUrl: str
|
|
6988
|
+
:param _BackImageUrl: The URL address of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. The GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. Storing images in Tencent Cloud URLs can ensure higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The URL speed and stability of non-Tencent cloud storage may be affected to a certain extent.
|
|
6989
|
+
:type BackImageUrl: str
|
|
6988
6990
|
:param _ImageBase64: Base64 value of the image.Supported image formats: PNG, JPG, JPEG. Not support GIF yet.
|
|
6989
6991
|
Supported image size: The downloaded image should not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds.
|
|
6990
6992
|
One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
6991
6993
|
:type ImageBase64: str
|
|
6994
|
+
:param _BackImageBase64: Base64 value of the image on the back of the card. Supported image formats: PNG, JPG, JPEG. The GIF format is not supported yet. Supported image size: The downloaded image does not exceed 7M after Base64 encoding. The image download takes no more than 3 seconds. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
6995
|
+
:type BackImageBase64: str
|
|
6992
6996
|
:param _Config: The following optional fields are of string type and are empty by default:
|
|
6993
6997
|
RetImage: whether to return the processed image (base64 encrypted string); the value and meaning of RetImage are as follows: 1.preprocess returns the preprocessed image data 2.portrait Return portrait image data 3."" Do not return image data SDK setting method reference: Config = Json.stringify({"RetImage":"preprocess"}) API 3.0 Explorer setting method reference: Config = {"RetImage":"portrait" }
|
|
6994
6998
|
:type Config: str
|
|
6995
6999
|
"""
|
|
6996
7000
|
self._ImageUrl = None
|
|
7001
|
+
self._BackImageUrl = None
|
|
6997
7002
|
self._ImageBase64 = None
|
|
7003
|
+
self._BackImageBase64 = None
|
|
6998
7004
|
self._Config = None
|
|
6999
7005
|
|
|
7000
7006
|
@property
|
|
@@ -7005,6 +7011,14 @@ RetImage: whether to return the processed image (base64 encrypted string); the v
|
|
|
7005
7011
|
def ImageUrl(self, ImageUrl):
|
|
7006
7012
|
self._ImageUrl = ImageUrl
|
|
7007
7013
|
|
|
7014
|
+
@property
|
|
7015
|
+
def BackImageUrl(self):
|
|
7016
|
+
return self._BackImageUrl
|
|
7017
|
+
|
|
7018
|
+
@BackImageUrl.setter
|
|
7019
|
+
def BackImageUrl(self, BackImageUrl):
|
|
7020
|
+
self._BackImageUrl = BackImageUrl
|
|
7021
|
+
|
|
7008
7022
|
@property
|
|
7009
7023
|
def ImageBase64(self):
|
|
7010
7024
|
return self._ImageBase64
|
|
@@ -7013,6 +7027,14 @@ RetImage: whether to return the processed image (base64 encrypted string); the v
|
|
|
7013
7027
|
def ImageBase64(self, ImageBase64):
|
|
7014
7028
|
self._ImageBase64 = ImageBase64
|
|
7015
7029
|
|
|
7030
|
+
@property
|
|
7031
|
+
def BackImageBase64(self):
|
|
7032
|
+
return self._BackImageBase64
|
|
7033
|
+
|
|
7034
|
+
@BackImageBase64.setter
|
|
7035
|
+
def BackImageBase64(self, BackImageBase64):
|
|
7036
|
+
self._BackImageBase64 = BackImageBase64
|
|
7037
|
+
|
|
7016
7038
|
@property
|
|
7017
7039
|
def Config(self):
|
|
7018
7040
|
return self._Config
|
|
@@ -7024,7 +7046,9 @@ RetImage: whether to return the processed image (base64 encrypted string); the v
|
|
|
7024
7046
|
|
|
7025
7047
|
def _deserialize(self, params):
|
|
7026
7048
|
self._ImageUrl = params.get("ImageUrl")
|
|
7049
|
+
self._BackImageUrl = params.get("BackImageUrl")
|
|
7027
7050
|
self._ImageBase64 = params.get("ImageBase64")
|
|
7051
|
+
self._BackImageBase64 = params.get("BackImageBase64")
|
|
7028
7052
|
self._Config = params.get("Config")
|
|
7029
7053
|
memeber_set = set(params.keys())
|
|
7030
7054
|
for name, value in vars(self).items():
|
|
@@ -7075,6 +7099,18 @@ class RecognizeMacaoIDCardOCRResponse(AbstractModel):
|
|
|
7075
7099
|
:type RetImage: str
|
|
7076
7100
|
:param _Angle: Image rotation angle, the horizontal direction of the text is 0, clockwise is positive, counterclockwise is negative
|
|
7077
7101
|
:type Angle: str
|
|
7102
|
+
:param _ResidentType: Resident type.
|
|
7103
|
+
:type ResidentType: str
|
|
7104
|
+
:param _WarnCardInfos: Card Warning Information
|
|
7105
|
+
|
|
7106
|
+
-9101 Alarm for covered certificate,
|
|
7107
|
+
-9102 Alarm for photocopied certificate,
|
|
7108
|
+
-9103 Alarm for photographed certificate,
|
|
7109
|
+
-9104 Alarm for PS certificate,
|
|
7110
|
+
-9107 Alarm for reflective certificate,
|
|
7111
|
+
-9108 Alarm for blurry image,
|
|
7112
|
+
-9109 This capability is not enabled.
|
|
7113
|
+
:type WarnCardInfos: list of int
|
|
7078
7114
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7079
7115
|
:type RequestId: str
|
|
7080
7116
|
"""
|
|
@@ -7094,6 +7130,8 @@ class RecognizeMacaoIDCardOCRResponse(AbstractModel):
|
|
|
7094
7130
|
self._Height = None
|
|
7095
7131
|
self._RetImage = None
|
|
7096
7132
|
self._Angle = None
|
|
7133
|
+
self._ResidentType = None
|
|
7134
|
+
self._WarnCardInfos = None
|
|
7097
7135
|
self._RequestId = None
|
|
7098
7136
|
|
|
7099
7137
|
@property
|
|
@@ -7224,6 +7262,22 @@ class RecognizeMacaoIDCardOCRResponse(AbstractModel):
|
|
|
7224
7262
|
def Angle(self, Angle):
|
|
7225
7263
|
self._Angle = Angle
|
|
7226
7264
|
|
|
7265
|
+
@property
|
|
7266
|
+
def ResidentType(self):
|
|
7267
|
+
return self._ResidentType
|
|
7268
|
+
|
|
7269
|
+
@ResidentType.setter
|
|
7270
|
+
def ResidentType(self, ResidentType):
|
|
7271
|
+
self._ResidentType = ResidentType
|
|
7272
|
+
|
|
7273
|
+
@property
|
|
7274
|
+
def WarnCardInfos(self):
|
|
7275
|
+
return self._WarnCardInfos
|
|
7276
|
+
|
|
7277
|
+
@WarnCardInfos.setter
|
|
7278
|
+
def WarnCardInfos(self, WarnCardInfos):
|
|
7279
|
+
self._WarnCardInfos = WarnCardInfos
|
|
7280
|
+
|
|
7227
7281
|
@property
|
|
7228
7282
|
def RequestId(self):
|
|
7229
7283
|
return self._RequestId
|
|
@@ -7250,6 +7304,8 @@ class RecognizeMacaoIDCardOCRResponse(AbstractModel):
|
|
|
7250
7304
|
self._Height = params.get("Height")
|
|
7251
7305
|
self._RetImage = params.get("RetImage")
|
|
7252
7306
|
self._Angle = params.get("Angle")
|
|
7307
|
+
self._ResidentType = params.get("ResidentType")
|
|
7308
|
+
self._WarnCardInfos = params.get("WarnCardInfos")
|
|
7253
7309
|
self._RequestId = params.get("RequestId")
|
|
7254
7310
|
|
|
7255
7311
|
|
|
@@ -281,6 +281,7 @@ class OcrClient(AbstractClient):
|
|
|
281
281
|
|
|
282
282
|
def MLIDPassportOCR(self, request):
|
|
283
283
|
"""This API is used to recognize a passport issued in Hong Kong/Macao/Taiwan (China) or other countries/regions. Recognizable fields include passport ID, name, date of birth, gender, expiration date, issuing country/region, and nationality. It has the features of cropping identity photos and alarming for photographed or photocopied documents.
|
|
284
|
+
This interface supports regional scope: countries with machine-readable passports
|
|
284
285
|
|
|
285
286
|
:param request: Request instance for MLIDPassportOCR.
|
|
286
287
|
:type request: :class:`tencentcloud.ocr.v20181119.models.MLIDPassportOCRRequest`
|