tencentcloud-sdk-python 3.0.1464__py2.py3-none-any.whl → 3.0.1466__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/ai3d_client.py +2 -2
- tencentcloud/ai3d/v20250513/models.py +2 -2
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +184 -0
- tencentcloud/cdn/v20180606/cdn_client.py +0 -74
- tencentcloud/cdn/v20180606/models.py +0 -546
- tencentcloud/cfw/v20190904/models.py +167 -2
- tencentcloud/ckafka/v20190819/models.py +50 -2
- tencentcloud/ctem/v20231128/models.py +441 -0
- tencentcloud/emr/v20190103/models.py +49 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -3
- tencentcloud/ess/v20201111/models.py +7 -7
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +165 -0
- tencentcloud/lcic/v20220817/models.py +24 -6
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +280 -10
- tencentcloud/lke/v20231130/lke_client.py +0 -46
- tencentcloud/lke/v20231130/models.py +0 -192
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -2
- tencentcloud/mongodb/v20190725/models.py +76 -48
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +42 -0
- tencentcloud/mps/v20190612/models.py +810 -43
- tencentcloud/mps/v20190612/mps_client.py +92 -0
- tencentcloud/organization/v20210331/models.py +6 -6
- tencentcloud/redis/v20180412/models.py +16 -12
- tencentcloud/redis/v20180412/redis_client.py +2 -2
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +28 -12
- tencentcloud/tse/v20201207/models.py +76 -0
- tencentcloud/tse/v20201207/tse_client.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +1176 -101
- tencentcloud/waf/v20180125/waf_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1464.dist-info → tencentcloud_sdk_python-3.0.1466.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1464.dist-info → tencentcloud_sdk_python-3.0.1466.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1464.dist-info → tencentcloud_sdk_python-3.0.1466.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1464.dist-info → tencentcloud_sdk_python-3.0.1466.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1464.dist-info → tencentcloud_sdk_python-3.0.1466.dist-info}/top_level.txt +0 -0
@@ -20409,6 +20409,172 @@ class CreateScheduleResponse(AbstractModel):
|
|
20409
20409
|
self._RequestId = params.get("RequestId")
|
20410
20410
|
|
20411
20411
|
|
20412
|
+
class CreateSmartEraseTemplateRequest(AbstractModel):
|
20413
|
+
r"""CreateSmartEraseTemplate请求参数结构体
|
20414
|
+
|
20415
|
+
"""
|
20416
|
+
|
20417
|
+
def __init__(self):
|
20418
|
+
r"""
|
20419
|
+
:param _Name: 智能擦除模板名称长度限制:64 个字符。
|
20420
|
+
:type Name: str
|
20421
|
+
:param _EraseType: 擦除类型
|
20422
|
+
- subtitle 去字幕
|
20423
|
+
- watermark 去水印
|
20424
|
+
- privacy 隐私保护
|
20425
|
+
:type EraseType: str
|
20426
|
+
:param _Comment: 智能擦除模板描述信息长度限制:256 个字符。
|
20427
|
+
:type Comment: str
|
20428
|
+
:param _EraseSubtitleConfig: 字幕擦除配置,EraseType取subtitle时必填且仅此时生效。
|
20429
|
+
:type EraseSubtitleConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
20430
|
+
:param _EraseWatermarkConfig: 水印擦除配置,EraseType取watermark时必填且仅此时生效。
|
20431
|
+
:type EraseWatermarkConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
20432
|
+
:param _ErasePrivacyConfig: 隐私保护配置,EraseType取privacy时必填且仅此时生效。
|
20433
|
+
:type ErasePrivacyConfig: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
20434
|
+
"""
|
20435
|
+
self._Name = None
|
20436
|
+
self._EraseType = None
|
20437
|
+
self._Comment = None
|
20438
|
+
self._EraseSubtitleConfig = None
|
20439
|
+
self._EraseWatermarkConfig = None
|
20440
|
+
self._ErasePrivacyConfig = None
|
20441
|
+
|
20442
|
+
@property
|
20443
|
+
def Name(self):
|
20444
|
+
r"""智能擦除模板名称长度限制:64 个字符。
|
20445
|
+
:rtype: str
|
20446
|
+
"""
|
20447
|
+
return self._Name
|
20448
|
+
|
20449
|
+
@Name.setter
|
20450
|
+
def Name(self, Name):
|
20451
|
+
self._Name = Name
|
20452
|
+
|
20453
|
+
@property
|
20454
|
+
def EraseType(self):
|
20455
|
+
r"""擦除类型
|
20456
|
+
- subtitle 去字幕
|
20457
|
+
- watermark 去水印
|
20458
|
+
- privacy 隐私保护
|
20459
|
+
:rtype: str
|
20460
|
+
"""
|
20461
|
+
return self._EraseType
|
20462
|
+
|
20463
|
+
@EraseType.setter
|
20464
|
+
def EraseType(self, EraseType):
|
20465
|
+
self._EraseType = EraseType
|
20466
|
+
|
20467
|
+
@property
|
20468
|
+
def Comment(self):
|
20469
|
+
r"""智能擦除模板描述信息长度限制:256 个字符。
|
20470
|
+
:rtype: str
|
20471
|
+
"""
|
20472
|
+
return self._Comment
|
20473
|
+
|
20474
|
+
@Comment.setter
|
20475
|
+
def Comment(self, Comment):
|
20476
|
+
self._Comment = Comment
|
20477
|
+
|
20478
|
+
@property
|
20479
|
+
def EraseSubtitleConfig(self):
|
20480
|
+
r"""字幕擦除配置,EraseType取subtitle时必填且仅此时生效。
|
20481
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
20482
|
+
"""
|
20483
|
+
return self._EraseSubtitleConfig
|
20484
|
+
|
20485
|
+
@EraseSubtitleConfig.setter
|
20486
|
+
def EraseSubtitleConfig(self, EraseSubtitleConfig):
|
20487
|
+
self._EraseSubtitleConfig = EraseSubtitleConfig
|
20488
|
+
|
20489
|
+
@property
|
20490
|
+
def EraseWatermarkConfig(self):
|
20491
|
+
r"""水印擦除配置,EraseType取watermark时必填且仅此时生效。
|
20492
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
20493
|
+
"""
|
20494
|
+
return self._EraseWatermarkConfig
|
20495
|
+
|
20496
|
+
@EraseWatermarkConfig.setter
|
20497
|
+
def EraseWatermarkConfig(self, EraseWatermarkConfig):
|
20498
|
+
self._EraseWatermarkConfig = EraseWatermarkConfig
|
20499
|
+
|
20500
|
+
@property
|
20501
|
+
def ErasePrivacyConfig(self):
|
20502
|
+
r"""隐私保护配置,EraseType取privacy时必填且仅此时生效。
|
20503
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
20504
|
+
"""
|
20505
|
+
return self._ErasePrivacyConfig
|
20506
|
+
|
20507
|
+
@ErasePrivacyConfig.setter
|
20508
|
+
def ErasePrivacyConfig(self, ErasePrivacyConfig):
|
20509
|
+
self._ErasePrivacyConfig = ErasePrivacyConfig
|
20510
|
+
|
20511
|
+
|
20512
|
+
def _deserialize(self, params):
|
20513
|
+
self._Name = params.get("Name")
|
20514
|
+
self._EraseType = params.get("EraseType")
|
20515
|
+
self._Comment = params.get("Comment")
|
20516
|
+
if params.get("EraseSubtitleConfig") is not None:
|
20517
|
+
self._EraseSubtitleConfig = SmartEraseSubtitleConfig()
|
20518
|
+
self._EraseSubtitleConfig._deserialize(params.get("EraseSubtitleConfig"))
|
20519
|
+
if params.get("EraseWatermarkConfig") is not None:
|
20520
|
+
self._EraseWatermarkConfig = SmartEraseWatermarkConfig()
|
20521
|
+
self._EraseWatermarkConfig._deserialize(params.get("EraseWatermarkConfig"))
|
20522
|
+
if params.get("ErasePrivacyConfig") is not None:
|
20523
|
+
self._ErasePrivacyConfig = SmartErasePrivacyConfig()
|
20524
|
+
self._ErasePrivacyConfig._deserialize(params.get("ErasePrivacyConfig"))
|
20525
|
+
memeber_set = set(params.keys())
|
20526
|
+
for name, value in vars(self).items():
|
20527
|
+
property_name = name[1:]
|
20528
|
+
if property_name in memeber_set:
|
20529
|
+
memeber_set.remove(property_name)
|
20530
|
+
if len(memeber_set) > 0:
|
20531
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
20532
|
+
|
20533
|
+
|
20534
|
+
|
20535
|
+
class CreateSmartEraseTemplateResponse(AbstractModel):
|
20536
|
+
r"""CreateSmartEraseTemplate返回参数结构体
|
20537
|
+
|
20538
|
+
"""
|
20539
|
+
|
20540
|
+
def __init__(self):
|
20541
|
+
r"""
|
20542
|
+
:param _Definition: 智能擦除模板唯一标识
|
20543
|
+
:type Definition: int
|
20544
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20545
|
+
:type RequestId: str
|
20546
|
+
"""
|
20547
|
+
self._Definition = None
|
20548
|
+
self._RequestId = None
|
20549
|
+
|
20550
|
+
@property
|
20551
|
+
def Definition(self):
|
20552
|
+
r"""智能擦除模板唯一标识
|
20553
|
+
:rtype: int
|
20554
|
+
"""
|
20555
|
+
return self._Definition
|
20556
|
+
|
20557
|
+
@Definition.setter
|
20558
|
+
def Definition(self, Definition):
|
20559
|
+
self._Definition = Definition
|
20560
|
+
|
20561
|
+
@property
|
20562
|
+
def RequestId(self):
|
20563
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20564
|
+
:rtype: str
|
20565
|
+
"""
|
20566
|
+
return self._RequestId
|
20567
|
+
|
20568
|
+
@RequestId.setter
|
20569
|
+
def RequestId(self, RequestId):
|
20570
|
+
self._RequestId = RequestId
|
20571
|
+
|
20572
|
+
|
20573
|
+
def _deserialize(self, params):
|
20574
|
+
self._Definition = params.get("Definition")
|
20575
|
+
self._RequestId = params.get("RequestId")
|
20576
|
+
|
20577
|
+
|
20412
20578
|
class CreateSmartSubtitleTemplateRequest(AbstractModel):
|
20413
20579
|
r"""CreateSmartSubtitleTemplate请求参数结构体
|
20414
20580
|
|
@@ -23223,6 +23389,70 @@ class DeleteScheduleResponse(AbstractModel):
|
|
23223
23389
|
self._RequestId = params.get("RequestId")
|
23224
23390
|
|
23225
23391
|
|
23392
|
+
class DeleteSmartEraseTemplateRequest(AbstractModel):
|
23393
|
+
r"""DeleteSmartEraseTemplate请求参数结构体
|
23394
|
+
|
23395
|
+
"""
|
23396
|
+
|
23397
|
+
def __init__(self):
|
23398
|
+
r"""
|
23399
|
+
:param _Definition: 智能擦除模板唯一标识。
|
23400
|
+
:type Definition: int
|
23401
|
+
"""
|
23402
|
+
self._Definition = None
|
23403
|
+
|
23404
|
+
@property
|
23405
|
+
def Definition(self):
|
23406
|
+
r"""智能擦除模板唯一标识。
|
23407
|
+
:rtype: int
|
23408
|
+
"""
|
23409
|
+
return self._Definition
|
23410
|
+
|
23411
|
+
@Definition.setter
|
23412
|
+
def Definition(self, Definition):
|
23413
|
+
self._Definition = Definition
|
23414
|
+
|
23415
|
+
|
23416
|
+
def _deserialize(self, params):
|
23417
|
+
self._Definition = params.get("Definition")
|
23418
|
+
memeber_set = set(params.keys())
|
23419
|
+
for name, value in vars(self).items():
|
23420
|
+
property_name = name[1:]
|
23421
|
+
if property_name in memeber_set:
|
23422
|
+
memeber_set.remove(property_name)
|
23423
|
+
if len(memeber_set) > 0:
|
23424
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23425
|
+
|
23426
|
+
|
23427
|
+
|
23428
|
+
class DeleteSmartEraseTemplateResponse(AbstractModel):
|
23429
|
+
r"""DeleteSmartEraseTemplate返回参数结构体
|
23430
|
+
|
23431
|
+
"""
|
23432
|
+
|
23433
|
+
def __init__(self):
|
23434
|
+
r"""
|
23435
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23436
|
+
:type RequestId: str
|
23437
|
+
"""
|
23438
|
+
self._RequestId = None
|
23439
|
+
|
23440
|
+
@property
|
23441
|
+
def RequestId(self):
|
23442
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23443
|
+
:rtype: str
|
23444
|
+
"""
|
23445
|
+
return self._RequestId
|
23446
|
+
|
23447
|
+
@RequestId.setter
|
23448
|
+
def RequestId(self, RequestId):
|
23449
|
+
self._RequestId = RequestId
|
23450
|
+
|
23451
|
+
|
23452
|
+
def _deserialize(self, params):
|
23453
|
+
self._RequestId = params.get("RequestId")
|
23454
|
+
|
23455
|
+
|
23226
23456
|
class DeleteSmartSubtitleTemplateRequest(AbstractModel):
|
23227
23457
|
r"""DeleteSmartSubtitleTemplate请求参数结构体
|
23228
23458
|
|
@@ -29305,14 +29535,14 @@ class DescribeSchedulesResponse(AbstractModel):
|
|
29305
29535
|
self._RequestId = params.get("RequestId")
|
29306
29536
|
|
29307
29537
|
|
29308
|
-
class
|
29309
|
-
r"""
|
29538
|
+
class DescribeSmartEraseTemplatesRequest(AbstractModel):
|
29539
|
+
r"""DescribeSmartEraseTemplates请求参数结构体
|
29310
29540
|
|
29311
29541
|
"""
|
29312
29542
|
|
29313
29543
|
def __init__(self):
|
29314
29544
|
r"""
|
29315
|
-
:param _Definitions:
|
29545
|
+
:param _Definitions: 智能擦除模板唯一标识过滤条件,数组长度限制:100。
|
29316
29546
|
:type Definitions: list of int
|
29317
29547
|
:param _Offset: 分页偏移量,默认值:0。
|
29318
29548
|
:type Offset: int
|
@@ -29322,7 +29552,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
29322
29552
|
* Preset:系统预置模板;
|
29323
29553
|
* Custom:用户自定义模板。
|
29324
29554
|
:type Type: str
|
29325
|
-
:param _Name:
|
29555
|
+
:param _Name: 智能擦除模板名过滤条件,长度限制:64 个字符。
|
29326
29556
|
:type Name: str
|
29327
29557
|
"""
|
29328
29558
|
self._Definitions = None
|
@@ -29333,7 +29563,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
29333
29563
|
|
29334
29564
|
@property
|
29335
29565
|
def Definitions(self):
|
29336
|
-
r"""
|
29566
|
+
r"""智能擦除模板唯一标识过滤条件,数组长度限制:100。
|
29337
29567
|
:rtype: list of int
|
29338
29568
|
"""
|
29339
29569
|
return self._Definitions
|
@@ -29379,7 +29609,7 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
29379
29609
|
|
29380
29610
|
@property
|
29381
29611
|
def Name(self):
|
29382
|
-
r"""
|
29612
|
+
r"""智能擦除模板名过滤条件,长度限制:64 个字符。
|
29383
29613
|
:rtype: str
|
29384
29614
|
"""
|
29385
29615
|
return self._Name
|
@@ -29405,8 +29635,8 @@ class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
|
29405
29635
|
|
29406
29636
|
|
29407
29637
|
|
29408
|
-
class
|
29409
|
-
r"""
|
29638
|
+
class DescribeSmartEraseTemplatesResponse(AbstractModel):
|
29639
|
+
r"""DescribeSmartEraseTemplates返回参数结构体
|
29410
29640
|
|
29411
29641
|
"""
|
29412
29642
|
|
@@ -29414,13 +29644,13 @@ class DescribeSmartSubtitleTemplatesResponse(AbstractModel):
|
|
29414
29644
|
r"""
|
29415
29645
|
:param _TotalCount: 符合过滤条件的记录总数。
|
29416
29646
|
:type TotalCount: int
|
29417
|
-
:param
|
29418
|
-
:type
|
29647
|
+
:param _SmartEraseTemplateSet: 智能擦除模板详情列表。
|
29648
|
+
:type SmartEraseTemplateSet: list of SmartEraseTemplateItem
|
29419
29649
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29420
29650
|
:type RequestId: str
|
29421
29651
|
"""
|
29422
29652
|
self._TotalCount = None
|
29423
|
-
self.
|
29653
|
+
self._SmartEraseTemplateSet = None
|
29424
29654
|
self._RequestId = None
|
29425
29655
|
|
29426
29656
|
@property
|
@@ -29435,15 +29665,15 @@ class DescribeSmartSubtitleTemplatesResponse(AbstractModel):
|
|
29435
29665
|
self._TotalCount = TotalCount
|
29436
29666
|
|
29437
29667
|
@property
|
29438
|
-
def
|
29439
|
-
r"""
|
29440
|
-
:rtype: list of
|
29668
|
+
def SmartEraseTemplateSet(self):
|
29669
|
+
r"""智能擦除模板详情列表。
|
29670
|
+
:rtype: list of SmartEraseTemplateItem
|
29441
29671
|
"""
|
29442
|
-
return self.
|
29672
|
+
return self._SmartEraseTemplateSet
|
29443
29673
|
|
29444
|
-
@
|
29445
|
-
def
|
29446
|
-
self.
|
29674
|
+
@SmartEraseTemplateSet.setter
|
29675
|
+
def SmartEraseTemplateSet(self, SmartEraseTemplateSet):
|
29676
|
+
self._SmartEraseTemplateSet = SmartEraseTemplateSet
|
29447
29677
|
|
29448
29678
|
@property
|
29449
29679
|
def RequestId(self):
|
@@ -29459,33 +29689,33 @@ class DescribeSmartSubtitleTemplatesResponse(AbstractModel):
|
|
29459
29689
|
|
29460
29690
|
def _deserialize(self, params):
|
29461
29691
|
self._TotalCount = params.get("TotalCount")
|
29462
|
-
if params.get("
|
29463
|
-
self.
|
29464
|
-
for item in params.get("
|
29465
|
-
obj =
|
29692
|
+
if params.get("SmartEraseTemplateSet") is not None:
|
29693
|
+
self._SmartEraseTemplateSet = []
|
29694
|
+
for item in params.get("SmartEraseTemplateSet"):
|
29695
|
+
obj = SmartEraseTemplateItem()
|
29466
29696
|
obj._deserialize(item)
|
29467
|
-
self.
|
29697
|
+
self._SmartEraseTemplateSet.append(obj)
|
29468
29698
|
self._RequestId = params.get("RequestId")
|
29469
29699
|
|
29470
29700
|
|
29471
|
-
class
|
29472
|
-
r"""
|
29701
|
+
class DescribeSmartSubtitleTemplatesRequest(AbstractModel):
|
29702
|
+
r"""DescribeSmartSubtitleTemplates请求参数结构体
|
29473
29703
|
|
29474
29704
|
"""
|
29475
29705
|
|
29476
29706
|
def __init__(self):
|
29477
29707
|
r"""
|
29478
|
-
:param _Definitions:
|
29479
|
-
:type Definitions: list of int
|
29708
|
+
:param _Definitions: 智能字幕模板唯一标识过滤条件,数组长度限制:100。
|
29709
|
+
:type Definitions: list of int
|
29480
29710
|
:param _Offset: 分页偏移量,默认值:0。
|
29481
29711
|
:type Offset: int
|
29482
29712
|
:param _Limit: 返回记录条数,默认值:10,最大值:100。
|
29483
29713
|
:type Limit: int
|
29484
|
-
:param _Type:
|
29485
|
-
|
29486
|
-
|
29714
|
+
:param _Type: 模板类型过滤条件,不填则返回所有,可选值:
|
29715
|
+
* Preset:系统预置模板;
|
29716
|
+
* Custom:用户自定义模板。
|
29487
29717
|
:type Type: str
|
29488
|
-
:param _Name:
|
29718
|
+
:param _Name: 智能字幕模板标识过滤条件,长度限制:64 个字符。
|
29489
29719
|
:type Name: str
|
29490
29720
|
"""
|
29491
29721
|
self._Definitions = None
|
@@ -29496,8 +29726,8 @@ class DescribeSnapshotByTimeOffsetTemplatesRequest(AbstractModel):
|
|
29496
29726
|
|
29497
29727
|
@property
|
29498
29728
|
def Definitions(self):
|
29499
|
-
r"""
|
29500
|
-
:rtype: list of int
|
29729
|
+
r"""智能字幕模板唯一标识过滤条件,数组长度限制:100。
|
29730
|
+
:rtype: list of int
|
29501
29731
|
"""
|
29502
29732
|
return self._Definitions
|
29503
29733
|
|
@@ -29529,9 +29759,9 @@ class DescribeSnapshotByTimeOffsetTemplatesRequest(AbstractModel):
|
|
29529
29759
|
|
29530
29760
|
@property
|
29531
29761
|
def Type(self):
|
29532
|
-
r"""
|
29533
|
-
|
29534
|
-
|
29762
|
+
r"""模板类型过滤条件,不填则返回所有,可选值:
|
29763
|
+
* Preset:系统预置模板;
|
29764
|
+
* Custom:用户自定义模板。
|
29535
29765
|
:rtype: str
|
29536
29766
|
"""
|
29537
29767
|
return self._Type
|
@@ -29542,7 +29772,170 @@ class DescribeSnapshotByTimeOffsetTemplatesRequest(AbstractModel):
|
|
29542
29772
|
|
29543
29773
|
@property
|
29544
29774
|
def Name(self):
|
29545
|
-
r"""
|
29775
|
+
r"""智能字幕模板标识过滤条件,长度限制:64 个字符。
|
29776
|
+
:rtype: str
|
29777
|
+
"""
|
29778
|
+
return self._Name
|
29779
|
+
|
29780
|
+
@Name.setter
|
29781
|
+
def Name(self, Name):
|
29782
|
+
self._Name = Name
|
29783
|
+
|
29784
|
+
|
29785
|
+
def _deserialize(self, params):
|
29786
|
+
self._Definitions = params.get("Definitions")
|
29787
|
+
self._Offset = params.get("Offset")
|
29788
|
+
self._Limit = params.get("Limit")
|
29789
|
+
self._Type = params.get("Type")
|
29790
|
+
self._Name = params.get("Name")
|
29791
|
+
memeber_set = set(params.keys())
|
29792
|
+
for name, value in vars(self).items():
|
29793
|
+
property_name = name[1:]
|
29794
|
+
if property_name in memeber_set:
|
29795
|
+
memeber_set.remove(property_name)
|
29796
|
+
if len(memeber_set) > 0:
|
29797
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29798
|
+
|
29799
|
+
|
29800
|
+
|
29801
|
+
class DescribeSmartSubtitleTemplatesResponse(AbstractModel):
|
29802
|
+
r"""DescribeSmartSubtitleTemplates返回参数结构体
|
29803
|
+
|
29804
|
+
"""
|
29805
|
+
|
29806
|
+
def __init__(self):
|
29807
|
+
r"""
|
29808
|
+
:param _TotalCount: 符合过滤条件的记录总数。
|
29809
|
+
:type TotalCount: int
|
29810
|
+
:param _SmartSubtitleTemplateSet: 智能字幕模板详情列表。
|
29811
|
+
:type SmartSubtitleTemplateSet: list of SmartSubtitleTemplateItem
|
29812
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29813
|
+
:type RequestId: str
|
29814
|
+
"""
|
29815
|
+
self._TotalCount = None
|
29816
|
+
self._SmartSubtitleTemplateSet = None
|
29817
|
+
self._RequestId = None
|
29818
|
+
|
29819
|
+
@property
|
29820
|
+
def TotalCount(self):
|
29821
|
+
r"""符合过滤条件的记录总数。
|
29822
|
+
:rtype: int
|
29823
|
+
"""
|
29824
|
+
return self._TotalCount
|
29825
|
+
|
29826
|
+
@TotalCount.setter
|
29827
|
+
def TotalCount(self, TotalCount):
|
29828
|
+
self._TotalCount = TotalCount
|
29829
|
+
|
29830
|
+
@property
|
29831
|
+
def SmartSubtitleTemplateSet(self):
|
29832
|
+
r"""智能字幕模板详情列表。
|
29833
|
+
:rtype: list of SmartSubtitleTemplateItem
|
29834
|
+
"""
|
29835
|
+
return self._SmartSubtitleTemplateSet
|
29836
|
+
|
29837
|
+
@SmartSubtitleTemplateSet.setter
|
29838
|
+
def SmartSubtitleTemplateSet(self, SmartSubtitleTemplateSet):
|
29839
|
+
self._SmartSubtitleTemplateSet = SmartSubtitleTemplateSet
|
29840
|
+
|
29841
|
+
@property
|
29842
|
+
def RequestId(self):
|
29843
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29844
|
+
:rtype: str
|
29845
|
+
"""
|
29846
|
+
return self._RequestId
|
29847
|
+
|
29848
|
+
@RequestId.setter
|
29849
|
+
def RequestId(self, RequestId):
|
29850
|
+
self._RequestId = RequestId
|
29851
|
+
|
29852
|
+
|
29853
|
+
def _deserialize(self, params):
|
29854
|
+
self._TotalCount = params.get("TotalCount")
|
29855
|
+
if params.get("SmartSubtitleTemplateSet") is not None:
|
29856
|
+
self._SmartSubtitleTemplateSet = []
|
29857
|
+
for item in params.get("SmartSubtitleTemplateSet"):
|
29858
|
+
obj = SmartSubtitleTemplateItem()
|
29859
|
+
obj._deserialize(item)
|
29860
|
+
self._SmartSubtitleTemplateSet.append(obj)
|
29861
|
+
self._RequestId = params.get("RequestId")
|
29862
|
+
|
29863
|
+
|
29864
|
+
class DescribeSnapshotByTimeOffsetTemplatesRequest(AbstractModel):
|
29865
|
+
r"""DescribeSnapshotByTimeOffsetTemplates请求参数结构体
|
29866
|
+
|
29867
|
+
"""
|
29868
|
+
|
29869
|
+
def __init__(self):
|
29870
|
+
r"""
|
29871
|
+
:param _Definitions: 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
|
29872
|
+
:type Definitions: list of int non-negative
|
29873
|
+
:param _Offset: 分页偏移量,默认值:0。
|
29874
|
+
:type Offset: int
|
29875
|
+
:param _Limit: 返回记录条数,默认值:10,最大值:100。
|
29876
|
+
:type Limit: int
|
29877
|
+
:param _Type: 模板类型过滤条件,可选值:
|
29878
|
+
<li>Preset:系统预置模板;</li>
|
29879
|
+
<li>Custom:用户自定义模板。</li>
|
29880
|
+
:type Type: str
|
29881
|
+
:param _Name: 指定时间点截图模板标识过滤条件,长度限制:64 个字符。
|
29882
|
+
:type Name: str
|
29883
|
+
"""
|
29884
|
+
self._Definitions = None
|
29885
|
+
self._Offset = None
|
29886
|
+
self._Limit = None
|
29887
|
+
self._Type = None
|
29888
|
+
self._Name = None
|
29889
|
+
|
29890
|
+
@property
|
29891
|
+
def Definitions(self):
|
29892
|
+
r"""指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
|
29893
|
+
:rtype: list of int non-negative
|
29894
|
+
"""
|
29895
|
+
return self._Definitions
|
29896
|
+
|
29897
|
+
@Definitions.setter
|
29898
|
+
def Definitions(self, Definitions):
|
29899
|
+
self._Definitions = Definitions
|
29900
|
+
|
29901
|
+
@property
|
29902
|
+
def Offset(self):
|
29903
|
+
r"""分页偏移量,默认值:0。
|
29904
|
+
:rtype: int
|
29905
|
+
"""
|
29906
|
+
return self._Offset
|
29907
|
+
|
29908
|
+
@Offset.setter
|
29909
|
+
def Offset(self, Offset):
|
29910
|
+
self._Offset = Offset
|
29911
|
+
|
29912
|
+
@property
|
29913
|
+
def Limit(self):
|
29914
|
+
r"""返回记录条数,默认值:10,最大值:100。
|
29915
|
+
:rtype: int
|
29916
|
+
"""
|
29917
|
+
return self._Limit
|
29918
|
+
|
29919
|
+
@Limit.setter
|
29920
|
+
def Limit(self, Limit):
|
29921
|
+
self._Limit = Limit
|
29922
|
+
|
29923
|
+
@property
|
29924
|
+
def Type(self):
|
29925
|
+
r"""模板类型过滤条件,可选值:
|
29926
|
+
<li>Preset:系统预置模板;</li>
|
29927
|
+
<li>Custom:用户自定义模板。</li>
|
29928
|
+
:rtype: str
|
29929
|
+
"""
|
29930
|
+
return self._Type
|
29931
|
+
|
29932
|
+
@Type.setter
|
29933
|
+
def Type(self, Type):
|
29934
|
+
self._Type = Type
|
29935
|
+
|
29936
|
+
@property
|
29937
|
+
def Name(self):
|
29938
|
+
r"""指定时间点截图模板标识过滤条件,长度限制:64 个字符。
|
29546
29939
|
:rtype: str
|
29547
29940
|
"""
|
29548
29941
|
return self._Name
|
@@ -49387,6 +49780,172 @@ class ModifyScheduleResponse(AbstractModel):
|
|
49387
49780
|
self._RequestId = params.get("RequestId")
|
49388
49781
|
|
49389
49782
|
|
49783
|
+
class ModifySmartEraseTemplateRequest(AbstractModel):
|
49784
|
+
r"""ModifySmartEraseTemplate请求参数结构体
|
49785
|
+
|
49786
|
+
"""
|
49787
|
+
|
49788
|
+
def __init__(self):
|
49789
|
+
r"""
|
49790
|
+
:param _Definition: 智能擦除模板唯一标识
|
49791
|
+
:type Definition: int
|
49792
|
+
:param _Name: 智能擦除模板名称长度限制:64 个字符。
|
49793
|
+
:type Name: str
|
49794
|
+
:param _Comment: 智能擦除模板描述信息长度限制:256 个字符。
|
49795
|
+
:type Comment: str
|
49796
|
+
:param _EraseType: 擦除类型
|
49797
|
+
- subtitle 去字幕
|
49798
|
+
- watermark 去水印
|
49799
|
+
- privacy 隐私保护
|
49800
|
+
:type EraseType: str
|
49801
|
+
:param _EraseSubtitleConfig: 字幕擦除配置,EraseType取subtitle或者EraseType不填,对应模板原EraseType为subtitle时生效。
|
49802
|
+
:type EraseSubtitleConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
49803
|
+
:param _EraseWatermarkConfig: 水印擦除配置,EraseType取watermark或者EraseType不填,对应模板原EraseType为watermark时生效。
|
49804
|
+
:type EraseWatermarkConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
49805
|
+
:param _ErasePrivacyConfig: 隐私保护配置,EraseType取privacy或者EraseType不填,对应模板原EraseType为privacy时生效。
|
49806
|
+
:type ErasePrivacyConfig: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
49807
|
+
"""
|
49808
|
+
self._Definition = None
|
49809
|
+
self._Name = None
|
49810
|
+
self._Comment = None
|
49811
|
+
self._EraseType = None
|
49812
|
+
self._EraseSubtitleConfig = None
|
49813
|
+
self._EraseWatermarkConfig = None
|
49814
|
+
self._ErasePrivacyConfig = None
|
49815
|
+
|
49816
|
+
@property
|
49817
|
+
def Definition(self):
|
49818
|
+
r"""智能擦除模板唯一标识
|
49819
|
+
:rtype: int
|
49820
|
+
"""
|
49821
|
+
return self._Definition
|
49822
|
+
|
49823
|
+
@Definition.setter
|
49824
|
+
def Definition(self, Definition):
|
49825
|
+
self._Definition = Definition
|
49826
|
+
|
49827
|
+
@property
|
49828
|
+
def Name(self):
|
49829
|
+
r"""智能擦除模板名称长度限制:64 个字符。
|
49830
|
+
:rtype: str
|
49831
|
+
"""
|
49832
|
+
return self._Name
|
49833
|
+
|
49834
|
+
@Name.setter
|
49835
|
+
def Name(self, Name):
|
49836
|
+
self._Name = Name
|
49837
|
+
|
49838
|
+
@property
|
49839
|
+
def Comment(self):
|
49840
|
+
r"""智能擦除模板描述信息长度限制:256 个字符。
|
49841
|
+
:rtype: str
|
49842
|
+
"""
|
49843
|
+
return self._Comment
|
49844
|
+
|
49845
|
+
@Comment.setter
|
49846
|
+
def Comment(self, Comment):
|
49847
|
+
self._Comment = Comment
|
49848
|
+
|
49849
|
+
@property
|
49850
|
+
def EraseType(self):
|
49851
|
+
r"""擦除类型
|
49852
|
+
- subtitle 去字幕
|
49853
|
+
- watermark 去水印
|
49854
|
+
- privacy 隐私保护
|
49855
|
+
:rtype: str
|
49856
|
+
"""
|
49857
|
+
return self._EraseType
|
49858
|
+
|
49859
|
+
@EraseType.setter
|
49860
|
+
def EraseType(self, EraseType):
|
49861
|
+
self._EraseType = EraseType
|
49862
|
+
|
49863
|
+
@property
|
49864
|
+
def EraseSubtitleConfig(self):
|
49865
|
+
r"""字幕擦除配置,EraseType取subtitle或者EraseType不填,对应模板原EraseType为subtitle时生效。
|
49866
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
49867
|
+
"""
|
49868
|
+
return self._EraseSubtitleConfig
|
49869
|
+
|
49870
|
+
@EraseSubtitleConfig.setter
|
49871
|
+
def EraseSubtitleConfig(self, EraseSubtitleConfig):
|
49872
|
+
self._EraseSubtitleConfig = EraseSubtitleConfig
|
49873
|
+
|
49874
|
+
@property
|
49875
|
+
def EraseWatermarkConfig(self):
|
49876
|
+
r"""水印擦除配置,EraseType取watermark或者EraseType不填,对应模板原EraseType为watermark时生效。
|
49877
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
49878
|
+
"""
|
49879
|
+
return self._EraseWatermarkConfig
|
49880
|
+
|
49881
|
+
@EraseWatermarkConfig.setter
|
49882
|
+
def EraseWatermarkConfig(self, EraseWatermarkConfig):
|
49883
|
+
self._EraseWatermarkConfig = EraseWatermarkConfig
|
49884
|
+
|
49885
|
+
@property
|
49886
|
+
def ErasePrivacyConfig(self):
|
49887
|
+
r"""隐私保护配置,EraseType取privacy或者EraseType不填,对应模板原EraseType为privacy时生效。
|
49888
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
49889
|
+
"""
|
49890
|
+
return self._ErasePrivacyConfig
|
49891
|
+
|
49892
|
+
@ErasePrivacyConfig.setter
|
49893
|
+
def ErasePrivacyConfig(self, ErasePrivacyConfig):
|
49894
|
+
self._ErasePrivacyConfig = ErasePrivacyConfig
|
49895
|
+
|
49896
|
+
|
49897
|
+
def _deserialize(self, params):
|
49898
|
+
self._Definition = params.get("Definition")
|
49899
|
+
self._Name = params.get("Name")
|
49900
|
+
self._Comment = params.get("Comment")
|
49901
|
+
self._EraseType = params.get("EraseType")
|
49902
|
+
if params.get("EraseSubtitleConfig") is not None:
|
49903
|
+
self._EraseSubtitleConfig = SmartEraseSubtitleConfig()
|
49904
|
+
self._EraseSubtitleConfig._deserialize(params.get("EraseSubtitleConfig"))
|
49905
|
+
if params.get("EraseWatermarkConfig") is not None:
|
49906
|
+
self._EraseWatermarkConfig = SmartEraseWatermarkConfig()
|
49907
|
+
self._EraseWatermarkConfig._deserialize(params.get("EraseWatermarkConfig"))
|
49908
|
+
if params.get("ErasePrivacyConfig") is not None:
|
49909
|
+
self._ErasePrivacyConfig = SmartErasePrivacyConfig()
|
49910
|
+
self._ErasePrivacyConfig._deserialize(params.get("ErasePrivacyConfig"))
|
49911
|
+
memeber_set = set(params.keys())
|
49912
|
+
for name, value in vars(self).items():
|
49913
|
+
property_name = name[1:]
|
49914
|
+
if property_name in memeber_set:
|
49915
|
+
memeber_set.remove(property_name)
|
49916
|
+
if len(memeber_set) > 0:
|
49917
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
49918
|
+
|
49919
|
+
|
49920
|
+
|
49921
|
+
class ModifySmartEraseTemplateResponse(AbstractModel):
|
49922
|
+
r"""ModifySmartEraseTemplate返回参数结构体
|
49923
|
+
|
49924
|
+
"""
|
49925
|
+
|
49926
|
+
def __init__(self):
|
49927
|
+
r"""
|
49928
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
49929
|
+
:type RequestId: str
|
49930
|
+
"""
|
49931
|
+
self._RequestId = None
|
49932
|
+
|
49933
|
+
@property
|
49934
|
+
def RequestId(self):
|
49935
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
49936
|
+
:rtype: str
|
49937
|
+
"""
|
49938
|
+
return self._RequestId
|
49939
|
+
|
49940
|
+
@RequestId.setter
|
49941
|
+
def RequestId(self, RequestId):
|
49942
|
+
self._RequestId = RequestId
|
49943
|
+
|
49944
|
+
|
49945
|
+
def _deserialize(self, params):
|
49946
|
+
self._RequestId = params.get("RequestId")
|
49947
|
+
|
49948
|
+
|
49390
49949
|
class ModifySmartSubtitleTemplateRequest(AbstractModel):
|
49391
49950
|
r"""ModifySmartSubtitleTemplate请求参数结构体
|
49392
49951
|
|
@@ -59750,10 +60309,10 @@ class SimpleAesDrm(AbstractModel):
|
|
59750
60309
|
:param _Uri: 请求解密秘钥uri地址。
|
59751
60310
|
注意:此字段可能返回 null,表示取不到有效值。
|
59752
60311
|
:type Uri: str
|
59753
|
-
:param _Key: 加密key(32字节字符串)。
|
60312
|
+
:param _Key: 加密key(十六进制32字节字符串)。
|
59754
60313
|
注意:此字段可能返回 null,表示取不到有效值。
|
59755
60314
|
:type Key: str
|
59756
|
-
:param _Vector: 加密初始化向量(32字节字符串)。
|
60315
|
+
:param _Vector: 加密初始化向量(十六进制32字节字符串)。
|
59757
60316
|
注意:此字段可能返回 null,表示取不到有效值。
|
59758
60317
|
:type Vector: str
|
59759
60318
|
"""
|
@@ -59775,7 +60334,7 @@ class SimpleAesDrm(AbstractModel):
|
|
59775
60334
|
|
59776
60335
|
@property
|
59777
60336
|
def Key(self):
|
59778
|
-
r"""加密key(32字节字符串)。
|
60337
|
+
r"""加密key(十六进制32字节字符串)。
|
59779
60338
|
注意:此字段可能返回 null,表示取不到有效值。
|
59780
60339
|
:rtype: str
|
59781
60340
|
"""
|
@@ -59787,7 +60346,7 @@ class SimpleAesDrm(AbstractModel):
|
|
59787
60346
|
|
59788
60347
|
@property
|
59789
60348
|
def Vector(self):
|
59790
|
-
r"""加密初始化向量(32字节字符串)。
|
60349
|
+
r"""加密初始化向量(十六进制32字节字符串)。
|
59791
60350
|
注意:此字段可能返回 null,表示取不到有效值。
|
59792
60351
|
:rtype: str
|
59793
60352
|
"""
|
@@ -60383,6 +60942,214 @@ class SmartEraseTaskResult(AbstractModel):
|
|
60383
60942
|
|
60384
60943
|
|
60385
60944
|
|
60945
|
+
class SmartEraseTemplateItem(AbstractModel):
|
60946
|
+
r"""智能擦除模板详情
|
60947
|
+
|
60948
|
+
"""
|
60949
|
+
|
60950
|
+
def __init__(self):
|
60951
|
+
r"""
|
60952
|
+
:param _Definition: 智能擦除模板唯一标识
|
60953
|
+
:type Definition: int
|
60954
|
+
:param _Name: 智能擦除模板名称
|
60955
|
+
:type Name: str
|
60956
|
+
:param _Comment: 智能擦除模板描述信息
|
60957
|
+
:type Comment: str
|
60958
|
+
:param _Type: 模板类型,取值范围:
|
60959
|
+
* Preset:系统预置模板;
|
60960
|
+
* Custom:用户自定义模板。
|
60961
|
+
:type Type: str
|
60962
|
+
:param _EraseType: 擦除类型
|
60963
|
+
- subtitle 去字幕
|
60964
|
+
- watermark 去水印
|
60965
|
+
- privacy 隐私保护
|
60966
|
+
:type EraseType: str
|
60967
|
+
:param _EraseSubtitleConfig: 字幕擦除配置
|
60968
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
60969
|
+
:type EraseSubtitleConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
60970
|
+
:param _EraseWatermarkConfig: 水印擦除配置
|
60971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
60972
|
+
:type EraseWatermarkConfig: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
60973
|
+
:param _ErasePrivacyConfig: 隐私保护配置
|
60974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
60975
|
+
:type ErasePrivacyConfig: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
60976
|
+
:param _CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
60977
|
+
:type CreateTime: str
|
60978
|
+
:param _UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
60979
|
+
:type UpdateTime: str
|
60980
|
+
:param _AliasName: 智能擦除预设模板别名
|
60981
|
+
:type AliasName: str
|
60982
|
+
"""
|
60983
|
+
self._Definition = None
|
60984
|
+
self._Name = None
|
60985
|
+
self._Comment = None
|
60986
|
+
self._Type = None
|
60987
|
+
self._EraseType = None
|
60988
|
+
self._EraseSubtitleConfig = None
|
60989
|
+
self._EraseWatermarkConfig = None
|
60990
|
+
self._ErasePrivacyConfig = None
|
60991
|
+
self._CreateTime = None
|
60992
|
+
self._UpdateTime = None
|
60993
|
+
self._AliasName = None
|
60994
|
+
|
60995
|
+
@property
|
60996
|
+
def Definition(self):
|
60997
|
+
r"""智能擦除模板唯一标识
|
60998
|
+
:rtype: int
|
60999
|
+
"""
|
61000
|
+
return self._Definition
|
61001
|
+
|
61002
|
+
@Definition.setter
|
61003
|
+
def Definition(self, Definition):
|
61004
|
+
self._Definition = Definition
|
61005
|
+
|
61006
|
+
@property
|
61007
|
+
def Name(self):
|
61008
|
+
r"""智能擦除模板名称
|
61009
|
+
:rtype: str
|
61010
|
+
"""
|
61011
|
+
return self._Name
|
61012
|
+
|
61013
|
+
@Name.setter
|
61014
|
+
def Name(self, Name):
|
61015
|
+
self._Name = Name
|
61016
|
+
|
61017
|
+
@property
|
61018
|
+
def Comment(self):
|
61019
|
+
r"""智能擦除模板描述信息
|
61020
|
+
:rtype: str
|
61021
|
+
"""
|
61022
|
+
return self._Comment
|
61023
|
+
|
61024
|
+
@Comment.setter
|
61025
|
+
def Comment(self, Comment):
|
61026
|
+
self._Comment = Comment
|
61027
|
+
|
61028
|
+
@property
|
61029
|
+
def Type(self):
|
61030
|
+
r"""模板类型,取值范围:
|
61031
|
+
* Preset:系统预置模板;
|
61032
|
+
* Custom:用户自定义模板。
|
61033
|
+
:rtype: str
|
61034
|
+
"""
|
61035
|
+
return self._Type
|
61036
|
+
|
61037
|
+
@Type.setter
|
61038
|
+
def Type(self, Type):
|
61039
|
+
self._Type = Type
|
61040
|
+
|
61041
|
+
@property
|
61042
|
+
def EraseType(self):
|
61043
|
+
r"""擦除类型
|
61044
|
+
- subtitle 去字幕
|
61045
|
+
- watermark 去水印
|
61046
|
+
- privacy 隐私保护
|
61047
|
+
:rtype: str
|
61048
|
+
"""
|
61049
|
+
return self._EraseType
|
61050
|
+
|
61051
|
+
@EraseType.setter
|
61052
|
+
def EraseType(self, EraseType):
|
61053
|
+
self._EraseType = EraseType
|
61054
|
+
|
61055
|
+
@property
|
61056
|
+
def EraseSubtitleConfig(self):
|
61057
|
+
r"""字幕擦除配置
|
61058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
61059
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseSubtitleConfig`
|
61060
|
+
"""
|
61061
|
+
return self._EraseSubtitleConfig
|
61062
|
+
|
61063
|
+
@EraseSubtitleConfig.setter
|
61064
|
+
def EraseSubtitleConfig(self, EraseSubtitleConfig):
|
61065
|
+
self._EraseSubtitleConfig = EraseSubtitleConfig
|
61066
|
+
|
61067
|
+
@property
|
61068
|
+
def EraseWatermarkConfig(self):
|
61069
|
+
r"""水印擦除配置
|
61070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
61071
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartEraseWatermarkConfig`
|
61072
|
+
"""
|
61073
|
+
return self._EraseWatermarkConfig
|
61074
|
+
|
61075
|
+
@EraseWatermarkConfig.setter
|
61076
|
+
def EraseWatermarkConfig(self, EraseWatermarkConfig):
|
61077
|
+
self._EraseWatermarkConfig = EraseWatermarkConfig
|
61078
|
+
|
61079
|
+
@property
|
61080
|
+
def ErasePrivacyConfig(self):
|
61081
|
+
r"""隐私保护配置
|
61082
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
61083
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SmartErasePrivacyConfig`
|
61084
|
+
"""
|
61085
|
+
return self._ErasePrivacyConfig
|
61086
|
+
|
61087
|
+
@ErasePrivacyConfig.setter
|
61088
|
+
def ErasePrivacyConfig(self, ErasePrivacyConfig):
|
61089
|
+
self._ErasePrivacyConfig = ErasePrivacyConfig
|
61090
|
+
|
61091
|
+
@property
|
61092
|
+
def CreateTime(self):
|
61093
|
+
r"""模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
61094
|
+
:rtype: str
|
61095
|
+
"""
|
61096
|
+
return self._CreateTime
|
61097
|
+
|
61098
|
+
@CreateTime.setter
|
61099
|
+
def CreateTime(self, CreateTime):
|
61100
|
+
self._CreateTime = CreateTime
|
61101
|
+
|
61102
|
+
@property
|
61103
|
+
def UpdateTime(self):
|
61104
|
+
r"""模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
61105
|
+
:rtype: str
|
61106
|
+
"""
|
61107
|
+
return self._UpdateTime
|
61108
|
+
|
61109
|
+
@UpdateTime.setter
|
61110
|
+
def UpdateTime(self, UpdateTime):
|
61111
|
+
self._UpdateTime = UpdateTime
|
61112
|
+
|
61113
|
+
@property
|
61114
|
+
def AliasName(self):
|
61115
|
+
r"""智能擦除预设模板别名
|
61116
|
+
:rtype: str
|
61117
|
+
"""
|
61118
|
+
return self._AliasName
|
61119
|
+
|
61120
|
+
@AliasName.setter
|
61121
|
+
def AliasName(self, AliasName):
|
61122
|
+
self._AliasName = AliasName
|
61123
|
+
|
61124
|
+
|
61125
|
+
def _deserialize(self, params):
|
61126
|
+
self._Definition = params.get("Definition")
|
61127
|
+
self._Name = params.get("Name")
|
61128
|
+
self._Comment = params.get("Comment")
|
61129
|
+
self._Type = params.get("Type")
|
61130
|
+
self._EraseType = params.get("EraseType")
|
61131
|
+
if params.get("EraseSubtitleConfig") is not None:
|
61132
|
+
self._EraseSubtitleConfig = SmartEraseSubtitleConfig()
|
61133
|
+
self._EraseSubtitleConfig._deserialize(params.get("EraseSubtitleConfig"))
|
61134
|
+
if params.get("EraseWatermarkConfig") is not None:
|
61135
|
+
self._EraseWatermarkConfig = SmartEraseWatermarkConfig()
|
61136
|
+
self._EraseWatermarkConfig._deserialize(params.get("EraseWatermarkConfig"))
|
61137
|
+
if params.get("ErasePrivacyConfig") is not None:
|
61138
|
+
self._ErasePrivacyConfig = SmartErasePrivacyConfig()
|
61139
|
+
self._ErasePrivacyConfig._deserialize(params.get("ErasePrivacyConfig"))
|
61140
|
+
self._CreateTime = params.get("CreateTime")
|
61141
|
+
self._UpdateTime = params.get("UpdateTime")
|
61142
|
+
self._AliasName = params.get("AliasName")
|
61143
|
+
memeber_set = set(params.keys())
|
61144
|
+
for name, value in vars(self).items():
|
61145
|
+
property_name = name[1:]
|
61146
|
+
if property_name in memeber_set:
|
61147
|
+
memeber_set.remove(property_name)
|
61148
|
+
if len(memeber_set) > 0:
|
61149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
61150
|
+
|
61151
|
+
|
61152
|
+
|
60386
61153
|
class SmartEraseWatermarkConfig(AbstractModel):
|
60387
61154
|
r"""智能擦除模板去水印配置
|
60388
61155
|
|
@@ -62281,7 +63048,7 @@ class SpekeDrm(AbstractModel):
|
|
62281
63048
|
|
62282
63049
|
注: 不同DRM厂商对子流的数量限制不一样,如 PallyCon 限制不能超过5条子流,DRMtoday厂商最多仅支持9条子流加密
|
62283
63050
|
:type KeyServerUrl: str
|
62284
|
-
:param _Vector: 加密初始化向量(32字节字符串),该字段内容为用户自定义。
|
63051
|
+
:param _Vector: 加密初始化向量(十六进制32字节字符串),该字段内容为用户自定义。
|
62285
63052
|
:type Vector: str
|
62286
63053
|
:param _EncryptionMethod: 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
|
62287
63054
|
|
@@ -62327,7 +63094,7 @@ preset1:每个子流使用不同的key加密;
|
|
62327
63094
|
|
62328
63095
|
@property
|
62329
63096
|
def Vector(self):
|
62330
|
-
r"""加密初始化向量(32字节字符串),该字段内容为用户自定义。
|
63097
|
+
r"""加密初始化向量(十六进制32字节字符串),该字段内容为用户自定义。
|
62331
63098
|
:rtype: str
|
62332
63099
|
"""
|
62333
63100
|
return self._Vector
|