tencentcloud-sdk-python 3.0.1446__py2.py3-none-any.whl → 3.0.1448__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/bi/v20220105/bi_client.py +23 -0
- tencentcloud/bi/v20220105/models.py +179 -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 +110 -26
- 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 +6 -0
- tencentcloud/dc/v20180410/models.py +30 -0
- tencentcloud/dlc/v20210125/errorcodes.py +12 -0
- tencentcloud/dlc/v20210125/models.py +30 -0
- tencentcloud/dts/v20211206/dts_client.py +23 -0
- tencentcloud/dts/v20211206/models.py +64 -0
- tencentcloud/ess/v20201111/ess_client.py +56 -0
- tencentcloud/ess/v20201111/models.py +496 -22
- tencentcloud/essbasic/v20210526/models.py +10 -16
- 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 +934 -17
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +465 -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 +174 -0
- 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 +16 -12
- tencentcloud/partners/v20180321/partners_client.py +2 -2
- tencentcloud/rce/v20201103/rce_client.py +1 -1
- tencentcloud/smh/v20210712/models.py +19 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +315 -0
- 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/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/trtc/v20190722/trtc_client.py +9 -3
- tencentcloud/tsf/v20180326/errorcodes.py +3 -0
- tencentcloud/tsf/v20180326/models.py +10 -12
- tencentcloud/vclm/v20240523/models.py +15 -0
- tencentcloud/vpc/v20170312/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/RECORD +71 -71
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1446.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/top_level.txt +0 -0
|
@@ -6825,6 +6825,47 @@ class DescribeDeviceData(AbstractModel):
|
|
|
6825
6825
|
|
|
6826
6826
|
|
|
6827
6827
|
|
|
6828
|
+
class DescribeDeviceListData(AbstractModel):
|
|
6829
|
+
"""批量查询设备接口返回数据
|
|
6830
|
+
|
|
6831
|
+
"""
|
|
6832
|
+
|
|
6833
|
+
def __init__(self):
|
|
6834
|
+
r"""
|
|
6835
|
+
:param _List: 设备详情列表
|
|
6836
|
+
:type List: list of DescribeDeviceData
|
|
6837
|
+
"""
|
|
6838
|
+
self._List = None
|
|
6839
|
+
|
|
6840
|
+
@property
|
|
6841
|
+
def List(self):
|
|
6842
|
+
"""设备详情列表
|
|
6843
|
+
:rtype: list of DescribeDeviceData
|
|
6844
|
+
"""
|
|
6845
|
+
return self._List
|
|
6846
|
+
|
|
6847
|
+
@List.setter
|
|
6848
|
+
def List(self, List):
|
|
6849
|
+
self._List = List
|
|
6850
|
+
|
|
6851
|
+
|
|
6852
|
+
def _deserialize(self, params):
|
|
6853
|
+
if params.get("List") is not None:
|
|
6854
|
+
self._List = []
|
|
6855
|
+
for item in params.get("List"):
|
|
6856
|
+
obj = DescribeDeviceData()
|
|
6857
|
+
obj._deserialize(item)
|
|
6858
|
+
self._List.append(obj)
|
|
6859
|
+
memeber_set = set(params.keys())
|
|
6860
|
+
for name, value in vars(self).items():
|
|
6861
|
+
property_name = name[1:]
|
|
6862
|
+
if property_name in memeber_set:
|
|
6863
|
+
memeber_set.remove(property_name)
|
|
6864
|
+
if len(memeber_set) > 0:
|
|
6865
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6866
|
+
|
|
6867
|
+
|
|
6868
|
+
|
|
6828
6869
|
class DescribeDevicePresetData(AbstractModel):
|
|
6829
6870
|
"""查询设备预置位返回数据
|
|
6830
6871
|
|
|
@@ -10169,6 +10210,87 @@ class DescribeTaskResponse(AbstractModel):
|
|
|
10169
10210
|
self._RequestId = params.get("RequestId")
|
|
10170
10211
|
|
|
10171
10212
|
|
|
10213
|
+
class DescribeUserDeviceListRequest(AbstractModel):
|
|
10214
|
+
"""DescribeUserDeviceList请求参数结构体
|
|
10215
|
+
|
|
10216
|
+
"""
|
|
10217
|
+
|
|
10218
|
+
def __init__(self):
|
|
10219
|
+
r"""
|
|
10220
|
+
:param _DeviceIds: 设备Id列表
|
|
10221
|
+
:type DeviceIds: list of str
|
|
10222
|
+
"""
|
|
10223
|
+
self._DeviceIds = None
|
|
10224
|
+
|
|
10225
|
+
@property
|
|
10226
|
+
def DeviceIds(self):
|
|
10227
|
+
"""设备Id列表
|
|
10228
|
+
:rtype: list of str
|
|
10229
|
+
"""
|
|
10230
|
+
return self._DeviceIds
|
|
10231
|
+
|
|
10232
|
+
@DeviceIds.setter
|
|
10233
|
+
def DeviceIds(self, DeviceIds):
|
|
10234
|
+
self._DeviceIds = DeviceIds
|
|
10235
|
+
|
|
10236
|
+
|
|
10237
|
+
def _deserialize(self, params):
|
|
10238
|
+
self._DeviceIds = params.get("DeviceIds")
|
|
10239
|
+
memeber_set = set(params.keys())
|
|
10240
|
+
for name, value in vars(self).items():
|
|
10241
|
+
property_name = name[1:]
|
|
10242
|
+
if property_name in memeber_set:
|
|
10243
|
+
memeber_set.remove(property_name)
|
|
10244
|
+
if len(memeber_set) > 0:
|
|
10245
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10246
|
+
|
|
10247
|
+
|
|
10248
|
+
|
|
10249
|
+
class DescribeUserDeviceListResponse(AbstractModel):
|
|
10250
|
+
"""DescribeUserDeviceList返回参数结构体
|
|
10251
|
+
|
|
10252
|
+
"""
|
|
10253
|
+
|
|
10254
|
+
def __init__(self):
|
|
10255
|
+
r"""
|
|
10256
|
+
:param _Data: 返回结果
|
|
10257
|
+
:type Data: :class:`tencentcloud.iss.v20230517.models.DescribeDeviceListData`
|
|
10258
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10259
|
+
:type RequestId: str
|
|
10260
|
+
"""
|
|
10261
|
+
self._Data = None
|
|
10262
|
+
self._RequestId = None
|
|
10263
|
+
|
|
10264
|
+
@property
|
|
10265
|
+
def Data(self):
|
|
10266
|
+
"""返回结果
|
|
10267
|
+
:rtype: :class:`tencentcloud.iss.v20230517.models.DescribeDeviceListData`
|
|
10268
|
+
"""
|
|
10269
|
+
return self._Data
|
|
10270
|
+
|
|
10271
|
+
@Data.setter
|
|
10272
|
+
def Data(self, Data):
|
|
10273
|
+
self._Data = Data
|
|
10274
|
+
|
|
10275
|
+
@property
|
|
10276
|
+
def RequestId(self):
|
|
10277
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10278
|
+
:rtype: str
|
|
10279
|
+
"""
|
|
10280
|
+
return self._RequestId
|
|
10281
|
+
|
|
10282
|
+
@RequestId.setter
|
|
10283
|
+
def RequestId(self, RequestId):
|
|
10284
|
+
self._RequestId = RequestId
|
|
10285
|
+
|
|
10286
|
+
|
|
10287
|
+
def _deserialize(self, params):
|
|
10288
|
+
if params.get("Data") is not None:
|
|
10289
|
+
self._Data = DescribeDeviceListData()
|
|
10290
|
+
self._Data._deserialize(params.get("Data"))
|
|
10291
|
+
self._RequestId = params.get("RequestId")
|
|
10292
|
+
|
|
10293
|
+
|
|
10172
10294
|
class DescribeUserDeviceRequest(AbstractModel):
|
|
10173
10295
|
"""DescribeUserDevice请求参数结构体
|
|
10174
10296
|
|
|
@@ -36032,7 +36032,7 @@ class RecordParam(AbstractModel):
|
|
|
36032
36032
|
r"""
|
|
36033
36033
|
:param _RecordInterval: 录制间隔。
|
|
36034
36034
|
单位秒,默认:1800。
|
|
36035
|
-
取值范围:
|
|
36035
|
+
FLV、MP4取值范围: 60-43200, AAC取值范围: 60-7200 。
|
|
36036
36036
|
此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。
|
|
36037
36037
|
:type RecordInterval: int
|
|
36038
36038
|
:param _StorageTime: 录制存储时长。
|
|
@@ -36101,7 +36101,7 @@ cold:低频存储。
|
|
|
36101
36101
|
def RecordInterval(self):
|
|
36102
36102
|
"""录制间隔。
|
|
36103
36103
|
单位秒,默认:1800。
|
|
36104
|
-
取值范围:
|
|
36104
|
+
FLV、MP4取值范围: 60-43200, AAC取值范围: 60-7200 。
|
|
36105
36105
|
此参数对 HLS 无效,当录制 HLS 时从推流到断流生成一个文件。
|
|
36106
36106
|
:rtype: int
|
|
36107
36107
|
"""
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
# 操作失败。
|
|
18
18
|
FAILEDOPERATION = 'FailedOperation'
|
|
19
19
|
|
|
20
|
-
# FailedOperation.DownLoadError
|
|
21
|
-
FAILEDOPERATION_DOWNLOADERROR = 'FailedOperation.DownLoadError'
|
|
22
|
-
|
|
23
20
|
# 引擎层内部错误;
|
|
24
21
|
FAILEDOPERATION_ENGINESERVERERROR = 'FailedOperation.EngineServerError'
|
|
25
22
|
|
|
26
|
-
#
|
|
27
|
-
|
|
23
|
+
# 解析失败
|
|
24
|
+
FAILEDOPERATION_FILEPARSEERROR = 'FailedOperation.FileParseError'
|
|
25
|
+
|
|
26
|
+
# 文档解析超时
|
|
27
|
+
FAILEDOPERATION_FILEPARSETIMEOUT = 'FailedOperation.FileParseTimeout'
|
|
28
28
|
|
|
29
|
-
#
|
|
30
|
-
|
|
29
|
+
# 内部错误
|
|
30
|
+
FAILEDOPERATION_INTERNALERROR = 'FailedOperation.InternalError'
|
|
31
31
|
|
|
32
32
|
# 暂不支持解析该文件
|
|
33
33
|
FAILEDOPERATION_NONSUPPORTPARSE = 'FailedOperation.NonsupportParse'
|
|
@@ -38,9 +38,6 @@ FAILEDOPERATION_OCRFAILED = 'FailedOperation.OcrFailed'
|
|
|
38
38
|
# 内部未知错误。
|
|
39
39
|
FAILEDOPERATION_UNKNOWERROR = 'FailedOperation.UnKnowError'
|
|
40
40
|
|
|
41
|
-
# FailedOperation.UnKnowFileTypeError
|
|
42
|
-
FAILEDOPERATION_UNKNOWFILETYPEERROR = 'FailedOperation.UnKnowFileTypeError'
|
|
43
|
-
|
|
44
41
|
# 服务未开通。
|
|
45
42
|
FAILEDOPERATION_UNOPENERROR = 'FailedOperation.UnOpenError'
|
|
46
43
|
|
|
@@ -53,6 +50,15 @@ INTERNALERROR = 'InternalError'
|
|
|
53
50
|
# 参数错误。
|
|
54
51
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
55
52
|
|
|
53
|
+
# 文件url链接不正确
|
|
54
|
+
INVALIDPARAMETER_FILEURLINVALID = 'InvalidParameter.FileURLInvalid'
|
|
55
|
+
|
|
56
|
+
# 无效的文件格式
|
|
57
|
+
INVALIDPARAMETER_INVALIDFILEFORMAT = 'InvalidParameter.InvalidFileFormat'
|
|
58
|
+
|
|
59
|
+
# 无效的文件类型
|
|
60
|
+
INVALIDPARAMETER_INVALIDFILETYPE = 'InvalidParameter.InvalidFileType'
|
|
61
|
+
|
|
56
62
|
# 参数值错误。
|
|
57
63
|
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = 'InvalidParameterValue.InvalidParameterValueLimit'
|
|
58
64
|
|
|
@@ -49,6 +49,10 @@ class LkeapClient(AbstractClient):
|
|
|
49
49
|
- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)
|
|
50
50
|
- DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。
|
|
51
51
|
- 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
|
|
52
|
+
- DeepSeek-V3.1(model 参数值为 deepseek-v3.1)
|
|
53
|
+
|
|
54
|
+
- DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。目前尚处于限制性开放的试运行阶段,如需申请开通请联系售前客服或商务经理。
|
|
55
|
+
|
|
52
56
|
|
|
53
57
|
|
|
54
58
|
|
|
@@ -2184,6 +2184,8 @@ class DocumentUsage(AbstractModel):
|
|
|
2184
2184
|
:type SuccessPageNum: int
|
|
2185
2185
|
:param _FailPageNum: 解析失败页数
|
|
2186
2186
|
:type FailPageNum: int
|
|
2187
|
+
:param _FileSize: 文件大小,单位KB
|
|
2188
|
+
:type FileSize: int
|
|
2187
2189
|
"""
|
|
2188
2190
|
self._PageNumber = None
|
|
2189
2191
|
self._TotalToken = None
|
|
@@ -2192,6 +2194,7 @@ class DocumentUsage(AbstractModel):
|
|
|
2192
2194
|
self._MllmTokens = None
|
|
2193
2195
|
self._SuccessPageNum = None
|
|
2194
2196
|
self._FailPageNum = None
|
|
2197
|
+
self._FileSize = None
|
|
2195
2198
|
|
|
2196
2199
|
@property
|
|
2197
2200
|
def PageNumber(self):
|
|
@@ -2274,6 +2277,17 @@ class DocumentUsage(AbstractModel):
|
|
|
2274
2277
|
def FailPageNum(self, FailPageNum):
|
|
2275
2278
|
self._FailPageNum = FailPageNum
|
|
2276
2279
|
|
|
2280
|
+
@property
|
|
2281
|
+
def FileSize(self):
|
|
2282
|
+
"""文件大小,单位KB
|
|
2283
|
+
:rtype: int
|
|
2284
|
+
"""
|
|
2285
|
+
return self._FileSize
|
|
2286
|
+
|
|
2287
|
+
@FileSize.setter
|
|
2288
|
+
def FileSize(self, FileSize):
|
|
2289
|
+
self._FileSize = FileSize
|
|
2290
|
+
|
|
2277
2291
|
|
|
2278
2292
|
def _deserialize(self, params):
|
|
2279
2293
|
self._PageNumber = params.get("PageNumber")
|
|
@@ -2283,6 +2297,7 @@ class DocumentUsage(AbstractModel):
|
|
|
2283
2297
|
self._MllmTokens = params.get("MllmTokens")
|
|
2284
2298
|
self._SuccessPageNum = params.get("SuccessPageNum")
|
|
2285
2299
|
self._FailPageNum = params.get("FailPageNum")
|
|
2300
|
+
self._FileSize = params.get("FileSize")
|
|
2286
2301
|
memeber_set = set(params.keys())
|
|
2287
2302
|
for name, value in vars(self).items():
|
|
2288
2303
|
property_name = name[1:]
|
|
@@ -6284,7 +6284,7 @@ class OrderPerLicenseRequest(AbstractModel):
|
|
|
6284
6284
|
:type DeviceId: str
|
|
6285
6285
|
:param _Type: 设备类型,0: SDK,1: CPE,作为用户创建或激活设备时传0,作为厂商创建待激活设备时传1
|
|
6286
6286
|
:type Type: int
|
|
6287
|
-
:param _RollBack: 购买失败后是否回滚(删除)设备,默认
|
|
6287
|
+
:param _RollBack: 购买失败后是否回滚(删除)设备,默认false,如果设备绑定了生效中的流量包则不能回滚。
|
|
6288
6288
|
:type RollBack: bool
|
|
6289
6289
|
:param _AutoVoucher: 是否自动选择代金券,默认false。
|
|
6290
6290
|
有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
|
@@ -6323,7 +6323,7 @@ class OrderPerLicenseRequest(AbstractModel):
|
|
|
6323
6323
|
|
|
6324
6324
|
@property
|
|
6325
6325
|
def RollBack(self):
|
|
6326
|
-
"""购买失败后是否回滚(删除)设备,默认
|
|
6326
|
+
"""购买失败后是否回滚(删除)设备,默认false,如果设备绑定了生效中的流量包则不能回滚。
|
|
6327
6327
|
:rtype: bool
|
|
6328
6328
|
"""
|
|
6329
6329
|
return self._RollBack
|
|
@@ -181,9 +181,11 @@ class Auth(AbstractModel):
|
|
|
181
181
|
def __init__(self):
|
|
182
182
|
r"""
|
|
183
183
|
:param _Mask: 当前账号具有的权限信息。<ul><li>0:无权限。</li><li>1:只读。</li><li>2:只写。</li><li>3:读写。</li></ul>
|
|
184
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
184
185
|
:type Mask: int
|
|
185
186
|
:param _NameSpace: 指具有当前账号权限的数据库名。
|
|
186
187
|
<ul><li>* :表示所有数据库。</li><li>db.name:表示特定name的数据库。</li></ul>
|
|
188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
187
189
|
:type NameSpace: str
|
|
188
190
|
"""
|
|
189
191
|
self._Mask = None
|
|
@@ -192,6 +194,7 @@ class Auth(AbstractModel):
|
|
|
192
194
|
@property
|
|
193
195
|
def Mask(self):
|
|
194
196
|
"""当前账号具有的权限信息。<ul><li>0:无权限。</li><li>1:只读。</li><li>2:只写。</li><li>3:读写。</li></ul>
|
|
197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
195
198
|
:rtype: int
|
|
196
199
|
"""
|
|
197
200
|
return self._Mask
|
|
@@ -204,6 +207,7 @@ class Auth(AbstractModel):
|
|
|
204
207
|
def NameSpace(self):
|
|
205
208
|
"""指具有当前账号权限的数据库名。
|
|
206
209
|
<ul><li>* :表示所有数据库。</li><li>db.name:表示特定name的数据库。</li></ul>
|
|
210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
207
211
|
:rtype: str
|
|
208
212
|
"""
|
|
209
213
|
return self._NameSpace
|
|
@@ -12560,12 +12564,15 @@ class UserInfo(AbstractModel):
|
|
|
12560
12564
|
:type UpdateTime: str
|
|
12561
12565
|
:param _UserDesc: 备注信息。
|
|
12562
12566
|
:type UserDesc: str
|
|
12567
|
+
:param _ConsolePassUpdateTime: 控制台密码更新时间
|
|
12568
|
+
:type ConsolePassUpdateTime: str
|
|
12563
12569
|
"""
|
|
12564
12570
|
self._UserName = None
|
|
12565
12571
|
self._AuthRole = None
|
|
12566
12572
|
self._CreateTime = None
|
|
12567
12573
|
self._UpdateTime = None
|
|
12568
12574
|
self._UserDesc = None
|
|
12575
|
+
self._ConsolePassUpdateTime = None
|
|
12569
12576
|
|
|
12570
12577
|
@property
|
|
12571
12578
|
def UserName(self):
|
|
@@ -12622,6 +12629,17 @@ class UserInfo(AbstractModel):
|
|
|
12622
12629
|
def UserDesc(self, UserDesc):
|
|
12623
12630
|
self._UserDesc = UserDesc
|
|
12624
12631
|
|
|
12632
|
+
@property
|
|
12633
|
+
def ConsolePassUpdateTime(self):
|
|
12634
|
+
"""控制台密码更新时间
|
|
12635
|
+
:rtype: str
|
|
12636
|
+
"""
|
|
12637
|
+
return self._ConsolePassUpdateTime
|
|
12638
|
+
|
|
12639
|
+
@ConsolePassUpdateTime.setter
|
|
12640
|
+
def ConsolePassUpdateTime(self, ConsolePassUpdateTime):
|
|
12641
|
+
self._ConsolePassUpdateTime = ConsolePassUpdateTime
|
|
12642
|
+
|
|
12625
12643
|
|
|
12626
12644
|
def _deserialize(self, params):
|
|
12627
12645
|
self._UserName = params.get("UserName")
|
|
@@ -12634,6 +12652,7 @@ class UserInfo(AbstractModel):
|
|
|
12634
12652
|
self._CreateTime = params.get("CreateTime")
|
|
12635
12653
|
self._UpdateTime = params.get("UpdateTime")
|
|
12636
12654
|
self._UserDesc = params.get("UserDesc")
|
|
12655
|
+
self._ConsolePassUpdateTime = params.get("ConsolePassUpdateTime")
|
|
12637
12656
|
memeber_set = set(params.keys())
|
|
12638
12657
|
for name, value in vars(self).items():
|
|
12639
12658
|
property_name = name[1:]
|
|
@@ -54905,6 +54905,9 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
54905
54905
|
:param _EnhanceConfig: 音视频增强配置
|
|
54906
54906
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
54907
54907
|
:type EnhanceConfig: :class:`tencentcloud.mps.v20190612.models.EnhanceConfig`
|
|
54908
|
+
:param _SubtitleTemplate: 字幕参数
|
|
54909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54910
|
+
:type SubtitleTemplate: :class:`tencentcloud.mps.v20190612.models.SubtitleTemplate`
|
|
54908
54911
|
"""
|
|
54909
54912
|
self._Container = None
|
|
54910
54913
|
self._RemoveVideo = None
|
|
@@ -54914,6 +54917,7 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
54914
54917
|
self._TEHDConfig = None
|
|
54915
54918
|
self._StdExtInfo = None
|
|
54916
54919
|
self._EnhanceConfig = None
|
|
54920
|
+
self._SubtitleTemplate = None
|
|
54917
54921
|
|
|
54918
54922
|
@property
|
|
54919
54923
|
def Container(self):
|
|
@@ -55010,6 +55014,18 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
55010
55014
|
def EnhanceConfig(self, EnhanceConfig):
|
|
55011
55015
|
self._EnhanceConfig = EnhanceConfig
|
|
55012
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
|
+
|
|
55013
55029
|
|
|
55014
55030
|
def _deserialize(self, params):
|
|
55015
55031
|
self._Container = params.get("Container")
|
|
@@ -55028,6 +55044,9 @@ class RawTranscodeParameter(AbstractModel):
|
|
|
55028
55044
|
if params.get("EnhanceConfig") is not None:
|
|
55029
55045
|
self._EnhanceConfig = EnhanceConfig()
|
|
55030
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"))
|
|
55031
55050
|
memeber_set = set(params.keys())
|
|
55032
55051
|
for name, value in vars(self).items():
|
|
55033
55052
|
property_name = name[1:]
|
|
@@ -60740,6 +60759,9 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60740
60759
|
|
|
60741
60760
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
60742
60761
|
:type StreamIndex: int
|
|
60762
|
+
:param _SubtitleFileInput: 要压制到视频中的字幕文件的输入信息,目前仅支持存储在COS的字幕文件
|
|
60763
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60764
|
+
:type SubtitleFileInput: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
|
60743
60765
|
:param _FontType: 字体类型,支持:
|
|
60744
60766
|
<li>hei.ttf:黑体</li>
|
|
60745
60767
|
<li>song.ttf:宋体</li>
|
|
@@ -60815,9 +60837,34 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60815
60837
|
默认值:0.8。
|
|
60816
60838
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
60817
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
|
|
60818
60864
|
"""
|
|
60819
60865
|
self._Path = None
|
|
60820
60866
|
self._StreamIndex = None
|
|
60867
|
+
self._SubtitleFileInput = None
|
|
60821
60868
|
self._FontType = None
|
|
60822
60869
|
self._FontSize = None
|
|
60823
60870
|
self._FontColor = None
|
|
@@ -60828,6 +60875,14 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60828
60875
|
self._BoardHeight = None
|
|
60829
60876
|
self._BoardColor = None
|
|
60830
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
|
|
60831
60886
|
|
|
60832
60887
|
@property
|
|
60833
60888
|
def Path(self):
|
|
@@ -60857,6 +60912,18 @@ class SubtitleTemplate(AbstractModel):
|
|
|
60857
60912
|
def StreamIndex(self, StreamIndex):
|
|
60858
60913
|
self._StreamIndex = StreamIndex
|
|
60859
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
|
+
|
|
60860
60927
|
@property
|
|
60861
60928
|
def FontType(self):
|
|
60862
60929
|
"""字体类型,支持:
|
|
@@ -61022,10 +61089,109 @@ class SubtitleTemplate(AbstractModel):
|
|
|
61022
61089
|
def BoardAlpha(self, BoardAlpha):
|
|
61023
61090
|
self._BoardAlpha = BoardAlpha
|
|
61024
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
|
+
|
|
61025
61188
|
|
|
61026
61189
|
def _deserialize(self, params):
|
|
61027
61190
|
self._Path = params.get("Path")
|
|
61028
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"))
|
|
61029
61195
|
self._FontType = params.get("FontType")
|
|
61030
61196
|
self._FontSize = params.get("FontSize")
|
|
61031
61197
|
self._FontColor = params.get("FontColor")
|
|
@@ -61036,6 +61202,14 @@ class SubtitleTemplate(AbstractModel):
|
|
|
61036
61202
|
self._BoardHeight = params.get("BoardHeight")
|
|
61037
61203
|
self._BoardColor = params.get("BoardColor")
|
|
61038
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")
|
|
61039
61213
|
memeber_set = set(params.keys())
|
|
61040
61214
|
for name, value in vars(self).items():
|
|
61041
61215
|
property_name = name[1:]
|