tencentcloud-sdk-python 3.0.1445__py2.py3-none-any.whl → 3.0.1447__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/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -0
- tencentcloud/cbs/v20170312/models.py +17 -2
- tencentcloud/ccc/v20200210/models.py +21 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +30 -6
- tencentcloud/cdwdoris/v20211228/models.py +45 -0
- tencentcloud/cfs/v20190719/models.py +21 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/cls/v20201016/models.py +98 -24
- tencentcloud/common/abstract_client.py +14 -12
- tencentcloud/common/credential.py +61 -26
- tencentcloud/csip/v20221121/models.py +4 -4
- tencentcloud/ctem/v20231128/models.py +30 -0
- tencentcloud/cwp/v20180228/models.py +53 -14
- tencentcloud/cynosdb/v20190107/models.py +2 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/dlc_client.py +161 -0
- tencentcloud/dlc/v20210125/errorcodes.py +6 -0
- tencentcloud/dlc/v20210125/models.py +1049 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/es/v20180416/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +313 -8
- tencentcloud/essbasic/v20210526/models.py +70 -14
- tencentcloud/faceid/v20180301/models.py +2 -2
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +1036 -91
- tencentcloud/iotexplorer/v20190423/models.py +112 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +122 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +16 -10
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -0
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +19 -0
- tencentcloud/mps/v20190612/models.py +229 -10
- tencentcloud/mqtt/v20240516/errorcodes.py +3 -0
- tencentcloud/mqtt/v20240516/models.py +880 -22
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +7 -23
- tencentcloud/organization/v20210331/models.py +393 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/partners/v20180321/models.py +8 -8
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tbaas/v20180416/models.py +12 -12
- tencentcloud/tcaplusdb/v20190823/models.py +0 -328
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +51 -17
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -1
- tencentcloud/tione/v20211111/models.py +333 -10
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +32 -2
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tse/v20201207/models.py +15 -0
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +4 -12
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/RECORD +76 -76
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1445.dist-info → tencentcloud_sdk_python-3.0.1447.dist-info}/top_level.txt +0 -0
|
@@ -18013,11 +18013,14 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
|
18013
18013
|
:type Name: str
|
|
18014
18014
|
:param _Comment: 模板描述信息,长度限制:256 个字符。
|
|
18015
18015
|
:type Comment: str
|
|
18016
|
+
:param _RecordType: 录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。不填时默认值为video。
|
|
18017
|
+
:type RecordType: str
|
|
18016
18018
|
"""
|
|
18017
18019
|
self._HLSConfigure = None
|
|
18018
18020
|
self._MP4Configure = None
|
|
18019
18021
|
self._Name = None
|
|
18020
18022
|
self._Comment = None
|
|
18023
|
+
self._RecordType = None
|
|
18021
18024
|
|
|
18022
18025
|
@property
|
|
18023
18026
|
def HLSConfigure(self):
|
|
@@ -18063,6 +18066,17 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
|
18063
18066
|
def Comment(self, Comment):
|
|
18064
18067
|
self._Comment = Comment
|
|
18065
18068
|
|
|
18069
|
+
@property
|
|
18070
|
+
def RecordType(self):
|
|
18071
|
+
"""录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。不填时默认值为video。
|
|
18072
|
+
:rtype: str
|
|
18073
|
+
"""
|
|
18074
|
+
return self._RecordType
|
|
18075
|
+
|
|
18076
|
+
@RecordType.setter
|
|
18077
|
+
def RecordType(self, RecordType):
|
|
18078
|
+
self._RecordType = RecordType
|
|
18079
|
+
|
|
18066
18080
|
|
|
18067
18081
|
def _deserialize(self, params):
|
|
18068
18082
|
if params.get("HLSConfigure") is not None:
|
|
@@ -18073,6 +18087,7 @@ class CreateLiveRecordTemplateRequest(AbstractModel):
|
|
|
18073
18087
|
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
|
18074
18088
|
self._Name = params.get("Name")
|
|
18075
18089
|
self._Comment = params.get("Comment")
|
|
18090
|
+
self._RecordType = params.get("RecordType")
|
|
18076
18091
|
memeber_set = set(params.keys())
|
|
18077
18092
|
for name, value in vars(self).items():
|
|
18078
18093
|
property_name = name[1:]
|
|
@@ -38613,6 +38628,8 @@ class LiveRecordTemplate(AbstractModel):
|
|
|
38613
38628
|
:type CreateTime: str
|
|
38614
38629
|
:param _UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
38615
38630
|
:type UpdateTime: str
|
|
38631
|
+
:param _RecordType: 录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。
|
|
38632
|
+
:type RecordType: str
|
|
38616
38633
|
"""
|
|
38617
38634
|
self._Definition = None
|
|
38618
38635
|
self._HLSConfigure = None
|
|
@@ -38622,6 +38639,7 @@ class LiveRecordTemplate(AbstractModel):
|
|
|
38622
38639
|
self._Type = None
|
|
38623
38640
|
self._CreateTime = None
|
|
38624
38641
|
self._UpdateTime = None
|
|
38642
|
+
self._RecordType = None
|
|
38625
38643
|
|
|
38626
38644
|
@property
|
|
38627
38645
|
def Definition(self):
|
|
@@ -38713,6 +38731,17 @@ class LiveRecordTemplate(AbstractModel):
|
|
|
38713
38731
|
def UpdateTime(self, UpdateTime):
|
|
38714
38732
|
self._UpdateTime = UpdateTime
|
|
38715
38733
|
|
|
38734
|
+
@property
|
|
38735
|
+
def RecordType(self):
|
|
38736
|
+
"""录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。
|
|
38737
|
+
:rtype: str
|
|
38738
|
+
"""
|
|
38739
|
+
return self._RecordType
|
|
38740
|
+
|
|
38741
|
+
@RecordType.setter
|
|
38742
|
+
def RecordType(self, RecordType):
|
|
38743
|
+
self._RecordType = RecordType
|
|
38744
|
+
|
|
38716
38745
|
|
|
38717
38746
|
def _deserialize(self, params):
|
|
38718
38747
|
self._Definition = params.get("Definition")
|
|
@@ -38727,6 +38756,7 @@ class LiveRecordTemplate(AbstractModel):
|
|
|
38727
38756
|
self._Type = params.get("Type")
|
|
38728
38757
|
self._CreateTime = params.get("CreateTime")
|
|
38729
38758
|
self._UpdateTime = params.get("UpdateTime")
|
|
38759
|
+
self._RecordType = params.get("RecordType")
|
|
38730
38760
|
memeber_set = set(params.keys())
|
|
38731
38761
|
for name, value in vars(self).items():
|
|
38732
38762
|
property_name = name[1:]
|
|
@@ -41229,20 +41259,20 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
|
41229
41259
|
def __init__(self):
|
|
41230
41260
|
r"""
|
|
41231
41261
|
:param _NotifyType: 通知类型:
|
|
41232
|
-
|
|
41262
|
+
TDMQ-CMQ:消息队列
|
|
41233
41263
|
"URL": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数
|
|
41234
41264
|
|
|
41235
41265
|
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
|
41236
41266
|
:type NotifyType: str
|
|
41237
41267
|
:param _NotifyUrl: HTTP回调地址,NotifyType为URL时必填。
|
|
41238
41268
|
:type NotifyUrl: str
|
|
41239
|
-
:param _CmqModel:
|
|
41269
|
+
:param _CmqModel: 有 Queue 和 Topic 两种模型。
|
|
41240
41270
|
:type CmqModel: str
|
|
41241
|
-
:param _CmqRegion: CMQ 的园区,如 sh,bj 等。
|
|
41271
|
+
:param _CmqRegion: TDMQ-CMQ 的园区,如 sh,bj 等。
|
|
41242
41272
|
:type CmqRegion: str
|
|
41243
|
-
:param _QueueName: 当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
|
|
41273
|
+
:param _QueueName: 当模型为 Queue 时有效,表示接收事件通知的 TDMQ-CMQ 的队列名。
|
|
41244
41274
|
:type QueueName: str
|
|
41245
|
-
:param _TopicName: 当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
|
|
41275
|
+
:param _TopicName: 当模型为 Topic 时有效,表示接收事件通知的 TDMQ-CMQ 的主题名。
|
|
41246
41276
|
:type TopicName: str
|
|
41247
41277
|
:param _NotifyKey: 用于生成回调签名的 Key。
|
|
41248
41278
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -41259,7 +41289,7 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
|
41259
41289
|
@property
|
|
41260
41290
|
def NotifyType(self):
|
|
41261
41291
|
"""通知类型:
|
|
41262
|
-
|
|
41292
|
+
TDMQ-CMQ:消息队列
|
|
41263
41293
|
"URL": 指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同[解析直播事件通知接口](https://cloud.tencent.com/document/product/862/39229) 的输出参数
|
|
41264
41294
|
|
|
41265
41295
|
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
|
@@ -41284,7 +41314,7 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
|
41284
41314
|
|
|
41285
41315
|
@property
|
|
41286
41316
|
def CmqModel(self):
|
|
41287
|
-
"""
|
|
41317
|
+
"""有 Queue 和 Topic 两种模型。
|
|
41288
41318
|
:rtype: str
|
|
41289
41319
|
"""
|
|
41290
41320
|
return self._CmqModel
|
|
@@ -41295,7 +41325,7 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
|
41295
41325
|
|
|
41296
41326
|
@property
|
|
41297
41327
|
def CmqRegion(self):
|
|
41298
|
-
"""CMQ 的园区,如 sh,bj 等。
|
|
41328
|
+
"""TDMQ-CMQ 的园区,如 sh,bj 等。
|
|
41299
41329
|
:rtype: str
|
|
41300
41330
|
"""
|
|
41301
41331
|
return self._CmqRegion
|
|
@@ -41306,7 +41336,7 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
|
41306
41336
|
|
|
41307
41337
|
@property
|
|
41308
41338
|
def QueueName(self):
|
|
41309
|
-
"""当模型为 Queue 时有效,表示接收事件通知的 CMQ 的队列名。
|
|
41339
|
+
"""当模型为 Queue 时有效,表示接收事件通知的 TDMQ-CMQ 的队列名。
|
|
41310
41340
|
:rtype: str
|
|
41311
41341
|
"""
|
|
41312
41342
|
return self._QueueName
|
|
@@ -41317,7 +41347,7 @@ class LiveStreamTaskNotifyConfig(AbstractModel):
|
|
|
41317
41347
|
|
|
41318
41348
|
@property
|
|
41319
41349
|
def TopicName(self):
|
|
41320
|
-
"""当模型为 Topic 时有效,表示接收事件通知的 CMQ 的主题名。
|
|
41350
|
+
"""当模型为 Topic 时有效,表示接收事件通知的 TDMQ-CMQ 的主题名。
|
|
41321
41351
|
:rtype: str
|
|
41322
41352
|
"""
|
|
41323
41353
|
return self._TopicName
|
|
@@ -47193,12 +47223,15 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
|
47193
47223
|
:type Name: str
|
|
47194
47224
|
:param _Comment: 模板描述信息,长度限制:256 个字符。
|
|
47195
47225
|
:type Comment: str
|
|
47226
|
+
:param _RecordType: 录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。
|
|
47227
|
+
:type RecordType: str
|
|
47196
47228
|
"""
|
|
47197
47229
|
self._Definition = None
|
|
47198
47230
|
self._HLSConfigure = None
|
|
47199
47231
|
self._MP4Configure = None
|
|
47200
47232
|
self._Name = None
|
|
47201
47233
|
self._Comment = None
|
|
47234
|
+
self._RecordType = None
|
|
47202
47235
|
|
|
47203
47236
|
@property
|
|
47204
47237
|
def Definition(self):
|
|
@@ -47255,6 +47288,17 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
|
47255
47288
|
def Comment(self, Comment):
|
|
47256
47289
|
self._Comment = Comment
|
|
47257
47290
|
|
|
47291
|
+
@property
|
|
47292
|
+
def RecordType(self):
|
|
47293
|
+
"""录制类型,取值为video(音视频录制)、audio(纯音频录制)、auto(自动探测)。
|
|
47294
|
+
:rtype: str
|
|
47295
|
+
"""
|
|
47296
|
+
return self._RecordType
|
|
47297
|
+
|
|
47298
|
+
@RecordType.setter
|
|
47299
|
+
def RecordType(self, RecordType):
|
|
47300
|
+
self._RecordType = RecordType
|
|
47301
|
+
|
|
47258
47302
|
|
|
47259
47303
|
def _deserialize(self, params):
|
|
47260
47304
|
self._Definition = params.get("Definition")
|
|
@@ -47266,6 +47310,7 @@ class ModifyLiveRecordTemplateRequest(AbstractModel):
|
|
|
47266
47310
|
self._MP4Configure._deserialize(params.get("MP4Configure"))
|
|
47267
47311
|
self._Name = params.get("Name")
|
|
47268
47312
|
self._Comment = params.get("Comment")
|
|
47313
|
+
self._RecordType = params.get("RecordType")
|
|
47269
47314
|
memeber_set = set(params.keys())
|
|
47270
47315
|
for name, value in vars(self).items():
|
|
47271
47316
|
property_name = name[1:]
|
|
@@ -54860,6 +54905,9 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
54860
54905
|
:param _EnhanceConfig: 音视频增强配置
|
|
54861
54906
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
54862
54907
|
:type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
|
|
54908
|
+
:param _SubtitleTemplate: 字幕参数
|
|
54909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54910
|
+
:type SubtitleTemplate: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
|
54863
54911
|
"""
|
|
54864
54912
|
self._Container = None
|
|
54865
54913
|
self._RemoveVideo = None
|
|
@@ -54869,6 +54917,7 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
54869
54917
|
self._TEHDConfig = None
|
|
54870
54918
|
self._StdExtInfo = None
|
|
54871
54919
|
self._EnhanceConfig = None
|
|
54920
|
+
self._SubtitleTemplate = None
|
|
54872
54921
|
|
|
54873
54922
|
@property
|
|
54874
54923
|
def Container(self):
|
|
@@ -54965,6 +55014,18 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
54965
55014
|
def EnhanceConfig(self, EnhanceConfig):
|
|
54966
55015
|
self._EnhanceConfig = EnhanceConfig
|
|
54967
55016
|
|
|
55017
|
+
@property
|
|
55018
|
+
def SubtitleTemplate(self):
|
|
55019
|
+
"""字幕参数
|
|
55020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55021
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
|
55022
|
+
"""
|
|
55023
|
+
return self._SubtitleTemplate
|
|
55024
|
+
|
|
55025
|
+
@SubtitleTemplate.setter
|
|
55026
|
+
def SubtitleTemplate(self, SubtitleTemplate):
|
|
55027
|
+
self._SubtitleTemplate = SubtitleTemplate
|
|
55028
|
+
|
|
54968
55029
|
|
|
54969
55030
|
def _deserialize(self, params):
|
|
54970
55031
|
self._Container = params.get("Container")
|
|
@@ -54983,6 +55044,9 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
54983
55044
|
if params.get("EnhanceConfig") is not None:
|
|
54984
55045
|
self._EnhanceConfig = EnhanceConfig()
|
|
54985
55046
|
self._EnhanceConfig._deserialize(params.get("EnhanceConfig"))
|
|
55047
|
+
if params.get("SubtitleTemplate") is not None:
|
|
55048
|
+
self._SubtitleTemplate = SubtitleTemplate()
|
|
55049
|
+
self._SubtitleTemplate._deserialize(params.get("SubtitleTemplate"))
|
|
54986
55050
|
memeber_set = set(params.keys())
|
|
54987
55051
|
for name, value in vars(self).items():
|
|
54988
55052
|
property_name = name[1:]
|
|
@@ -60695,6 +60759,9 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60695
60759
|
|
|
60696
60760
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
60697
60761
|
:type StreamIndex: int
|
|
60762
|
+
:param _SubtitleFileInput: 要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件
|
|
60763
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60764
|
+
:type SubtitleFileInput: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
|
60698
60765
|
:param _FontType: 字体类型,支持:
|
|
60699
60766
|
<li>hei.ttf:黑体</li>
|
|
60700
60767
|
<li>song.ttf:宋体</li>
|
|
@@ -60770,9 +60837,34 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60770
60837
|
默认值:0.8。
|
|
60771
60838
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
60772
60839
|
:type BoardAlpha: float
|
|
60840
|
+
:param _OutlineWidth: 描边宽度
|
|
60841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60842
|
+
:type OutlineWidth: float
|
|
60843
|
+
:param _OutlineColor: 描边颜色。6位16进制RGB
|
|
60844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60845
|
+
:type OutlineColor: str
|
|
60846
|
+
:param _OutlineAlpha: 描边透明度。(0,1] 正浮点数
|
|
60847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60848
|
+
:type OutlineAlpha: float
|
|
60849
|
+
:param _ShadowWidth: 阴影宽度。浮点数 [0, 1000]
|
|
60850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60851
|
+
:type ShadowWidth: float
|
|
60852
|
+
:param _ShadowColor: 阴影颜色。6位16进制RGB
|
|
60853
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60854
|
+
:type ShadowColor: str
|
|
60855
|
+
:param _ShadowAlpha: 阴影透明度。(0,1] 正浮点数
|
|
60856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60857
|
+
:type ShadowAlpha: float
|
|
60858
|
+
:param _LineSpacing: 行间距。正整数 [0, 1000]
|
|
60859
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60860
|
+
:type LineSpacing: int
|
|
60861
|
+
:param _Alignment: 对齐方式,,取值:top: 顶部对齐,字幕顶部按位置固定,底部随行数变化。bottom: 底部对齐,字幕底部按位置固定,顶部随行数变化。
|
|
60862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60863
|
+
:type Alignment: str
|
|
60773
60864
|
"""
|
|
60774
60865
|
self._Path = None
|
|
60775
60866
|
self._StreamIndex = None
|
|
60867
|
+
self._SubtitleFileInput = None
|
|
60776
60868
|
self._FontType = None
|
|
60777
60869
|
self._FontSize = None
|
|
60778
60870
|
self._FontColor = None
|
|
@@ -60783,6 +60875,14 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60783
60875
|
self._BoardHeight = None
|
|
60784
60876
|
self._BoardColor = None
|
|
60785
60877
|
self._BoardAlpha = None
|
|
60878
|
+
self._OutlineWidth = None
|
|
60879
|
+
self._OutlineColor = None
|
|
60880
|
+
self._OutlineAlpha = None
|
|
60881
|
+
self._ShadowWidth = None
|
|
60882
|
+
self._ShadowColor = None
|
|
60883
|
+
self._ShadowAlpha = None
|
|
60884
|
+
self._LineSpacing = None
|
|
60885
|
+
self._Alignment = None
|
|
60786
60886
|
|
|
60787
60887
|
@property
|
|
60788
60888
|
def Path(self):
|
|
@@ -60812,6 +60912,18 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60812
60912
|
def StreamIndex(self, StreamIndex):
|
|
60813
60913
|
self._StreamIndex = StreamIndex
|
|
60814
60914
|
|
|
60915
|
+
@property
|
|
60916
|
+
def SubtitleFileInput(self):
|
|
60917
|
+
"""要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件
|
|
60918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60919
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
|
60920
|
+
"""
|
|
60921
|
+
return self._SubtitleFileInput
|
|
60922
|
+
|
|
60923
|
+
@SubtitleFileInput.setter
|
|
60924
|
+
def SubtitleFileInput(self, SubtitleFileInput):
|
|
60925
|
+
self._SubtitleFileInput = SubtitleFileInput
|
|
60926
|
+
|
|
60815
60927
|
@property
|
|
60816
60928
|
def FontType(self):
|
|
60817
60929
|
"""字体类型,支持:
|
|
@@ -60977,10 +61089,109 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60977
61089
|
def BoardAlpha(self, BoardAlpha):
|
|
60978
61090
|
self._BoardAlpha = BoardAlpha
|
|
60979
61091
|
|
|
61092
|
+
@property
|
|
61093
|
+
def OutlineWidth(self):
|
|
61094
|
+
"""描边宽度
|
|
61095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61096
|
+
:rtype: float
|
|
61097
|
+
"""
|
|
61098
|
+
return self._OutlineWidth
|
|
61099
|
+
|
|
61100
|
+
@OutlineWidth.setter
|
|
61101
|
+
def OutlineWidth(self, OutlineWidth):
|
|
61102
|
+
self._OutlineWidth = OutlineWidth
|
|
61103
|
+
|
|
61104
|
+
@property
|
|
61105
|
+
def OutlineColor(self):
|
|
61106
|
+
"""描边颜色。6位16进制RGB
|
|
61107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61108
|
+
:rtype: str
|
|
61109
|
+
"""
|
|
61110
|
+
return self._OutlineColor
|
|
61111
|
+
|
|
61112
|
+
@OutlineColor.setter
|
|
61113
|
+
def OutlineColor(self, OutlineColor):
|
|
61114
|
+
self._OutlineColor = OutlineColor
|
|
61115
|
+
|
|
61116
|
+
@property
|
|
61117
|
+
def OutlineAlpha(self):
|
|
61118
|
+
"""描边透明度。(0,1] 正浮点数
|
|
61119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61120
|
+
:rtype: float
|
|
61121
|
+
"""
|
|
61122
|
+
return self._OutlineAlpha
|
|
61123
|
+
|
|
61124
|
+
@OutlineAlpha.setter
|
|
61125
|
+
def OutlineAlpha(self, OutlineAlpha):
|
|
61126
|
+
self._OutlineAlpha = OutlineAlpha
|
|
61127
|
+
|
|
61128
|
+
@property
|
|
61129
|
+
def ShadowWidth(self):
|
|
61130
|
+
"""阴影宽度。浮点数 [0, 1000]
|
|
61131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61132
|
+
:rtype: float
|
|
61133
|
+
"""
|
|
61134
|
+
return self._ShadowWidth
|
|
61135
|
+
|
|
61136
|
+
@ShadowWidth.setter
|
|
61137
|
+
def ShadowWidth(self, ShadowWidth):
|
|
61138
|
+
self._ShadowWidth = ShadowWidth
|
|
61139
|
+
|
|
61140
|
+
@property
|
|
61141
|
+
def ShadowColor(self):
|
|
61142
|
+
"""阴影颜色。6位16进制RGB
|
|
61143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61144
|
+
:rtype: str
|
|
61145
|
+
"""
|
|
61146
|
+
return self._ShadowColor
|
|
61147
|
+
|
|
61148
|
+
@ShadowColor.setter
|
|
61149
|
+
def ShadowColor(self, ShadowColor):
|
|
61150
|
+
self._ShadowColor = ShadowColor
|
|
61151
|
+
|
|
61152
|
+
@property
|
|
61153
|
+
def ShadowAlpha(self):
|
|
61154
|
+
"""阴影透明度。(0,1] 正浮点数
|
|
61155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61156
|
+
:rtype: float
|
|
61157
|
+
"""
|
|
61158
|
+
return self._ShadowAlpha
|
|
61159
|
+
|
|
61160
|
+
@ShadowAlpha.setter
|
|
61161
|
+
def ShadowAlpha(self, ShadowAlpha):
|
|
61162
|
+
self._ShadowAlpha = ShadowAlpha
|
|
61163
|
+
|
|
61164
|
+
@property
|
|
61165
|
+
def LineSpacing(self):
|
|
61166
|
+
"""行间距。正整数 [0, 1000]
|
|
61167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61168
|
+
:rtype: int
|
|
61169
|
+
"""
|
|
61170
|
+
return self._LineSpacing
|
|
61171
|
+
|
|
61172
|
+
@LineSpacing.setter
|
|
61173
|
+
def LineSpacing(self, LineSpacing):
|
|
61174
|
+
self._LineSpacing = LineSpacing
|
|
61175
|
+
|
|
61176
|
+
@property
|
|
61177
|
+
def Alignment(self):
|
|
61178
|
+
"""对齐方式,,取值:top: 顶部对齐,字幕顶部按位置固定,底部随行数变化。bottom: 底部对齐,字幕底部按位置固定,顶部随行数变化。
|
|
61179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61180
|
+
:rtype: str
|
|
61181
|
+
"""
|
|
61182
|
+
return self._Alignment
|
|
61183
|
+
|
|
61184
|
+
@Alignment.setter
|
|
61185
|
+
def Alignment(self, Alignment):
|
|
61186
|
+
self._Alignment = Alignment
|
|
61187
|
+
|
|
60980
61188
|
|
|
60981
61189
|
def _deserialize(self, params):
|
|
60982
61190
|
self._Path = params.get("Path")
|
|
60983
61191
|
self._StreamIndex = params.get("StreamIndex")
|
|
61192
|
+
if params.get("SubtitleFileInput") is not None:
|
|
61193
|
+
self._SubtitleFileInput = MediaInputInfo()
|
|
61194
|
+
self._SubtitleFileInput._deserialize(params.get("SubtitleFileInput"))
|
|
60984
61195
|
self._FontType = params.get("FontType")
|
|
60985
61196
|
self._FontSize = params.get("FontSize")
|
|
60986
61197
|
self._FontColor = params.get("FontColor")
|
|
@@ -60991,6 +61202,14 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60991
61202
|
self._BoardHeight = params.get("BoardHeight")
|
|
60992
61203
|
self._BoardColor = params.get("BoardColor")
|
|
60993
61204
|
self._BoardAlpha = params.get("BoardAlpha")
|
|
61205
|
+
self._OutlineWidth = params.get("OutlineWidth")
|
|
61206
|
+
self._OutlineColor = params.get("OutlineColor")
|
|
61207
|
+
self._OutlineAlpha = params.get("OutlineAlpha")
|
|
61208
|
+
self._ShadowWidth = params.get("ShadowWidth")
|
|
61209
|
+
self._ShadowColor = params.get("ShadowColor")
|
|
61210
|
+
self._ShadowAlpha = params.get("ShadowAlpha")
|
|
61211
|
+
self._LineSpacing = params.get("LineSpacing")
|
|
61212
|
+
self._Alignment = params.get("Alignment")
|
|
60994
61213
|
memeber_set = set(params.keys())
|
|
60995
61214
|
for name, value in vars(self).items():
|
|
60996
61215
|
property_name = name[1:]
|