tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1445__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/batch/v20170312/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +422 -26
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cls/v20201016/models.py +539 -172
- tencentcloud/emr/v20190103/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +105 -0
- tencentcloud/essbasic/v20210526/models.py +60 -0
- tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/lcic/v20220817/errorcodes.py +15 -0
- tencentcloud/lcic/v20220817/models.py +67 -16
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +1998 -50
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +64 -0
- tencentcloud/ocr/v20181119/models.py +46 -16
- tencentcloud/partners/v20180321/models.py +4 -4
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +191 -1527
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/sqlserver/v20180328/models.py +6 -6
- tencentcloud/sts/v20180813/sts_client.py +21 -7
- tencentcloud/tcbr/v20220217/models.py +151 -0
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tke/v20180525/models.py +17 -2
- tencentcloud/trabbit/v20230418/models.py +75 -0
- tencentcloud/trocket/v20230308/models.py +319 -0
- tencentcloud/trocket/v20230308/trocket_client.py +25 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +6 -4
- tencentcloud/tsf/v20180326/errorcodes.py +15 -0
- tencentcloud/tsf/v20180326/models.py +989 -589
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +570 -10
- tencentcloud/vod/v20180717/vod_client.py +102 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +1926 -744
- tencentcloud/waf/v20180125/waf_client.py +161 -0
- tencentcloud/wedata/v20210820/models.py +204 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/top_level.txt +0 -0
|
@@ -18916,6 +18916,127 @@ class CreateJustInTimeTranscodeTemplateResponse(AbstractModel):
|
|
|
18916
18916
|
self._RequestId = params.get("RequestId")
|
|
18917
18917
|
|
|
18918
18918
|
|
|
18919
|
+
class CreateMPSTemplateRequest(AbstractModel):
|
|
18920
|
+
"""CreateMPSTemplate请求参数结构体
|
|
18921
|
+
|
|
18922
|
+
"""
|
|
18923
|
+
|
|
18924
|
+
def __init__(self):
|
|
18925
|
+
r"""
|
|
18926
|
+
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
|
18927
|
+
:type SubAppId: int
|
|
18928
|
+
:param _TemplateType: 需要创建的 MPS 模板的类型。取值:
|
|
18929
|
+
<li>Transcode: 创建转码模板,目前仅支持创建增强模板。</li>
|
|
18930
|
+
:type TemplateType: str
|
|
18931
|
+
:param _MPSCreateTemplateParams: MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。
|
|
18932
|
+
目前仅支持通过此方式创建以下任务类型的模板:
|
|
18933
|
+
1. 音视频增强:仅支持填写“[创建转码模板](https://cloud.tencent.com/document/product/862/37605)”接口中的 Container 、Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数。其中 EnhanceConfig 此处必填。
|
|
18934
|
+
|
|
18935
|
+
目前模板中仅支持配置以上参数,其他参数无需填写。若包含其它参数,系统将自动忽略。以上透传参数以JSON形式表示。
|
|
18936
|
+
|
|
18937
|
+
:type MPSCreateTemplateParams: str
|
|
18938
|
+
"""
|
|
18939
|
+
self._SubAppId = None
|
|
18940
|
+
self._TemplateType = None
|
|
18941
|
+
self._MPSCreateTemplateParams = None
|
|
18942
|
+
|
|
18943
|
+
@property
|
|
18944
|
+
def SubAppId(self):
|
|
18945
|
+
"""<b>点播[应用](/document/product/266/14574) ID。</b>
|
|
18946
|
+
:rtype: int
|
|
18947
|
+
"""
|
|
18948
|
+
return self._SubAppId
|
|
18949
|
+
|
|
18950
|
+
@SubAppId.setter
|
|
18951
|
+
def SubAppId(self, SubAppId):
|
|
18952
|
+
self._SubAppId = SubAppId
|
|
18953
|
+
|
|
18954
|
+
@property
|
|
18955
|
+
def TemplateType(self):
|
|
18956
|
+
"""需要创建的 MPS 模板的类型。取值:
|
|
18957
|
+
<li>Transcode: 创建转码模板,目前仅支持创建增强模板。</li>
|
|
18958
|
+
:rtype: str
|
|
18959
|
+
"""
|
|
18960
|
+
return self._TemplateType
|
|
18961
|
+
|
|
18962
|
+
@TemplateType.setter
|
|
18963
|
+
def TemplateType(self, TemplateType):
|
|
18964
|
+
self._TemplateType = TemplateType
|
|
18965
|
+
|
|
18966
|
+
@property
|
|
18967
|
+
def MPSCreateTemplateParams(self):
|
|
18968
|
+
"""MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。
|
|
18969
|
+
目前仅支持通过此方式创建以下任务类型的模板:
|
|
18970
|
+
1. 音视频增强:仅支持填写“[创建转码模板](https://cloud.tencent.com/document/product/862/37605)”接口中的 Container 、Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数。其中 EnhanceConfig 此处必填。
|
|
18971
|
+
|
|
18972
|
+
目前模板中仅支持配置以上参数,其他参数无需填写。若包含其它参数,系统将自动忽略。以上透传参数以JSON形式表示。
|
|
18973
|
+
|
|
18974
|
+
:rtype: str
|
|
18975
|
+
"""
|
|
18976
|
+
return self._MPSCreateTemplateParams
|
|
18977
|
+
|
|
18978
|
+
@MPSCreateTemplateParams.setter
|
|
18979
|
+
def MPSCreateTemplateParams(self, MPSCreateTemplateParams):
|
|
18980
|
+
self._MPSCreateTemplateParams = MPSCreateTemplateParams
|
|
18981
|
+
|
|
18982
|
+
|
|
18983
|
+
def _deserialize(self, params):
|
|
18984
|
+
self._SubAppId = params.get("SubAppId")
|
|
18985
|
+
self._TemplateType = params.get("TemplateType")
|
|
18986
|
+
self._MPSCreateTemplateParams = params.get("MPSCreateTemplateParams")
|
|
18987
|
+
memeber_set = set(params.keys())
|
|
18988
|
+
for name, value in vars(self).items():
|
|
18989
|
+
property_name = name[1:]
|
|
18990
|
+
if property_name in memeber_set:
|
|
18991
|
+
memeber_set.remove(property_name)
|
|
18992
|
+
if len(memeber_set) > 0:
|
|
18993
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18994
|
+
|
|
18995
|
+
|
|
18996
|
+
|
|
18997
|
+
class CreateMPSTemplateResponse(AbstractModel):
|
|
18998
|
+
"""CreateMPSTemplate返回参数结构体
|
|
18999
|
+
|
|
19000
|
+
"""
|
|
19001
|
+
|
|
19002
|
+
def __init__(self):
|
|
19003
|
+
r"""
|
|
19004
|
+
:param _Definition: MPS 任务模板唯一标识。该模板独立于直接在 MPS 服务中创建的模板。
|
|
19005
|
+
:type Definition: int
|
|
19006
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19007
|
+
:type RequestId: str
|
|
19008
|
+
"""
|
|
19009
|
+
self._Definition = None
|
|
19010
|
+
self._RequestId = None
|
|
19011
|
+
|
|
19012
|
+
@property
|
|
19013
|
+
def Definition(self):
|
|
19014
|
+
"""MPS 任务模板唯一标识。该模板独立于直接在 MPS 服务中创建的模板。
|
|
19015
|
+
:rtype: int
|
|
19016
|
+
"""
|
|
19017
|
+
return self._Definition
|
|
19018
|
+
|
|
19019
|
+
@Definition.setter
|
|
19020
|
+
def Definition(self, Definition):
|
|
19021
|
+
self._Definition = Definition
|
|
19022
|
+
|
|
19023
|
+
@property
|
|
19024
|
+
def RequestId(self):
|
|
19025
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
19026
|
+
:rtype: str
|
|
19027
|
+
"""
|
|
19028
|
+
return self._RequestId
|
|
19029
|
+
|
|
19030
|
+
@RequestId.setter
|
|
19031
|
+
def RequestId(self, RequestId):
|
|
19032
|
+
self._RequestId = RequestId
|
|
19033
|
+
|
|
19034
|
+
|
|
19035
|
+
def _deserialize(self, params):
|
|
19036
|
+
self._Definition = params.get("Definition")
|
|
19037
|
+
self._RequestId = params.get("RequestId")
|
|
19038
|
+
|
|
19039
|
+
|
|
18919
19040
|
class CreatePersonSampleRequest(AbstractModel):
|
|
18920
19041
|
"""CreatePersonSample请求参数结构体
|
|
18921
19042
|
|
|
@@ -22963,6 +23084,102 @@ class DeleteJustInTimeTranscodeTemplateResponse(AbstractModel):
|
|
|
22963
23084
|
self._RequestId = params.get("RequestId")
|
|
22964
23085
|
|
|
22965
23086
|
|
|
23087
|
+
class DeleteMPSTemplateRequest(AbstractModel):
|
|
23088
|
+
"""DeleteMPSTemplate请求参数结构体
|
|
23089
|
+
|
|
23090
|
+
"""
|
|
23091
|
+
|
|
23092
|
+
def __init__(self):
|
|
23093
|
+
r"""
|
|
23094
|
+
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
|
23095
|
+
:type SubAppId: int
|
|
23096
|
+
:param _TemplateType: 需要删除的 MPS 模板的类型。取值:
|
|
23097
|
+
<li>Transcode: 删除转码模板。</li>
|
|
23098
|
+
:type TemplateType: str
|
|
23099
|
+
:param _Definition: MPS 任务模板唯一标识。
|
|
23100
|
+
:type Definition: int
|
|
23101
|
+
"""
|
|
23102
|
+
self._SubAppId = None
|
|
23103
|
+
self._TemplateType = None
|
|
23104
|
+
self._Definition = None
|
|
23105
|
+
|
|
23106
|
+
@property
|
|
23107
|
+
def SubAppId(self):
|
|
23108
|
+
"""<b>点播[应用](/document/product/266/14574) ID。</b>
|
|
23109
|
+
:rtype: int
|
|
23110
|
+
"""
|
|
23111
|
+
return self._SubAppId
|
|
23112
|
+
|
|
23113
|
+
@SubAppId.setter
|
|
23114
|
+
def SubAppId(self, SubAppId):
|
|
23115
|
+
self._SubAppId = SubAppId
|
|
23116
|
+
|
|
23117
|
+
@property
|
|
23118
|
+
def TemplateType(self):
|
|
23119
|
+
"""需要删除的 MPS 模板的类型。取值:
|
|
23120
|
+
<li>Transcode: 删除转码模板。</li>
|
|
23121
|
+
:rtype: str
|
|
23122
|
+
"""
|
|
23123
|
+
return self._TemplateType
|
|
23124
|
+
|
|
23125
|
+
@TemplateType.setter
|
|
23126
|
+
def TemplateType(self, TemplateType):
|
|
23127
|
+
self._TemplateType = TemplateType
|
|
23128
|
+
|
|
23129
|
+
@property
|
|
23130
|
+
def Definition(self):
|
|
23131
|
+
"""MPS 任务模板唯一标识。
|
|
23132
|
+
:rtype: int
|
|
23133
|
+
"""
|
|
23134
|
+
return self._Definition
|
|
23135
|
+
|
|
23136
|
+
@Definition.setter
|
|
23137
|
+
def Definition(self, Definition):
|
|
23138
|
+
self._Definition = Definition
|
|
23139
|
+
|
|
23140
|
+
|
|
23141
|
+
def _deserialize(self, params):
|
|
23142
|
+
self._SubAppId = params.get("SubAppId")
|
|
23143
|
+
self._TemplateType = params.get("TemplateType")
|
|
23144
|
+
self._Definition = params.get("Definition")
|
|
23145
|
+
memeber_set = set(params.keys())
|
|
23146
|
+
for name, value in vars(self).items():
|
|
23147
|
+
property_name = name[1:]
|
|
23148
|
+
if property_name in memeber_set:
|
|
23149
|
+
memeber_set.remove(property_name)
|
|
23150
|
+
if len(memeber_set) > 0:
|
|
23151
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23152
|
+
|
|
23153
|
+
|
|
23154
|
+
|
|
23155
|
+
class DeleteMPSTemplateResponse(AbstractModel):
|
|
23156
|
+
"""DeleteMPSTemplate返回参数结构体
|
|
23157
|
+
|
|
23158
|
+
"""
|
|
23159
|
+
|
|
23160
|
+
def __init__(self):
|
|
23161
|
+
r"""
|
|
23162
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23163
|
+
:type RequestId: str
|
|
23164
|
+
"""
|
|
23165
|
+
self._RequestId = None
|
|
23166
|
+
|
|
23167
|
+
@property
|
|
23168
|
+
def RequestId(self):
|
|
23169
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23170
|
+
:rtype: str
|
|
23171
|
+
"""
|
|
23172
|
+
return self._RequestId
|
|
23173
|
+
|
|
23174
|
+
@RequestId.setter
|
|
23175
|
+
def RequestId(self, RequestId):
|
|
23176
|
+
self._RequestId = RequestId
|
|
23177
|
+
|
|
23178
|
+
|
|
23179
|
+
def _deserialize(self, params):
|
|
23180
|
+
self._RequestId = params.get("RequestId")
|
|
23181
|
+
|
|
23182
|
+
|
|
22966
23183
|
class DeleteMediaRequest(AbstractModel):
|
|
22967
23184
|
"""DeleteMedia请求参数结构体
|
|
22968
23185
|
|
|
@@ -28604,6 +28821,139 @@ class DescribeLicenseUsageDataResponse(AbstractModel):
|
|
|
28604
28821
|
self._RequestId = params.get("RequestId")
|
|
28605
28822
|
|
|
28606
28823
|
|
|
28824
|
+
class DescribeMPSTemplatesRequest(AbstractModel):
|
|
28825
|
+
"""DescribeMPSTemplates请求参数结构体
|
|
28826
|
+
|
|
28827
|
+
"""
|
|
28828
|
+
|
|
28829
|
+
def __init__(self):
|
|
28830
|
+
r"""
|
|
28831
|
+
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
|
28832
|
+
:type SubAppId: int
|
|
28833
|
+
:param _TemplateType: MPS 模板类型。根据需要查询的 MPS 模板的类型对结果进行过滤。取值:
|
|
28834
|
+
<li>Transcode: 查询转码模板列表。</li>
|
|
28835
|
+
:type TemplateType: str
|
|
28836
|
+
:param _MPSDescribeTemplateParams: MPS 查询模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧查询 MPS 任务模板列表。目前仅支持通过此方式查询以下任务类型的模板:
|
|
28837
|
+
1. 音视频增强:仅支持填写“[获取转码模板列表](https://cloud.tencent.com/document/product/862/37593)”接口中的 Definitions、Offset 和 Limit 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。
|
|
28838
|
+
:type MPSDescribeTemplateParams: str
|
|
28839
|
+
"""
|
|
28840
|
+
self._SubAppId = None
|
|
28841
|
+
self._TemplateType = None
|
|
28842
|
+
self._MPSDescribeTemplateParams = None
|
|
28843
|
+
|
|
28844
|
+
@property
|
|
28845
|
+
def SubAppId(self):
|
|
28846
|
+
"""<b>点播[应用](/document/product/266/14574) ID。</b>
|
|
28847
|
+
:rtype: int
|
|
28848
|
+
"""
|
|
28849
|
+
return self._SubAppId
|
|
28850
|
+
|
|
28851
|
+
@SubAppId.setter
|
|
28852
|
+
def SubAppId(self, SubAppId):
|
|
28853
|
+
self._SubAppId = SubAppId
|
|
28854
|
+
|
|
28855
|
+
@property
|
|
28856
|
+
def TemplateType(self):
|
|
28857
|
+
"""MPS 模板类型。根据需要查询的 MPS 模板的类型对结果进行过滤。取值:
|
|
28858
|
+
<li>Transcode: 查询转码模板列表。</li>
|
|
28859
|
+
:rtype: str
|
|
28860
|
+
"""
|
|
28861
|
+
return self._TemplateType
|
|
28862
|
+
|
|
28863
|
+
@TemplateType.setter
|
|
28864
|
+
def TemplateType(self, TemplateType):
|
|
28865
|
+
self._TemplateType = TemplateType
|
|
28866
|
+
|
|
28867
|
+
@property
|
|
28868
|
+
def MPSDescribeTemplateParams(self):
|
|
28869
|
+
"""MPS 查询模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧查询 MPS 任务模板列表。目前仅支持通过此方式查询以下任务类型的模板:
|
|
28870
|
+
1. 音视频增强:仅支持填写“[获取转码模板列表](https://cloud.tencent.com/document/product/862/37593)”接口中的 Definitions、Offset 和 Limit 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。
|
|
28871
|
+
:rtype: str
|
|
28872
|
+
"""
|
|
28873
|
+
return self._MPSDescribeTemplateParams
|
|
28874
|
+
|
|
28875
|
+
@MPSDescribeTemplateParams.setter
|
|
28876
|
+
def MPSDescribeTemplateParams(self, MPSDescribeTemplateParams):
|
|
28877
|
+
self._MPSDescribeTemplateParams = MPSDescribeTemplateParams
|
|
28878
|
+
|
|
28879
|
+
|
|
28880
|
+
def _deserialize(self, params):
|
|
28881
|
+
self._SubAppId = params.get("SubAppId")
|
|
28882
|
+
self._TemplateType = params.get("TemplateType")
|
|
28883
|
+
self._MPSDescribeTemplateParams = params.get("MPSDescribeTemplateParams")
|
|
28884
|
+
memeber_set = set(params.keys())
|
|
28885
|
+
for name, value in vars(self).items():
|
|
28886
|
+
property_name = name[1:]
|
|
28887
|
+
if property_name in memeber_set:
|
|
28888
|
+
memeber_set.remove(property_name)
|
|
28889
|
+
if len(memeber_set) > 0:
|
|
28890
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28891
|
+
|
|
28892
|
+
|
|
28893
|
+
|
|
28894
|
+
class DescribeMPSTemplatesResponse(AbstractModel):
|
|
28895
|
+
"""DescribeMPSTemplates返回参数结构体
|
|
28896
|
+
|
|
28897
|
+
"""
|
|
28898
|
+
|
|
28899
|
+
def __init__(self):
|
|
28900
|
+
r"""
|
|
28901
|
+
:param _TotalCount: 符合过滤条件的记录总数。
|
|
28902
|
+
:type TotalCount: int
|
|
28903
|
+
:param _MPSTemplateSet: MPS 任务模板详情列表。
|
|
28904
|
+
:type MPSTemplateSet: list of MPSTemplate
|
|
28905
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28906
|
+
:type RequestId: str
|
|
28907
|
+
"""
|
|
28908
|
+
self._TotalCount = None
|
|
28909
|
+
self._MPSTemplateSet = None
|
|
28910
|
+
self._RequestId = None
|
|
28911
|
+
|
|
28912
|
+
@property
|
|
28913
|
+
def TotalCount(self):
|
|
28914
|
+
"""符合过滤条件的记录总数。
|
|
28915
|
+
:rtype: int
|
|
28916
|
+
"""
|
|
28917
|
+
return self._TotalCount
|
|
28918
|
+
|
|
28919
|
+
@TotalCount.setter
|
|
28920
|
+
def TotalCount(self, TotalCount):
|
|
28921
|
+
self._TotalCount = TotalCount
|
|
28922
|
+
|
|
28923
|
+
@property
|
|
28924
|
+
def MPSTemplateSet(self):
|
|
28925
|
+
"""MPS 任务模板详情列表。
|
|
28926
|
+
:rtype: list of MPSTemplate
|
|
28927
|
+
"""
|
|
28928
|
+
return self._MPSTemplateSet
|
|
28929
|
+
|
|
28930
|
+
@MPSTemplateSet.setter
|
|
28931
|
+
def MPSTemplateSet(self, MPSTemplateSet):
|
|
28932
|
+
self._MPSTemplateSet = MPSTemplateSet
|
|
28933
|
+
|
|
28934
|
+
@property
|
|
28935
|
+
def RequestId(self):
|
|
28936
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28937
|
+
:rtype: str
|
|
28938
|
+
"""
|
|
28939
|
+
return self._RequestId
|
|
28940
|
+
|
|
28941
|
+
@RequestId.setter
|
|
28942
|
+
def RequestId(self, RequestId):
|
|
28943
|
+
self._RequestId = RequestId
|
|
28944
|
+
|
|
28945
|
+
|
|
28946
|
+
def _deserialize(self, params):
|
|
28947
|
+
self._TotalCount = params.get("TotalCount")
|
|
28948
|
+
if params.get("MPSTemplateSet") is not None:
|
|
28949
|
+
self._MPSTemplateSet = []
|
|
28950
|
+
for item in params.get("MPSTemplateSet"):
|
|
28951
|
+
obj = MPSTemplate()
|
|
28952
|
+
obj._deserialize(item)
|
|
28953
|
+
self._MPSTemplateSet.append(obj)
|
|
28954
|
+
self._RequestId = params.get("RequestId")
|
|
28955
|
+
|
|
28956
|
+
|
|
28607
28957
|
class DescribeMediaInfosRequest(AbstractModel):
|
|
28608
28958
|
"""DescribeMediaInfos请求参数结构体
|
|
28609
28959
|
|
|
@@ -35169,6 +35519,7 @@ class EventContent(AbstractModel):
|
|
|
35169
35519
|
<li>QualityEnhanceComplete:音画质重生任务完成;</li>
|
|
35170
35520
|
<li>PersistenceComplete:剪辑固化完成;</li>
|
|
35171
35521
|
<li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
|
|
35522
|
+
<li>ProcessMediaByMPSComplete:MPS视频处理完成。</li>
|
|
35172
35523
|
<b>兼容 2017 版的事件类型:</b>
|
|
35173
35524
|
<li>TranscodeComplete:视频转码完成;</li>
|
|
35174
35525
|
<li>ConcatComplete:视频拼接完成;</li>
|
|
@@ -35257,6 +35608,8 @@ class EventContent(AbstractModel):
|
|
|
35257
35608
|
:param _ComplexAdaptiveDynamicStreamingCompleteEvent: 自适应码流任务信息,仅当 EventType 为ComplexAdaptiveDynamicStreamingComplete 时有效。
|
|
35258
35609
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
35259
35610
|
:type ComplexAdaptiveDynamicStreamingCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
|
|
35611
|
+
:param _ProcessMediaByMPSCompleteEvent: MPS 视频处理任务信息,仅当 EventType 为 ProcessMediaByMPSComplete 时有效。
|
|
35612
|
+
:type ProcessMediaByMPSCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
|
35260
35613
|
"""
|
|
35261
35614
|
self._EventHandle = None
|
|
35262
35615
|
self._EventType = None
|
|
@@ -35287,6 +35640,7 @@ class EventContent(AbstractModel):
|
|
|
35287
35640
|
self._MediaCastStatusChangedEvent = None
|
|
35288
35641
|
self._PersistenceCompleteEvent = None
|
|
35289
35642
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent = None
|
|
35643
|
+
self._ProcessMediaByMPSCompleteEvent = None
|
|
35290
35644
|
|
|
35291
35645
|
@property
|
|
35292
35646
|
def EventHandle(self):
|
|
@@ -35321,6 +35675,7 @@ class EventContent(AbstractModel):
|
|
|
35321
35675
|
<li>QualityEnhanceComplete:音画质重生任务完成;</li>
|
|
35322
35676
|
<li>PersistenceComplete:剪辑固化完成;</li>
|
|
35323
35677
|
<li>ComplexAdaptiveDynamicStreamingComplete:复杂自适应码流任务完成。</li>
|
|
35678
|
+
<li>ProcessMediaByMPSComplete:MPS视频处理完成。</li>
|
|
35324
35679
|
<b>兼容 2017 版的事件类型:</b>
|
|
35325
35680
|
<li>TranscodeComplete:视频转码完成;</li>
|
|
35326
35681
|
<li>ConcatComplete:视频拼接完成;</li>
|
|
@@ -35659,6 +36014,17 @@ class EventContent(AbstractModel):
|
|
|
35659
36014
|
def ComplexAdaptiveDynamicStreamingCompleteEvent(self, ComplexAdaptiveDynamicStreamingCompleteEvent):
|
|
35660
36015
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingCompleteEvent
|
|
35661
36016
|
|
|
36017
|
+
@property
|
|
36018
|
+
def ProcessMediaByMPSCompleteEvent(self):
|
|
36019
|
+
"""MPS 视频处理任务信息,仅当 EventType 为 ProcessMediaByMPSComplete 时有效。
|
|
36020
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
|
|
36021
|
+
"""
|
|
36022
|
+
return self._ProcessMediaByMPSCompleteEvent
|
|
36023
|
+
|
|
36024
|
+
@ProcessMediaByMPSCompleteEvent.setter
|
|
36025
|
+
def ProcessMediaByMPSCompleteEvent(self, ProcessMediaByMPSCompleteEvent):
|
|
36026
|
+
self._ProcessMediaByMPSCompleteEvent = ProcessMediaByMPSCompleteEvent
|
|
36027
|
+
|
|
35662
36028
|
|
|
35663
36029
|
def _deserialize(self, params):
|
|
35664
36030
|
self._EventHandle = params.get("EventHandle")
|
|
@@ -35744,6 +36110,9 @@ class EventContent(AbstractModel):
|
|
|
35744
36110
|
if params.get("ComplexAdaptiveDynamicStreamingCompleteEvent") is not None:
|
|
35745
36111
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent = ComplexAdaptiveDynamicStreamingTask()
|
|
35746
36112
|
self._ComplexAdaptiveDynamicStreamingCompleteEvent._deserialize(params.get("ComplexAdaptiveDynamicStreamingCompleteEvent"))
|
|
36113
|
+
if params.get("ProcessMediaByMPSCompleteEvent") is not None:
|
|
36114
|
+
self._ProcessMediaByMPSCompleteEvent = ProcessMediaByMPS()
|
|
36115
|
+
self._ProcessMediaByMPSCompleteEvent._deserialize(params.get("ProcessMediaByMPSCompleteEvent"))
|
|
35747
36116
|
memeber_set = set(params.keys())
|
|
35748
36117
|
for name, value in vars(self).items():
|
|
35749
36118
|
property_name = name[1:]
|
|
@@ -40852,7 +41221,7 @@ class MPSOutputFile(AbstractModel):
|
|
|
40852
41221
|
def __init__(self):
|
|
40853
41222
|
r"""
|
|
40854
41223
|
:param _FileType: 文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
|
|
40855
|
-
取值:<li>AiAnalysis.DeLogo.Video:
|
|
41224
|
+
取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件,默认以原文件类型存储;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li><li>MediaProcess.Transcode.Video: 音视频增强任务中增强后的音视频文件,默认以转码文件类型存储。</li>
|
|
40856
41225
|
:type FileType: str
|
|
40857
41226
|
:param _StorageMode: 存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
|
|
40858
41227
|
:type StorageMode: str
|
|
@@ -40860,6 +41229,8 @@ class MPSOutputFile(AbstractModel):
|
|
|
40860
41229
|
:type FileId: str
|
|
40861
41230
|
:param _Url: 结果文件的可下载 Url。
|
|
40862
41231
|
:type Url: str
|
|
41232
|
+
:param _Definition: 转码规格 ID。当 FileType 等于 MediaProcess.Transcode.Video时有效,取值为0表示原始文件。
|
|
41233
|
+
:type Definition: str
|
|
40863
41234
|
:param _ExpiredTime: 过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
|
|
40864
41235
|
:type ExpiredTime: int
|
|
40865
41236
|
"""
|
|
@@ -40867,12 +41238,13 @@ class MPSOutputFile(AbstractModel):
|
|
|
40867
41238
|
self._StorageMode = None
|
|
40868
41239
|
self._FileId = None
|
|
40869
41240
|
self._Url = None
|
|
41241
|
+
self._Definition = None
|
|
40870
41242
|
self._ExpiredTime = None
|
|
40871
41243
|
|
|
40872
41244
|
@property
|
|
40873
41245
|
def FileType(self):
|
|
40874
41246
|
"""文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
|
|
40875
|
-
取值:<li>AiAnalysis.DeLogo.Video:
|
|
41247
|
+
取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件,默认以原文件类型存储;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li><li>MediaProcess.Transcode.Video: 音视频增强任务中增强后的音视频文件,默认以转码文件类型存储。</li>
|
|
40876
41248
|
:rtype: str
|
|
40877
41249
|
"""
|
|
40878
41250
|
return self._FileType
|
|
@@ -40914,6 +41286,17 @@ class MPSOutputFile(AbstractModel):
|
|
|
40914
41286
|
def Url(self, Url):
|
|
40915
41287
|
self._Url = Url
|
|
40916
41288
|
|
|
41289
|
+
@property
|
|
41290
|
+
def Definition(self):
|
|
41291
|
+
"""转码规格 ID。当 FileType 等于 MediaProcess.Transcode.Video时有效,取值为0表示原始文件。
|
|
41292
|
+
:rtype: str
|
|
41293
|
+
"""
|
|
41294
|
+
return self._Definition
|
|
41295
|
+
|
|
41296
|
+
@Definition.setter
|
|
41297
|
+
def Definition(self, Definition):
|
|
41298
|
+
self._Definition = Definition
|
|
41299
|
+
|
|
40917
41300
|
@property
|
|
40918
41301
|
def ExpiredTime(self):
|
|
40919
41302
|
"""过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
|
|
@@ -40931,6 +41314,7 @@ class MPSOutputFile(AbstractModel):
|
|
|
40931
41314
|
self._StorageMode = params.get("StorageMode")
|
|
40932
41315
|
self._FileId = params.get("FileId")
|
|
40933
41316
|
self._Url = params.get("Url")
|
|
41317
|
+
self._Definition = params.get("Definition")
|
|
40934
41318
|
self._ExpiredTime = params.get("ExpiredTime")
|
|
40935
41319
|
memeber_set = set(params.keys())
|
|
40936
41320
|
for name, value in vars(self).items():
|
|
@@ -40949,7 +41333,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
40949
41333
|
|
|
40950
41334
|
def __init__(self):
|
|
40951
41335
|
r"""
|
|
40952
|
-
:param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
|
|
41336
|
+
:param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li><li>MediaProcess.Transcode:音视频增强任务。</li>
|
|
40953
41337
|
:type TaskType: str
|
|
40954
41338
|
:param _Status: 任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
40955
41339
|
:type Status: str
|
|
@@ -40958,6 +41342,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
40958
41342
|
:param _Message: 错误信息。
|
|
40959
41343
|
:type Message: str
|
|
40960
41344
|
:param _Input: MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
|
41345
|
+
示例:{"Definition": 24}
|
|
40961
41346
|
:type Input: str
|
|
40962
41347
|
:param _Output: MPS 视频处理任务输出。
|
|
40963
41348
|
:type Output: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
|
|
@@ -40971,7 +41356,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
40971
41356
|
|
|
40972
41357
|
@property
|
|
40973
41358
|
def TaskType(self):
|
|
40974
|
-
"""任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
|
|
41359
|
+
"""任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li><li>MediaProcess.Transcode:音视频增强任务。</li>
|
|
40975
41360
|
:rtype: str
|
|
40976
41361
|
"""
|
|
40977
41362
|
return self._TaskType
|
|
@@ -41016,6 +41401,7 @@ class MPSSubTaskResult(AbstractModel):
|
|
|
41016
41401
|
@property
|
|
41017
41402
|
def Input(self):
|
|
41018
41403
|
"""MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
|
|
41404
|
+
示例:{"Definition": 24}
|
|
41019
41405
|
:rtype: str
|
|
41020
41406
|
"""
|
|
41021
41407
|
return self._Input
|
|
@@ -41096,6 +41482,61 @@ class MPSTaskOutput(AbstractModel):
|
|
|
41096
41482
|
|
|
41097
41483
|
|
|
41098
41484
|
|
|
41485
|
+
class MPSTemplate(AbstractModel):
|
|
41486
|
+
"""MPS 任务模板详情。
|
|
41487
|
+
|
|
41488
|
+
"""
|
|
41489
|
+
|
|
41490
|
+
def __init__(self):
|
|
41491
|
+
r"""
|
|
41492
|
+
:param _TaskType: MPS 模板的类型。取值:
|
|
41493
|
+
<li>Transcode: 转码模板。</li>
|
|
41494
|
+
:type TaskType: str
|
|
41495
|
+
:param _MPSTemplateInfo: MPS 任务模板详情内容。
|
|
41496
|
+
示例:{"Definition":24214,"Name":"test","Comment":"","Type":"Preset","EnhanceConfig":{"VideoEnhance":{"FrameRate":{"Switch":"ON","Fps":50},"SuperResolution":{"Switch":"ON","Type":"lq"}}}}
|
|
41497
|
+
:type MPSTemplateInfo: str
|
|
41498
|
+
"""
|
|
41499
|
+
self._TaskType = None
|
|
41500
|
+
self._MPSTemplateInfo = None
|
|
41501
|
+
|
|
41502
|
+
@property
|
|
41503
|
+
def TaskType(self):
|
|
41504
|
+
"""MPS 模板的类型。取值:
|
|
41505
|
+
<li>Transcode: 转码模板。</li>
|
|
41506
|
+
:rtype: str
|
|
41507
|
+
"""
|
|
41508
|
+
return self._TaskType
|
|
41509
|
+
|
|
41510
|
+
@TaskType.setter
|
|
41511
|
+
def TaskType(self, TaskType):
|
|
41512
|
+
self._TaskType = TaskType
|
|
41513
|
+
|
|
41514
|
+
@property
|
|
41515
|
+
def MPSTemplateInfo(self):
|
|
41516
|
+
"""MPS 任务模板详情内容。
|
|
41517
|
+
示例:{"Definition":24214,"Name":"test","Comment":"","Type":"Preset","EnhanceConfig":{"VideoEnhance":{"FrameRate":{"Switch":"ON","Fps":50},"SuperResolution":{"Switch":"ON","Type":"lq"}}}}
|
|
41518
|
+
:rtype: str
|
|
41519
|
+
"""
|
|
41520
|
+
return self._MPSTemplateInfo
|
|
41521
|
+
|
|
41522
|
+
@MPSTemplateInfo.setter
|
|
41523
|
+
def MPSTemplateInfo(self, MPSTemplateInfo):
|
|
41524
|
+
self._MPSTemplateInfo = MPSTemplateInfo
|
|
41525
|
+
|
|
41526
|
+
|
|
41527
|
+
def _deserialize(self, params):
|
|
41528
|
+
self._TaskType = params.get("TaskType")
|
|
41529
|
+
self._MPSTemplateInfo = params.get("MPSTemplateInfo")
|
|
41530
|
+
memeber_set = set(params.keys())
|
|
41531
|
+
for name, value in vars(self).items():
|
|
41532
|
+
property_name = name[1:]
|
|
41533
|
+
if property_name in memeber_set:
|
|
41534
|
+
memeber_set.remove(property_name)
|
|
41535
|
+
if len(memeber_set) > 0:
|
|
41536
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
41537
|
+
|
|
41538
|
+
|
|
41539
|
+
|
|
41099
41540
|
class ManageTaskRequest(AbstractModel):
|
|
41100
41541
|
"""ManageTask请求参数结构体
|
|
41101
41542
|
|
|
@@ -49501,6 +49942,108 @@ class ModifyJustInTimeTranscodeTemplateResponse(AbstractModel):
|
|
|
49501
49942
|
self._RequestId = params.get("RequestId")
|
|
49502
49943
|
|
|
49503
49944
|
|
|
49945
|
+
class ModifyMPSTemplateRequest(AbstractModel):
|
|
49946
|
+
"""ModifyMPSTemplate请求参数结构体
|
|
49947
|
+
|
|
49948
|
+
"""
|
|
49949
|
+
|
|
49950
|
+
def __init__(self):
|
|
49951
|
+
r"""
|
|
49952
|
+
:param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
|
|
49953
|
+
:type SubAppId: int
|
|
49954
|
+
:param _TemplateType: 需要修改的 MPS 模板的类型。取值:
|
|
49955
|
+
<li>Transcode: 创建转码模板,目前仅支持修改增强参数。</li>
|
|
49956
|
+
:type TemplateType: str
|
|
49957
|
+
:param _MPSModifyTemplateParams: MPS 修改模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧修改用户自定义的 MPS 任务模板。
|
|
49958
|
+
目前仅支持通过此方式修改以下任务类型的模板:
|
|
49959
|
+
1. 音视频增强:仅支持填写“[修改转码模板](https://cloud.tencent.com/document/api/862/37578)”接口中的 Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。
|
|
49960
|
+
示例:{"Definition":24214,"Container":"mp4","Name":"test","RemoveAudio":1,"VideoTemplate":{"Codec":"h264","Fps":0,"Bitrate":0},"EnhanceConfig":{"VideoEnhance":{"FrameRate":{"Switch":"ON","Fps":50}}}}
|
|
49961
|
+
:type MPSModifyTemplateParams: str
|
|
49962
|
+
"""
|
|
49963
|
+
self._SubAppId = None
|
|
49964
|
+
self._TemplateType = None
|
|
49965
|
+
self._MPSModifyTemplateParams = None
|
|
49966
|
+
|
|
49967
|
+
@property
|
|
49968
|
+
def SubAppId(self):
|
|
49969
|
+
"""<b>点播[应用](/document/product/266/14574) ID。</b>
|
|
49970
|
+
:rtype: int
|
|
49971
|
+
"""
|
|
49972
|
+
return self._SubAppId
|
|
49973
|
+
|
|
49974
|
+
@SubAppId.setter
|
|
49975
|
+
def SubAppId(self, SubAppId):
|
|
49976
|
+
self._SubAppId = SubAppId
|
|
49977
|
+
|
|
49978
|
+
@property
|
|
49979
|
+
def TemplateType(self):
|
|
49980
|
+
"""需要修改的 MPS 模板的类型。取值:
|
|
49981
|
+
<li>Transcode: 创建转码模板,目前仅支持修改增强参数。</li>
|
|
49982
|
+
:rtype: str
|
|
49983
|
+
"""
|
|
49984
|
+
return self._TemplateType
|
|
49985
|
+
|
|
49986
|
+
@TemplateType.setter
|
|
49987
|
+
def TemplateType(self, TemplateType):
|
|
49988
|
+
self._TemplateType = TemplateType
|
|
49989
|
+
|
|
49990
|
+
@property
|
|
49991
|
+
def MPSModifyTemplateParams(self):
|
|
49992
|
+
"""MPS 修改模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧修改用户自定义的 MPS 任务模板。
|
|
49993
|
+
目前仅支持通过此方式修改以下任务类型的模板:
|
|
49994
|
+
1. 音视频增强:仅支持填写“[修改转码模板](https://cloud.tencent.com/document/api/862/37578)”接口中的 Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数的内容。目前仅支持在模板中配置以上参数,其他参数无需填写,若包含其它参数,系统将自动忽略。
|
|
49995
|
+
示例:{"Definition":24214,"Container":"mp4","Name":"test","RemoveAudio":1,"VideoTemplate":{"Codec":"h264","Fps":0,"Bitrate":0},"EnhanceConfig":{"VideoEnhance":{"FrameRate":{"Switch":"ON","Fps":50}}}}
|
|
49996
|
+
:rtype: str
|
|
49997
|
+
"""
|
|
49998
|
+
return self._MPSModifyTemplateParams
|
|
49999
|
+
|
|
50000
|
+
@MPSModifyTemplateParams.setter
|
|
50001
|
+
def MPSModifyTemplateParams(self, MPSModifyTemplateParams):
|
|
50002
|
+
self._MPSModifyTemplateParams = MPSModifyTemplateParams
|
|
50003
|
+
|
|
50004
|
+
|
|
50005
|
+
def _deserialize(self, params):
|
|
50006
|
+
self._SubAppId = params.get("SubAppId")
|
|
50007
|
+
self._TemplateType = params.get("TemplateType")
|
|
50008
|
+
self._MPSModifyTemplateParams = params.get("MPSModifyTemplateParams")
|
|
50009
|
+
memeber_set = set(params.keys())
|
|
50010
|
+
for name, value in vars(self).items():
|
|
50011
|
+
property_name = name[1:]
|
|
50012
|
+
if property_name in memeber_set:
|
|
50013
|
+
memeber_set.remove(property_name)
|
|
50014
|
+
if len(memeber_set) > 0:
|
|
50015
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
50016
|
+
|
|
50017
|
+
|
|
50018
|
+
|
|
50019
|
+
class ModifyMPSTemplateResponse(AbstractModel):
|
|
50020
|
+
"""ModifyMPSTemplate返回参数结构体
|
|
50021
|
+
|
|
50022
|
+
"""
|
|
50023
|
+
|
|
50024
|
+
def __init__(self):
|
|
50025
|
+
r"""
|
|
50026
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
50027
|
+
:type RequestId: str
|
|
50028
|
+
"""
|
|
50029
|
+
self._RequestId = None
|
|
50030
|
+
|
|
50031
|
+
@property
|
|
50032
|
+
def RequestId(self):
|
|
50033
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
50034
|
+
:rtype: str
|
|
50035
|
+
"""
|
|
50036
|
+
return self._RequestId
|
|
50037
|
+
|
|
50038
|
+
@RequestId.setter
|
|
50039
|
+
def RequestId(self, RequestId):
|
|
50040
|
+
self._RequestId = RequestId
|
|
50041
|
+
|
|
50042
|
+
|
|
50043
|
+
def _deserialize(self, params):
|
|
50044
|
+
self._RequestId = params.get("RequestId")
|
|
50045
|
+
|
|
50046
|
+
|
|
49504
50047
|
class ModifyMediaInfoRequest(AbstractModel):
|
|
49505
50048
|
"""ModifyMediaInfo请求参数结构体
|
|
49506
50049
|
|
|
@@ -56444,14 +56987,18 @@ class ProcessMediaByMPSRequest(AbstractModel):
|
|
|
56444
56987
|
:param _MPSProcessMediaParams: 该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。
|
|
56445
56988
|
视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。
|
|
56446
56989
|
填写说明:
|
|
56447
|
-
1. 目前仅需要配置 MPS
|
|
56448
|
-
2.
|
|
56449
|
-
|
|
56990
|
+
1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
|
|
56991
|
+
2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
|
|
56992
|
+
3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/57382) 接口创建自定义模板。
|
|
56993
|
+
示例:{"AiAnalysisTask":{"Definition":25}}
|
|
56450
56994
|
:type MPSProcessMediaParams: str
|
|
56995
|
+
:param _ExtInfo: 保留字段,特殊用途时使用。
|
|
56996
|
+
:type ExtInfo: str
|
|
56451
56997
|
"""
|
|
56452
56998
|
self._FileId = None
|
|
56453
56999
|
self._SubAppId = None
|
|
56454
57000
|
self._MPSProcessMediaParams = None
|
|
57001
|
+
self._ExtInfo = None
|
|
56455
57002
|
|
|
56456
57003
|
@property
|
|
56457
57004
|
def FileId(self):
|
|
@@ -56480,9 +57027,10 @@ class ProcessMediaByMPSRequest(AbstractModel):
|
|
|
56480
57027
|
"""该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。
|
|
56481
57028
|
视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。
|
|
56482
57029
|
填写说明:
|
|
56483
|
-
1. 目前仅需要配置 MPS
|
|
56484
|
-
2.
|
|
56485
|
-
|
|
57030
|
+
1. 目前仅需要配置 MPS “发起媒体处理”接口中任务配置相关的参数,如 AiAnalysisTask 与 MediaProcessTask,其他参数无需填写。若包含其它参数,系统将自动忽略;
|
|
57031
|
+
2. 当前仅支持通过此方式发起智能擦除及音视频增强任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数;
|
|
57032
|
+
3. 音视频增强任务目前不支持使用预置模板发起,可通过 [CreateMPSTemplate](document/product/266/57382) 接口创建自定义模板。
|
|
57033
|
+
示例:{"AiAnalysisTask":{"Definition":25}}
|
|
56486
57034
|
:rtype: str
|
|
56487
57035
|
"""
|
|
56488
57036
|
return self._MPSProcessMediaParams
|
|
@@ -56491,11 +57039,23 @@ class ProcessMediaByMPSRequest(AbstractModel):
|
|
|
56491
57039
|
def MPSProcessMediaParams(self, MPSProcessMediaParams):
|
|
56492
57040
|
self._MPSProcessMediaParams = MPSProcessMediaParams
|
|
56493
57041
|
|
|
57042
|
+
@property
|
|
57043
|
+
def ExtInfo(self):
|
|
57044
|
+
"""保留字段,特殊用途时使用。
|
|
57045
|
+
:rtype: str
|
|
57046
|
+
"""
|
|
57047
|
+
return self._ExtInfo
|
|
57048
|
+
|
|
57049
|
+
@ExtInfo.setter
|
|
57050
|
+
def ExtInfo(self, ExtInfo):
|
|
57051
|
+
self._ExtInfo = ExtInfo
|
|
57052
|
+
|
|
56494
57053
|
|
|
56495
57054
|
def _deserialize(self, params):
|
|
56496
57055
|
self._FileId = params.get("FileId")
|
|
56497
57056
|
self._SubAppId = params.get("SubAppId")
|
|
56498
57057
|
self._MPSProcessMediaParams = params.get("MPSProcessMediaParams")
|
|
57058
|
+
self._ExtInfo = params.get("ExtInfo")
|
|
56499
57059
|
memeber_set = set(params.keys())
|
|
56500
57060
|
for name, value in vars(self).items():
|
|
56501
57061
|
property_name = name[1:]
|