tencentcloud-sdk-python-mps 3.1.62__tar.gz → 3.1.71__tar.gz
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_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/mps/v20190612/models.py +291 -4
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/mps/v20190612/mps_client.py +23 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/mps/v20190612/mps_client_async.py +18 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.71/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.62/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.62 → tencentcloud_sdk_python_mps-3.1.71}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.71
|
|
4
4
|
Summary: Tencent Cloud Mps SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.71
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-mps',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.71,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -36729,9 +36729,9 @@ class DescribeUsageDataRequest(AbstractModel):
|
|
|
36729
36729
|
r"""
|
|
36730
36730
|
:param _StartTime: <p>起始日期。使用 ISO 日期格式。</p>
|
|
36731
36731
|
:type StartTime: str
|
|
36732
|
-
:param _EndTime: <p
|
|
36732
|
+
:param _EndTime: <p>结束日期,需大于等于起始日期。使用<a href="https://cloud.tencent.com/document/product/862/37710#52">ISO 日期格式</a>。</p><p>参数格式:2019-07-16T06:21:28Z</p>
|
|
36733
36733
|
:type EndTime: str
|
|
36734
|
-
:param _Types: <p>查询媒体处理任务类型,默认查询转码。</p><li>Transcode:转码</li><li>Enhance:增强</li><li>AIAnalysis:智能分析</li><li>AIRecognition:智能识别</li><li>AIReview:内容审核</li><li>Snapshot:截图</li><li>AnimatedGraphics:转动图</li><li>AiQualityControl:质检</li><li>Evaluation:视频评测</li><li>ImageProcess: 图片处理</li><li>AddBlindWatermark: 添加基础版权数字水印</li><li>AddNagraWatermark: 添加NAGRA数字水印</li><li>ExtractBlindWatermark: 提取基础版权数字水印</li><li>AIGC:
|
|
36734
|
+
:param _Types: <p>查询媒体处理任务类型,默认查询转码。</p><li>Transcode:转码</li><li>Enhance:增强</li><li>AIAnalysis:智能分析</li><li>AIRecognition:智能识别</li><li>AIReview:内容审核</li><li>Snapshot:截图</li><li>AnimatedGraphics:转动图</li><li>AiQualityControl:质检</li><li>Evaluation:视频评测</li><li>ImageProcess: 图片处理</li><li>AddBlindWatermark: 添加基础版权数字水印</li><li>AddNagraWatermark: 添加NAGRA数字水印</li><li>ExtractBlindWatermark: 提取基础版权数字水印</li><li>AIGCVideo: AIGC视频生成</li><li>AIGCImage: AIGC图片生成</li>
|
|
36735
36735
|
:type Types: list of str
|
|
36736
36736
|
:param _ProcessRegions: <p>媒体处理园区,默认返回 ap-guangzhou 园区。</p><li>ap-guangzhou:广州</li><li>ap-hongkong:中国香港</li><li>ap-taipei:中国台北</li><li>ap-singapore:新加坡</li><li>ap-mumbai:印度</li><li>ap-jakarta:雅加达</li><li>ap-seoul:首尔</li><li>ap-bangkok:泰国</li><li>ap-tokyo:日本</li><li>na-siliconvalley:美国硅谷</li><li>na-ashburn:弗吉尼亚</li><li>na-toronto:多伦多</li><li>sa-saopaulo:圣保罗</li><li>eu-frankfurt:法兰克福</li><li>eu-moscow:俄罗斯</li><li>aws:AWS</li>
|
|
36737
36737
|
:type ProcessRegions: list of str
|
|
@@ -36754,7 +36754,7 @@ class DescribeUsageDataRequest(AbstractModel):
|
|
|
36754
36754
|
|
|
36755
36755
|
@property
|
|
36756
36756
|
def EndTime(self):
|
|
36757
|
-
r"""<p
|
|
36757
|
+
r"""<p>结束日期,需大于等于起始日期。使用<a href="https://cloud.tencent.com/document/product/862/37710#52">ISO 日期格式</a>。</p><p>参数格式:2019-07-16T06:21:28Z</p>
|
|
36758
36758
|
:rtype: str
|
|
36759
36759
|
"""
|
|
36760
36760
|
return self._EndTime
|
|
@@ -36765,7 +36765,7 @@ class DescribeUsageDataRequest(AbstractModel):
|
|
|
36765
36765
|
|
|
36766
36766
|
@property
|
|
36767
36767
|
def Types(self):
|
|
36768
|
-
r"""<p>查询媒体处理任务类型,默认查询转码。</p><li>Transcode:转码</li><li>Enhance:增强</li><li>AIAnalysis:智能分析</li><li>AIRecognition:智能识别</li><li>AIReview:内容审核</li><li>Snapshot:截图</li><li>AnimatedGraphics:转动图</li><li>AiQualityControl:质检</li><li>Evaluation:视频评测</li><li>ImageProcess: 图片处理</li><li>AddBlindWatermark: 添加基础版权数字水印</li><li>AddNagraWatermark: 添加NAGRA数字水印</li><li>ExtractBlindWatermark: 提取基础版权数字水印</li><li>AIGC:
|
|
36768
|
+
r"""<p>查询媒体处理任务类型,默认查询转码。</p><li>Transcode:转码</li><li>Enhance:增强</li><li>AIAnalysis:智能分析</li><li>AIRecognition:智能识别</li><li>AIReview:内容审核</li><li>Snapshot:截图</li><li>AnimatedGraphics:转动图</li><li>AiQualityControl:质检</li><li>Evaluation:视频评测</li><li>ImageProcess: 图片处理</li><li>AddBlindWatermark: 添加基础版权数字水印</li><li>AddNagraWatermark: 添加NAGRA数字水印</li><li>ExtractBlindWatermark: 提取基础版权数字水印</li><li>AIGCVideo: AIGC视频生成</li><li>AIGCImage: AIGC图片生成</li>
|
|
36769
36769
|
:rtype: list of str
|
|
36770
36770
|
"""
|
|
36771
36771
|
return self._Types
|
|
@@ -37089,6 +37089,137 @@ class DescribeVideoSearchTaskDetailResponse(AbstractModel):
|
|
|
37089
37089
|
self._RequestId = params.get("RequestId")
|
|
37090
37090
|
|
|
37091
37091
|
|
|
37092
|
+
class DescribeVoicesRequest(AbstractModel):
|
|
37093
|
+
r"""DescribeVoices请求参数结构体
|
|
37094
|
+
|
|
37095
|
+
"""
|
|
37096
|
+
|
|
37097
|
+
def __init__(self):
|
|
37098
|
+
r"""
|
|
37099
|
+
:param _VoiceType: <p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
|
|
37100
|
+
:type VoiceType: str
|
|
37101
|
+
:param _ExtParam: <p>扩展参数,json字符串</p><p>其他筛选条件voiceName String 音色名,模糊匹配labels Array of String 标签,匹配包含这些标签的音色</p>
|
|
37102
|
+
:type ExtParam: str
|
|
37103
|
+
"""
|
|
37104
|
+
self._VoiceType = None
|
|
37105
|
+
self._ExtParam = None
|
|
37106
|
+
|
|
37107
|
+
@property
|
|
37108
|
+
def VoiceType(self):
|
|
37109
|
+
r"""<p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
|
|
37110
|
+
:rtype: str
|
|
37111
|
+
"""
|
|
37112
|
+
return self._VoiceType
|
|
37113
|
+
|
|
37114
|
+
@VoiceType.setter
|
|
37115
|
+
def VoiceType(self, VoiceType):
|
|
37116
|
+
self._VoiceType = VoiceType
|
|
37117
|
+
|
|
37118
|
+
@property
|
|
37119
|
+
def ExtParam(self):
|
|
37120
|
+
r"""<p>扩展参数,json字符串</p><p>其他筛选条件voiceName String 音色名,模糊匹配labels Array of String 标签,匹配包含这些标签的音色</p>
|
|
37121
|
+
:rtype: str
|
|
37122
|
+
"""
|
|
37123
|
+
return self._ExtParam
|
|
37124
|
+
|
|
37125
|
+
@ExtParam.setter
|
|
37126
|
+
def ExtParam(self, ExtParam):
|
|
37127
|
+
self._ExtParam = ExtParam
|
|
37128
|
+
|
|
37129
|
+
|
|
37130
|
+
def _deserialize(self, params):
|
|
37131
|
+
self._VoiceType = params.get("VoiceType")
|
|
37132
|
+
self._ExtParam = params.get("ExtParam")
|
|
37133
|
+
memeber_set = set(params.keys())
|
|
37134
|
+
for name, value in vars(self).items():
|
|
37135
|
+
property_name = name[1:]
|
|
37136
|
+
if property_name in memeber_set:
|
|
37137
|
+
memeber_set.remove(property_name)
|
|
37138
|
+
if len(memeber_set) > 0:
|
|
37139
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
37140
|
+
|
|
37141
|
+
|
|
37142
|
+
|
|
37143
|
+
class DescribeVoicesResponse(AbstractModel):
|
|
37144
|
+
r"""DescribeVoices返回参数结构体
|
|
37145
|
+
|
|
37146
|
+
"""
|
|
37147
|
+
|
|
37148
|
+
def __init__(self):
|
|
37149
|
+
r"""
|
|
37150
|
+
:param _ErrorCode: <p>错误码,成功时返回0</p>
|
|
37151
|
+
:type ErrorCode: int
|
|
37152
|
+
:param _Msg: <p>错误信息,成功时返回success</p>
|
|
37153
|
+
:type Msg: str
|
|
37154
|
+
:param _Voices: <p>可用音色列表</p>
|
|
37155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37156
|
+
:type Voices: list of VoiceInfo
|
|
37157
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37158
|
+
:type RequestId: str
|
|
37159
|
+
"""
|
|
37160
|
+
self._ErrorCode = None
|
|
37161
|
+
self._Msg = None
|
|
37162
|
+
self._Voices = None
|
|
37163
|
+
self._RequestId = None
|
|
37164
|
+
|
|
37165
|
+
@property
|
|
37166
|
+
def ErrorCode(self):
|
|
37167
|
+
r"""<p>错误码,成功时返回0</p>
|
|
37168
|
+
:rtype: int
|
|
37169
|
+
"""
|
|
37170
|
+
return self._ErrorCode
|
|
37171
|
+
|
|
37172
|
+
@ErrorCode.setter
|
|
37173
|
+
def ErrorCode(self, ErrorCode):
|
|
37174
|
+
self._ErrorCode = ErrorCode
|
|
37175
|
+
|
|
37176
|
+
@property
|
|
37177
|
+
def Msg(self):
|
|
37178
|
+
r"""<p>错误信息,成功时返回success</p>
|
|
37179
|
+
:rtype: str
|
|
37180
|
+
"""
|
|
37181
|
+
return self._Msg
|
|
37182
|
+
|
|
37183
|
+
@Msg.setter
|
|
37184
|
+
def Msg(self, Msg):
|
|
37185
|
+
self._Msg = Msg
|
|
37186
|
+
|
|
37187
|
+
@property
|
|
37188
|
+
def Voices(self):
|
|
37189
|
+
r"""<p>可用音色列表</p>
|
|
37190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37191
|
+
:rtype: list of VoiceInfo
|
|
37192
|
+
"""
|
|
37193
|
+
return self._Voices
|
|
37194
|
+
|
|
37195
|
+
@Voices.setter
|
|
37196
|
+
def Voices(self, Voices):
|
|
37197
|
+
self._Voices = Voices
|
|
37198
|
+
|
|
37199
|
+
@property
|
|
37200
|
+
def RequestId(self):
|
|
37201
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
37202
|
+
:rtype: str
|
|
37203
|
+
"""
|
|
37204
|
+
return self._RequestId
|
|
37205
|
+
|
|
37206
|
+
@RequestId.setter
|
|
37207
|
+
def RequestId(self, RequestId):
|
|
37208
|
+
self._RequestId = RequestId
|
|
37209
|
+
|
|
37210
|
+
|
|
37211
|
+
def _deserialize(self, params):
|
|
37212
|
+
self._ErrorCode = params.get("ErrorCode")
|
|
37213
|
+
self._Msg = params.get("Msg")
|
|
37214
|
+
if params.get("Voices") is not None:
|
|
37215
|
+
self._Voices = []
|
|
37216
|
+
for item in params.get("Voices"):
|
|
37217
|
+
obj = VoiceInfo()
|
|
37218
|
+
obj._deserialize(item)
|
|
37219
|
+
self._Voices.append(obj)
|
|
37220
|
+
self._RequestId = params.get("RequestId")
|
|
37221
|
+
|
|
37222
|
+
|
|
37092
37223
|
class DescribeWatermarkTemplatesRequest(AbstractModel):
|
|
37093
37224
|
r"""DescribeWatermarkTemplates请求参数结构体
|
|
37094
37225
|
|
|
@@ -79981,6 +80112,162 @@ low_compress:画质优先:优先保证画质,压缩出来的文件体积
|
|
|
79981
80112
|
|
|
79982
80113
|
|
|
79983
80114
|
|
|
80115
|
+
class VoiceInfo(AbstractModel):
|
|
80116
|
+
r"""音色信息
|
|
80117
|
+
|
|
80118
|
+
"""
|
|
80119
|
+
|
|
80120
|
+
def __init__(self):
|
|
80121
|
+
r"""
|
|
80122
|
+
:param _VoiceId: <p>音色ID</p>
|
|
80123
|
+
:type VoiceId: str
|
|
80124
|
+
:param _Name: <p>音色名</p>
|
|
80125
|
+
:type Name: str
|
|
80126
|
+
:param _Description: <p>音色描述信息</p>
|
|
80127
|
+
:type Description: str
|
|
80128
|
+
:param _Category: <p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
|
|
80129
|
+
:type Category: str
|
|
80130
|
+
:param _Gender: <p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>famale: 女</li></ul>
|
|
80131
|
+
:type Gender: str
|
|
80132
|
+
:param _Languages: <p>支持语种列表</p><p>如:en</p>
|
|
80133
|
+
:type Languages: list of str
|
|
80134
|
+
:param _AudioUrl: <p>试听音频URL</p>
|
|
80135
|
+
:type AudioUrl: str
|
|
80136
|
+
:param _Labels: <p>标签列表</p><p>如:温柔</p>
|
|
80137
|
+
:type Labels: list of str
|
|
80138
|
+
:param _Scenes: <p>推荐场景</p><p>如:教育</p>
|
|
80139
|
+
:type Scenes: list of str
|
|
80140
|
+
"""
|
|
80141
|
+
self._VoiceId = None
|
|
80142
|
+
self._Name = None
|
|
80143
|
+
self._Description = None
|
|
80144
|
+
self._Category = None
|
|
80145
|
+
self._Gender = None
|
|
80146
|
+
self._Languages = None
|
|
80147
|
+
self._AudioUrl = None
|
|
80148
|
+
self._Labels = None
|
|
80149
|
+
self._Scenes = None
|
|
80150
|
+
|
|
80151
|
+
@property
|
|
80152
|
+
def VoiceId(self):
|
|
80153
|
+
r"""<p>音色ID</p>
|
|
80154
|
+
:rtype: str
|
|
80155
|
+
"""
|
|
80156
|
+
return self._VoiceId
|
|
80157
|
+
|
|
80158
|
+
@VoiceId.setter
|
|
80159
|
+
def VoiceId(self, VoiceId):
|
|
80160
|
+
self._VoiceId = VoiceId
|
|
80161
|
+
|
|
80162
|
+
@property
|
|
80163
|
+
def Name(self):
|
|
80164
|
+
r"""<p>音色名</p>
|
|
80165
|
+
:rtype: str
|
|
80166
|
+
"""
|
|
80167
|
+
return self._Name
|
|
80168
|
+
|
|
80169
|
+
@Name.setter
|
|
80170
|
+
def Name(self, Name):
|
|
80171
|
+
self._Name = Name
|
|
80172
|
+
|
|
80173
|
+
@property
|
|
80174
|
+
def Description(self):
|
|
80175
|
+
r"""<p>音色描述信息</p>
|
|
80176
|
+
:rtype: str
|
|
80177
|
+
"""
|
|
80178
|
+
return self._Description
|
|
80179
|
+
|
|
80180
|
+
@Description.setter
|
|
80181
|
+
def Description(self, Description):
|
|
80182
|
+
self._Description = Description
|
|
80183
|
+
|
|
80184
|
+
@property
|
|
80185
|
+
def Category(self):
|
|
80186
|
+
r"""<p>音色类别</p><p>枚举值:</p><ul><li>system: 系统音色</li></ul>
|
|
80187
|
+
:rtype: str
|
|
80188
|
+
"""
|
|
80189
|
+
return self._Category
|
|
80190
|
+
|
|
80191
|
+
@Category.setter
|
|
80192
|
+
def Category(self, Category):
|
|
80193
|
+
self._Category = Category
|
|
80194
|
+
|
|
80195
|
+
@property
|
|
80196
|
+
def Gender(self):
|
|
80197
|
+
r"""<p>性别</p><p>枚举值:</p><ul><li>male: 男</li><li>famale: 女</li></ul>
|
|
80198
|
+
:rtype: str
|
|
80199
|
+
"""
|
|
80200
|
+
return self._Gender
|
|
80201
|
+
|
|
80202
|
+
@Gender.setter
|
|
80203
|
+
def Gender(self, Gender):
|
|
80204
|
+
self._Gender = Gender
|
|
80205
|
+
|
|
80206
|
+
@property
|
|
80207
|
+
def Languages(self):
|
|
80208
|
+
r"""<p>支持语种列表</p><p>如:en</p>
|
|
80209
|
+
:rtype: list of str
|
|
80210
|
+
"""
|
|
80211
|
+
return self._Languages
|
|
80212
|
+
|
|
80213
|
+
@Languages.setter
|
|
80214
|
+
def Languages(self, Languages):
|
|
80215
|
+
self._Languages = Languages
|
|
80216
|
+
|
|
80217
|
+
@property
|
|
80218
|
+
def AudioUrl(self):
|
|
80219
|
+
r"""<p>试听音频URL</p>
|
|
80220
|
+
:rtype: str
|
|
80221
|
+
"""
|
|
80222
|
+
return self._AudioUrl
|
|
80223
|
+
|
|
80224
|
+
@AudioUrl.setter
|
|
80225
|
+
def AudioUrl(self, AudioUrl):
|
|
80226
|
+
self._AudioUrl = AudioUrl
|
|
80227
|
+
|
|
80228
|
+
@property
|
|
80229
|
+
def Labels(self):
|
|
80230
|
+
r"""<p>标签列表</p><p>如:温柔</p>
|
|
80231
|
+
:rtype: list of str
|
|
80232
|
+
"""
|
|
80233
|
+
return self._Labels
|
|
80234
|
+
|
|
80235
|
+
@Labels.setter
|
|
80236
|
+
def Labels(self, Labels):
|
|
80237
|
+
self._Labels = Labels
|
|
80238
|
+
|
|
80239
|
+
@property
|
|
80240
|
+
def Scenes(self):
|
|
80241
|
+
r"""<p>推荐场景</p><p>如:教育</p>
|
|
80242
|
+
:rtype: list of str
|
|
80243
|
+
"""
|
|
80244
|
+
return self._Scenes
|
|
80245
|
+
|
|
80246
|
+
@Scenes.setter
|
|
80247
|
+
def Scenes(self, Scenes):
|
|
80248
|
+
self._Scenes = Scenes
|
|
80249
|
+
|
|
80250
|
+
|
|
80251
|
+
def _deserialize(self, params):
|
|
80252
|
+
self._VoiceId = params.get("VoiceId")
|
|
80253
|
+
self._Name = params.get("Name")
|
|
80254
|
+
self._Description = params.get("Description")
|
|
80255
|
+
self._Category = params.get("Category")
|
|
80256
|
+
self._Gender = params.get("Gender")
|
|
80257
|
+
self._Languages = params.get("Languages")
|
|
80258
|
+
self._AudioUrl = params.get("AudioUrl")
|
|
80259
|
+
self._Labels = params.get("Labels")
|
|
80260
|
+
self._Scenes = params.get("Scenes")
|
|
80261
|
+
memeber_set = set(params.keys())
|
|
80262
|
+
for name, value in vars(self).items():
|
|
80263
|
+
property_name = name[1:]
|
|
80264
|
+
if property_name in memeber_set:
|
|
80265
|
+
memeber_set.remove(property_name)
|
|
80266
|
+
if len(memeber_set) > 0:
|
|
80267
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
80268
|
+
|
|
80269
|
+
|
|
80270
|
+
|
|
79984
80271
|
class VolumeBalanceConfig(AbstractModel):
|
|
79985
80272
|
r"""音量均衡配置
|
|
79986
80273
|
|
|
@@ -2500,6 +2500,29 @@ class MpsClient(AbstractClient):
|
|
|
2500
2500
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2501
2501
|
|
|
2502
2502
|
|
|
2503
|
+
def DescribeVoices(self, request):
|
|
2504
|
+
r"""同步接口。查询可用音色,支持通过类型、标签、语言等条件检索音色
|
|
2505
|
+
|
|
2506
|
+
:param request: Request instance for DescribeVoices.
|
|
2507
|
+
:type request: :class:`tencentcloud.mps.v20190612.models.DescribeVoicesRequest`
|
|
2508
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.DescribeVoicesResponse`
|
|
2509
|
+
|
|
2510
|
+
"""
|
|
2511
|
+
try:
|
|
2512
|
+
params = request._serialize()
|
|
2513
|
+
headers = request.headers
|
|
2514
|
+
body = self.call("DescribeVoices", params, headers=headers)
|
|
2515
|
+
response = json.loads(body)
|
|
2516
|
+
model = models.DescribeVoicesResponse()
|
|
2517
|
+
model._deserialize(response["Response"])
|
|
2518
|
+
return model
|
|
2519
|
+
except Exception as e:
|
|
2520
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2521
|
+
raise
|
|
2522
|
+
else:
|
|
2523
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2524
|
+
|
|
2525
|
+
|
|
2503
2526
|
def DescribeWatermarkTemplates(self, request):
|
|
2504
2527
|
r"""查询用户自定义水印模板,支持根据条件,分页查询。
|
|
2505
2528
|
|
|
@@ -1969,6 +1969,24 @@ class MpsClient(AbstractClient):
|
|
|
1969
1969
|
|
|
1970
1970
|
return await self.call_and_deserialize(**kwargs)
|
|
1971
1971
|
|
|
1972
|
+
async def DescribeVoices(
|
|
1973
|
+
self,
|
|
1974
|
+
request: models.DescribeVoicesRequest,
|
|
1975
|
+
opts: Dict = None,
|
|
1976
|
+
) -> models.DescribeVoicesResponse:
|
|
1977
|
+
"""
|
|
1978
|
+
同步接口。查询可用音色,支持通过类型、标签、语言等条件检索音色
|
|
1979
|
+
"""
|
|
1980
|
+
|
|
1981
|
+
kwargs = {}
|
|
1982
|
+
kwargs["action"] = "DescribeVoices"
|
|
1983
|
+
kwargs["params"] = request._serialize()
|
|
1984
|
+
kwargs["resp_cls"] = models.DescribeVoicesResponse
|
|
1985
|
+
kwargs["headers"] = request.headers
|
|
1986
|
+
kwargs["opts"] = opts or {}
|
|
1987
|
+
|
|
1988
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1989
|
+
|
|
1972
1990
|
async def DescribeWatermarkTemplates(
|
|
1973
1991
|
self,
|
|
1974
1992
|
request: models.DescribeWatermarkTemplatesRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.71
|
|
4
4
|
Summary: Tencent Cloud Mps SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.71
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.71
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.62
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|