tencentcloud-sdk-python 3.0.1196__py2.py3-none-any.whl → 3.0.1198__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.
Files changed (40) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ams/v20201229/models.py +398 -3
  3. tencentcloud/bi/v20220105/models.py +1 -1
  4. tencentcloud/cat/v20180409/models.py +12 -0
  5. tencentcloud/ccc/v20200210/models.py +3 -3
  6. tencentcloud/cdb/v20170320/models.py +45 -3
  7. tencentcloud/cdn/v20180606/models.py +141 -0
  8. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  9. tencentcloud/cfw/v20190904/models.py +391 -0
  10. tencentcloud/cls/v20201016/cls_client.py +0 -12
  11. tencentcloud/cls/v20201016/models.py +5 -1
  12. tencentcloud/cynosdb/v20190107/models.py +121 -0
  13. tencentcloud/dbbrain/v20210527/models.py +12 -0
  14. tencentcloud/ecm/v20190719/models.py +24 -0
  15. tencentcloud/emr/v20190103/emr_client.py +23 -0
  16. tencentcloud/emr/v20190103/models.py +469 -108
  17. tencentcloud/ess/v20201111/ess_client.py +2 -1
  18. tencentcloud/ess/v20201111/models.py +47 -21
  19. tencentcloud/essbasic/v20210526/models.py +1 -1
  20. tencentcloud/hunyuan/v20230901/errorcodes.py +12 -0
  21. tencentcloud/hunyuan/v20230901/models.py +199 -13
  22. tencentcloud/mongodb/v20190725/models.py +106 -0
  23. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  24. tencentcloud/monitor/v20180724/models.py +3 -8
  25. tencentcloud/ocr/v20181119/models.py +24 -0
  26. tencentcloud/redis/v20180412/models.py +2 -3
  27. tencentcloud/tke/v20180525/models.py +274 -0
  28. tencentcloud/tke/v20180525/tke_client.py +23 -0
  29. tencentcloud/vm/v20201229/models.py +253 -4
  30. tencentcloud/vm/v20201229/vm_client.py +1 -3
  31. tencentcloud/vm/v20210922/models.py +5 -6
  32. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  33. tencentcloud/vpc/v20170312/models.py +1 -1
  34. tencentcloud/waf/v20180125/models.py +13 -41
  35. tencentcloud/wedata/v20210820/models.py +13 -0
  36. {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/METADATA +1 -1
  37. {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/RECORD +40 -40
  38. {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/LICENSE +0 -0
  39. {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.dist-info}/WHEEL +0 -0
  40. {tencentcloud_sdk_python-3.0.1196.dist-info → tencentcloud_sdk_python-3.0.1198.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: 该字段用于返回音频片段存储的链接地址,该地址有效期为1天。
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数据结构的描述。<br>备注:数据有效期为24小时,如需要延长存储时间,请在已配置的COS储存桶中设置。
947
+ :param _ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
948
948
  注意:此字段可能返回 null,表示取不到有效值。
949
949
  :type ImageSegments: list of ImageSegments
950
- :param _AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。<br>备注:数据有效期为24小时,如需要延长存储时间,请在已配置的COS储存桶中设置。
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),图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式。<br>备注:数据**默认有效期为12小时**。如您需要更长时间的保存,请在数据储存的COS桶中配置对应的储存时长。
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 接口,可主动轮询获取检测结果详情。<br>
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: 该字段用于返回音频片段存储的链接地址,该地址有效期为1天。
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: 该字段表示策略的具体编号,用于接口调度,在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中可配置。若不传入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数据结构的描述。<br>备注:数据有效期为24小时,如需要延长存储时间,请在已配置的COS储存桶中设置。
964
+ :param _ImageSegments: 该字段用于返回视频中截帧审核的结果,详细返回内容敬请参考ImageSegments数据结构的描述。
966
965
  注意:此字段可能返回 null,表示取不到有效值。
967
966
  :type ImageSegments: list of ImageSegments
968
- :param _AudioSegments: 该字段用于返回视频中音频审核的结果,详细返回内容敬请参考AudioSegments数据结构的描述。<br>备注:数据有效期为24小时,如需要延长存储时间,请在已配置的COS储存桶中设置。
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: 图片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: 附加字段
@@ -560,6 +560,9 @@ LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = 'LimitExceeded.DailyAlloc
560
560
  # 超过每日更换IP配额。
561
561
  LIMITEXCEEDED_DAILYCHANGEADDRESSQUOTA = 'LimitExceeded.DailyChangeAddressQuota'
562
562
 
563
+ # 默认VPC数量已达到上限。
564
+ LIMITEXCEEDED_DEFAULTVPCLIMITEXCEEDED = 'LimitExceeded.DefaultVpcLimitExceeded'
565
+
563
566
  # 实例绑定的弹性IP超过配额。
564
567
  LIMITEXCEEDED_INSTANCEADDRESSQUOTA = 'LimitExceeded.InstanceAddressQuota'
565
568
 
@@ -40850,7 +40850,7 @@ class NetworkAclEntry(AbstractModel):
40850
40850
  r"""
40851
40851
  :param _Protocol: 协议, 取值: TCP,UDP, ICMP, ALL。
40852
40852
  :type Protocol: str
40853
- :param _Port: 端口(all, 单个port, range)。当Protocol为ALL或ICMP时,不能指定Port。
40853
+ :param _Port: 端口(all, 单个port, range)。当Protocol为ALL或ICMP时,不能指定Port。使用-指定端口范围,如:10-20
40854
40854
  :type Port: str
40855
40855
  :param _CidrBlock: 网段或IP(互斥)。增量创建ACL规则时,CidrBlock和Ipv6CidrBlock至少提供一个。
40856
40856
  :type CidrBlock: str
@@ -24276,10 +24276,7 @@ class ModifySpartaProtectionRequest(AbstractModel):
24276
24276
  :type DomainId: str
24277
24277
  :param _InstanceID: 必填项。域名所属实例id
24278
24278
  :type InstanceID: str
24279
- :param _CertType: 必填项。证书类型。
24280
- 0:仅配置HTTP监听端口,没有证书
24281
- 1:证书来源为自有证书
24282
- 2:证书来源为托管证书
24279
+ :param _CertType: 证书类型。0:仅配置HTTP监听端口,没有证书1:证书来源为自有证书2:证书来源为托管证书
24283
24280
  :type CertType: int
24284
24281
  :param _Cert: CertType为1时,需要填充此参数,表示自有证书的证书链
24285
24282
  :type Cert: str
@@ -24287,11 +24284,7 @@ class ModifySpartaProtectionRequest(AbstractModel):
24287
24284
  :type PrivateKey: str
24288
24285
  :param _SSLId: CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
24289
24286
  :type SSLId: str
24290
- :param _IsCdn: 必填项。waf前是否部署有七层代理服务。
24291
- 0:没有部署代理服务
24292
- 1:有部署代理服务,waf将使用XFF获取客户端IP
24293
- 2:有部署代理服务,waf将使用remote_addr获取客户端IP
24294
- 3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
24287
+ :param _IsCdn: waf前是否部署有七层代理服务。0:没有部署代理服务1:有部署代理服务,waf将使用XFF获取客户端IP2:有部署代理服务,waf将使用remote_addr获取客户端IP3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
24295
24288
  :type IsCdn: int
24296
24289
  :param _UpstreamScheme: 服务配置有HTTPS端口时,HTTPS的回源协议。
24297
24290
  http:使用http协议回源,和HttpsUpstreamPort配合使用
@@ -24299,58 +24292,39 @@ https:使用https协议回源
24299
24292
  :type UpstreamScheme: str
24300
24293
  :param _HttpsUpstreamPort: HTTPS回源端口,仅UpstreamScheme为http时需要填当前字段
24301
24294
  :type HttpsUpstreamPort: str
24302
- :param _HttpsRewrite: 必填项。是否开启HTTP强制跳转到HTTPS。
24303
- 0:不强制跳转
24304
- 1:开启强制跳转
24295
+ :param _HttpsRewrite: 是否开启HTTP强制跳转到HTTPS。0:不强制跳转1:开启强制跳转
24305
24296
  :type HttpsRewrite: int
24306
- :param _UpstreamType: 必填项。回源类型。
24307
- 0:通过IP回源
24308
- 1:通过域名回源
24297
+ :param _UpstreamType: 回源类型。0:通过IP回源1:通过域名回源
24309
24298
  :type UpstreamType: int
24310
24299
  :param _UpstreamDomain: 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
24311
24300
  :type UpstreamDomain: str
24312
24301
  :param _SrcList: IP回源时的回源IP列表。UpstreamType为0时,需要填充此字段
24313
24302
  :type SrcList: list of str
24314
- :param _IsHttp2: 必填项。是否开启HTTP2,需要开启HTTPS协议支持。
24315
- 0:关闭
24316
- 1:开启
24303
+ :param _IsHttp2: 是否开启HTTP2,需要开启HTTPS协议支持。0:关闭1:开启
24317
24304
  :type IsHttp2: int
24318
- :param _IsWebsocket: 必填项。是否开启WebSocket支持。
24319
- 0:关闭
24320
- 1:开启
24305
+ :param _IsWebsocket: 是否开启WebSocket支持。0:关闭1:开启
24321
24306
  :type IsWebsocket: int
24322
- :param _LoadBalance: 必填项。回源负载均衡策略。
24323
- 0:轮询
24324
- 1:IP hash
24325
- 2:加权轮询
24307
+ :param _LoadBalance: 回源负载均衡策略。0:轮询1:IP hash2:加权轮询
24326
24308
  :type LoadBalance: int
24327
24309
  :param _IsGray: 待废弃,可不填。是否开启灰度,0表示不开启灰度。
24328
24310
  :type IsGray: int
24329
24311
  :param _Edition: 域名所属实例类型
24330
24312
  :type Edition: str
24331
- :param _Ports: 必填项。端口信息,可通过DescribeDomains接口获取具体参数信息。
24313
+ :param _Ports: 端口信息,可通过DescribeDomains接口获取具体参数信息。
24332
24314
  :type Ports: list of SpartaProtectionPort
24333
- :param _IsKeepAlive: 必填项。是否开启长连接。
24334
- 0: 短连接
24335
- 1: 长连接
24315
+ :param _IsKeepAlive: 是否开启长连接。0: 短连接1: 长连接
24336
24316
  :type IsKeepAlive: str
24337
- :param _Anycast: 必填项,待废弃。目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
24317
+ :param _Anycast: 待废弃。目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
24338
24318
  :type Anycast: int
24339
24319
  :param _Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
24340
24320
  :type Weights: list of int
24341
- :param _ActiveCheck: 必填项,是否开启主动健康检测。
24342
- 0:不开启
24343
- 1:开启
24321
+ :param _ActiveCheck: 是否开启主动健康检测。0:不开启1:开启
24344
24322
  :type ActiveCheck: int
24345
24323
  :param _TLSVersion: TLS版本信息
24346
24324
  :type TLSVersion: int
24347
24325
  :param _Ciphers: 加密套件信息
24348
24326
  :type Ciphers: list of int
24349
- :param _CipherTemplate: 必填项。加密套件模板。
24350
- 0:不支持选择,使用默认模板
24351
- 1:通用型模板
24352
- 2:安全型模板
24353
- 3:自定义模板
24327
+ :param _CipherTemplate: 加密套件模板。0:不支持选择,使用默认模板 1:通用型模板 2:安全型模板3:自定义模板
24354
24328
  :type CipherTemplate: int
24355
24329
  :param _ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
24356
24330
  :type ProxyReadTimeout: int
@@ -24366,9 +24340,7 @@ https:使用https协议回源
24366
24340
  :type SniHost: str
24367
24341
  :param _IpHeaders: IsCdn=3时,需要填此参数,表示自定义header
24368
24342
  :type IpHeaders: list of str
24369
- :param _XFFReset: 必填项。是否开启XFF重置。
24370
- 0:关闭
24371
- 1:开启
24343
+ :param _XFFReset: 是否开启XFF重置。0:关闭1:开启
24372
24344
  :type XFFReset: int
24373
24345
  :param _Note: 域名备注信息
24374
24346
  :type Note: str
@@ -43374,6 +43374,9 @@ class OrganizationalFunction(AbstractModel):
43374
43374
  :param _OwnerUserIdsStr: 公有云 Owner ID 列表
43375
43375
  注意:此字段可能返回 null,表示取不到有效值。
43376
43376
  :type OwnerUserIdsStr: list of str
43377
+ :param _EnvType: 数据库环境
43378
+ 注意:此字段可能返回 null,表示取不到有效值。
43379
+ :type EnvType: str
43377
43380
  """
43378
43381
  self._Name = None
43379
43382
  self._DisplayName = None
@@ -43403,6 +43406,7 @@ class OrganizationalFunction(AbstractModel):
43403
43406
  self._Tag = None
43404
43407
  self._OperatorUserIdsStr = None
43405
43408
  self._OwnerUserIdsStr = None
43409
+ self._EnvType = None
43406
43410
 
43407
43411
  @property
43408
43412
  def Name(self):
@@ -43628,6 +43632,14 @@ class OrganizationalFunction(AbstractModel):
43628
43632
  def OwnerUserIdsStr(self, OwnerUserIdsStr):
43629
43633
  self._OwnerUserIdsStr = OwnerUserIdsStr
43630
43634
 
43635
+ @property
43636
+ def EnvType(self):
43637
+ return self._EnvType
43638
+
43639
+ @EnvType.setter
43640
+ def EnvType(self, EnvType):
43641
+ self._EnvType = EnvType
43642
+
43631
43643
 
43632
43644
  def _deserialize(self, params):
43633
43645
  self._Name = params.get("Name")
@@ -43663,6 +43675,7 @@ class OrganizationalFunction(AbstractModel):
43663
43675
  self._Tag = params.get("Tag")
43664
43676
  self._OperatorUserIdsStr = params.get("OperatorUserIdsStr")
43665
43677
  self._OwnerUserIdsStr = params.get("OwnerUserIdsStr")
43678
+ self._EnvType = params.get("EnvType")
43666
43679
  memeber_set = set(params.keys())
43667
43680
  for name, value in vars(self).items():
43668
43681
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1196
3
+ Version: 3.0.1198
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud