tencentcloud-sdk-python 3.0.1418__py2.py3-none-any.whl → 3.0.1420__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/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/batch/v20170312/models.py +120 -0
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/cdn/v20180606/cdn_client.py +1 -1
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +20 -20
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +472 -0
- tencentcloud/csip/v20221121/csip_client.py +299 -0
- tencentcloud/csip/v20221121/models.py +3240 -47
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cwp/v20180228/models.py +15 -0
- tencentcloud/emr/v20190103/models.py +355 -4
- tencentcloud/es/v20250101/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +27 -2
- tencentcloud/essbasic/v20210526/models.py +14 -5
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +99 -0
- tencentcloud/live/v20180801/models.py +384 -2
- tencentcloud/lke/v20231130/models.py +395 -2
- tencentcloud/mrs/v20200910/models.py +15 -0
- tencentcloud/nlp/v20190408/errorcodes.py +0 -21
- tencentcloud/nlp/v20190408/models.py +99 -1004
- tencentcloud/nlp/v20190408/nlp_client.py +0 -138
- tencentcloud/ocr/v20181119/models.py +103 -0
- tencentcloud/redis/v20180412/models.py +20 -12
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +19 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/tdmq/v20200217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +439 -8
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/tione/v20211111/models.py +23 -0
- tencentcloud/tke/v20180525/models.py +46 -46
- tencentcloud/tke/v20220501/models.py +94 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tmt/v20180321/errorcodes.py +1 -1
- tencentcloud/tmt/v20180321/models.py +8 -8
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +16 -0
- tencentcloud/vclm/v20240523/models.py +2 -28
- tencentcloud/vod/v20180717/models.py +8 -4
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1418.dist-info → tencentcloud_sdk_python-3.0.1420.dist-info}/top_level.txt +0 -0
@@ -12174,7 +12174,8 @@ class ChannelVerifyPdfResponse(AbstractModel):
|
|
12174
12174
|
|
12175
12175
|
|
12176
12176
|
class CommonApproverOption(AbstractModel):
|
12177
|
-
"""
|
12177
|
+
"""签署人配置信息。
|
12178
|
+
此参数对子客和自动签无效,不允许进行修改。
|
12178
12179
|
|
12179
12180
|
"""
|
12180
12181
|
|
@@ -16143,7 +16144,11 @@ class CreateFlowOption(AbstractModel):
|
|
16143
16144
|
:param _ForbidEditApprover: 是否可以编辑签署人包括新增,修改,删除
|
16144
16145
|
<ul><li>(默认) false -可以编辑签署人</li> <li> true - 禁止编辑签署人</li></ul>
|
16145
16146
|
|
16146
|
-
|
16147
|
+
|
16148
|
+
|
16149
|
+
注意:
|
16150
|
+
* 如果设置参数为 true, 则 参数签署人 [FlowApproverList](https://qian.tencent.com/developers/partnerApis/embedPages/ChannelCreatePrepareFlow) 不能为空
|
16151
|
+
* 此参数对子客和自动签无效,不允许进行修改。
|
16147
16152
|
:type ForbidEditApprover: bool
|
16148
16153
|
:param _CustomCreateFlowDescription: 定制化发起合同弹窗的描述信息,长度不能超过500,只能由中文、字母、数字和标点组成。
|
16149
16154
|
:type CustomCreateFlowDescription: str
|
@@ -16246,7 +16251,11 @@ class CreateFlowOption(AbstractModel):
|
|
16246
16251
|
"""是否可以编辑签署人包括新增,修改,删除
|
16247
16252
|
<ul><li>(默认) false -可以编辑签署人</li> <li> true - 禁止编辑签署人</li></ul>
|
16248
16253
|
|
16249
|
-
|
16254
|
+
|
16255
|
+
|
16256
|
+
注意:
|
16257
|
+
* 如果设置参数为 true, 则 参数签署人 [FlowApproverList](https://qian.tencent.com/developers/partnerApis/embedPages/ChannelCreatePrepareFlow) 不能为空
|
16258
|
+
* 此参数对子客和自动签无效,不允许进行修改。
|
16250
16259
|
:rtype: bool
|
16251
16260
|
"""
|
16252
16261
|
return self._ForbidEditApprover
|
@@ -22232,7 +22241,7 @@ class FlowApproverInfo(AbstractModel):
|
|
22232
22241
|
:type Deadline: int
|
22233
22242
|
:param _CallbackUrl: 签署完回调url,最大长度1000个字符
|
22234
22243
|
:type CallbackUrl: str
|
22235
|
-
:param _SignComponents: 使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID
|
22244
|
+
:param _SignComponents: 使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID:注意:(如果模板里面指定了印章,默认使用模板里面配置的印章,不能进行变更) <br/>通过ComponentId或ComponenetName指定签署控件,ComponentValue为印章ID。
|
22236
22245
|
|
22237
22246
|

|
22238
22247
|
:type SignComponents: list of Component
|
@@ -22551,7 +22560,7 @@ class FlowApproverInfo(AbstractModel):
|
|
22551
22560
|
|
22552
22561
|
@property
|
22553
22562
|
def SignComponents(self):
|
22554
|
-
"""使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID
|
22563
|
+
"""使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID:注意:(如果模板里面指定了印章,默认使用模板里面配置的印章,不能进行变更) <br/>通过ComponentId或ComponenetName指定签署控件,ComponentValue为印章ID。
|
22555
22564
|
|
22556
22565
|

|
22557
22566
|
:rtype: list of Component
|
@@ -441,7 +441,7 @@ class IotexplorerClient(AbstractClient):
|
|
441
441
|
|
442
442
|
|
443
443
|
def CreateFreeCloudStorage(self, request):
|
444
|
-
"""
|
444
|
+
"""开通云存卡服务
|
445
445
|
|
446
446
|
:param request: Request instance for CreateFreeCloudStorage.
|
447
447
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateFreeCloudStorageRequest`
|
@@ -1083,6 +1083,29 @@ class LcicClient(AbstractClient):
|
|
1083
1083
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1084
1084
|
|
1085
1085
|
|
1086
|
+
def DescribeUserDetail(self, request):
|
1087
|
+
"""获取用户信息
|
1088
|
+
|
1089
|
+
:param request: Request instance for DescribeUserDetail.
|
1090
|
+
:type request: :class:`tencentcloud.lcic.v20220817.models.DescribeUserDetailRequest`
|
1091
|
+
:rtype: :class:`tencentcloud.lcic.v20220817.models.DescribeUserDetailResponse`
|
1092
|
+
|
1093
|
+
"""
|
1094
|
+
try:
|
1095
|
+
params = request._serialize()
|
1096
|
+
headers = request.headers
|
1097
|
+
body = self.call("DescribeUserDetail", params, headers=headers)
|
1098
|
+
response = json.loads(body)
|
1099
|
+
model = models.DescribeUserDetailResponse()
|
1100
|
+
model._deserialize(response["Response"])
|
1101
|
+
return model
|
1102
|
+
except Exception as e:
|
1103
|
+
if isinstance(e, TencentCloudSDKException):
|
1104
|
+
raise
|
1105
|
+
else:
|
1106
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1107
|
+
|
1108
|
+
|
1086
1109
|
def DescribeWhiteBoardSnapshot(self, request):
|
1087
1110
|
"""查询白板板书截图
|
1088
1111
|
|
@@ -7394,6 +7394,105 @@ class DescribeSupervisorsResponse(AbstractModel):
|
|
7394
7394
|
self._RequestId = params.get("RequestId")
|
7395
7395
|
|
7396
7396
|
|
7397
|
+
class DescribeUserDetailRequest(AbstractModel):
|
7398
|
+
"""DescribeUserDetail请求参数结构体
|
7399
|
+
|
7400
|
+
"""
|
7401
|
+
|
7402
|
+
def __init__(self):
|
7403
|
+
r"""
|
7404
|
+
:param _UserId: 用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
|
7405
|
+
:type UserId: str
|
7406
|
+
:param _OriginId: 用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
|
7407
|
+
:type OriginId: str
|
7408
|
+
"""
|
7409
|
+
self._UserId = None
|
7410
|
+
self._OriginId = None
|
7411
|
+
|
7412
|
+
@property
|
7413
|
+
def UserId(self):
|
7414
|
+
"""用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
|
7415
|
+
:rtype: str
|
7416
|
+
"""
|
7417
|
+
return self._UserId
|
7418
|
+
|
7419
|
+
@UserId.setter
|
7420
|
+
def UserId(self, UserId):
|
7421
|
+
self._UserId = UserId
|
7422
|
+
|
7423
|
+
@property
|
7424
|
+
def OriginId(self):
|
7425
|
+
"""用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
|
7426
|
+
:rtype: str
|
7427
|
+
"""
|
7428
|
+
return self._OriginId
|
7429
|
+
|
7430
|
+
@OriginId.setter
|
7431
|
+
def OriginId(self, OriginId):
|
7432
|
+
self._OriginId = OriginId
|
7433
|
+
|
7434
|
+
|
7435
|
+
def _deserialize(self, params):
|
7436
|
+
self._UserId = params.get("UserId")
|
7437
|
+
self._OriginId = params.get("OriginId")
|
7438
|
+
memeber_set = set(params.keys())
|
7439
|
+
for name, value in vars(self).items():
|
7440
|
+
property_name = name[1:]
|
7441
|
+
if property_name in memeber_set:
|
7442
|
+
memeber_set.remove(property_name)
|
7443
|
+
if len(memeber_set) > 0:
|
7444
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7445
|
+
|
7446
|
+
|
7447
|
+
|
7448
|
+
class DescribeUserDetailResponse(AbstractModel):
|
7449
|
+
"""DescribeUserDetail返回参数结构体
|
7450
|
+
|
7451
|
+
"""
|
7452
|
+
|
7453
|
+
def __init__(self):
|
7454
|
+
r"""
|
7455
|
+
:param _Users: 当前获取用户信息数组列表
|
7456
|
+
:type Users: list of UserInfo
|
7457
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7458
|
+
:type RequestId: str
|
7459
|
+
"""
|
7460
|
+
self._Users = None
|
7461
|
+
self._RequestId = None
|
7462
|
+
|
7463
|
+
@property
|
7464
|
+
def Users(self):
|
7465
|
+
"""当前获取用户信息数组列表
|
7466
|
+
:rtype: list of UserInfo
|
7467
|
+
"""
|
7468
|
+
return self._Users
|
7469
|
+
|
7470
|
+
@Users.setter
|
7471
|
+
def Users(self, Users):
|
7472
|
+
self._Users = Users
|
7473
|
+
|
7474
|
+
@property
|
7475
|
+
def RequestId(self):
|
7476
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7477
|
+
:rtype: str
|
7478
|
+
"""
|
7479
|
+
return self._RequestId
|
7480
|
+
|
7481
|
+
@RequestId.setter
|
7482
|
+
def RequestId(self, RequestId):
|
7483
|
+
self._RequestId = RequestId
|
7484
|
+
|
7485
|
+
|
7486
|
+
def _deserialize(self, params):
|
7487
|
+
if params.get("Users") is not None:
|
7488
|
+
self._Users = []
|
7489
|
+
for item in params.get("Users"):
|
7490
|
+
obj = UserInfo()
|
7491
|
+
obj._deserialize(item)
|
7492
|
+
self._Users.append(obj)
|
7493
|
+
self._RequestId = params.get("RequestId")
|
7494
|
+
|
7495
|
+
|
7397
7496
|
class DescribeUserRequest(AbstractModel):
|
7398
7497
|
"""DescribeUser请求参数结构体
|
7399
7498
|
|
@@ -4083,6 +4083,345 @@ class CertInfo(AbstractModel):
|
|
4083
4083
|
|
4084
4084
|
|
4085
4085
|
|
4086
|
+
class ChildTemplateInfo(AbstractModel):
|
4087
|
+
"""自适应码率转码模板,子模板,出入参数。
|
4088
|
+
|
4089
|
+
"""
|
4090
|
+
|
4091
|
+
def __init__(self):
|
4092
|
+
r"""
|
4093
|
+
:param _TemplateId: 自适应码率转码模板,子模板Id。
|
4094
|
+
入参时候,填写此字段,表示更新子模板,否则是新增子模板。
|
4095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4096
|
+
:type TemplateId: int
|
4097
|
+
:param _TemplateName: 子模板名称。
|
4098
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4099
|
+
:type TemplateName: str
|
4100
|
+
:param _Vcodec: 视频编码:h264/h265/origin,默认origin。
|
4101
|
+
|
4102
|
+
origin: 保持原始编码格式。
|
4103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4104
|
+
:type Vcodec: str
|
4105
|
+
:param _VideoBitrate: 视频码率。范围:0kbps - 8000kbps。
|
4106
|
+
0为保持原始码率。
|
4107
|
+
注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。
|
4108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4109
|
+
:type VideoBitrate: int
|
4110
|
+
:param _Width: 宽,默认0。
|
4111
|
+
范围[0-3000]。
|
4112
|
+
数值必须是2的倍数,0是原始宽度。
|
4113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4114
|
+
:type Width: int
|
4115
|
+
:param _Height: 高,默认0。
|
4116
|
+
范围[0-3000]
|
4117
|
+
数值必须是2的倍数,0是原始高度。
|
4118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4119
|
+
:type Height: int
|
4120
|
+
:param _Fps: 帧率,默认0。
|
4121
|
+
范围0-60fps。
|
4122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4123
|
+
:type Fps: int
|
4124
|
+
:param _Gop: 关键帧间隔,单位:秒。
|
4125
|
+
默认原始的间隔。
|
4126
|
+
范围2-6。
|
4127
|
+
同一个父模板下面的所有子模板,gop必须相等且存在。
|
4128
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4129
|
+
:type Gop: int
|
4130
|
+
:param _NeedVideo: 是否保留视频,0:否,1:是。默认1。
|
4131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4132
|
+
:type NeedVideo: int
|
4133
|
+
:param _NeedAudio: 是否保留音频,0:否,1:是。默认1。
|
4134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4135
|
+
:type NeedAudio: int
|
4136
|
+
:param _BitrateToOrig: 当设置的码率>原始码率时,是否以原始码率为准。
|
4137
|
+
0:否, 1:是
|
4138
|
+
默认 0。
|
4139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4140
|
+
:type BitrateToOrig: int
|
4141
|
+
:param _HeightToOrig: 当设置的高度>原始高度时,是否以原始高度为准。
|
4142
|
+
0:否, 1:是
|
4143
|
+
默认 0。
|
4144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4145
|
+
:type HeightToOrig: int
|
4146
|
+
:param _FpsToOrig: 当设置的帧率>原始帧率时,是否以原始帧率为准。
|
4147
|
+
0:否, 1:是
|
4148
|
+
默认 0。
|
4149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4150
|
+
:type FpsToOrig: int
|
4151
|
+
:param _ShortEdgeAsHeight: 是否以短边作为高度,0:否,1:是。默认0。
|
4152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4153
|
+
:type ShortEdgeAsHeight: int
|
4154
|
+
:param _HlsContainerFormat: HLS 分片类型。
|
4155
|
+
可选值:ts、fmp4。
|
4156
|
+
注:编码方式为 H.265 时生效。
|
4157
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4158
|
+
:type HlsContainerFormat: str
|
4159
|
+
:param _HlsMp4VideoCodecTag: 编码标签。
|
4160
|
+
可选值:hvc1、hev1。
|
4161
|
+
注:HLS 分片类型选择 fmp4 时生效。
|
4162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4163
|
+
:type HlsMp4VideoCodecTag: str
|
4164
|
+
"""
|
4165
|
+
self._TemplateId = None
|
4166
|
+
self._TemplateName = None
|
4167
|
+
self._Vcodec = None
|
4168
|
+
self._VideoBitrate = None
|
4169
|
+
self._Width = None
|
4170
|
+
self._Height = None
|
4171
|
+
self._Fps = None
|
4172
|
+
self._Gop = None
|
4173
|
+
self._NeedVideo = None
|
4174
|
+
self._NeedAudio = None
|
4175
|
+
self._BitrateToOrig = None
|
4176
|
+
self._HeightToOrig = None
|
4177
|
+
self._FpsToOrig = None
|
4178
|
+
self._ShortEdgeAsHeight = None
|
4179
|
+
self._HlsContainerFormat = None
|
4180
|
+
self._HlsMp4VideoCodecTag = None
|
4181
|
+
|
4182
|
+
@property
|
4183
|
+
def TemplateId(self):
|
4184
|
+
"""自适应码率转码模板,子模板Id。
|
4185
|
+
入参时候,填写此字段,表示更新子模板,否则是新增子模板。
|
4186
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4187
|
+
:rtype: int
|
4188
|
+
"""
|
4189
|
+
return self._TemplateId
|
4190
|
+
|
4191
|
+
@TemplateId.setter
|
4192
|
+
def TemplateId(self, TemplateId):
|
4193
|
+
self._TemplateId = TemplateId
|
4194
|
+
|
4195
|
+
@property
|
4196
|
+
def TemplateName(self):
|
4197
|
+
"""子模板名称。
|
4198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4199
|
+
:rtype: str
|
4200
|
+
"""
|
4201
|
+
return self._TemplateName
|
4202
|
+
|
4203
|
+
@TemplateName.setter
|
4204
|
+
def TemplateName(self, TemplateName):
|
4205
|
+
self._TemplateName = TemplateName
|
4206
|
+
|
4207
|
+
@property
|
4208
|
+
def Vcodec(self):
|
4209
|
+
"""视频编码:h264/h265/origin,默认origin。
|
4210
|
+
|
4211
|
+
origin: 保持原始编码格式。
|
4212
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4213
|
+
:rtype: str
|
4214
|
+
"""
|
4215
|
+
return self._Vcodec
|
4216
|
+
|
4217
|
+
@Vcodec.setter
|
4218
|
+
def Vcodec(self, Vcodec):
|
4219
|
+
self._Vcodec = Vcodec
|
4220
|
+
|
4221
|
+
@property
|
4222
|
+
def VideoBitrate(self):
|
4223
|
+
"""视频码率。范围:0kbps - 8000kbps。
|
4224
|
+
0为保持原始码率。
|
4225
|
+
注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。
|
4226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4227
|
+
:rtype: int
|
4228
|
+
"""
|
4229
|
+
return self._VideoBitrate
|
4230
|
+
|
4231
|
+
@VideoBitrate.setter
|
4232
|
+
def VideoBitrate(self, VideoBitrate):
|
4233
|
+
self._VideoBitrate = VideoBitrate
|
4234
|
+
|
4235
|
+
@property
|
4236
|
+
def Width(self):
|
4237
|
+
"""宽,默认0。
|
4238
|
+
范围[0-3000]。
|
4239
|
+
数值必须是2的倍数,0是原始宽度。
|
4240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4241
|
+
:rtype: int
|
4242
|
+
"""
|
4243
|
+
return self._Width
|
4244
|
+
|
4245
|
+
@Width.setter
|
4246
|
+
def Width(self, Width):
|
4247
|
+
self._Width = Width
|
4248
|
+
|
4249
|
+
@property
|
4250
|
+
def Height(self):
|
4251
|
+
"""高,默认0。
|
4252
|
+
范围[0-3000]
|
4253
|
+
数值必须是2的倍数,0是原始高度。
|
4254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4255
|
+
:rtype: int
|
4256
|
+
"""
|
4257
|
+
return self._Height
|
4258
|
+
|
4259
|
+
@Height.setter
|
4260
|
+
def Height(self, Height):
|
4261
|
+
self._Height = Height
|
4262
|
+
|
4263
|
+
@property
|
4264
|
+
def Fps(self):
|
4265
|
+
"""帧率,默认0。
|
4266
|
+
范围0-60fps。
|
4267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4268
|
+
:rtype: int
|
4269
|
+
"""
|
4270
|
+
return self._Fps
|
4271
|
+
|
4272
|
+
@Fps.setter
|
4273
|
+
def Fps(self, Fps):
|
4274
|
+
self._Fps = Fps
|
4275
|
+
|
4276
|
+
@property
|
4277
|
+
def Gop(self):
|
4278
|
+
"""关键帧间隔,单位:秒。
|
4279
|
+
默认原始的间隔。
|
4280
|
+
范围2-6。
|
4281
|
+
同一个父模板下面的所有子模板,gop必须相等且存在。
|
4282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4283
|
+
:rtype: int
|
4284
|
+
"""
|
4285
|
+
return self._Gop
|
4286
|
+
|
4287
|
+
@Gop.setter
|
4288
|
+
def Gop(self, Gop):
|
4289
|
+
self._Gop = Gop
|
4290
|
+
|
4291
|
+
@property
|
4292
|
+
def NeedVideo(self):
|
4293
|
+
"""是否保留视频,0:否,1:是。默认1。
|
4294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4295
|
+
:rtype: int
|
4296
|
+
"""
|
4297
|
+
return self._NeedVideo
|
4298
|
+
|
4299
|
+
@NeedVideo.setter
|
4300
|
+
def NeedVideo(self, NeedVideo):
|
4301
|
+
self._NeedVideo = NeedVideo
|
4302
|
+
|
4303
|
+
@property
|
4304
|
+
def NeedAudio(self):
|
4305
|
+
"""是否保留音频,0:否,1:是。默认1。
|
4306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4307
|
+
:rtype: int
|
4308
|
+
"""
|
4309
|
+
return self._NeedAudio
|
4310
|
+
|
4311
|
+
@NeedAudio.setter
|
4312
|
+
def NeedAudio(self, NeedAudio):
|
4313
|
+
self._NeedAudio = NeedAudio
|
4314
|
+
|
4315
|
+
@property
|
4316
|
+
def BitrateToOrig(self):
|
4317
|
+
"""当设置的码率>原始码率时,是否以原始码率为准。
|
4318
|
+
0:否, 1:是
|
4319
|
+
默认 0。
|
4320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4321
|
+
:rtype: int
|
4322
|
+
"""
|
4323
|
+
return self._BitrateToOrig
|
4324
|
+
|
4325
|
+
@BitrateToOrig.setter
|
4326
|
+
def BitrateToOrig(self, BitrateToOrig):
|
4327
|
+
self._BitrateToOrig = BitrateToOrig
|
4328
|
+
|
4329
|
+
@property
|
4330
|
+
def HeightToOrig(self):
|
4331
|
+
"""当设置的高度>原始高度时,是否以原始高度为准。
|
4332
|
+
0:否, 1:是
|
4333
|
+
默认 0。
|
4334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4335
|
+
:rtype: int
|
4336
|
+
"""
|
4337
|
+
return self._HeightToOrig
|
4338
|
+
|
4339
|
+
@HeightToOrig.setter
|
4340
|
+
def HeightToOrig(self, HeightToOrig):
|
4341
|
+
self._HeightToOrig = HeightToOrig
|
4342
|
+
|
4343
|
+
@property
|
4344
|
+
def FpsToOrig(self):
|
4345
|
+
"""当设置的帧率>原始帧率时,是否以原始帧率为准。
|
4346
|
+
0:否, 1:是
|
4347
|
+
默认 0。
|
4348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4349
|
+
:rtype: int
|
4350
|
+
"""
|
4351
|
+
return self._FpsToOrig
|
4352
|
+
|
4353
|
+
@FpsToOrig.setter
|
4354
|
+
def FpsToOrig(self, FpsToOrig):
|
4355
|
+
self._FpsToOrig = FpsToOrig
|
4356
|
+
|
4357
|
+
@property
|
4358
|
+
def ShortEdgeAsHeight(self):
|
4359
|
+
"""是否以短边作为高度,0:否,1:是。默认0。
|
4360
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4361
|
+
:rtype: int
|
4362
|
+
"""
|
4363
|
+
return self._ShortEdgeAsHeight
|
4364
|
+
|
4365
|
+
@ShortEdgeAsHeight.setter
|
4366
|
+
def ShortEdgeAsHeight(self, ShortEdgeAsHeight):
|
4367
|
+
self._ShortEdgeAsHeight = ShortEdgeAsHeight
|
4368
|
+
|
4369
|
+
@property
|
4370
|
+
def HlsContainerFormat(self):
|
4371
|
+
"""HLS 分片类型。
|
4372
|
+
可选值:ts、fmp4。
|
4373
|
+
注:编码方式为 H.265 时生效。
|
4374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4375
|
+
:rtype: str
|
4376
|
+
"""
|
4377
|
+
return self._HlsContainerFormat
|
4378
|
+
|
4379
|
+
@HlsContainerFormat.setter
|
4380
|
+
def HlsContainerFormat(self, HlsContainerFormat):
|
4381
|
+
self._HlsContainerFormat = HlsContainerFormat
|
4382
|
+
|
4383
|
+
@property
|
4384
|
+
def HlsMp4VideoCodecTag(self):
|
4385
|
+
"""编码标签。
|
4386
|
+
可选值:hvc1、hev1。
|
4387
|
+
注:HLS 分片类型选择 fmp4 时生效。
|
4388
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4389
|
+
:rtype: str
|
4390
|
+
"""
|
4391
|
+
return self._HlsMp4VideoCodecTag
|
4392
|
+
|
4393
|
+
@HlsMp4VideoCodecTag.setter
|
4394
|
+
def HlsMp4VideoCodecTag(self, HlsMp4VideoCodecTag):
|
4395
|
+
self._HlsMp4VideoCodecTag = HlsMp4VideoCodecTag
|
4396
|
+
|
4397
|
+
|
4398
|
+
def _deserialize(self, params):
|
4399
|
+
self._TemplateId = params.get("TemplateId")
|
4400
|
+
self._TemplateName = params.get("TemplateName")
|
4401
|
+
self._Vcodec = params.get("Vcodec")
|
4402
|
+
self._VideoBitrate = params.get("VideoBitrate")
|
4403
|
+
self._Width = params.get("Width")
|
4404
|
+
self._Height = params.get("Height")
|
4405
|
+
self._Fps = params.get("Fps")
|
4406
|
+
self._Gop = params.get("Gop")
|
4407
|
+
self._NeedVideo = params.get("NeedVideo")
|
4408
|
+
self._NeedAudio = params.get("NeedAudio")
|
4409
|
+
self._BitrateToOrig = params.get("BitrateToOrig")
|
4410
|
+
self._HeightToOrig = params.get("HeightToOrig")
|
4411
|
+
self._FpsToOrig = params.get("FpsToOrig")
|
4412
|
+
self._ShortEdgeAsHeight = params.get("ShortEdgeAsHeight")
|
4413
|
+
self._HlsContainerFormat = params.get("HlsContainerFormat")
|
4414
|
+
self._HlsMp4VideoCodecTag = params.get("HlsMp4VideoCodecTag")
|
4415
|
+
memeber_set = set(params.keys())
|
4416
|
+
for name, value in vars(self).items():
|
4417
|
+
property_name = name[1:]
|
4418
|
+
if property_name in memeber_set:
|
4419
|
+
memeber_set.remove(property_name)
|
4420
|
+
if len(memeber_set) > 0:
|
4421
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4422
|
+
|
4423
|
+
|
4424
|
+
|
4086
4425
|
class ClientIpPlaySumInfo(AbstractModel):
|
4087
4426
|
"""客户端ip播放汇总信息。
|
4088
4427
|
|
@@ -6832,7 +7171,7 @@ https://cloud.tencent.com/document/product/267/56208
|
|
6832
7171
|
1. 该自定义 ID 为可选参数,如果传入,请确保该账号下传入的 ID 唯一。
|
6833
7172
|
2. 该自定义 ID 用于防止重复发起请求时产生重复任务。后面也可以用 SpecifyTaskId 来修改或删除任务。
|
6834
7173
|
:type SpecifyTaskId: str
|
6835
|
-
:param _Comment: 任务描述,限制 512
|
7174
|
+
:param _Comment: 任务描述,限制 512 字节。不可以使用特殊字符,如Unicode的特殊字符集。
|
6836
7175
|
:type Comment: str
|
6837
7176
|
:param _ToUrl: 完整目标 URL 地址。
|
6838
7177
|
用法注意:如果使用该参数来传完整目标地址,则 DomainName, AppName, StreamName 需要传入空字符串,任务将会使用该 ToUrl 参数指定的目标地址。
|
@@ -7127,7 +7466,7 @@ https://cloud.tencent.com/document/product/267/56208
|
|
7127
7466
|
|
7128
7467
|
@property
|
7129
7468
|
def Comment(self):
|
7130
|
-
"""任务描述,限制 512
|
7469
|
+
"""任务描述,限制 512 字节。不可以使用特殊字符,如Unicode的特殊字符集。
|
7131
7470
|
:rtype: str
|
7132
7471
|
"""
|
7133
7472
|
return self._Comment
|
@@ -38160,6 +38499,14 @@ baseline/main/high。默认baseline
|
|
38160
38499
|
:param _DRMTracks: DRM 加密项,多个用|分割,可选值:AUDIO、SD、HD、UHD1、UHD2,后四个为一组,同组中的内容只能选一个。
|
38161
38500
|
注意:此字段可能返回 null,表示取不到有效值。
|
38162
38501
|
:type DRMTracks: str
|
38502
|
+
:param _IsAdaptiveBitRate: 是否创建自适应码率,默认值 0。
|
38503
|
+
0:否。
|
38504
|
+
1:是。
|
38505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
38506
|
+
:type IsAdaptiveBitRate: int
|
38507
|
+
:param _AdaptiveChildren: 自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
|
38508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
38509
|
+
:type AdaptiveChildren: list of ChildTemplateInfo
|
38163
38510
|
"""
|
38164
38511
|
self._Vcodec = None
|
38165
38512
|
self._VideoBitrate = None
|
@@ -38184,6 +38531,8 @@ baseline/main/high。默认baseline
|
|
38184
38531
|
self._ShortEdgeAsHeight = None
|
38185
38532
|
self._DRMType = None
|
38186
38533
|
self._DRMTracks = None
|
38534
|
+
self._IsAdaptiveBitRate = None
|
38535
|
+
self._AdaptiveChildren = None
|
38187
38536
|
|
38188
38537
|
@property
|
38189
38538
|
def Vcodec(self):
|
@@ -38465,6 +38814,32 @@ baseline/main/high。默认baseline
|
|
38465
38814
|
def DRMTracks(self, DRMTracks):
|
38466
38815
|
self._DRMTracks = DRMTracks
|
38467
38816
|
|
38817
|
+
@property
|
38818
|
+
def IsAdaptiveBitRate(self):
|
38819
|
+
"""是否创建自适应码率,默认值 0。
|
38820
|
+
0:否。
|
38821
|
+
1:是。
|
38822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
38823
|
+
:rtype: int
|
38824
|
+
"""
|
38825
|
+
return self._IsAdaptiveBitRate
|
38826
|
+
|
38827
|
+
@IsAdaptiveBitRate.setter
|
38828
|
+
def IsAdaptiveBitRate(self, IsAdaptiveBitRate):
|
38829
|
+
self._IsAdaptiveBitRate = IsAdaptiveBitRate
|
38830
|
+
|
38831
|
+
@property
|
38832
|
+
def AdaptiveChildren(self):
|
38833
|
+
"""自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。
|
38834
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
38835
|
+
:rtype: list of ChildTemplateInfo
|
38836
|
+
"""
|
38837
|
+
return self._AdaptiveChildren
|
38838
|
+
|
38839
|
+
@AdaptiveChildren.setter
|
38840
|
+
def AdaptiveChildren(self, AdaptiveChildren):
|
38841
|
+
self._AdaptiveChildren = AdaptiveChildren
|
38842
|
+
|
38468
38843
|
|
38469
38844
|
def _deserialize(self, params):
|
38470
38845
|
self._Vcodec = params.get("Vcodec")
|
@@ -38490,6 +38865,13 @@ baseline/main/high。默认baseline
|
|
38490
38865
|
self._ShortEdgeAsHeight = params.get("ShortEdgeAsHeight")
|
38491
38866
|
self._DRMType = params.get("DRMType")
|
38492
38867
|
self._DRMTracks = params.get("DRMTracks")
|
38868
|
+
self._IsAdaptiveBitRate = params.get("IsAdaptiveBitRate")
|
38869
|
+
if params.get("AdaptiveChildren") is not None:
|
38870
|
+
self._AdaptiveChildren = []
|
38871
|
+
for item in params.get("AdaptiveChildren"):
|
38872
|
+
obj = ChildTemplateInfo()
|
38873
|
+
obj._deserialize(item)
|
38874
|
+
self._AdaptiveChildren.append(obj)
|
38493
38875
|
memeber_set = set(params.keys())
|
38494
38876
|
for name, value in vars(self).items():
|
38495
38877
|
property_name = name[1:]
|