tencentcloud-sdk-python-intl-en 3.0.1075__py2.py3-none-any.whl → 3.0.1077__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/autoscaling_client.py +16 -10
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +2472 -7
- 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 +4263 -0
- 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/models.py +1523 -0
- tencentcloud/facefusion/v20220927/models.py +211 -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 +8135 -0
- 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 +2780 -0
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +675 -11
- 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 +13490 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +6622 -1
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- 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.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/top_level.txt +0 -0
|
@@ -77,6 +77,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
77
77
|
|
|
78
78
|
@property
|
|
79
79
|
def HitFlag(self):
|
|
80
|
+
"""This field is used to return whether the moderated content hit the moderation model. Valid values: 0 (**no**), 1 (**yes**).
|
|
81
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
82
|
+
:rtype: int
|
|
83
|
+
"""
|
|
80
84
|
return self._HitFlag
|
|
81
85
|
|
|
82
86
|
@HitFlag.setter
|
|
@@ -85,6 +89,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
85
89
|
|
|
86
90
|
@property
|
|
87
91
|
def Label(self):
|
|
92
|
+
"""This field is used to return the maliciousness tag in the detection result.<br>Returned values: **Normal**: normal; **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content.
|
|
93
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
88
96
|
return self._Label
|
|
89
97
|
|
|
90
98
|
@Label.setter
|
|
@@ -93,6 +101,11 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
93
101
|
|
|
94
102
|
@property
|
|
95
103
|
def Suggestion(self):
|
|
104
|
+
"""This field is used to return the operation suggestion. When you get the determination result, the returned value indicates the suggested operation.<br>
|
|
105
|
+
Returned values: **Block**, **Review**, **Pass**.
|
|
106
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
96
109
|
return self._Suggestion
|
|
97
110
|
|
|
98
111
|
@Suggestion.setter
|
|
@@ -101,6 +114,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
101
114
|
|
|
102
115
|
@property
|
|
103
116
|
def Score(self):
|
|
117
|
+
"""This field is used to return the confidence under the current tag. Value range: 0 (**the lowest confidence**)–100 (**the highest confidence**), where a higher value indicates that the text is more likely to fall into the category of the current returned tag; for example, *Porn 99* indicates that the text is highly likely to be pornographic.
|
|
118
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
119
|
+
:rtype: int
|
|
120
|
+
"""
|
|
104
121
|
return self._Score
|
|
105
122
|
|
|
106
123
|
@Score.setter
|
|
@@ -109,6 +126,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
109
126
|
|
|
110
127
|
@property
|
|
111
128
|
def Text(self):
|
|
129
|
+
"""This field is used to return the text information generated by recognizing an audio file with ASR. Audio files of up to **5 hours** can be recognized. If this limit is exceeded, an error will be reported by the API.
|
|
130
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
131
|
+
:rtype: str
|
|
132
|
+
"""
|
|
112
133
|
return self._Text
|
|
113
134
|
|
|
114
135
|
@Text.setter
|
|
@@ -117,6 +138,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
117
138
|
|
|
118
139
|
@property
|
|
119
140
|
def Url(self):
|
|
141
|
+
"""This field is used to return the URL where audio segments are stored, which is valid for 1 day.
|
|
142
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
120
145
|
return self._Url
|
|
121
146
|
|
|
122
147
|
@Url.setter
|
|
@@ -125,6 +150,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
125
150
|
|
|
126
151
|
@property
|
|
127
152
|
def Duration(self):
|
|
153
|
+
"""This field is used to return the length of an audio file in milliseconds.
|
|
154
|
+
:rtype: str
|
|
155
|
+
"""
|
|
128
156
|
return self._Duration
|
|
129
157
|
|
|
130
158
|
@Duration.setter
|
|
@@ -133,6 +161,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
133
161
|
|
|
134
162
|
@property
|
|
135
163
|
def Extra(self):
|
|
164
|
+
"""This field is used to return additional information, and the returned information varies by customer or `Biztype`.
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
136
167
|
return self._Extra
|
|
137
168
|
|
|
138
169
|
@Extra.setter
|
|
@@ -141,6 +172,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
141
172
|
|
|
142
173
|
@property
|
|
143
174
|
def TextResults(self):
|
|
175
|
+
"""This field is used to return the detailed moderation result of the text generated by recognizing an audio file with ASR. For the specific result, see the detailed description of the `AudioResultDetailLanguageResult` data structure.
|
|
176
|
+
:rtype: list of AudioResultDetailTextResult
|
|
177
|
+
"""
|
|
144
178
|
return self._TextResults
|
|
145
179
|
|
|
146
180
|
@TextResults.setter
|
|
@@ -149,6 +183,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
149
183
|
|
|
150
184
|
@property
|
|
151
185
|
def MoanResults(self):
|
|
186
|
+
"""This field is used to return the detailed moan detection result of an audio file. For the specific result, see the detailed description of the `AudioResultDetailMoanResult` data structure.
|
|
187
|
+
:rtype: list of AudioResultDetailMoanResult
|
|
188
|
+
"""
|
|
152
189
|
return self._MoanResults
|
|
153
190
|
|
|
154
191
|
@MoanResults.setter
|
|
@@ -157,6 +194,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
157
194
|
|
|
158
195
|
@property
|
|
159
196
|
def LanguageResults(self):
|
|
197
|
+
"""This field is used to return the detailed minor language detection result of an audio. For the specific result, see the detailed description of the `AudioResultDetailLanguageResult` data structure.
|
|
198
|
+
:rtype: list of AudioResultDetailLanguageResult
|
|
199
|
+
"""
|
|
160
200
|
return self._LanguageResults
|
|
161
201
|
|
|
162
202
|
@LanguageResults.setter
|
|
@@ -165,6 +205,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
165
205
|
|
|
166
206
|
@property
|
|
167
207
|
def SubLabel(self):
|
|
208
|
+
"""This field is used to return a subtag under the current tag (Lable).
|
|
209
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
210
|
+
:rtype: str
|
|
211
|
+
"""
|
|
168
212
|
return self._SubLabel
|
|
169
213
|
|
|
170
214
|
@SubLabel.setter
|
|
@@ -173,6 +217,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
173
217
|
|
|
174
218
|
@property
|
|
175
219
|
def RecognitionResults(self):
|
|
220
|
+
"""List of audio recognition results
|
|
221
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
222
|
+
:rtype: list of RecognitionResult
|
|
223
|
+
"""
|
|
176
224
|
return self._RecognitionResults
|
|
177
225
|
|
|
178
226
|
@RecognitionResults.setter
|
|
@@ -255,6 +303,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
255
303
|
|
|
256
304
|
@property
|
|
257
305
|
def Label(self):
|
|
306
|
+
"""This field is used to return the language information.
|
|
307
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
308
|
+
:rtype: str
|
|
309
|
+
"""
|
|
258
310
|
return self._Label
|
|
259
311
|
|
|
260
312
|
@Label.setter
|
|
@@ -263,6 +315,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
263
315
|
|
|
264
316
|
@property
|
|
265
317
|
def Score(self):
|
|
318
|
+
"""This parameter is used to return the confidence under the current tag. Value range: 0 (**the lowest confidence**)–100 (**the highest confidence**), where a higher value indicates that the audio is more likely to fall into the category of the current returned language tag;
|
|
319
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
320
|
+
:rtype: int
|
|
321
|
+
"""
|
|
266
322
|
return self._Score
|
|
267
323
|
|
|
268
324
|
@Score.setter
|
|
@@ -271,6 +327,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
271
327
|
|
|
272
328
|
@property
|
|
273
329
|
def StartTime(self):
|
|
330
|
+
"""This parameter is used to return the start time of the segment of an audio file under the corresponding language tag in seconds.
|
|
331
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
332
|
+
:rtype: float
|
|
333
|
+
"""
|
|
274
334
|
return self._StartTime
|
|
275
335
|
|
|
276
336
|
@StartTime.setter
|
|
@@ -279,6 +339,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
279
339
|
|
|
280
340
|
@property
|
|
281
341
|
def EndTime(self):
|
|
342
|
+
"""This parameter is used to return the end time of the segment of an audio file under the corresponding language tag in seconds.
|
|
343
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
344
|
+
:rtype: float
|
|
345
|
+
"""
|
|
282
346
|
return self._EndTime
|
|
283
347
|
|
|
284
348
|
@EndTime.setter
|
|
@@ -287,6 +351,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
287
351
|
|
|
288
352
|
@property
|
|
289
353
|
def SubLabelCode(self):
|
|
354
|
+
"""*This field is in beta test. Stay tuned*
|
|
355
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
356
|
+
:rtype: str
|
|
357
|
+
"""
|
|
290
358
|
return self._SubLabelCode
|
|
291
359
|
|
|
292
360
|
@SubLabelCode.setter
|
|
@@ -344,6 +412,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
344
412
|
|
|
345
413
|
@property
|
|
346
414
|
def Label(self):
|
|
415
|
+
"""This field is used to return the type of the content to be detected. It is fixed at **Moan** here to call the moan detection feature.
|
|
416
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
417
|
+
:rtype: str
|
|
418
|
+
"""
|
|
347
419
|
return self._Label
|
|
348
420
|
|
|
349
421
|
@Label.setter
|
|
@@ -352,6 +424,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
352
424
|
|
|
353
425
|
@property
|
|
354
426
|
def Score(self):
|
|
427
|
+
"""This field is used to return the confidence of moan detection. Value range: 0 (**the lowest confidence**)–100 (**the highest confidence**), where a higher value indicates that the audio is more likely to fall into the category of moan.
|
|
428
|
+
:rtype: int
|
|
429
|
+
"""
|
|
355
430
|
return self._Score
|
|
356
431
|
|
|
357
432
|
@Score.setter
|
|
@@ -360,6 +435,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
360
435
|
|
|
361
436
|
@property
|
|
362
437
|
def StartTime(self):
|
|
438
|
+
"""This field is used to return the start time of the segment of an audio file under the corresponding moan tag in seconds.
|
|
439
|
+
:rtype: float
|
|
440
|
+
"""
|
|
363
441
|
return self._StartTime
|
|
364
442
|
|
|
365
443
|
@StartTime.setter
|
|
@@ -368,6 +446,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
368
446
|
|
|
369
447
|
@property
|
|
370
448
|
def EndTime(self):
|
|
449
|
+
"""This field is used to return the end time of the segment of an audio file under the corresponding moan tag in seconds.
|
|
450
|
+
:rtype: float
|
|
451
|
+
"""
|
|
371
452
|
return self._EndTime
|
|
372
453
|
|
|
373
454
|
@EndTime.setter
|
|
@@ -376,6 +457,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
376
457
|
|
|
377
458
|
@property
|
|
378
459
|
def SubLabelCode(self):
|
|
460
|
+
"""*This field is in beta test. Stay tuned*
|
|
461
|
+
:rtype: str
|
|
462
|
+
"""
|
|
379
463
|
return self._SubLabelCode
|
|
380
464
|
|
|
381
465
|
@SubLabelCode.setter
|
|
@@ -384,6 +468,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
384
468
|
|
|
385
469
|
@property
|
|
386
470
|
def SubLabel(self):
|
|
471
|
+
"""This field is used to return a subtag under the current tag (Lable).
|
|
472
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
473
|
+
:rtype: str
|
|
474
|
+
"""
|
|
387
475
|
return self._SubLabel
|
|
388
476
|
|
|
389
477
|
@SubLabel.setter
|
|
@@ -392,6 +480,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
392
480
|
|
|
393
481
|
@property
|
|
394
482
|
def Suggestion(self):
|
|
483
|
+
"""This field returns the suggested action according to the check result. <br>Values: `Block`, `Review`, `Pass`.
|
|
484
|
+
:rtype: str
|
|
485
|
+
"""
|
|
395
486
|
return self._Suggestion
|
|
396
487
|
|
|
397
488
|
@Suggestion.setter
|
|
@@ -460,6 +551,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
460
551
|
|
|
461
552
|
@property
|
|
462
553
|
def Label(self):
|
|
554
|
+
"""This field is used to return the maliciousness tag in the detection result.<br>Returned values: **Normal**: normal; **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content.
|
|
555
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
556
|
+
:rtype: str
|
|
557
|
+
"""
|
|
463
558
|
return self._Label
|
|
464
559
|
|
|
465
560
|
@Label.setter
|
|
@@ -468,6 +563,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
468
563
|
|
|
469
564
|
@property
|
|
470
565
|
def Keywords(self):
|
|
566
|
+
"""This field is used to return the keyword information hit by the text content recognized with ASR and indicate the specific cause of content non-compliance (such as "Friend me"). This parameter may have multiple returned values representing multiple hit keywords. If the returned value is empty, but `Score` is not empty, the maliciousness tag (Label) that corresponds to the recognition result derives from the returned value determined by the semantic model.
|
|
567
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
568
|
+
:rtype: list of str
|
|
569
|
+
"""
|
|
471
570
|
return self._Keywords
|
|
472
571
|
|
|
473
572
|
@Keywords.setter
|
|
@@ -476,6 +575,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
476
575
|
|
|
477
576
|
@property
|
|
478
577
|
def LibId(self):
|
|
578
|
+
"""This field is **valid only when `Label` is `Custom` (custom keyword)**. It is used to return the ID of the custom library for easier custom library management and configuration.
|
|
579
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
580
|
+
:rtype: str
|
|
581
|
+
"""
|
|
479
582
|
return self._LibId
|
|
480
583
|
|
|
481
584
|
@LibId.setter
|
|
@@ -484,6 +587,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
484
587
|
|
|
485
588
|
@property
|
|
486
589
|
def LibName(self):
|
|
590
|
+
"""This field is **valid only when `Label` is `Custom` (custom keyword)**. It is used to return the name of the custom library for easier custom library management and configuration.
|
|
591
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
592
|
+
:rtype: str
|
|
593
|
+
"""
|
|
487
594
|
return self._LibName
|
|
488
595
|
|
|
489
596
|
@LibName.setter
|
|
@@ -492,6 +599,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
492
599
|
|
|
493
600
|
@property
|
|
494
601
|
def Score(self):
|
|
602
|
+
"""This field is used to return the confidence under the current tag. Value range: 0 (**the lowest confidence**)–100 (**the highest confidence**), where a higher value indicates that the text is more likely to fall into the category of the current returned tag; for example, *Porn 99* indicates that the text is highly likely to be pornographic.
|
|
603
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
604
|
+
:rtype: int
|
|
605
|
+
"""
|
|
495
606
|
return self._Score
|
|
496
607
|
|
|
497
608
|
@Score.setter
|
|
@@ -500,6 +611,11 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
500
611
|
|
|
501
612
|
@property
|
|
502
613
|
def Suggestion(self):
|
|
614
|
+
"""This field is used to return the operation suggestion. When you get the determination result, the returned value indicates the suggested operation.<br>
|
|
615
|
+
Returned values: **Block**, **Review**, **Pass**.
|
|
616
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
617
|
+
:rtype: str
|
|
618
|
+
"""
|
|
503
619
|
return self._Suggestion
|
|
504
620
|
|
|
505
621
|
@Suggestion.setter
|
|
@@ -508,6 +624,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
508
624
|
|
|
509
625
|
@property
|
|
510
626
|
def LibType(self):
|
|
627
|
+
"""This field is used to return the dictionary type of a custom keyword. Valid values: **1** (blocklist/allowlist), **2** (custom keyword dictionary). If no custom keyword dictionary is configured, the default value will be 1 (blocklist/allowlist).
|
|
628
|
+
:rtype: int
|
|
629
|
+
"""
|
|
511
630
|
return self._LibType
|
|
512
631
|
|
|
513
632
|
@LibType.setter
|
|
@@ -516,6 +635,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
516
635
|
|
|
517
636
|
@property
|
|
518
637
|
def SubLabel(self):
|
|
638
|
+
"""This field is used to return a subtag under the current tag (Lable).
|
|
639
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
640
|
+
:rtype: str
|
|
641
|
+
"""
|
|
519
642
|
return self._SubLabel
|
|
520
643
|
|
|
521
644
|
@SubLabel.setter
|
|
@@ -561,6 +684,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
561
684
|
|
|
562
685
|
@property
|
|
563
686
|
def OffsetTime(self):
|
|
687
|
+
"""This field is used to return the start time of an audio segment in seconds. For audio on demand files, this parameter indicates the time offset of the audio from the complete audio track, such as 0 (no offset), 5 (5 seconds after the start of the audio track), and 10 (10 seconds after the start of the audio track). For live audio stream files, this parameter returns the Unix timestamp of the start of the audio segment, such as `1594650717`.
|
|
688
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
689
|
+
:rtype: str
|
|
690
|
+
"""
|
|
564
691
|
return self._OffsetTime
|
|
565
692
|
|
|
566
693
|
@OffsetTime.setter
|
|
@@ -569,6 +696,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
569
696
|
|
|
570
697
|
@property
|
|
571
698
|
def Result(self):
|
|
699
|
+
"""This field is used to return the specific moderation result of an audio segment. For details, see the description of the `AudioResult` data structure.
|
|
700
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
701
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.AudioResult`
|
|
702
|
+
"""
|
|
572
703
|
return self._Result
|
|
573
704
|
|
|
574
705
|
@Result.setter
|
|
@@ -615,6 +746,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
615
746
|
|
|
616
747
|
@property
|
|
617
748
|
def Bucket(self):
|
|
749
|
+
"""This field indicates a bucket name in Tencent Cloud COS. For more information on buckets, see Basic Concepts (https://intl.cloud.tencent.com/document/product/436/44352?from_cn_redirect=1).
|
|
750
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
751
|
+
:rtype: str
|
|
752
|
+
"""
|
|
618
753
|
return self._Bucket
|
|
619
754
|
|
|
620
755
|
@Bucket.setter
|
|
@@ -623,6 +758,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
623
758
|
|
|
624
759
|
@property
|
|
625
760
|
def Region(self):
|
|
761
|
+
"""This field indicates a region where a Tencent Cloud COS managed data center is deployed. COS data is stored in buckets in these regions.
|
|
762
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
763
|
+
:rtype: str
|
|
764
|
+
"""
|
|
626
765
|
return self._Region
|
|
627
766
|
|
|
628
767
|
@Region.setter
|
|
@@ -631,6 +770,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
631
770
|
|
|
632
771
|
@property
|
|
633
772
|
def Object(self):
|
|
773
|
+
"""This field indicates an object key in Tencent Cloud COS. Object z is stored in a bucket as a basic storage unit. You can manage objects through the Tencent Cloud console, API, or SDK. For more information on objects, see Object Overview (https://intl.cloud.tencent.com/document/product/436/13324?from_cn_redirect=1).
|
|
774
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
775
|
+
:rtype: str
|
|
776
|
+
"""
|
|
634
777
|
return self._Object
|
|
635
778
|
|
|
636
779
|
@Object.setter
|
|
@@ -666,6 +809,9 @@ class CancelTaskRequest(AbstractModel):
|
|
|
666
809
|
|
|
667
810
|
@property
|
|
668
811
|
def TaskId(self):
|
|
812
|
+
"""This field indicates the task ID (in the `Results` parameter) returned after an audio moderation task is created. It is used to identify the moderation task to be canceled.
|
|
813
|
+
:rtype: str
|
|
814
|
+
"""
|
|
669
815
|
return self._TaskId
|
|
670
816
|
|
|
671
817
|
@TaskId.setter
|
|
@@ -699,6 +845,9 @@ class CancelTaskResponse(AbstractModel):
|
|
|
699
845
|
|
|
700
846
|
@property
|
|
701
847
|
def RequestId(self):
|
|
848
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
849
|
+
:rtype: str
|
|
850
|
+
"""
|
|
702
851
|
return self._RequestId
|
|
703
852
|
|
|
704
853
|
@RequestId.setter
|
|
@@ -736,6 +885,9 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
|
736
885
|
|
|
737
886
|
@property
|
|
738
887
|
def Tasks(self):
|
|
888
|
+
"""This field indicates the input audio moderation task information. For the specific input content, see the detailed description of the `TaskInput` data structure.<br>Note: you can create up to **10 tasks** at a time.
|
|
889
|
+
:rtype: list of TaskInput
|
|
890
|
+
"""
|
|
739
891
|
return self._Tasks
|
|
740
892
|
|
|
741
893
|
@Tasks.setter
|
|
@@ -744,6 +896,9 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
|
744
896
|
|
|
745
897
|
@property
|
|
746
898
|
def BizType(self):
|
|
899
|
+
"""This field indicates the specific number of the policy, which is used for API scheduling and can be configured in the CMS console. If the `Biztype` parameter is passed in, a moderation policy will be used based on the business scenario; otherwise, the default moderation policy will be used.<br>Note: `Biztype` can contain 3–32 digits, letters, and underscores; different `Biztype` values are associated with different business scenarios and moderation policies, so you need to verify the `Biztype` before calling this API.
|
|
900
|
+
:rtype: str
|
|
901
|
+
"""
|
|
747
902
|
return self._BizType
|
|
748
903
|
|
|
749
904
|
@BizType.setter
|
|
@@ -752,6 +907,9 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
|
752
907
|
|
|
753
908
|
@property
|
|
754
909
|
def Type(self):
|
|
910
|
+
"""This field indicates the input audio moderation type. Valid values: **AUDIO** (audio on demand), **LIVE_AUDIO** (audio live streaming). Default value: AUDIO.
|
|
911
|
+
:rtype: str
|
|
912
|
+
"""
|
|
755
913
|
return self._Type
|
|
756
914
|
|
|
757
915
|
@Type.setter
|
|
@@ -760,6 +918,9 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
|
760
918
|
|
|
761
919
|
@property
|
|
762
920
|
def Seed(self):
|
|
921
|
+
"""This field is optional and indicates the key information of the callback signature, which is used to ensure the data security. The signature algorithm is to add the `X-Signature` field to the returned HTTP header, whose value is the SHA256-encoded hex string of `seed` + `body` . After receiving the callback data, you can calculate `X-Signature` by using **sha256(seed + body)** based on the returned `body` for verification.<br>For specific use cases, see [Signature Algorithm v3](https://intl.cloud.tencent.com/document/product/1219/53263?from_cn_redirect=1).
|
|
922
|
+
:rtype: str
|
|
923
|
+
"""
|
|
763
924
|
return self._Seed
|
|
764
925
|
|
|
765
926
|
@Seed.setter
|
|
@@ -768,6 +929,9 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
|
768
929
|
|
|
769
930
|
@property
|
|
770
931
|
def CallbackUrl(self):
|
|
932
|
+
"""This field is optional and indicates the address for receiving the moderation information callback in the default format of URL. After it is configured successfully, the non-compliant audio/video segments generated during moderation will be sent through this API. For the format of the returned callback content, see [Sample Callback Signature](https://intl.cloud.tencent.com/document/product/1219/53257?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B2-.E5.9B.9E.E8.B0.83.E7.AD.BE.E5.90.8D.E7.A4.BA.E4.BE.8B)
|
|
933
|
+
:rtype: str
|
|
934
|
+
"""
|
|
771
935
|
return self._CallbackUrl
|
|
772
936
|
|
|
773
937
|
@CallbackUrl.setter
|
|
@@ -814,6 +978,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
814
978
|
|
|
815
979
|
@property
|
|
816
980
|
def Results(self):
|
|
981
|
+
"""This field is used to return the task creation result. For the specific output content, see the detailed description of the `TaskResult` data structure.
|
|
982
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
983
|
+
:rtype: list of TaskResult
|
|
984
|
+
"""
|
|
817
985
|
return self._Results
|
|
818
986
|
|
|
819
987
|
@Results.setter
|
|
@@ -822,6 +990,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
822
990
|
|
|
823
991
|
@property
|
|
824
992
|
def RequestId(self):
|
|
993
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
994
|
+
:rtype: str
|
|
995
|
+
"""
|
|
825
996
|
return self._RequestId
|
|
826
997
|
|
|
827
998
|
@RequestId.setter
|
|
@@ -857,6 +1028,10 @@ class DescribeTaskDetailRequest(AbstractModel):
|
|
|
857
1028
|
|
|
858
1029
|
@property
|
|
859
1030
|
def TaskId(self):
|
|
1031
|
+
"""This field indicates the task ID (in the `Results` parameter) returned after an audio moderation task is created. It is used to identify the moderation task for which to query the details.
|
|
1032
|
+
<br>Note: the query API can query up to **20 tasks at a time**.
|
|
1033
|
+
:rtype: str
|
|
1034
|
+
"""
|
|
860
1035
|
return self._TaskId
|
|
861
1036
|
|
|
862
1037
|
@TaskId.setter
|
|
@@ -865,6 +1040,9 @@ class DescribeTaskDetailRequest(AbstractModel):
|
|
|
865
1040
|
|
|
866
1041
|
@property
|
|
867
1042
|
def ShowAllSegments(self):
|
|
1043
|
+
"""This boolean field indicates whether to display all audio segments. Valid values: True (yes), False (display only audio segments that hit the moderation rule). Default value: False.
|
|
1044
|
+
:rtype: bool
|
|
1045
|
+
"""
|
|
868
1046
|
return self._ShowAllSegments
|
|
869
1047
|
|
|
870
1048
|
@ShowAllSegments.setter
|
|
@@ -963,6 +1141,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
963
1141
|
|
|
964
1142
|
@property
|
|
965
1143
|
def TaskId(self):
|
|
1144
|
+
"""
|
|
1145
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1146
|
+
:rtype: str
|
|
1147
|
+
"""
|
|
966
1148
|
return self._TaskId
|
|
967
1149
|
|
|
968
1150
|
@TaskId.setter
|
|
@@ -971,6 +1153,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
971
1153
|
|
|
972
1154
|
@property
|
|
973
1155
|
def DataId(self):
|
|
1156
|
+
"""
|
|
1157
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1158
|
+
:rtype: str
|
|
1159
|
+
"""
|
|
974
1160
|
return self._DataId
|
|
975
1161
|
|
|
976
1162
|
@DataId.setter
|
|
@@ -979,6 +1165,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
979
1165
|
|
|
980
1166
|
@property
|
|
981
1167
|
def BizType(self):
|
|
1168
|
+
"""
|
|
1169
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1170
|
+
:rtype: str
|
|
1171
|
+
"""
|
|
982
1172
|
return self._BizType
|
|
983
1173
|
|
|
984
1174
|
@BizType.setter
|
|
@@ -987,6 +1177,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
987
1177
|
|
|
988
1178
|
@property
|
|
989
1179
|
def Name(self):
|
|
1180
|
+
"""
|
|
1181
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1182
|
+
:rtype: str
|
|
1183
|
+
"""
|
|
990
1184
|
return self._Name
|
|
991
1185
|
|
|
992
1186
|
@Name.setter
|
|
@@ -995,6 +1189,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
995
1189
|
|
|
996
1190
|
@property
|
|
997
1191
|
def Status(self):
|
|
1192
|
+
"""
|
|
1193
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1194
|
+
:rtype: str
|
|
1195
|
+
"""
|
|
998
1196
|
return self._Status
|
|
999
1197
|
|
|
1000
1198
|
@Status.setter
|
|
@@ -1003,6 +1201,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1003
1201
|
|
|
1004
1202
|
@property
|
|
1005
1203
|
def Type(self):
|
|
1204
|
+
"""
|
|
1205
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1206
|
+
:rtype: str
|
|
1207
|
+
"""
|
|
1006
1208
|
return self._Type
|
|
1007
1209
|
|
|
1008
1210
|
@Type.setter
|
|
@@ -1011,6 +1213,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1011
1213
|
|
|
1012
1214
|
@property
|
|
1013
1215
|
def Suggestion(self):
|
|
1216
|
+
"""
|
|
1217
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1218
|
+
:rtype: str
|
|
1219
|
+
"""
|
|
1014
1220
|
return self._Suggestion
|
|
1015
1221
|
|
|
1016
1222
|
@Suggestion.setter
|
|
@@ -1019,6 +1225,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1019
1225
|
|
|
1020
1226
|
@property
|
|
1021
1227
|
def Labels(self):
|
|
1228
|
+
"""
|
|
1229
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1230
|
+
:rtype: list of TaskLabel
|
|
1231
|
+
"""
|
|
1022
1232
|
return self._Labels
|
|
1023
1233
|
|
|
1024
1234
|
@Labels.setter
|
|
@@ -1027,6 +1237,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1027
1237
|
|
|
1028
1238
|
@property
|
|
1029
1239
|
def InputInfo(self):
|
|
1240
|
+
"""
|
|
1241
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1242
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.InputInfo`
|
|
1243
|
+
"""
|
|
1030
1244
|
return self._InputInfo
|
|
1031
1245
|
|
|
1032
1246
|
@InputInfo.setter
|
|
@@ -1035,6 +1249,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1035
1249
|
|
|
1036
1250
|
@property
|
|
1037
1251
|
def AudioText(self):
|
|
1252
|
+
"""
|
|
1253
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1254
|
+
:rtype: str
|
|
1255
|
+
"""
|
|
1038
1256
|
return self._AudioText
|
|
1039
1257
|
|
|
1040
1258
|
@AudioText.setter
|
|
@@ -1043,6 +1261,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1043
1261
|
|
|
1044
1262
|
@property
|
|
1045
1263
|
def AudioSegments(self):
|
|
1264
|
+
"""
|
|
1265
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1266
|
+
:rtype: list of AudioSegments
|
|
1267
|
+
"""
|
|
1046
1268
|
return self._AudioSegments
|
|
1047
1269
|
|
|
1048
1270
|
@AudioSegments.setter
|
|
@@ -1051,6 +1273,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1051
1273
|
|
|
1052
1274
|
@property
|
|
1053
1275
|
def ErrorType(self):
|
|
1276
|
+
"""
|
|
1277
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1278
|
+
:rtype: str
|
|
1279
|
+
"""
|
|
1054
1280
|
return self._ErrorType
|
|
1055
1281
|
|
|
1056
1282
|
@ErrorType.setter
|
|
@@ -1059,6 +1285,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1059
1285
|
|
|
1060
1286
|
@property
|
|
1061
1287
|
def ErrorDescription(self):
|
|
1288
|
+
"""
|
|
1289
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1290
|
+
:rtype: str
|
|
1291
|
+
"""
|
|
1062
1292
|
return self._ErrorDescription
|
|
1063
1293
|
|
|
1064
1294
|
@ErrorDescription.setter
|
|
@@ -1067,6 +1297,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1067
1297
|
|
|
1068
1298
|
@property
|
|
1069
1299
|
def CreatedAt(self):
|
|
1300
|
+
"""
|
|
1301
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1302
|
+
:rtype: str
|
|
1303
|
+
"""
|
|
1070
1304
|
return self._CreatedAt
|
|
1071
1305
|
|
|
1072
1306
|
@CreatedAt.setter
|
|
@@ -1075,6 +1309,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1075
1309
|
|
|
1076
1310
|
@property
|
|
1077
1311
|
def UpdatedAt(self):
|
|
1312
|
+
"""
|
|
1313
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1314
|
+
:rtype: str
|
|
1315
|
+
"""
|
|
1078
1316
|
return self._UpdatedAt
|
|
1079
1317
|
|
|
1080
1318
|
@UpdatedAt.setter
|
|
@@ -1083,6 +1321,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1083
1321
|
|
|
1084
1322
|
@property
|
|
1085
1323
|
def Label(self):
|
|
1324
|
+
"""
|
|
1325
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1326
|
+
:rtype: str
|
|
1327
|
+
"""
|
|
1086
1328
|
return self._Label
|
|
1087
1329
|
|
|
1088
1330
|
@Label.setter
|
|
@@ -1091,6 +1333,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1091
1333
|
|
|
1092
1334
|
@property
|
|
1093
1335
|
def RequestId(self):
|
|
1336
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1337
|
+
:rtype: str
|
|
1338
|
+
"""
|
|
1094
1339
|
return self._RequestId
|
|
1095
1340
|
|
|
1096
1341
|
@RequestId.setter
|
|
@@ -1156,6 +1401,9 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
1156
1401
|
|
|
1157
1402
|
@property
|
|
1158
1403
|
def Limit(self):
|
|
1404
|
+
"""This parameter indicates the number of tasks to be displayed on each page of the task list. **Default value: 10**.
|
|
1405
|
+
:rtype: int
|
|
1406
|
+
"""
|
|
1159
1407
|
return self._Limit
|
|
1160
1408
|
|
|
1161
1409
|
@Limit.setter
|
|
@@ -1164,6 +1412,9 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
1164
1412
|
|
|
1165
1413
|
@property
|
|
1166
1414
|
def Filter(self):
|
|
1415
|
+
"""This parameter indicates the input parameter of the task filter. You can filter tasks by business type, file type, processing suggestion, and task status. For the specific parameter content, see the detailed description of the `TaskFilter` data structure.
|
|
1416
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.TaskFilter`
|
|
1417
|
+
"""
|
|
1167
1418
|
return self._Filter
|
|
1168
1419
|
|
|
1169
1420
|
@Filter.setter
|
|
@@ -1172,6 +1423,9 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
1172
1423
|
|
|
1173
1424
|
@property
|
|
1174
1425
|
def PageToken(self):
|
|
1426
|
+
"""This parameter indicates the `Token` information used during pagination. It is automatically generated by the system and will be passed to the next generated page for easy and fast pagination. When you turn to the last page, this field will be empty.
|
|
1427
|
+
:rtype: str
|
|
1428
|
+
"""
|
|
1175
1429
|
return self._PageToken
|
|
1176
1430
|
|
|
1177
1431
|
@PageToken.setter
|
|
@@ -1180,6 +1434,9 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
1180
1434
|
|
|
1181
1435
|
@property
|
|
1182
1436
|
def StartTime(self):
|
|
1437
|
+
"""This parameter indicates the start time of the task list in ISO 8601 timestamp format. **Default value: 3 days ago**. If this parameter is passed in, tasks between this time point and `EndTime` will be filtered out.<br>Note: this parameter is used together with `Filter` to filter tasks in no particular order.
|
|
1438
|
+
:rtype: str
|
|
1439
|
+
"""
|
|
1183
1440
|
return self._StartTime
|
|
1184
1441
|
|
|
1185
1442
|
@StartTime.setter
|
|
@@ -1188,6 +1445,9 @@ class DescribeTasksRequest(AbstractModel):
|
|
|
1188
1445
|
|
|
1189
1446
|
@property
|
|
1190
1447
|
def EndTime(self):
|
|
1448
|
+
"""This parameter indicates the end time of the task list in ISO 8601 timestamp format. **Default value: empty**. If this parameter is passed in, tasks between `StartTime` and this time point will be filtered out.<br>Note: this parameter is used together with `Filter` to filter tasks in no particular order.
|
|
1449
|
+
:rtype: str
|
|
1450
|
+
"""
|
|
1191
1451
|
return self._EndTime
|
|
1192
1452
|
|
|
1193
1453
|
@EndTime.setter
|
|
@@ -1239,6 +1499,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1239
1499
|
|
|
1240
1500
|
@property
|
|
1241
1501
|
def Total(self):
|
|
1502
|
+
"""This field is used to return the total number of queried tasks in the format of `int` string.
|
|
1503
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1504
|
+
:rtype: str
|
|
1505
|
+
"""
|
|
1242
1506
|
return self._Total
|
|
1243
1507
|
|
|
1244
1508
|
@Total.setter
|
|
@@ -1247,6 +1511,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1247
1511
|
|
|
1248
1512
|
@property
|
|
1249
1513
|
def Data(self):
|
|
1514
|
+
"""This field is used to return the detailed data of the tasks on the current page. For the specific output content, see the detailed description of the `TaskData` data structure.
|
|
1515
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1516
|
+
:rtype: list of TaskData
|
|
1517
|
+
"""
|
|
1250
1518
|
return self._Data
|
|
1251
1519
|
|
|
1252
1520
|
@Data.setter
|
|
@@ -1255,6 +1523,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1255
1523
|
|
|
1256
1524
|
@property
|
|
1257
1525
|
def PageToken(self):
|
|
1526
|
+
"""This field is used to return the `Token` information used during pagination. It is automatically generated by the system and will be passed to the next generated page for easy and fast pagination. When you turn to the last page, this field will be empty.
|
|
1527
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1528
|
+
:rtype: str
|
|
1529
|
+
"""
|
|
1258
1530
|
return self._PageToken
|
|
1259
1531
|
|
|
1260
1532
|
@PageToken.setter
|
|
@@ -1263,6 +1535,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1263
1535
|
|
|
1264
1536
|
@property
|
|
1265
1537
|
def RequestId(self):
|
|
1538
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1539
|
+
:rtype: str
|
|
1540
|
+
"""
|
|
1266
1541
|
return self._RequestId
|
|
1267
1542
|
|
|
1268
1543
|
@RequestId.setter
|
|
@@ -1305,6 +1580,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1305
1580
|
|
|
1306
1581
|
@property
|
|
1307
1582
|
def Type(self):
|
|
1583
|
+
"""This field indicates the file access type. Valid values: **URL** (resource link), **COS** (Tencent Cloud COS).
|
|
1584
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1585
|
+
:rtype: str
|
|
1586
|
+
"""
|
|
1308
1587
|
return self._Type
|
|
1309
1588
|
|
|
1310
1589
|
@Type.setter
|
|
@@ -1313,6 +1592,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1313
1592
|
|
|
1314
1593
|
@property
|
|
1315
1594
|
def Url(self):
|
|
1595
|
+
"""This field indicates the link address for file access in standard URL format.<br>Note: when `Type` is `URL`, this field will not be empty.
|
|
1596
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1597
|
+
:rtype: str
|
|
1598
|
+
"""
|
|
1316
1599
|
return self._Url
|
|
1317
1600
|
|
|
1318
1601
|
@Url.setter
|
|
@@ -1321,6 +1604,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1321
1604
|
|
|
1322
1605
|
@property
|
|
1323
1606
|
def BucketInfo(self):
|
|
1607
|
+
"""This field indicates the Tencent Cloud bucket information for file access.<br>Note: when `Type` is `COS`, this field will not be empty.
|
|
1608
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1609
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.BucketInfo`
|
|
1610
|
+
"""
|
|
1324
1611
|
return self._BucketInfo
|
|
1325
1612
|
|
|
1326
1613
|
@BucketInfo.setter
|
|
@@ -1370,6 +1657,9 @@ class MediaInfo(AbstractModel):
|
|
|
1370
1657
|
|
|
1371
1658
|
@property
|
|
1372
1659
|
def Codecs(self):
|
|
1660
|
+
"""This field is used to return the codec of the media file passed in, such as WAV, MP3, AAC, FLAC, AMR, 3GP, M4A, WMA, OGG, and APE.
|
|
1661
|
+
:rtype: str
|
|
1662
|
+
"""
|
|
1373
1663
|
return self._Codecs
|
|
1374
1664
|
|
|
1375
1665
|
@Codecs.setter
|
|
@@ -1378,6 +1668,9 @@ class MediaInfo(AbstractModel):
|
|
|
1378
1668
|
|
|
1379
1669
|
@property
|
|
1380
1670
|
def Duration(self):
|
|
1671
|
+
"""This field is used to return the segment length of the input streaming media file in milliseconds.** It is 15 seconds** by default and is customizable.
|
|
1672
|
+
:rtype: int
|
|
1673
|
+
"""
|
|
1381
1674
|
return self._Duration
|
|
1382
1675
|
|
|
1383
1676
|
@Duration.setter
|
|
@@ -1386,6 +1679,9 @@ class MediaInfo(AbstractModel):
|
|
|
1386
1679
|
|
|
1387
1680
|
@property
|
|
1388
1681
|
def Width(self):
|
|
1682
|
+
"""*This field is in beta test. Stay tuned*
|
|
1683
|
+
:rtype: int
|
|
1684
|
+
"""
|
|
1389
1685
|
return self._Width
|
|
1390
1686
|
|
|
1391
1687
|
@Width.setter
|
|
@@ -1394,6 +1690,9 @@ class MediaInfo(AbstractModel):
|
|
|
1394
1690
|
|
|
1395
1691
|
@property
|
|
1396
1692
|
def Height(self):
|
|
1693
|
+
"""*This field is in beta test. Stay tuned*
|
|
1694
|
+
:rtype: int
|
|
1695
|
+
"""
|
|
1397
1696
|
return self._Height
|
|
1398
1697
|
|
|
1399
1698
|
@Height.setter
|
|
@@ -1402,6 +1701,9 @@ class MediaInfo(AbstractModel):
|
|
|
1402
1701
|
|
|
1403
1702
|
@property
|
|
1404
1703
|
def Thumbnail(self):
|
|
1704
|
+
"""*This field is in beta test. Stay tuned*
|
|
1705
|
+
:rtype: str
|
|
1706
|
+
"""
|
|
1405
1707
|
return self._Thumbnail
|
|
1406
1708
|
|
|
1407
1709
|
@Thumbnail.setter
|
|
@@ -1444,6 +1746,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1444
1746
|
|
|
1445
1747
|
@property
|
|
1446
1748
|
def Label(self):
|
|
1749
|
+
"""Values: `Teenager`, `Gender`
|
|
1750
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1751
|
+
:rtype: str
|
|
1752
|
+
"""
|
|
1447
1753
|
return self._Label
|
|
1448
1754
|
|
|
1449
1755
|
@Label.setter
|
|
@@ -1452,6 +1758,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1452
1758
|
|
|
1453
1759
|
@property
|
|
1454
1760
|
def Tags(self):
|
|
1761
|
+
"""List of recognized category labels
|
|
1762
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1763
|
+
:rtype: list of Tag
|
|
1764
|
+
"""
|
|
1455
1765
|
return self._Tags
|
|
1456
1766
|
|
|
1457
1767
|
@Tags.setter
|
|
@@ -1497,6 +1807,9 @@ class StorageInfo(AbstractModel):
|
|
|
1497
1807
|
|
|
1498
1808
|
@property
|
|
1499
1809
|
def Type(self):
|
|
1810
|
+
"""This field indicates the file access type. Valid values: **URL** (resource link), **COS** (Tencent Cloud COS). It should correspond to the access type passed in and can be used for strict verification and quick identification of the access address. If you don't pass in this parameter, the default value will be `URL`, and the system will automatically determine the access address type.
|
|
1811
|
+
:rtype: str
|
|
1812
|
+
"""
|
|
1500
1813
|
return self._Type
|
|
1501
1814
|
|
|
1502
1815
|
@Type.setter
|
|
@@ -1505,6 +1818,9 @@ class StorageInfo(AbstractModel):
|
|
|
1505
1818
|
|
|
1506
1819
|
@property
|
|
1507
1820
|
def Url(self):
|
|
1821
|
+
"""This field indicates the link address for file access in standard URL format.<br>Note: when `Type` is `URL`, this field will not be empty. You must pass in either this parameter or the `BucketInfo` parameter.
|
|
1822
|
+
:rtype: str
|
|
1823
|
+
"""
|
|
1508
1824
|
return self._Url
|
|
1509
1825
|
|
|
1510
1826
|
@Url.setter
|
|
@@ -1513,6 +1829,9 @@ class StorageInfo(AbstractModel):
|
|
|
1513
1829
|
|
|
1514
1830
|
@property
|
|
1515
1831
|
def BucketInfo(self):
|
|
1832
|
+
"""This field indicates the Tencent Cloud bucket information for file access.<br>Note: when `Type` is `COS`, this field will not be empty. You must pass in either this parameter or the `Url` parameter.
|
|
1833
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.BucketInfo`
|
|
1834
|
+
"""
|
|
1516
1835
|
return self._BucketInfo
|
|
1517
1836
|
|
|
1518
1837
|
@BucketInfo.setter
|
|
@@ -1565,6 +1884,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1565
1884
|
|
|
1566
1885
|
@property
|
|
1567
1886
|
def Name(self):
|
|
1887
|
+
"""The value of this parameter varies by `Label`.
|
|
1888
|
+
When `Label` is `Teenager`, `Name` can be `Teenager`.
|
|
1889
|
+
When `Label` is `Gender`, `Name` can be `Male` and `Female`.
|
|
1890
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
1891
|
+
:rtype: str
|
|
1892
|
+
"""
|
|
1568
1893
|
return self._Name
|
|
1569
1894
|
|
|
1570
1895
|
@Name.setter
|
|
@@ -1573,6 +1898,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1573
1898
|
|
|
1574
1899
|
@property
|
|
1575
1900
|
def Score(self):
|
|
1901
|
+
"""Confidence score. Value: 1 to 100.
|
|
1902
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
1903
|
+
:rtype: int
|
|
1904
|
+
"""
|
|
1576
1905
|
return self._Score
|
|
1577
1906
|
|
|
1578
1907
|
@Score.setter
|
|
@@ -1581,6 +1910,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1581
1910
|
|
|
1582
1911
|
@property
|
|
1583
1912
|
def StartTime(self):
|
|
1913
|
+
"""Start time for the recognition (ms)
|
|
1914
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1915
|
+
:rtype: float
|
|
1916
|
+
"""
|
|
1584
1917
|
return self._StartTime
|
|
1585
1918
|
|
|
1586
1919
|
@StartTime.setter
|
|
@@ -1589,6 +1922,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1589
1922
|
|
|
1590
1923
|
@property
|
|
1591
1924
|
def EndTime(self):
|
|
1925
|
+
"""End time for the recognition (ms)
|
|
1926
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1927
|
+
:rtype: float
|
|
1928
|
+
"""
|
|
1592
1929
|
return self._EndTime
|
|
1593
1930
|
|
|
1594
1931
|
@EndTime.setter
|
|
@@ -1664,6 +2001,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1664
2001
|
|
|
1665
2002
|
@property
|
|
1666
2003
|
def DataId(self):
|
|
2004
|
+
"""This field is used to return the ID of the audio moderation task data for subsequent query and management of moderation tasks.
|
|
2005
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2006
|
+
:rtype: str
|
|
2007
|
+
"""
|
|
1667
2008
|
return self._DataId
|
|
1668
2009
|
|
|
1669
2010
|
@DataId.setter
|
|
@@ -1672,6 +2013,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1672
2013
|
|
|
1673
2014
|
@property
|
|
1674
2015
|
def TaskId(self):
|
|
2016
|
+
"""This field is used to return the ID of an audio moderation task for identification, query, and management of moderation tasks.
|
|
2017
|
+
:rtype: str
|
|
2018
|
+
"""
|
|
1675
2019
|
return self._TaskId
|
|
1676
2020
|
|
|
1677
2021
|
@TaskId.setter
|
|
@@ -1680,6 +2024,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1680
2024
|
|
|
1681
2025
|
@property
|
|
1682
2026
|
def Status(self):
|
|
2027
|
+
"""This field is used to return the task status of the queried content.
|
|
2028
|
+
<br>Valid values: **FINISH** (task completed), **PENDING** (task pending), **RUNNING** (task in progress), **ERROR** (task error), **CANCELLED** (task canceled).
|
|
2029
|
+
:rtype: str
|
|
2030
|
+
"""
|
|
1683
2031
|
return self._Status
|
|
1684
2032
|
|
|
1685
2033
|
@Status.setter
|
|
@@ -1688,6 +2036,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1688
2036
|
|
|
1689
2037
|
@property
|
|
1690
2038
|
def Name(self):
|
|
2039
|
+
"""This field is used to return the name of an audio moderation task for subsequent query and management of moderation tasks.
|
|
2040
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2041
|
+
:rtype: str
|
|
2042
|
+
"""
|
|
1691
2043
|
return self._Name
|
|
1692
2044
|
|
|
1693
2045
|
@Name.setter
|
|
@@ -1696,6 +2048,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1696
2048
|
|
|
1697
2049
|
@property
|
|
1698
2050
|
def BizType(self):
|
|
2051
|
+
"""This field is used to return the `BizType` parameter passed in when the audio moderation API is called for easier data identification and management.
|
|
2052
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2053
|
+
:rtype: str
|
|
2054
|
+
"""
|
|
1699
2055
|
return self._BizType
|
|
1700
2056
|
|
|
1701
2057
|
@BizType.setter
|
|
@@ -1704,6 +2060,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1704
2060
|
|
|
1705
2061
|
@property
|
|
1706
2062
|
def Type(self):
|
|
2063
|
+
"""This field is used to return the audio moderation type passed in when the audio moderation API is called. Valid values: **AUDIO** (audio on demand), **LIVE_AUDIO** (audio live streaming). Default value: AUDIO.
|
|
2064
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2065
|
+
:rtype: str
|
|
2066
|
+
"""
|
|
1707
2067
|
return self._Type
|
|
1708
2068
|
|
|
1709
2069
|
@Type.setter
|
|
@@ -1712,6 +2072,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1712
2072
|
|
|
1713
2073
|
@property
|
|
1714
2074
|
def Suggestion(self):
|
|
2075
|
+
"""This field is used to return the operation suggestion for the maliciousness tag. When you get the determination result, the returned value indicates the operation suggested by the system. We recommend you handle different types of violations and suggestions according to your business needs. <br>Returned values: **Block**, **Review**, **Pass**.
|
|
2076
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2077
|
+
:rtype: str
|
|
2078
|
+
"""
|
|
1715
2079
|
return self._Suggestion
|
|
1716
2080
|
|
|
1717
2081
|
@Suggestion.setter
|
|
@@ -1720,6 +2084,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1720
2084
|
|
|
1721
2085
|
@property
|
|
1722
2086
|
def MediaInfo(self):
|
|
2087
|
+
"""Input information
|
|
2088
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2089
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.MediaInfo`
|
|
2090
|
+
"""
|
|
1723
2091
|
return self._MediaInfo
|
|
1724
2092
|
|
|
1725
2093
|
@MediaInfo.setter
|
|
@@ -1728,6 +2096,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1728
2096
|
|
|
1729
2097
|
@property
|
|
1730
2098
|
def Labels(self):
|
|
2099
|
+
"""This field is used to return the maliciousness tag in the detection result.<br>Returned values: **Normal**: normal; **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content.
|
|
2100
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2101
|
+
:rtype: list of TaskLabel
|
|
2102
|
+
"""
|
|
1731
2103
|
return self._Labels
|
|
1732
2104
|
|
|
1733
2105
|
@Labels.setter
|
|
@@ -1736,6 +2108,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1736
2108
|
|
|
1737
2109
|
@property
|
|
1738
2110
|
def CreatedAt(self):
|
|
2111
|
+
"""This field is used to return the creation time of the queried task in ISO 8601 format.
|
|
2112
|
+
:rtype: str
|
|
2113
|
+
"""
|
|
1739
2114
|
return self._CreatedAt
|
|
1740
2115
|
|
|
1741
2116
|
@CreatedAt.setter
|
|
@@ -1744,6 +2119,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1744
2119
|
|
|
1745
2120
|
@property
|
|
1746
2121
|
def UpdatedAt(self):
|
|
2122
|
+
"""This field is used to return the last update time of the queried task in ISO 8601 format.
|
|
2123
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2124
|
+
:rtype: str
|
|
2125
|
+
"""
|
|
1747
2126
|
return self._UpdatedAt
|
|
1748
2127
|
|
|
1749
2128
|
@UpdatedAt.setter
|
|
@@ -1803,6 +2182,9 @@ class TaskFilter(AbstractModel):
|
|
|
1803
2182
|
|
|
1804
2183
|
@property
|
|
1805
2184
|
def BizType(self):
|
|
2185
|
+
"""This field is used to pass in the business type of a task as a filter. `Biztype` is the specific number of the policy, which is used for API scheduling and can be configured in the CMS console. Different `Biztype` values are associated with different business scenarios and moderation policies, so you need to verify the `Biztype` before calling this API. `Biztype` can contain 3–32 digits, letters, and underscores.<br>Note: when this parameter is not passed in, tasks will not be filtered by business type by default.
|
|
2186
|
+
:rtype: str
|
|
2187
|
+
"""
|
|
1806
2188
|
return self._BizType
|
|
1807
2189
|
|
|
1808
2190
|
@BizType.setter
|
|
@@ -1811,6 +2193,9 @@ class TaskFilter(AbstractModel):
|
|
|
1811
2193
|
|
|
1812
2194
|
@property
|
|
1813
2195
|
def Type(self):
|
|
2196
|
+
"""This field is used to pass in the type of an audio moderation task as a filter. Valid values: **VIDEO** (video on demand moderation), **AUDIO** (audio on demand moderation), **LIVE_VIDEO** (video live streaming moderation), **LIVE_AUDIO** (audio live streaming moderation).<br>Note: when this parameter is not passed in, tasks will not be filtered by task type by default.
|
|
2197
|
+
:rtype: str
|
|
2198
|
+
"""
|
|
1814
2199
|
return self._Type
|
|
1815
2200
|
|
|
1816
2201
|
@Type.setter
|
|
@@ -1819,6 +2204,9 @@ class TaskFilter(AbstractModel):
|
|
|
1819
2204
|
|
|
1820
2205
|
@property
|
|
1821
2206
|
def Suggestion(self):
|
|
2207
|
+
"""This field is used to pass in the operation suggestion of an audio moderation task as a filter. Valid values: **Block**, **Review**, **Pass**.<br>Note: when this parameter is not passed in, tasks will not be filtered by operation suggestion by default.
|
|
2208
|
+
:rtype: str
|
|
2209
|
+
"""
|
|
1822
2210
|
return self._Suggestion
|
|
1823
2211
|
|
|
1824
2212
|
@Suggestion.setter
|
|
@@ -1827,6 +2215,9 @@ class TaskFilter(AbstractModel):
|
|
|
1827
2215
|
|
|
1828
2216
|
@property
|
|
1829
2217
|
def TaskStatus(self):
|
|
2218
|
+
"""This field is used to pass in the status of a moderation task as a filter. Valid values: **FINISH** (task completed), **PENDING** (task pending), **RUNNING** (task in progress), **ERROR** (task error), **CANCELLED** (task canceled).<br>Note: when this parameter is not passed in, tasks will not be filtered by task status by default.
|
|
2219
|
+
:rtype: str
|
|
2220
|
+
"""
|
|
1830
2221
|
return self._TaskStatus
|
|
1831
2222
|
|
|
1832
2223
|
@TaskStatus.setter
|
|
@@ -1869,6 +2260,9 @@ class TaskInput(AbstractModel):
|
|
|
1869
2260
|
|
|
1870
2261
|
@property
|
|
1871
2262
|
def DataId(self):
|
|
2263
|
+
"""This field is optional and indicates the data ID assigned by you to the object to be detected for easier file identification and management.<br>It **can contain up to 64 letters, digits, and special symbols (_-@#)**.
|
|
2264
|
+
:rtype: str
|
|
2265
|
+
"""
|
|
1872
2266
|
return self._DataId
|
|
1873
2267
|
|
|
1874
2268
|
@DataId.setter
|
|
@@ -1877,6 +2271,9 @@ class TaskInput(AbstractModel):
|
|
|
1877
2271
|
|
|
1878
2272
|
@property
|
|
1879
2273
|
def Name(self):
|
|
2274
|
+
"""This field is optional and indicates the name of an audio moderation task for subsequent query and management of moderation tasks.
|
|
2275
|
+
:rtype: str
|
|
2276
|
+
"""
|
|
1880
2277
|
return self._Name
|
|
1881
2278
|
|
|
1882
2279
|
@Name.setter
|
|
@@ -1885,6 +2282,9 @@ class TaskInput(AbstractModel):
|
|
|
1885
2282
|
|
|
1886
2283
|
@property
|
|
1887
2284
|
def Input(self):
|
|
2285
|
+
"""This field is required and indicates the access parameter of the moderated file, which is used to get the moderated media file and contains the access type and address.
|
|
2286
|
+
:rtype: :class:`tencentcloud.ams.v20201229.models.StorageInfo`
|
|
2287
|
+
"""
|
|
1888
2288
|
return self._Input
|
|
1889
2289
|
|
|
1890
2290
|
@Input.setter
|
|
@@ -1935,6 +2335,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1935
2335
|
|
|
1936
2336
|
@property
|
|
1937
2337
|
def Label(self):
|
|
2338
|
+
"""This field is used to return the maliciousness tag in the detection result.<br>Returned values: **Normal**: normal; **Porn**: pornographic; **Abuse**: abusive; **Ad**: advertising; **Custom**: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content.
|
|
2339
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2340
|
+
:rtype: str
|
|
2341
|
+
"""
|
|
1938
2342
|
return self._Label
|
|
1939
2343
|
|
|
1940
2344
|
@Label.setter
|
|
@@ -1943,6 +2347,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1943
2347
|
|
|
1944
2348
|
@property
|
|
1945
2349
|
def Suggestion(self):
|
|
2350
|
+
"""This field is used to return the operation suggestion for the current tag. When you get the determination result, the returned value indicates the operation suggested by the system. We recommend you handle different types of violations and suggestions according to your business needs. <br>Returned values: **Block**, **Review**, **Pass**.
|
|
2351
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2352
|
+
:rtype: str
|
|
2353
|
+
"""
|
|
1946
2354
|
return self._Suggestion
|
|
1947
2355
|
|
|
1948
2356
|
@Suggestion.setter
|
|
@@ -1951,6 +2359,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1951
2359
|
|
|
1952
2360
|
@property
|
|
1953
2361
|
def Score(self):
|
|
2362
|
+
"""This field is used to return the confidence under the current tag (Label). Value range: 0 (**the lowest confidence**)–100 (**the highest confidence**), where a higher value indicates that the text is more likely to fall into the category of the current returned tag; for example, *Porn 99* indicates that the text is highly likely to be pornographic, while *Porn 0* indicates that the text is not pornographic.
|
|
2363
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2364
|
+
:rtype: int
|
|
2365
|
+
"""
|
|
1954
2366
|
return self._Score
|
|
1955
2367
|
|
|
1956
2368
|
@Score.setter
|
|
@@ -1959,6 +2371,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1959
2371
|
|
|
1960
2372
|
@property
|
|
1961
2373
|
def SubLabel(self):
|
|
2374
|
+
"""This field is used to return a subtag under the current tag (Lable).
|
|
2375
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2376
|
+
:rtype: str
|
|
2377
|
+
"""
|
|
1962
2378
|
return self._SubLabel
|
|
1963
2379
|
|
|
1964
2380
|
@SubLabel.setter
|
|
@@ -2008,6 +2424,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2008
2424
|
|
|
2009
2425
|
@property
|
|
2010
2426
|
def DataId(self):
|
|
2427
|
+
"""This field is used to return the `DataId` passed in within the `TaskInput` structure when an audio moderation task is created. It is used to identify the specific moderation task.
|
|
2428
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2429
|
+
:rtype: str
|
|
2430
|
+
"""
|
|
2011
2431
|
return self._DataId
|
|
2012
2432
|
|
|
2013
2433
|
@DataId.setter
|
|
@@ -2016,6 +2436,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2016
2436
|
|
|
2017
2437
|
@property
|
|
2018
2438
|
def TaskId(self):
|
|
2439
|
+
"""This field is used to return the ID of an audio moderation task for identification, query, and management of moderation tasks.
|
|
2440
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2441
|
+
:rtype: str
|
|
2442
|
+
"""
|
|
2019
2443
|
return self._TaskId
|
|
2020
2444
|
|
|
2021
2445
|
@TaskId.setter
|
|
@@ -2024,6 +2448,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2024
2448
|
|
|
2025
2449
|
@property
|
|
2026
2450
|
def Code(self):
|
|
2451
|
+
"""This field is used to return the task creation status. If `OK` is returned, the task has been created successfully; if another value is returned, refer to the common error codes.
|
|
2452
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2453
|
+
:rtype: str
|
|
2454
|
+
"""
|
|
2027
2455
|
return self._Code
|
|
2028
2456
|
|
|
2029
2457
|
@Code.setter
|
|
@@ -2032,6 +2460,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2032
2460
|
|
|
2033
2461
|
@property
|
|
2034
2462
|
def Message(self):
|
|
2463
|
+
"""**This field will take effect only when the returned value of `Code` is an error code**. It is used to return the error message.
|
|
2464
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2465
|
+
:rtype: str
|
|
2466
|
+
"""
|
|
2035
2467
|
return self._Message
|
|
2036
2468
|
|
|
2037
2469
|
@Message.setter
|