tencentcloud-sdk-python 3.0.1423__py2.py3-none-any.whl → 3.0.1424__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/ctem/v20231128/ctem_client.py +92 -0
- tencentcloud/ctem/v20231128/models.py +2739 -1053
- tencentcloud/cwp/v20180228/models.py +15 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/ess/v20201111/ess_client.py +52 -0
- tencentcloud/ess/v20201111/models.py +445 -0
- tencentcloud/iss/v20230517/models.py +4 -8
- tencentcloud/live/v20180801/models.py +591 -0
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -0
- tencentcloud/lkeap/v20240522/models.py +190 -48
- tencentcloud/mongodb/v20190725/models.py +4 -2
- tencentcloud/monitor/v20180724/models.py +52 -6
- tencentcloud/mps/v20190612/models.py +576 -144
- tencentcloud/mps/v20190612/mps_client.py +26 -0
- tencentcloud/ocr/v20181119/models.py +42 -24
- tencentcloud/omics/v20221128/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +7772 -5903
- tencentcloud/teo/v20220901/teo_client.py +322 -0
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/RECORD +30 -30
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/top_level.txt +0 -0
@@ -303,6 +303,32 @@ class MpsClient(AbstractClient):
|
|
303
303
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
304
304
|
|
305
305
|
|
306
|
+
def CreateMediaEvaluation(self, request):
|
307
|
+
"""发起视频评测任务,功能包括:
|
308
|
+
|
309
|
+
1. 对一个原视频和多个转码后的视频进行评分。
|
310
|
+
2. 计算不同转码方式的 BD-Rate。
|
311
|
+
|
312
|
+
:param request: Request instance for CreateMediaEvaluation.
|
313
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.CreateMediaEvaluationRequest`
|
314
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.CreateMediaEvaluationResponse`
|
315
|
+
|
316
|
+
"""
|
317
|
+
try:
|
318
|
+
params = request._serialize()
|
319
|
+
headers = request.headers
|
320
|
+
body = self.call("CreateMediaEvaluation", params, headers=headers)
|
321
|
+
response = json.loads(body)
|
322
|
+
model = models.CreateMediaEvaluationResponse()
|
323
|
+
model._deserialize(response["Response"])
|
324
|
+
return model
|
325
|
+
except Exception as e:
|
326
|
+
if isinstance(e, TencentCloudSDKException):
|
327
|
+
raise
|
328
|
+
else:
|
329
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
330
|
+
|
331
|
+
|
306
332
|
def CreatePersonSample(self, request):
|
307
333
|
"""该接口用于创建素材样本,用于通过五官定位等技术,进行内容识别、内容不适宜等视频处理。
|
308
334
|
|
@@ -12079,15 +12079,9 @@ class HKIDCardOCRRequest(AbstractModel):
|
|
12079
12079
|
:type ReturnHeadImage: bool
|
12080
12080
|
:param _DetectFake: 是否鉴伪。
|
12081
12081
|
:type DetectFake: bool
|
12082
|
-
:param _ImageBase64: 图片的 Base64
|
12083
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12084
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
12082
|
+
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
|
12085
12083
|
:type ImageBase64: str
|
12086
|
-
:param _ImageUrl: 图片的 Url
|
12087
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12088
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
12089
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
12090
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12084
|
+
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12091
12085
|
:type ImageUrl: str
|
12092
12086
|
"""
|
12093
12087
|
self._ReturnHeadImage = None
|
@@ -12123,9 +12117,7 @@ class HKIDCardOCRRequest(AbstractModel):
|
|
12123
12117
|
|
12124
12118
|
@property
|
12125
12119
|
def ImageBase64(self):
|
12126
|
-
"""图片的 Base64
|
12127
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12128
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
12120
|
+
"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。
|
12129
12121
|
:rtype: str
|
12130
12122
|
"""
|
12131
12123
|
return self._ImageBase64
|
@@ -12136,11 +12128,7 @@ class HKIDCardOCRRequest(AbstractModel):
|
|
12136
12128
|
|
12137
12129
|
@property
|
12138
12130
|
def ImageUrl(self):
|
12139
|
-
"""图片的 Url
|
12140
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
12141
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
|
12142
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
12143
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12131
|
+
"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
12144
12132
|
:rtype: str
|
12145
12133
|
"""
|
12146
12134
|
return self._ImageUrl
|
@@ -12201,12 +12189,14 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12201
12189
|
2:真。
|
12202
12190
|
注意:此字段可能返回 null,表示取不到有效值。
|
12203
12191
|
:type FakeDetectResult: int
|
12204
|
-
:param _HeadImage:
|
12192
|
+
:param _HeadImage: Base64编码的证件左侧人像大图
|
12205
12193
|
注意:此字段可能返回 null,表示取不到有效值。
|
12206
12194
|
:type HeadImage: str
|
12207
|
-
:param
|
12208
|
-
|
12209
|
-
|
12195
|
+
:param _SmallHeadImage: Base64编码的证件右侧人像小图
|
12196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12197
|
+
:type SmallHeadImage: str
|
12198
|
+
:param _WarningCode: 该字段已废弃, 将固定返回空数组,不建议使用。
|
12199
|
+
This field is deprecated and will always return an empty array. Usage is not recommended.
|
12210
12200
|
:type WarningCode: list of int
|
12211
12201
|
:param _WarnCardInfos: 告警码
|
12212
12202
|
-9101 证件边框不完整告警
|
@@ -12217,6 +12207,8 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12217
12207
|
-9108 证件模糊告警
|
12218
12208
|
-9109 告警能力未开通
|
12219
12209
|
:type WarnCardInfos: list of int
|
12210
|
+
:param _WindowEmbeddedText: 证件透明视窗内的文本信息
|
12211
|
+
:type WindowEmbeddedText: str
|
12220
12212
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12221
12213
|
:type RequestId: str
|
12222
12214
|
"""
|
@@ -12232,8 +12224,10 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12232
12224
|
self._CurrentIssueDate = None
|
12233
12225
|
self._FakeDetectResult = None
|
12234
12226
|
self._HeadImage = None
|
12227
|
+
self._SmallHeadImage = None
|
12235
12228
|
self._WarningCode = None
|
12236
12229
|
self._WarnCardInfos = None
|
12230
|
+
self._WindowEmbeddedText = None
|
12237
12231
|
self._RequestId = None
|
12238
12232
|
|
12239
12233
|
@property
|
@@ -12370,7 +12364,7 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12370
12364
|
|
12371
12365
|
@property
|
12372
12366
|
def HeadImage(self):
|
12373
|
-
"""
|
12367
|
+
"""Base64编码的证件左侧人像大图
|
12374
12368
|
注意:此字段可能返回 null,表示取不到有效值。
|
12375
12369
|
:rtype: str
|
12376
12370
|
"""
|
@@ -12380,13 +12374,24 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12380
12374
|
def HeadImage(self, HeadImage):
|
12381
12375
|
self._HeadImage = HeadImage
|
12382
12376
|
|
12377
|
+
@property
|
12378
|
+
def SmallHeadImage(self):
|
12379
|
+
"""Base64编码的证件右侧人像小图
|
12380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12381
|
+
:rtype: str
|
12382
|
+
"""
|
12383
|
+
return self._SmallHeadImage
|
12384
|
+
|
12385
|
+
@SmallHeadImage.setter
|
12386
|
+
def SmallHeadImage(self, SmallHeadImage):
|
12387
|
+
self._SmallHeadImage = SmallHeadImage
|
12388
|
+
|
12383
12389
|
@property
|
12384
12390
|
def WarningCode(self):
|
12385
12391
|
warnings.warn("parameter `WarningCode` is deprecated", DeprecationWarning)
|
12386
12392
|
|
12387
|
-
"""
|
12388
|
-
|
12389
|
-
-9103:证照翻拍告警
|
12393
|
+
"""该字段已废弃, 将固定返回空数组,不建议使用。
|
12394
|
+
This field is deprecated and will always return an empty array. Usage is not recommended.
|
12390
12395
|
:rtype: list of int
|
12391
12396
|
"""
|
12392
12397
|
return self._WarningCode
|
@@ -12415,6 +12420,17 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12415
12420
|
def WarnCardInfos(self, WarnCardInfos):
|
12416
12421
|
self._WarnCardInfos = WarnCardInfos
|
12417
12422
|
|
12423
|
+
@property
|
12424
|
+
def WindowEmbeddedText(self):
|
12425
|
+
"""证件透明视窗内的文本信息
|
12426
|
+
:rtype: str
|
12427
|
+
"""
|
12428
|
+
return self._WindowEmbeddedText
|
12429
|
+
|
12430
|
+
@WindowEmbeddedText.setter
|
12431
|
+
def WindowEmbeddedText(self, WindowEmbeddedText):
|
12432
|
+
self._WindowEmbeddedText = WindowEmbeddedText
|
12433
|
+
|
12418
12434
|
@property
|
12419
12435
|
def RequestId(self):
|
12420
12436
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -12440,8 +12456,10 @@ class HKIDCardOCRResponse(AbstractModel):
|
|
12440
12456
|
self._CurrentIssueDate = params.get("CurrentIssueDate")
|
12441
12457
|
self._FakeDetectResult = params.get("FakeDetectResult")
|
12442
12458
|
self._HeadImage = params.get("HeadImage")
|
12459
|
+
self._SmallHeadImage = params.get("SmallHeadImage")
|
12443
12460
|
self._WarningCode = params.get("WarningCode")
|
12444
12461
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
12462
|
+
self._WindowEmbeddedText = params.get("WindowEmbeddedText")
|
12445
12463
|
self._RequestId = params.get("RequestId")
|
12446
12464
|
|
12447
12465
|
|
@@ -351,6 +351,8 @@ class ClusterOption(AbstractModel):
|
|
351
351
|
:type SystemNodeInstanceType: str
|
352
352
|
:param _SystemNodeCount: 系统节点池实例数量。
|
353
353
|
:type SystemNodeCount: int
|
354
|
+
:param _AutoUpgradeClusterLevel: 纳管环境自动升配
|
355
|
+
:type AutoUpgradeClusterLevel: bool
|
354
356
|
"""
|
355
357
|
self._Zone = None
|
356
358
|
self._Type = None
|
@@ -359,6 +361,7 @@ class ClusterOption(AbstractModel):
|
|
359
361
|
self._LimitRange = None
|
360
362
|
self._SystemNodeInstanceType = None
|
361
363
|
self._SystemNodeCount = None
|
364
|
+
self._AutoUpgradeClusterLevel = None
|
362
365
|
|
363
366
|
@property
|
364
367
|
def Zone(self):
|
@@ -438,6 +441,17 @@ class ClusterOption(AbstractModel):
|
|
438
441
|
def SystemNodeCount(self, SystemNodeCount):
|
439
442
|
self._SystemNodeCount = SystemNodeCount
|
440
443
|
|
444
|
+
@property
|
445
|
+
def AutoUpgradeClusterLevel(self):
|
446
|
+
"""纳管环境自动升配
|
447
|
+
:rtype: bool
|
448
|
+
"""
|
449
|
+
return self._AutoUpgradeClusterLevel
|
450
|
+
|
451
|
+
@AutoUpgradeClusterLevel.setter
|
452
|
+
def AutoUpgradeClusterLevel(self, AutoUpgradeClusterLevel):
|
453
|
+
self._AutoUpgradeClusterLevel = AutoUpgradeClusterLevel
|
454
|
+
|
441
455
|
|
442
456
|
def _deserialize(self, params):
|
443
457
|
self._Zone = params.get("Zone")
|
@@ -451,6 +465,7 @@ class ClusterOption(AbstractModel):
|
|
451
465
|
self._LimitRange._deserialize(params.get("LimitRange"))
|
452
466
|
self._SystemNodeInstanceType = params.get("SystemNodeInstanceType")
|
453
467
|
self._SystemNodeCount = params.get("SystemNodeCount")
|
468
|
+
self._AutoUpgradeClusterLevel = params.get("AutoUpgradeClusterLevel")
|
454
469
|
memeber_set = set(params.keys())
|
455
470
|
for name, value in vars(self).items():
|
456
471
|
property_name = name[1:]
|