tencentcloud-sdk-python 3.0.1197__py2.py3-none-any.whl → 3.0.1199__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +10 -12
- tencentcloud/ams/v20201229/models.py +398 -3
- tencentcloud/bi/v20220105/models.py +1 -1
- tencentcloud/cat/v20180409/models.py +12 -0
- tencentcloud/cdb/v20170320/models.py +45 -3
- tencentcloud/cdn/v20180606/models.py +141 -0
- tencentcloud/cfg/v20210820/cfg_client.py +92 -0
- tencentcloud/cfg/v20210820/models.py +1384 -49
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +354 -0
- tencentcloud/cynosdb/v20190107/models.py +121 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +1 -0
- tencentcloud/ecm/v20190719/models.py +24 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +469 -108
- tencentcloud/essbasic/v20210526/models.py +12 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +12 -0
- tencentcloud/hunyuan/v20230901/models.py +198 -13
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +82 -0
- tencentcloud/lke/v20231130/models.py +7 -7
- tencentcloud/ocr/v20181119/models.py +12 -0
- tencentcloud/tke/v20180525/models.py +274 -0
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/vclm/v20240523/errorcodes.py +18 -0
- tencentcloud/vclm/v20240523/models.py +212 -0
- tencentcloud/vclm/v20240523/vclm_client.py +48 -0
- tencentcloud/vm/v20201229/models.py +253 -4
- tencentcloud/vm/v20201229/vm_client.py +1 -3
- tencentcloud/vm/v20210922/models.py +5 -6
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1197.dist-info → tencentcloud_sdk_python-3.0.1199.dist-info}/top_level.txt +0 -0
@@ -41,7 +41,7 @@ class AudioResult(AbstractModel):
|
|
41
41
|
:param _Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
42
42
|
注意:此字段可能返回 null,表示取不到有效值。
|
43
43
|
:type Text: str
|
44
|
-
:param _Url:
|
44
|
+
:param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
45
45
|
注意:此字段可能返回 null,表示取不到有效值。
|
46
46
|
:type Url: str
|
47
47
|
:param _Duration: 该字段用于返回音频文件的时长,单位为毫秒。
|
@@ -944,10 +944,10 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
944
944
|
:param _UpdatedAt: 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
|
945
945
|
注意:此字段可能返回 null,表示取不到有效值。
|
946
946
|
:type UpdatedAt: str
|
947
|
-
:param _ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments
|
947
|
+
:param _ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
|
948
948
|
注意:此字段可能返回 null,表示取不到有效值。
|
949
949
|
:type ImageSegments: list of ImageSegments
|
950
|
-
:param _AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments
|
950
|
+
:param _AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。
|
951
951
|
注意:此字段可能返回 null,表示取不到有效值。
|
952
952
|
:type AudioSegments: list of AudioSegments
|
953
953
|
:param _ErrorType: 当任务状态为Error时,返回对应错误的类型,取值:**DECODE_ERROR**: 解码失败。(输入资源中可能包含无法解码的视频)
|
@@ -961,6 +961,18 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
961
961
|
:param _Label: 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
|
962
962
|
注意:此字段可能返回 null,表示取不到有效值。
|
963
963
|
:type Label: str
|
964
|
+
:param _SegmentCosUrlList: 该字段用于返回检测结果明细数据相关的cos url
|
965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
966
|
+
:type SegmentCosUrlList: :class:`tencentcloud.vm.v20201229.models.SegmentCosUrlList`
|
967
|
+
:param _AudioText: 该字段用于返回音频审核的ASR识别结果
|
968
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
969
|
+
:type AudioText: str
|
970
|
+
:param _TryInSeconds: 在秒后重试
|
971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
972
|
+
:type TryInSeconds: int
|
973
|
+
:param _Asrs: 该字段用于返回音频文件识别出的对应文本内容。
|
974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
975
|
+
:type Asrs: list of RcbAsr
|
964
976
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
965
977
|
:type RequestId: str
|
966
978
|
"""
|
@@ -981,6 +993,10 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
981
993
|
self._ErrorType = None
|
982
994
|
self._ErrorDescription = None
|
983
995
|
self._Label = None
|
996
|
+
self._SegmentCosUrlList = None
|
997
|
+
self._AudioText = None
|
998
|
+
self._TryInSeconds = None
|
999
|
+
self._Asrs = None
|
984
1000
|
self._RequestId = None
|
985
1001
|
|
986
1002
|
@property
|
@@ -1119,6 +1135,38 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1119
1135
|
def Label(self, Label):
|
1120
1136
|
self._Label = Label
|
1121
1137
|
|
1138
|
+
@property
|
1139
|
+
def SegmentCosUrlList(self):
|
1140
|
+
return self._SegmentCosUrlList
|
1141
|
+
|
1142
|
+
@SegmentCosUrlList.setter
|
1143
|
+
def SegmentCosUrlList(self, SegmentCosUrlList):
|
1144
|
+
self._SegmentCosUrlList = SegmentCosUrlList
|
1145
|
+
|
1146
|
+
@property
|
1147
|
+
def AudioText(self):
|
1148
|
+
return self._AudioText
|
1149
|
+
|
1150
|
+
@AudioText.setter
|
1151
|
+
def AudioText(self, AudioText):
|
1152
|
+
self._AudioText = AudioText
|
1153
|
+
|
1154
|
+
@property
|
1155
|
+
def TryInSeconds(self):
|
1156
|
+
return self._TryInSeconds
|
1157
|
+
|
1158
|
+
@TryInSeconds.setter
|
1159
|
+
def TryInSeconds(self, TryInSeconds):
|
1160
|
+
self._TryInSeconds = TryInSeconds
|
1161
|
+
|
1162
|
+
@property
|
1163
|
+
def Asrs(self):
|
1164
|
+
return self._Asrs
|
1165
|
+
|
1166
|
+
@Asrs.setter
|
1167
|
+
def Asrs(self, Asrs):
|
1168
|
+
self._Asrs = Asrs
|
1169
|
+
|
1122
1170
|
@property
|
1123
1171
|
def RequestId(self):
|
1124
1172
|
return self._RequestId
|
@@ -1165,6 +1213,17 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
1165
1213
|
self._ErrorType = params.get("ErrorType")
|
1166
1214
|
self._ErrorDescription = params.get("ErrorDescription")
|
1167
1215
|
self._Label = params.get("Label")
|
1216
|
+
if params.get("SegmentCosUrlList") is not None:
|
1217
|
+
self._SegmentCosUrlList = SegmentCosUrlList()
|
1218
|
+
self._SegmentCosUrlList._deserialize(params.get("SegmentCosUrlList"))
|
1219
|
+
self._AudioText = params.get("AudioText")
|
1220
|
+
self._TryInSeconds = params.get("TryInSeconds")
|
1221
|
+
if params.get("Asrs") is not None:
|
1222
|
+
self._Asrs = []
|
1223
|
+
for item in params.get("Asrs"):
|
1224
|
+
obj = RcbAsr()
|
1225
|
+
obj._deserialize(item)
|
1226
|
+
self._Asrs.append(obj)
|
1168
1227
|
self._RequestId = params.get("RequestId")
|
1169
1228
|
|
1170
1229
|
|
@@ -1343,7 +1402,7 @@ class ImageResult(AbstractModel):
|
|
1343
1402
|
:param _Results: 该字段用于返回图像审核结果的子结果,详细内容敬请参考ImageResultResult数据结构的描述。
|
1344
1403
|
注意:此字段可能返回 null,表示取不到有效值。
|
1345
1404
|
:type Results: list of ImageResultResult
|
1346
|
-
:param _Url: 该字段用于返回审核结果的访问链接(URL
|
1405
|
+
:param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
1347
1406
|
注意:此字段可能返回 null,表示取不到有效值。
|
1348
1407
|
:type Url: str
|
1349
1408
|
:param _Extra: 该字段用于返回输入参数中的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理。
|
@@ -1352,6 +1411,9 @@ class ImageResult(AbstractModel):
|
|
1352
1411
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
1353
1412
|
注意:此字段可能返回 null,表示取不到有效值。
|
1354
1413
|
:type SubLabel: str
|
1414
|
+
:param _RecognitionResults: 该字段用于返回仅识别图片元素的模型结果;包括:场景模型命中的标签、置信度和位置信息
|
1415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1416
|
+
:type RecognitionResults: list of RecognitionResult
|
1355
1417
|
"""
|
1356
1418
|
self._HitFlag = None
|
1357
1419
|
self._Label = None
|
@@ -1361,6 +1423,7 @@ class ImageResult(AbstractModel):
|
|
1361
1423
|
self._Url = None
|
1362
1424
|
self._Extra = None
|
1363
1425
|
self._SubLabel = None
|
1426
|
+
self._RecognitionResults = None
|
1364
1427
|
|
1365
1428
|
@property
|
1366
1429
|
def HitFlag(self):
|
@@ -1426,6 +1489,14 @@ class ImageResult(AbstractModel):
|
|
1426
1489
|
def SubLabel(self, SubLabel):
|
1427
1490
|
self._SubLabel = SubLabel
|
1428
1491
|
|
1492
|
+
@property
|
1493
|
+
def RecognitionResults(self):
|
1494
|
+
return self._RecognitionResults
|
1495
|
+
|
1496
|
+
@RecognitionResults.setter
|
1497
|
+
def RecognitionResults(self, RecognitionResults):
|
1498
|
+
self._RecognitionResults = RecognitionResults
|
1499
|
+
|
1429
1500
|
|
1430
1501
|
def _deserialize(self, params):
|
1431
1502
|
self._HitFlag = params.get("HitFlag")
|
@@ -1441,6 +1512,12 @@ class ImageResult(AbstractModel):
|
|
1441
1512
|
self._Url = params.get("Url")
|
1442
1513
|
self._Extra = params.get("Extra")
|
1443
1514
|
self._SubLabel = params.get("SubLabel")
|
1515
|
+
if params.get("RecognitionResults") is not None:
|
1516
|
+
self._RecognitionResults = []
|
1517
|
+
for item in params.get("RecognitionResults"):
|
1518
|
+
obj = RecognitionResult()
|
1519
|
+
obj._deserialize(item)
|
1520
|
+
self._RecognitionResults.append(obj)
|
1444
1521
|
memeber_set = set(params.keys())
|
1445
1522
|
for name, value in vars(self).items():
|
1446
1523
|
property_name = name[1:]
|
@@ -1633,6 +1710,9 @@ class ImageResultsResultDetail(AbstractModel):
|
|
1633
1710
|
:param _SubLabelCode: 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
1634
1711
|
注意:此字段可能返回 null,表示取不到有效值。
|
1635
1712
|
:type SubLabelCode: str
|
1713
|
+
:param _SubLabel: 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
1714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1715
|
+
:type SubLabel: str
|
1636
1716
|
"""
|
1637
1717
|
self._Name = None
|
1638
1718
|
self._Text = None
|
@@ -1644,6 +1724,7 @@ class ImageResultsResultDetail(AbstractModel):
|
|
1644
1724
|
self._Suggestion = None
|
1645
1725
|
self._Score = None
|
1646
1726
|
self._SubLabelCode = None
|
1727
|
+
self._SubLabel = None
|
1647
1728
|
|
1648
1729
|
@property
|
1649
1730
|
def Name(self):
|
@@ -1725,6 +1806,14 @@ class ImageResultsResultDetail(AbstractModel):
|
|
1725
1806
|
def SubLabelCode(self, SubLabelCode):
|
1726
1807
|
self._SubLabelCode = SubLabelCode
|
1727
1808
|
|
1809
|
+
@property
|
1810
|
+
def SubLabel(self):
|
1811
|
+
return self._SubLabel
|
1812
|
+
|
1813
|
+
@SubLabel.setter
|
1814
|
+
def SubLabel(self, SubLabel):
|
1815
|
+
self._SubLabel = SubLabel
|
1816
|
+
|
1728
1817
|
|
1729
1818
|
def _deserialize(self, params):
|
1730
1819
|
self._Name = params.get("Name")
|
@@ -1739,6 +1828,7 @@ class ImageResultsResultDetail(AbstractModel):
|
|
1739
1828
|
self._Suggestion = params.get("Suggestion")
|
1740
1829
|
self._Score = params.get("Score")
|
1741
1830
|
self._SubLabelCode = params.get("SubLabelCode")
|
1831
|
+
self._SubLabel = params.get("SubLabel")
|
1742
1832
|
memeber_set = set(params.keys())
|
1743
1833
|
for name, value in vars(self).items():
|
1744
1834
|
property_name = name[1:]
|
@@ -1846,9 +1936,17 @@ class ImageSegments(AbstractModel):
|
|
1846
1936
|
:type OffsetTime: str
|
1847
1937
|
:param _Result: 该字段用于返回视频片段的具体截帧审核结果,详细内容敬请参考ImageResult数据结构的描述。
|
1848
1938
|
:type Result: :class:`tencentcloud.vm.v20201229.models.ImageResult`
|
1939
|
+
:param _CreatedAt: 该字段用于返回视频片段的具体截帧审核时间。
|
1940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1941
|
+
:type CreatedAt: str
|
1942
|
+
:param _OffsetusTime: 该字段用于返回视频片段的截帧时间,单位为豪秒。
|
1943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1944
|
+
:type OffsetusTime: str
|
1849
1945
|
"""
|
1850
1946
|
self._OffsetTime = None
|
1851
1947
|
self._Result = None
|
1948
|
+
self._CreatedAt = None
|
1949
|
+
self._OffsetusTime = None
|
1852
1950
|
|
1853
1951
|
@property
|
1854
1952
|
def OffsetTime(self):
|
@@ -1866,12 +1964,30 @@ class ImageSegments(AbstractModel):
|
|
1866
1964
|
def Result(self, Result):
|
1867
1965
|
self._Result = Result
|
1868
1966
|
|
1967
|
+
@property
|
1968
|
+
def CreatedAt(self):
|
1969
|
+
return self._CreatedAt
|
1970
|
+
|
1971
|
+
@CreatedAt.setter
|
1972
|
+
def CreatedAt(self, CreatedAt):
|
1973
|
+
self._CreatedAt = CreatedAt
|
1974
|
+
|
1975
|
+
@property
|
1976
|
+
def OffsetusTime(self):
|
1977
|
+
return self._OffsetusTime
|
1978
|
+
|
1979
|
+
@OffsetusTime.setter
|
1980
|
+
def OffsetusTime(self, OffsetusTime):
|
1981
|
+
self._OffsetusTime = OffsetusTime
|
1982
|
+
|
1869
1983
|
|
1870
1984
|
def _deserialize(self, params):
|
1871
1985
|
self._OffsetTime = params.get("OffsetTime")
|
1872
1986
|
if params.get("Result") is not None:
|
1873
1987
|
self._Result = ImageResult()
|
1874
1988
|
self._Result._deserialize(params.get("Result"))
|
1989
|
+
self._CreatedAt = params.get("CreatedAt")
|
1990
|
+
self._OffsetusTime = params.get("OffsetusTime")
|
1875
1991
|
memeber_set = set(params.keys())
|
1876
1992
|
for name, value in vars(self).items():
|
1877
1993
|
property_name = name[1:]
|
@@ -1975,6 +2091,53 @@ class MediaInfo(AbstractModel):
|
|
1975
2091
|
|
1976
2092
|
|
1977
2093
|
|
2094
|
+
class RcbAsr(AbstractModel):
|
2095
|
+
"""审核切片asr文本信息
|
2096
|
+
|
2097
|
+
"""
|
2098
|
+
|
2099
|
+
def __init__(self):
|
2100
|
+
r"""
|
2101
|
+
:param _Text: 该字段用于返回音频文件识别出的对应文本内容,最大支持前1000个字符。
|
2102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2103
|
+
:type Text: str
|
2104
|
+
:param _CreatedAt: 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
|
2105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2106
|
+
:type CreatedAt: str
|
2107
|
+
"""
|
2108
|
+
self._Text = None
|
2109
|
+
self._CreatedAt = None
|
2110
|
+
|
2111
|
+
@property
|
2112
|
+
def Text(self):
|
2113
|
+
return self._Text
|
2114
|
+
|
2115
|
+
@Text.setter
|
2116
|
+
def Text(self, Text):
|
2117
|
+
self._Text = Text
|
2118
|
+
|
2119
|
+
@property
|
2120
|
+
def CreatedAt(self):
|
2121
|
+
return self._CreatedAt
|
2122
|
+
|
2123
|
+
@CreatedAt.setter
|
2124
|
+
def CreatedAt(self, CreatedAt):
|
2125
|
+
self._CreatedAt = CreatedAt
|
2126
|
+
|
2127
|
+
|
2128
|
+
def _deserialize(self, params):
|
2129
|
+
self._Text = params.get("Text")
|
2130
|
+
self._CreatedAt = params.get("CreatedAt")
|
2131
|
+
memeber_set = set(params.keys())
|
2132
|
+
for name, value in vars(self).items():
|
2133
|
+
property_name = name[1:]
|
2134
|
+
if property_name in memeber_set:
|
2135
|
+
memeber_set.remove(property_name)
|
2136
|
+
if len(memeber_set) > 0:
|
2137
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2138
|
+
|
2139
|
+
|
2140
|
+
|
1978
2141
|
class RecognitionResult(AbstractModel):
|
1979
2142
|
"""识别类标签结果信息
|
1980
2143
|
|
@@ -2027,6 +2190,92 @@ class RecognitionResult(AbstractModel):
|
|
2027
2190
|
|
2028
2191
|
|
2029
2192
|
|
2193
|
+
class SegmentCosUrlList(AbstractModel):
|
2194
|
+
"""明细数据相关的cos url
|
2195
|
+
|
2196
|
+
"""
|
2197
|
+
|
2198
|
+
def __init__(self):
|
2199
|
+
r"""
|
2200
|
+
:param _ImageAllUrl: 全量图片片段的cos url
|
2201
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2202
|
+
:type ImageAllUrl: str
|
2203
|
+
:param _AudioAllUrl: 全量音频片段的cos url
|
2204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2205
|
+
:type AudioAllUrl: str
|
2206
|
+
:param _ImageBlockUrl: 违规图片片段的cos url
|
2207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2208
|
+
:type ImageBlockUrl: str
|
2209
|
+
:param _AudioBlockUrl: 违规音频片段的cos url
|
2210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2211
|
+
:type AudioBlockUrl: str
|
2212
|
+
:param _AsrUrl: 全量音频识别文本的cos url
|
2213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2214
|
+
:type AsrUrl: str
|
2215
|
+
"""
|
2216
|
+
self._ImageAllUrl = None
|
2217
|
+
self._AudioAllUrl = None
|
2218
|
+
self._ImageBlockUrl = None
|
2219
|
+
self._AudioBlockUrl = None
|
2220
|
+
self._AsrUrl = None
|
2221
|
+
|
2222
|
+
@property
|
2223
|
+
def ImageAllUrl(self):
|
2224
|
+
return self._ImageAllUrl
|
2225
|
+
|
2226
|
+
@ImageAllUrl.setter
|
2227
|
+
def ImageAllUrl(self, ImageAllUrl):
|
2228
|
+
self._ImageAllUrl = ImageAllUrl
|
2229
|
+
|
2230
|
+
@property
|
2231
|
+
def AudioAllUrl(self):
|
2232
|
+
return self._AudioAllUrl
|
2233
|
+
|
2234
|
+
@AudioAllUrl.setter
|
2235
|
+
def AudioAllUrl(self, AudioAllUrl):
|
2236
|
+
self._AudioAllUrl = AudioAllUrl
|
2237
|
+
|
2238
|
+
@property
|
2239
|
+
def ImageBlockUrl(self):
|
2240
|
+
return self._ImageBlockUrl
|
2241
|
+
|
2242
|
+
@ImageBlockUrl.setter
|
2243
|
+
def ImageBlockUrl(self, ImageBlockUrl):
|
2244
|
+
self._ImageBlockUrl = ImageBlockUrl
|
2245
|
+
|
2246
|
+
@property
|
2247
|
+
def AudioBlockUrl(self):
|
2248
|
+
return self._AudioBlockUrl
|
2249
|
+
|
2250
|
+
@AudioBlockUrl.setter
|
2251
|
+
def AudioBlockUrl(self, AudioBlockUrl):
|
2252
|
+
self._AudioBlockUrl = AudioBlockUrl
|
2253
|
+
|
2254
|
+
@property
|
2255
|
+
def AsrUrl(self):
|
2256
|
+
return self._AsrUrl
|
2257
|
+
|
2258
|
+
@AsrUrl.setter
|
2259
|
+
def AsrUrl(self, AsrUrl):
|
2260
|
+
self._AsrUrl = AsrUrl
|
2261
|
+
|
2262
|
+
|
2263
|
+
def _deserialize(self, params):
|
2264
|
+
self._ImageAllUrl = params.get("ImageAllUrl")
|
2265
|
+
self._AudioAllUrl = params.get("AudioAllUrl")
|
2266
|
+
self._ImageBlockUrl = params.get("ImageBlockUrl")
|
2267
|
+
self._AudioBlockUrl = params.get("AudioBlockUrl")
|
2268
|
+
self._AsrUrl = params.get("AsrUrl")
|
2269
|
+
memeber_set = set(params.keys())
|
2270
|
+
for name, value in vars(self).items():
|
2271
|
+
property_name = name[1:]
|
2272
|
+
if property_name in memeber_set:
|
2273
|
+
memeber_set.remove(property_name)
|
2274
|
+
if len(memeber_set) > 0:
|
2275
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2276
|
+
|
2277
|
+
|
2278
|
+
|
2030
2279
|
class StorageInfo(AbstractModel):
|
2031
2280
|
"""数据存储信息
|
2032
2281
|
|
@@ -112,9 +112,7 @@ class VmClient(AbstractClient):
|
|
112
112
|
|
113
113
|
|
114
114
|
def DescribeTaskDetail(self, request):
|
115
|
-
"""通过查看任务详情 DescribeTaskDetail
|
116
|
-
|
117
|
-
默认接口请求频率限制:**200次/秒**。
|
115
|
+
"""通过查看任务详情 DescribeTaskDetail 接口,可主动轮询获取检测结果详情。
|
118
116
|
|
119
117
|
:param request: Request instance for DescribeTaskDetail.
|
120
118
|
:type request: :class:`tencentcloud.vm.v20201229.models.DescribeTaskDetailRequest`
|
@@ -41,7 +41,7 @@ class AudioResult(AbstractModel):
|
|
41
41
|
:param _Text: 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
|
42
42
|
注意:此字段可能返回 null,表示取不到有效值。
|
43
43
|
:type Text: str
|
44
|
-
:param _Url:
|
44
|
+
:param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
45
45
|
注意:此字段可能返回 null,表示取不到有效值。
|
46
46
|
:type Url: str
|
47
47
|
:param _Duration: 该字段用于返回音频文件的时长,单位为毫秒。
|
@@ -721,8 +721,7 @@ class CreateVideoModerationTaskRequest(AbstractModel):
|
|
721
721
|
|
722
722
|
def __init__(self):
|
723
723
|
r"""
|
724
|
-
:param _BizType:
|
725
|
-
备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
724
|
+
:param _BizType: 该字段表示特定审核策略的编号,用于接口调度。需要提前在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中创建策略后获取该Biztype字段,传入该字段,会根据业务场景在审核时调用相应的审核策略。 备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
726
725
|
:type BizType: str
|
727
726
|
:param _Type: 任务类型:可选VIDEO(点播视频),LIVE_VIDEO(直播视频)
|
728
727
|
:type Type: str
|
@@ -962,10 +961,10 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
962
961
|
:param _TryInSeconds: 在秒后重试
|
963
962
|
注意:此字段可能返回 null,表示取不到有效值。
|
964
963
|
:type TryInSeconds: int
|
965
|
-
:param _ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments
|
964
|
+
:param _ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
|
966
965
|
注意:此字段可能返回 null,表示取不到有效值。
|
967
966
|
:type ImageSegments: list of ImageSegments
|
968
|
-
:param _AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments
|
967
|
+
:param _AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。
|
969
968
|
注意:此字段可能返回 null,表示取不到有效值。
|
970
969
|
:type AudioSegments: list of AudioSegments
|
971
970
|
:param _ErrorType: 当任务状态为Error时,返回对应错误的类型,取值:
|
@@ -1433,7 +1432,7 @@ Block 确认违规
|
|
1433
1432
|
:param _Results: 画面截帧图片结果集
|
1434
1433
|
注意:此字段可能返回 null,表示取不到有效值。
|
1435
1434
|
:type Results: list of ImageResultResult
|
1436
|
-
:param _Url:
|
1435
|
+
:param _Url: 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
|
1437
1436
|
注意:此字段可能返回 null,表示取不到有效值。
|
1438
1437
|
:type Url: str
|
1439
1438
|
:param _Extra: 附加字段
|