tencentcloud-sdk-python-intl-en 3.0.1074__py2.py3-none-any.whl → 3.0.1076__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +120 -0
- tencentcloud/aiart/v20221229/models.py +95 -0
- tencentcloud/ams/v20201229/models.py +432 -0
- tencentcloud/antiddos/v20200309/models.py +2806 -0
- tencentcloud/apigateway/v20180808/models.py +3945 -0
- tencentcloud/autoscaling/v20180419/models.py +2449 -5
- tencentcloud/batch/v20170312/models.py +1566 -0
- tencentcloud/billing/v20180709/models.py +2418 -0
- tencentcloud/cam/v20190116/models.py +1697 -0
- tencentcloud/captcha/v20190722/models.py +70 -0
- tencentcloud/car/v20220110/models.py +803 -0
- tencentcloud/cbs/v20170312/models.py +1245 -0
- tencentcloud/ccc/v20200210/models.py +1949 -1
- tencentcloud/cdb/v20170320/models.py +4821 -0
- tencentcloud/cdn/v20180606/models.py +4870 -8
- tencentcloud/cdwdoris/v20211228/models.py +3337 -0
- tencentcloud/cfg/v20210820/models.py +1194 -0
- tencentcloud/cfs/v20190719/models.py +1178 -0
- tencentcloud/cfw/v20190904/models.py +2378 -0
- tencentcloud/chdfs/v20201112/models.py +513 -0
- tencentcloud/ciam/v20210420/models.py +49 -0
- tencentcloud/ciam/v20220331/models.py +789 -0
- tencentcloud/ckafka/v20190819/models.py +2576 -0
- tencentcloud/clb/v20180317/models.py +3220 -1
- tencentcloud/cloudaudit/v20190319/models.py +519 -0
- tencentcloud/cls/v20201016/models.py +3652 -1
- tencentcloud/cmq/v20190304/models.py +571 -0
- tencentcloud/controlcenter/v20230110/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +2881 -2
- tencentcloud/cvm/v20170312/models.py +2827 -0
- tencentcloud/cwp/v20180228/models.py +16412 -0
- tencentcloud/cynosdb/v20190107/models.py +4267 -4
- tencentcloud/dataintegration/v20220613/models.py +18 -0
- tencentcloud/dayu/v20180709/models.py +3541 -12
- tencentcloud/dbbrain/v20191016/models.py +1056 -0
- tencentcloud/dbbrain/v20210527/models.py +1763 -0
- tencentcloud/dc/v20180410/models.py +767 -0
- tencentcloud/dcdb/v20180411/models.py +2335 -0
- tencentcloud/dlc/v20210125/models.py +3985 -5
- tencentcloud/dms/v20200819/models.py +51 -0
- tencentcloud/dnspod/v20210323/models.py +1286 -0
- tencentcloud/domain/v20180808/models.py +855 -0
- tencentcloud/dts/v20180330/models.py +791 -0
- tencentcloud/dts/v20211206/models.py +2317 -1
- tencentcloud/eb/v20210416/models.py +858 -0
- tencentcloud/ecdn/v20191012/models.py +811 -0
- tencentcloud/ecm/v20190719/models.py +3972 -1
- tencentcloud/eiam/v20210420/models.py +1265 -0
- tencentcloud/emr/v20190103/models.py +2926 -7
- tencentcloud/es/v20180416/errorcodes.py +48 -0
- tencentcloud/es/v20180416/models.py +1525 -2
- tencentcloud/facefusion/v20220927/errorcodes.py +18 -0
- tencentcloud/facefusion/v20220927/facefusion_client.py +46 -0
- tencentcloud/facefusion/v20220927/models.py +818 -0
- tencentcloud/faceid/v20180301/models.py +2071 -0
- tencentcloud/gaap/v20180529/models.py +3103 -8
- tencentcloud/gme/v20180711/models.py +388 -0
- tencentcloud/gpm/v20200820/models.py +674 -0
- tencentcloud/gse/v20191112/models.py +972 -0
- tencentcloud/iai/v20200303/models.py +1430 -0
- tencentcloud/ims/v20201229/models.py +329 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +988 -0
- tencentcloud/iotcloud/v20210408/models.py +585 -0
- tencentcloud/ip/v20210409/models.py +178 -0
- tencentcloud/kms/v20190118/models.py +869 -0
- tencentcloud/lcic/v20220817/models.py +1658 -0
- tencentcloud/lighthouse/v20200324/models.py +2088 -0
- tencentcloud/live/v20180801/models.py +4287 -0
- tencentcloud/mariadb/v20170312/models.py +1905 -0
- tencentcloud/mdc/v20200828/models.py +1104 -0
- tencentcloud/mdl/v20200326/models.py +1911 -1
- tencentcloud/mdp/v20200527/models.py +452 -0
- tencentcloud/mongodb/v20190725/models.py +1234 -0
- tencentcloud/monitor/v20180724/models.py +5798 -2
- tencentcloud/mps/v20190612/models.py +8699 -105
- tencentcloud/msp/v20180319/models.py +183 -0
- tencentcloud/ocr/v20181119/models.py +3160 -1
- tencentcloud/omics/v20221128/models.py +1086 -0
- tencentcloud/organization/v20181225/models.py +285 -0
- tencentcloud/organization/v20210331/models.py +2267 -0
- tencentcloud/postgres/v20170312/models.py +3248 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +34 -1
- tencentcloud/privatedns/v20201028/models.py +1700 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +115 -0
- tencentcloud/redis/v20180412/models.py +3298 -3
- tencentcloud/rum/v20210622/models.py +2114 -0
- tencentcloud/scf/v20180416/models.py +1561 -0
- tencentcloud/ses/v20201002/models.py +649 -0
- tencentcloud/sms/v20190711/models.py +575 -0
- tencentcloud/sms/v20210111/models.py +593 -0
- tencentcloud/sqlserver/v20180328/models.py +2921 -2
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +678 -0
- tencentcloud/sts/v20180813/models.py +161 -0
- tencentcloud/tag/v20180813/models.py +784 -0
- tencentcloud/tat/v20201028/models.py +806 -0
- tencentcloud/tcaplusdb/v20190823/models.py +1860 -0
- tencentcloud/tchd/v20230306/models.py +41 -0
- tencentcloud/tcmpp/v20240801/models.py +3761 -1
- tencentcloud/tcr/v20190924/models.py +1851 -0
- tencentcloud/tcss/v20201101/models.py +12523 -0
- tencentcloud/tdid/v20210519/models.py +1258 -0
- tencentcloud/tdmq/v20200217/models.py +3495 -0
- tencentcloud/tem/v20201221/models.py +803 -0
- tencentcloud/tem/v20210701/models.py +2551 -1
- tencentcloud/teo/v20220106/models.py +4731 -0
- tencentcloud/teo/v20220901/models.py +6066 -0
- tencentcloud/tiw/v20190919/models.py +1678 -1
- tencentcloud/tke/v20180525/models.py +3662 -0
- tencentcloud/tms/v20201229/models.py +176 -0
- tencentcloud/tmt/v20180321/models.py +65 -0
- tencentcloud/trtc/v20190722/models.py +1698 -8
- tencentcloud/tts/v20190823/models.py +72 -0
- tencentcloud/vm/v20201229/models.py +568 -0
- tencentcloud/vm/v20210922/models.py +636 -0
- tencentcloud/vod/v20180717/models.py +14078 -1
- tencentcloud/vod/v20180717/vod_client.py +33 -0
- tencentcloud/vpc/v20170312/models.py +6543 -1
- tencentcloud/waf/v20180125/models.py +4814 -0
- tencentcloud/wedata/v20210820/models.py +12594 -0
- tencentcloud/yunjing/v20180228/models.py +1867 -0
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1074.dist-info → tencentcloud_sdk_python_intl_en-3.0.1076.dist-info}/top_level.txt +0 -0
|
@@ -64,6 +64,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
64
64
|
|
|
65
65
|
@property
|
|
66
66
|
def Label(self):
|
|
67
|
+
"""Result of the moderation. <br>`Normal`: normal content; `Porn`: pornographic content; `Abuse`: abusive content; **Ad**: advertising content; `Custom`: custom violating content
|
|
68
|
+
:rtype: str
|
|
69
|
+
"""
|
|
67
70
|
return self._Label
|
|
68
71
|
|
|
69
72
|
@Label.setter
|
|
@@ -72,6 +75,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
72
75
|
|
|
73
76
|
@property
|
|
74
77
|
def Suggestion(self):
|
|
78
|
+
"""Recommended follow-up action. <br>`Block`: block it automatically; `Review`: review the content again in human; **Pass**: pass
|
|
79
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
80
|
+
:rtype: str
|
|
81
|
+
"""
|
|
75
82
|
return self._Suggestion
|
|
76
83
|
|
|
77
84
|
@Suggestion.setter
|
|
@@ -80,6 +87,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
80
87
|
|
|
81
88
|
@property
|
|
82
89
|
def Keywords(self):
|
|
90
|
+
"""Returns the information of keywords hit in the text. When no value is returned and `Score` is not empty, it means the `Label` is determined by the semantic-based detection model.
|
|
91
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
92
|
+
:rtype: list of str
|
|
93
|
+
"""
|
|
83
94
|
return self._Keywords
|
|
84
95
|
|
|
85
96
|
@Keywords.setter
|
|
@@ -88,6 +99,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
88
99
|
|
|
89
100
|
@property
|
|
90
101
|
def Score(self):
|
|
102
|
+
"""This field indicates the convincing level of the `Label`, ranging from `0` (lowest) to `100` (highest).
|
|
103
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
104
|
+
:rtype: int
|
|
105
|
+
"""
|
|
91
106
|
return self._Score
|
|
92
107
|
|
|
93
108
|
@Score.setter
|
|
@@ -96,6 +111,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
96
111
|
|
|
97
112
|
@property
|
|
98
113
|
def LibType(self):
|
|
114
|
+
"""It indicates the library type corresponding with the keyword. Valid values: `1` (blocklist/allowlist library) and `2` (custom keyword library). If no custom keyword library is configured, the default value is 1.
|
|
115
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
116
|
+
:rtype: int
|
|
117
|
+
"""
|
|
99
118
|
return self._LibType
|
|
100
119
|
|
|
101
120
|
@LibType.setter
|
|
@@ -104,6 +123,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
104
123
|
|
|
105
124
|
@property
|
|
106
125
|
def LibId(self):
|
|
126
|
+
"""This field is **only valid when `Label` is `Custom`. It returns the custom library ID to facilitate the library management and configuration.
|
|
127
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
107
130
|
return self._LibId
|
|
108
131
|
|
|
109
132
|
@LibId.setter
|
|
@@ -112,6 +135,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
112
135
|
|
|
113
136
|
@property
|
|
114
137
|
def LibName(self):
|
|
138
|
+
"""This field is **only valid when `Label` is `Custom` (custom keyword)`. It returns the custom library name to facilitate the library management and configuration.
|
|
139
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
140
|
+
:rtype: str
|
|
141
|
+
"""
|
|
115
142
|
return self._LibName
|
|
116
143
|
|
|
117
144
|
@LibName.setter
|
|
@@ -120,6 +147,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
120
147
|
|
|
121
148
|
@property
|
|
122
149
|
def SubLabel(self):
|
|
150
|
+
"""The field returns the second-level labels under the current label.
|
|
151
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
123
154
|
return self._SubLabel
|
|
124
155
|
|
|
125
156
|
@SubLabel.setter
|
|
@@ -128,6 +159,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
128
159
|
|
|
129
160
|
@property
|
|
130
161
|
def Tags(self):
|
|
162
|
+
"""Returns the keywords, label, sub-label and the score.
|
|
163
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
164
|
+
:rtype: list of Tag
|
|
165
|
+
"""
|
|
131
166
|
return self._Tags
|
|
132
167
|
|
|
133
168
|
@Tags.setter
|
|
@@ -194,6 +229,10 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
194
229
|
|
|
195
230
|
@property
|
|
196
231
|
def IP(self):
|
|
232
|
+
"""This field indicates the IP address of the device used by the service subscriber. <br>
|
|
233
|
+
Note: Currently, only IPv4 addresses can be recorded.
|
|
234
|
+
:rtype: str
|
|
235
|
+
"""
|
|
197
236
|
return self._IP
|
|
198
237
|
|
|
199
238
|
@IP.setter
|
|
@@ -202,6 +241,9 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
202
241
|
|
|
203
242
|
@property
|
|
204
243
|
def Mac(self):
|
|
244
|
+
"""This field indicates the MAC address used by the service subscriber to facilitate device identification and management. Its format and value are consistent with those of the standard MAC address.
|
|
245
|
+
:rtype: str
|
|
246
|
+
"""
|
|
205
247
|
return self._Mac
|
|
206
248
|
|
|
207
249
|
@Mac.setter
|
|
@@ -210,6 +252,9 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
210
252
|
|
|
211
253
|
@property
|
|
212
254
|
def TokenId(self):
|
|
255
|
+
"""* In beta test. Available soon.*
|
|
256
|
+
:rtype: str
|
|
257
|
+
"""
|
|
213
258
|
return self._TokenId
|
|
214
259
|
|
|
215
260
|
@TokenId.setter
|
|
@@ -218,6 +263,9 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
218
263
|
|
|
219
264
|
@property
|
|
220
265
|
def DeviceId(self):
|
|
266
|
+
"""* In beta test. Available soon.*
|
|
267
|
+
:rtype: str
|
|
268
|
+
"""
|
|
221
269
|
return self._DeviceId
|
|
222
270
|
|
|
223
271
|
@DeviceId.setter
|
|
@@ -226,6 +274,9 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
226
274
|
|
|
227
275
|
@property
|
|
228
276
|
def IMEI(self):
|
|
277
|
+
"""This field represents the **IMEI** (International Mobile Equipment Identity) number of the device used by the service subscriber. IMEI can be used to identify each independent mobile communication device, such as a mobile phone, which is convenient for device identification and management. <br>Note: IMEI is formatted with **15 to 17 numbers only**.
|
|
278
|
+
:rtype: str
|
|
279
|
+
"""
|
|
229
280
|
return self._IMEI
|
|
230
281
|
|
|
231
282
|
@IMEI.setter
|
|
@@ -234,6 +285,10 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
234
285
|
|
|
235
286
|
@property
|
|
236
287
|
def IDFA(self):
|
|
288
|
+
"""**Dedicated for iOS device**. This field indicates the **IDFA** (Identifier for Advertising) corresponding to the service subscriber. IDFA, a string of hexadecimal 32 characters including numbers and letters, is provided by Apple Inc. to identify the user.<br>
|
|
289
|
+
Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually activate or deactivate IDFA, so the validity of the string identifier may be reduced.
|
|
290
|
+
:rtype: str
|
|
291
|
+
"""
|
|
237
292
|
return self._IDFA
|
|
238
293
|
|
|
239
294
|
@IDFA.setter
|
|
@@ -242,6 +297,9 @@ Note: Since the iOS14 update in 2021, Apple Inc. has allowed users to manually a
|
|
|
242
297
|
|
|
243
298
|
@property
|
|
244
299
|
def IDFV(self):
|
|
300
|
+
"""**Dedicated for iOS device**. This field indicates the **IDFV** (Identifier for Vendor) corresponding to the service subscriber. IDFV, a string of hexadecimal 32 characters including numbers and letters, is provided by Apple Inc. to identify the vendor. IDFV can also be used as a unique device identifier.
|
|
301
|
+
:rtype: str
|
|
302
|
+
"""
|
|
245
303
|
return self._IDFV
|
|
246
304
|
|
|
247
305
|
@IDFV.setter
|
|
@@ -284,6 +342,9 @@ class RiskDetails(AbstractModel):
|
|
|
284
342
|
|
|
285
343
|
@property
|
|
286
344
|
def Label(self):
|
|
345
|
+
"""This field returns the risk categories after account information detection. Valid values: **RiskAccount** (the account is at risk), **RiskIP** (the IP address is at risk), and **RiskIMEI** (the mobile device identifier is at risk).
|
|
346
|
+
:rtype: str
|
|
347
|
+
"""
|
|
287
348
|
return self._Label
|
|
288
349
|
|
|
289
350
|
@Label.setter
|
|
@@ -292,6 +353,9 @@ class RiskDetails(AbstractModel):
|
|
|
292
353
|
|
|
293
354
|
@property
|
|
294
355
|
def Level(self):
|
|
356
|
+
"""This field returns the risk levels after account information detection. Valid values: **1** (suspected to be at risk) and **2** (malicious risk).
|
|
357
|
+
:rtype: int
|
|
358
|
+
"""
|
|
295
359
|
return self._Level
|
|
296
360
|
|
|
297
361
|
@Level.setter
|
|
@@ -335,6 +399,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
335
399
|
|
|
336
400
|
@property
|
|
337
401
|
def Keyword(self):
|
|
402
|
+
"""Returns the hit keywords.
|
|
403
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
404
|
+
:rtype: str
|
|
405
|
+
"""
|
|
338
406
|
return self._Keyword
|
|
339
407
|
|
|
340
408
|
@Keyword.setter
|
|
@@ -343,6 +411,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
343
411
|
|
|
344
412
|
@property
|
|
345
413
|
def SubLabel(self):
|
|
414
|
+
"""Returns the sub-tags.
|
|
415
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
416
|
+
:rtype: str
|
|
417
|
+
"""
|
|
346
418
|
return self._SubLabel
|
|
347
419
|
|
|
348
420
|
@SubLabel.setter
|
|
@@ -351,6 +423,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
351
423
|
|
|
352
424
|
@property
|
|
353
425
|
def Score(self):
|
|
426
|
+
"""Returns the score for the sub-label
|
|
427
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
428
|
+
:rtype: int
|
|
429
|
+
"""
|
|
354
430
|
return self._Score
|
|
355
431
|
|
|
356
432
|
@Score.setter
|
|
@@ -398,6 +474,9 @@ class TextModerationRequest(AbstractModel):
|
|
|
398
474
|
|
|
399
475
|
@property
|
|
400
476
|
def Content(self):
|
|
477
|
+
"""This field indicates the text content of the object to be moderated. The text needs to be encoded in utf-8 format and encrypted with Base64. It can contain up to 10,000 characters, calculated by unicode encoding.
|
|
478
|
+
:rtype: str
|
|
479
|
+
"""
|
|
401
480
|
return self._Content
|
|
402
481
|
|
|
403
482
|
@Content.setter
|
|
@@ -406,6 +485,9 @@ class TextModerationRequest(AbstractModel):
|
|
|
406
485
|
|
|
407
486
|
@property
|
|
408
487
|
def BizType(self):
|
|
488
|
+
"""This field indicates the specific policy number, which is used for the API call and can be configured in the CMS console. If it's not entered (left empty), the default moderation policy is adopted. If it's entered, the moderation policies are specified for business scenarios. <br>Note: Biztype contains 3 to 32 characters, including numbers, letters and underscores only. Different Biztypes are associated with different business scenarios and moderation policies. Ensure that you use the Biztype corresponding to the policy you want to apply.
|
|
489
|
+
:rtype: str
|
|
490
|
+
"""
|
|
409
491
|
return self._BizType
|
|
410
492
|
|
|
411
493
|
@BizType.setter
|
|
@@ -414,6 +496,9 @@ class TextModerationRequest(AbstractModel):
|
|
|
414
496
|
|
|
415
497
|
@property
|
|
416
498
|
def DataId(self):
|
|
499
|
+
"""This field indicates the data ID you assigned to the object to be moderated, which is convenient for you to identify and manage the file. <br>Value: this field can contain **up to 64 characters**, including uppercase and lowercase letters, numbers and four special symbols (_, -, @, #)
|
|
500
|
+
:rtype: str
|
|
501
|
+
"""
|
|
417
502
|
return self._DataId
|
|
418
503
|
|
|
419
504
|
@DataId.setter
|
|
@@ -422,6 +507,9 @@ class TextModerationRequest(AbstractModel):
|
|
|
422
507
|
|
|
423
508
|
@property
|
|
424
509
|
def User(self):
|
|
510
|
+
"""This field indicates the user information related with the object to be moderated, which can be used to identify violating users at risk.
|
|
511
|
+
:rtype: :class:`tencentcloud.tms.v20201229.models.User`
|
|
512
|
+
"""
|
|
425
513
|
return self._User
|
|
426
514
|
|
|
427
515
|
@User.setter
|
|
@@ -430,6 +518,9 @@ class TextModerationRequest(AbstractModel):
|
|
|
430
518
|
|
|
431
519
|
@property
|
|
432
520
|
def Device(self):
|
|
521
|
+
"""This field indicates the device information related with the object to be moderated, which can be used to identify violating devices at risk.
|
|
522
|
+
:rtype: :class:`tencentcloud.tms.v20201229.models.Device`
|
|
523
|
+
"""
|
|
433
524
|
return self._Device
|
|
434
525
|
|
|
435
526
|
@Device.setter
|
|
@@ -511,6 +602,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
511
602
|
|
|
512
603
|
@property
|
|
513
604
|
def BizType(self):
|
|
605
|
+
"""This field returns the BizType of the request parameters
|
|
606
|
+
:rtype: str
|
|
607
|
+
"""
|
|
514
608
|
return self._BizType
|
|
515
609
|
|
|
516
610
|
@BizType.setter
|
|
@@ -519,6 +613,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
519
613
|
|
|
520
614
|
@property
|
|
521
615
|
def Label(self):
|
|
616
|
+
"""This field returns the **negative label with the highest priority** in the moderation results (DetailResults), which indicates the moderation result recommended by the model. It is recommended that you handle different violations with the suggested values according to your business needs. <br>Returned values: **Normal**: normal content; **Porn**: pornographic content; **Abuse**: abusive content; **Ad**: advertising content; **Custom**: custom violating content, and others such as objectionable, insecure or inappropriate content.
|
|
617
|
+
:rtype: str
|
|
618
|
+
"""
|
|
522
619
|
return self._Label
|
|
523
620
|
|
|
524
621
|
@Label.setter
|
|
@@ -527,6 +624,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
527
624
|
|
|
528
625
|
@property
|
|
529
626
|
def Suggestion(self):
|
|
627
|
+
"""This field returns the follow-up moderation suggestions. The returned value indicates the recommended operation after obtaining the moderation result. It is recommended that you handle different violations with the suggested values according to your business needs. <br>Returned values: **Block**: block; **Review**: human moderation; **Pass**: pass
|
|
628
|
+
:rtype: str
|
|
629
|
+
"""
|
|
530
630
|
return self._Suggestion
|
|
531
631
|
|
|
532
632
|
@Suggestion.setter
|
|
@@ -535,6 +635,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
535
635
|
|
|
536
636
|
@property
|
|
537
637
|
def Keywords(self):
|
|
638
|
+
"""This field returns the keywords matched with the libraries in the moderated text under the current label to mark the specific violations (for example, *Friend me*). This parameter may have multiple returned values, indicating multiple keywords are matched. If the returned value is empty and the `Score` is not empty, it means that the negative label corresponding to the moderation result is a value returned from the semantic model judgment
|
|
639
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
640
|
+
:rtype: list of str
|
|
641
|
+
"""
|
|
538
642
|
return self._Keywords
|
|
539
643
|
|
|
540
644
|
@Keywords.setter
|
|
@@ -543,6 +647,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
543
647
|
|
|
544
648
|
@property
|
|
545
649
|
def Score(self):
|
|
650
|
+
"""This field returns the confidence level under the current label. Value range: 0 (**the lowest confidence level**) - 100 (**the highest confidence level**). The higher the value, the more likely the text is to belong to the category indicated by the current label. For example, *pornographic 99* indicates that the text is very likely to be pornographic, and *pornographic 0* indicates that the text is not pornographic
|
|
651
|
+
:rtype: int
|
|
652
|
+
"""
|
|
546
653
|
return self._Score
|
|
547
654
|
|
|
548
655
|
@Score.setter
|
|
@@ -551,6 +658,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
551
658
|
|
|
552
659
|
@property
|
|
553
660
|
def DetailResults(self):
|
|
661
|
+
"""This field returns the moderation results based on the text libraries. For details, see `DetailResults` in the data structure
|
|
662
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
663
|
+
:rtype: list of DetailResults
|
|
664
|
+
"""
|
|
554
665
|
return self._DetailResults
|
|
555
666
|
|
|
556
667
|
@DetailResults.setter
|
|
@@ -559,6 +670,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
559
670
|
|
|
560
671
|
@property
|
|
561
672
|
def RiskDetails(self):
|
|
673
|
+
"""This field returns the detection results of violating accounts at risk, mainly including violation categories and risk levels. For details, see `RiskDetails` in the data structure
|
|
674
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
675
|
+
:rtype: list of RiskDetails
|
|
676
|
+
"""
|
|
562
677
|
return self._RiskDetails
|
|
563
678
|
|
|
564
679
|
@RiskDetails.setter
|
|
@@ -567,6 +682,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
567
682
|
|
|
568
683
|
@property
|
|
569
684
|
def Extra(self):
|
|
685
|
+
"""This field returns the extra information configured according to your needs. If it's not configured, the returned value is empty by default. <br>Note: the returned information varies based on different customers or Biztypes. If you need to configure this field, please submit a ticket or contact after-sales manager
|
|
686
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
687
|
+
:rtype: str
|
|
688
|
+
"""
|
|
570
689
|
return self._Extra
|
|
571
690
|
|
|
572
691
|
@Extra.setter
|
|
@@ -575,6 +694,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
575
694
|
|
|
576
695
|
@property
|
|
577
696
|
def DataId(self):
|
|
697
|
+
"""This field returns the `DataId` in the request parameter corresponding to the moderated object
|
|
698
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
699
|
+
:rtype: str
|
|
700
|
+
"""
|
|
578
701
|
return self._DataId
|
|
579
702
|
|
|
580
703
|
@DataId.setter
|
|
@@ -583,6 +706,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
583
706
|
|
|
584
707
|
@property
|
|
585
708
|
def SubLabel(self):
|
|
709
|
+
"""The field returns the second-level labels under the current label.
|
|
710
|
+
Note: This field may return `null`, indicating that no valid value can be found.
|
|
711
|
+
:rtype: str
|
|
712
|
+
"""
|
|
586
713
|
return self._SubLabel
|
|
587
714
|
|
|
588
715
|
@SubLabel.setter
|
|
@@ -591,6 +718,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
591
718
|
|
|
592
719
|
@property
|
|
593
720
|
def ContextText(self):
|
|
721
|
+
"""Returns the context text.
|
|
722
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
723
|
+
:rtype: str
|
|
724
|
+
"""
|
|
594
725
|
return self._ContextText
|
|
595
726
|
|
|
596
727
|
@ContextText.setter
|
|
@@ -599,6 +730,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
599
730
|
|
|
600
731
|
@property
|
|
601
732
|
def RequestId(self):
|
|
733
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
734
|
+
:rtype: str
|
|
735
|
+
"""
|
|
602
736
|
return self._RequestId
|
|
603
737
|
|
|
604
738
|
@RequestId.setter
|
|
@@ -684,6 +818,9 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
684
818
|
|
|
685
819
|
@property
|
|
686
820
|
def UserId(self):
|
|
821
|
+
"""This field indicates the service subscriber ID. This ID can be used to optimize the moderation result judgment based on the account's violation records, which is helpful for auxiliary judgment when there is a risk of suspected violations.
|
|
822
|
+
:rtype: str
|
|
823
|
+
"""
|
|
687
824
|
return self._UserId
|
|
688
825
|
|
|
689
826
|
@UserId.setter
|
|
@@ -692,6 +829,9 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
692
829
|
|
|
693
830
|
@property
|
|
694
831
|
def Nickname(self):
|
|
832
|
+
"""This field indicates the account nickname information of the service subscriber.
|
|
833
|
+
:rtype: str
|
|
834
|
+
"""
|
|
695
835
|
return self._Nickname
|
|
696
836
|
|
|
697
837
|
@Nickname.setter
|
|
@@ -700,6 +840,10 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
700
840
|
|
|
701
841
|
@property
|
|
702
842
|
def AccountType(self):
|
|
843
|
+
"""This field indicates the account type corresponding to the service subscriber ID.<br>
|
|
844
|
+
Use this field and the account ID (UserId) together to determine a unique account.
|
|
845
|
+
:rtype: int
|
|
846
|
+
"""
|
|
703
847
|
return self._AccountType
|
|
704
848
|
|
|
705
849
|
@AccountType.setter
|
|
@@ -708,6 +852,10 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
708
852
|
|
|
709
853
|
@property
|
|
710
854
|
def Gender(self):
|
|
855
|
+
"""This field indicates the gender information of the service subscriber's account.<br>
|
|
856
|
+
Values: **0** (default value, indicating the gender is unknown), **1** (male) and **2** (female).
|
|
857
|
+
:rtype: int
|
|
858
|
+
"""
|
|
711
859
|
return self._Gender
|
|
712
860
|
|
|
713
861
|
@Gender.setter
|
|
@@ -716,6 +864,10 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
716
864
|
|
|
717
865
|
@property
|
|
718
866
|
def Age(self):
|
|
867
|
+
"""This field indicates the age information of the service subscriber's account.<br>
|
|
868
|
+
Values: Integers between **0** (default value, indicating that the age is unknown) and the number of (**custom maximum age**).
|
|
869
|
+
:rtype: int
|
|
870
|
+
"""
|
|
719
871
|
return self._Age
|
|
720
872
|
|
|
721
873
|
@Age.setter
|
|
@@ -724,6 +876,10 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
724
876
|
|
|
725
877
|
@property
|
|
726
878
|
def Level(self):
|
|
879
|
+
"""This field indicates the level information of the service subscriber's account.<br>
|
|
880
|
+
Values: **0** (default value, indicating that the level is unknown), **1** (lower level), **2** (medium level) and **3** (higher level). Currently, **custom levels are not supported**.
|
|
881
|
+
:rtype: int
|
|
882
|
+
"""
|
|
727
883
|
return self._Level
|
|
728
884
|
|
|
729
885
|
@Level.setter
|
|
@@ -732,6 +888,10 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
732
888
|
|
|
733
889
|
@property
|
|
734
890
|
def Phone(self):
|
|
891
|
+
"""This field indicates the mobile phone number information of the service subscriber's account. The mobile phone numbers in various regions of the world can be recorded.<br>
|
|
892
|
+
Note: Please keep the format of mobile phone number uniform. For example, uniformly use the area code format (086/+86), etc.
|
|
893
|
+
:rtype: str
|
|
894
|
+
"""
|
|
735
895
|
return self._Phone
|
|
736
896
|
|
|
737
897
|
@Phone.setter
|
|
@@ -740,6 +900,10 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
740
900
|
|
|
741
901
|
@property
|
|
742
902
|
def HeadUrl(self):
|
|
903
|
+
"""This field indicates the URL of the service subscriber's profile photos formatted with .png, .jpg, .jpeg, .bmp, .gif and .webp.
|
|
904
|
+
Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it takes more than 3 seconds to download, the "download timeout" is returned.
|
|
905
|
+
:rtype: str
|
|
906
|
+
"""
|
|
743
907
|
return self._HeadUrl
|
|
744
908
|
|
|
745
909
|
@HeadUrl.setter
|
|
@@ -748,6 +912,9 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
748
912
|
|
|
749
913
|
@property
|
|
750
914
|
def Desc(self):
|
|
915
|
+
"""This field indicates the profile information of service subscribers. It can contain up to 5,000 characters, including Chinese characters, letters and special symbols.
|
|
916
|
+
:rtype: str
|
|
917
|
+
"""
|
|
751
918
|
return self._Desc
|
|
752
919
|
|
|
753
920
|
@Desc.setter
|
|
@@ -756,6 +923,9 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
756
923
|
|
|
757
924
|
@property
|
|
758
925
|
def RoomId(self):
|
|
926
|
+
"""Room ID of the group chat.
|
|
927
|
+
:rtype: str
|
|
928
|
+
"""
|
|
759
929
|
return self._RoomId
|
|
760
930
|
|
|
761
931
|
@RoomId.setter
|
|
@@ -764,6 +934,9 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
764
934
|
|
|
765
935
|
@property
|
|
766
936
|
def ReceiverId(self):
|
|
937
|
+
"""Receiver ID.
|
|
938
|
+
:rtype: str
|
|
939
|
+
"""
|
|
767
940
|
return self._ReceiverId
|
|
768
941
|
|
|
769
942
|
@ReceiverId.setter
|
|
@@ -772,6 +945,9 @@ Note: Up to 5 MB is supported, and the minimum resolution is 256 x 256. When it
|
|
|
772
945
|
|
|
773
946
|
@property
|
|
774
947
|
def SendTime(self):
|
|
948
|
+
"""Generation time of the message, in ms.
|
|
949
|
+
:rtype: int
|
|
950
|
+
"""
|
|
775
951
|
return self._SendTime
|
|
776
952
|
|
|
777
953
|
@SendTime.setter
|
|
@@ -82,6 +82,9 @@ hi: Hindi
|
|
|
82
82
|
|
|
83
83
|
@property
|
|
84
84
|
def SourceText(self):
|
|
85
|
+
"""The texts to be translated, which must be encoded in UTF-8 and can contain up to 2,000 characters in a request. For non-pure texts such as those with HTML tags, the translation may fail.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
85
88
|
return self._SourceText
|
|
86
89
|
|
|
87
90
|
@SourceText.setter
|
|
@@ -90,6 +93,28 @@ hi: Hindi
|
|
|
90
93
|
|
|
91
94
|
@property
|
|
92
95
|
def Source(self):
|
|
96
|
+
"""Supported source languages:
|
|
97
|
+
auto: Automatic language detection
|
|
98
|
+
zh: Simplified Chinese
|
|
99
|
+
zh_TW: Traditional Chinese
|
|
100
|
+
en: English
|
|
101
|
+
ja: Japanese
|
|
102
|
+
ko: Korean
|
|
103
|
+
fr: French
|
|
104
|
+
es: Spanish
|
|
105
|
+
it: Italian
|
|
106
|
+
de: German
|
|
107
|
+
tr: Turkish
|
|
108
|
+
ru: Russian
|
|
109
|
+
pt: Portuguese
|
|
110
|
+
vi: Vietnamese
|
|
111
|
+
id: Bahasa Indonesian
|
|
112
|
+
th: Thai
|
|
113
|
+
ms: Malay
|
|
114
|
+
ar: Arabic
|
|
115
|
+
hi: Hindi
|
|
116
|
+
:rtype: str
|
|
117
|
+
"""
|
|
93
118
|
return self._Source
|
|
94
119
|
|
|
95
120
|
@Source.setter
|
|
@@ -98,6 +123,28 @@ hi: Hindi
|
|
|
98
123
|
|
|
99
124
|
@property
|
|
100
125
|
def Target(self):
|
|
126
|
+
"""Supported target languages for the above source languages:
|
|
127
|
+
|
|
128
|
+
<li> zh (Simplified Chinese): en (English), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
|
|
129
|
+
<li> zh-TW (Traditional Chinese): en (English), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), and ms (Malay)</li>
|
|
130
|
+
<li> en (English): zh (Simplified Chinese), ja (Japanese), ko (Korean), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), pt (Portuguese), vi (Vietnamese), id (Bahasa Indonesian), th (Thai), ms (Malay), ar (Arabic), and hi (Hindi)</li>
|
|
131
|
+
<li>ja (Japanese): zh (Simplified Chinese), en (English), and ko (Korean)</li>
|
|
132
|
+
<li>ko (Korean): zh (Simplified Chinese), en (English), and ja (Japanese)</li>
|
|
133
|
+
<li>fr (French): zh (Simplified Chinese), en (English), es (Spanish), it (Italian), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
|
|
134
|
+
<li>es (Spanish): zh (Simplified Chinese), en (English), fr (French), it (Italian), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
|
|
135
|
+
<li>it (Italian): zh (Simplified Chinese), en (English), fr (French), es (Spanish), de (German), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
|
|
136
|
+
<li>de (German): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), tr (Turkish), ru (Russian), and pt (Portuguese)</li>
|
|
137
|
+
<li>tr (Turkish): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), ru (Russian), and pt (Portuguese)</li>
|
|
138
|
+
<li>ru (Russian): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), and pt (Portuguese)</li>
|
|
139
|
+
<li>pt (Portuguese): zh (Simplified Chinese), en (English), fr (French), es (Spanish), it (Italian), de (German), tr (Turkish), and ru (Russian)</li>
|
|
140
|
+
<li>vi (Vietnamese): zh (Simplified Chinese) and en (English)</li
|
|
141
|
+
<li>id (Bahasa Indonesian): zh (Simplified Chinese) and en (English)</li
|
|
142
|
+
<li>th (Thai): zh (Simplified Chinese) and en (English)</li
|
|
143
|
+
<li>ms (Malay): zh (Simplified Chinese) and en (English)</li
|
|
144
|
+
<li>ar (Arabic): en (English)</li>
|
|
145
|
+
<li>hi (Hindi): en (English)</li
|
|
146
|
+
:rtype: str
|
|
147
|
+
"""
|
|
101
148
|
return self._Target
|
|
102
149
|
|
|
103
150
|
@Target.setter
|
|
@@ -106,6 +153,9 @@ hi: Hindi
|
|
|
106
153
|
|
|
107
154
|
@property
|
|
108
155
|
def ProjectId(self):
|
|
156
|
+
"""The project ID, which can be obtained from **Console -> Account Center -> Project Management**. If no one is set, enter the default project ID `0`.
|
|
157
|
+
:rtype: int
|
|
158
|
+
"""
|
|
109
159
|
return self._ProjectId
|
|
110
160
|
|
|
111
161
|
@ProjectId.setter
|
|
@@ -114,6 +164,9 @@ hi: Hindi
|
|
|
114
164
|
|
|
115
165
|
@property
|
|
116
166
|
def UntranslatedText(self):
|
|
167
|
+
"""The parameter used to mark the text content that needs to remain untranslated, such as special symbols and names of people and places. You can set only one word for this parameter in each request. Only nouns (like names of people and places) are supported, and verbs or phrases may cause poor translation outcomes.
|
|
168
|
+
:rtype: str
|
|
169
|
+
"""
|
|
117
170
|
return self._UntranslatedText
|
|
118
171
|
|
|
119
172
|
@UntranslatedText.setter
|
|
@@ -160,6 +213,9 @@ class TextTranslateResponse(AbstractModel):
|
|
|
160
213
|
|
|
161
214
|
@property
|
|
162
215
|
def TargetText(self):
|
|
216
|
+
"""The translation outcome.
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
163
219
|
return self._TargetText
|
|
164
220
|
|
|
165
221
|
@TargetText.setter
|
|
@@ -168,6 +224,9 @@ class TextTranslateResponse(AbstractModel):
|
|
|
168
224
|
|
|
169
225
|
@property
|
|
170
226
|
def Source(self):
|
|
227
|
+
"""The source language. See the request parameter `Source` for details.
|
|
228
|
+
:rtype: str
|
|
229
|
+
"""
|
|
171
230
|
return self._Source
|
|
172
231
|
|
|
173
232
|
@Source.setter
|
|
@@ -176,6 +235,9 @@ class TextTranslateResponse(AbstractModel):
|
|
|
176
235
|
|
|
177
236
|
@property
|
|
178
237
|
def Target(self):
|
|
238
|
+
"""The target language. See the request parameter `Target` for details.
|
|
239
|
+
:rtype: str
|
|
240
|
+
"""
|
|
179
241
|
return self._Target
|
|
180
242
|
|
|
181
243
|
@Target.setter
|
|
@@ -184,6 +246,9 @@ class TextTranslateResponse(AbstractModel):
|
|
|
184
246
|
|
|
185
247
|
@property
|
|
186
248
|
def RequestId(self):
|
|
249
|
+
"""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.
|
|
250
|
+
:rtype: str
|
|
251
|
+
"""
|
|
187
252
|
return self._RequestId
|
|
188
253
|
|
|
189
254
|
@RequestId.setter
|