tencentcloud-sdk-python-intl-en 3.0.1282__py2.py3-none-any.whl → 3.0.1283__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +194 -0
- tencentcloud/trtc/v20190722/models.py +192 -0
- {tencentcloud_sdk_python_intl_en-3.0.1282.dist-info → tencentcloud_sdk_python_intl_en-3.0.1283.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1282.dist-info → tencentcloud_sdk_python_intl_en-3.0.1283.dist-info}/RECORD +8 -8
- {tencentcloud_sdk_python_intl_en-3.0.1282.dist-info → tencentcloud_sdk_python_intl_en-3.0.1283.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1282.dist-info → tencentcloud_sdk_python_intl_en-3.0.1283.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1222,6 +1222,29 @@ class DlcClient(AbstractClient):
|
|
|
1222
1222
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1223
1223
|
|
|
1224
1224
|
|
|
1225
|
+
def DescribeSessionImageVersion(self, request):
|
|
1226
|
+
r"""This API is used to retrieve all built-in images of all minor versions under a specified major version.
|
|
1227
|
+
|
|
1228
|
+
:param request: Request instance for DescribeSessionImageVersion.
|
|
1229
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeSessionImageVersionRequest`
|
|
1230
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeSessionImageVersionResponse`
|
|
1231
|
+
|
|
1232
|
+
"""
|
|
1233
|
+
try:
|
|
1234
|
+
params = request._serialize()
|
|
1235
|
+
headers = request.headers
|
|
1236
|
+
body = self.call("DescribeSessionImageVersion", params, headers=headers)
|
|
1237
|
+
response = json.loads(body)
|
|
1238
|
+
model = models.DescribeSessionImageVersionResponse()
|
|
1239
|
+
model._deserialize(response["Response"])
|
|
1240
|
+
return model
|
|
1241
|
+
except Exception as e:
|
|
1242
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1243
|
+
raise
|
|
1244
|
+
else:
|
|
1245
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1246
|
+
|
|
1247
|
+
|
|
1225
1248
|
def DescribeSparkAppJob(self, request):
|
|
1226
1249
|
r"""u200cThis API is used to query the information of a Spark job.
|
|
1227
1250
|
|
|
@@ -10579,6 +10579,107 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10579
10579
|
self._RequestId = params.get("RequestId")
|
|
10580
10580
|
|
|
10581
10581
|
|
|
10582
|
+
class DescribeSessionImageVersionRequest(AbstractModel):
|
|
10583
|
+
r"""DescribeSessionImageVersion request structure.
|
|
10584
|
+
|
|
10585
|
+
"""
|
|
10586
|
+
|
|
10587
|
+
def __init__(self):
|
|
10588
|
+
r"""
|
|
10589
|
+
:param _DataEngineId: Engine Id.
|
|
10590
|
+
:type DataEngineId: str
|
|
10591
|
+
:param _FrameworkType: Framework type: machine-learning, python, spark-ml.
|
|
10592
|
+
:type FrameworkType: str
|
|
10593
|
+
"""
|
|
10594
|
+
self._DataEngineId = None
|
|
10595
|
+
self._FrameworkType = None
|
|
10596
|
+
|
|
10597
|
+
@property
|
|
10598
|
+
def DataEngineId(self):
|
|
10599
|
+
r"""Engine Id.
|
|
10600
|
+
:rtype: str
|
|
10601
|
+
"""
|
|
10602
|
+
return self._DataEngineId
|
|
10603
|
+
|
|
10604
|
+
@DataEngineId.setter
|
|
10605
|
+
def DataEngineId(self, DataEngineId):
|
|
10606
|
+
self._DataEngineId = DataEngineId
|
|
10607
|
+
|
|
10608
|
+
@property
|
|
10609
|
+
def FrameworkType(self):
|
|
10610
|
+
r"""Framework type: machine-learning, python, spark-ml.
|
|
10611
|
+
:rtype: str
|
|
10612
|
+
"""
|
|
10613
|
+
return self._FrameworkType
|
|
10614
|
+
|
|
10615
|
+
@FrameworkType.setter
|
|
10616
|
+
def FrameworkType(self, FrameworkType):
|
|
10617
|
+
self._FrameworkType = FrameworkType
|
|
10618
|
+
|
|
10619
|
+
|
|
10620
|
+
def _deserialize(self, params):
|
|
10621
|
+
self._DataEngineId = params.get("DataEngineId")
|
|
10622
|
+
self._FrameworkType = params.get("FrameworkType")
|
|
10623
|
+
memeber_set = set(params.keys())
|
|
10624
|
+
for name, value in vars(self).items():
|
|
10625
|
+
property_name = name[1:]
|
|
10626
|
+
if property_name in memeber_set:
|
|
10627
|
+
memeber_set.remove(property_name)
|
|
10628
|
+
if len(memeber_set) > 0:
|
|
10629
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10630
|
+
|
|
10631
|
+
|
|
10632
|
+
|
|
10633
|
+
class DescribeSessionImageVersionResponse(AbstractModel):
|
|
10634
|
+
r"""DescribeSessionImageVersion response structure.
|
|
10635
|
+
|
|
10636
|
+
"""
|
|
10637
|
+
|
|
10638
|
+
def __init__(self):
|
|
10639
|
+
r"""
|
|
10640
|
+
:param _EngineSessionImages: Expands the image list.
|
|
10641
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10642
|
+
:type EngineSessionImages: list of EngineSessionImage
|
|
10643
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10644
|
+
:type RequestId: str
|
|
10645
|
+
"""
|
|
10646
|
+
self._EngineSessionImages = None
|
|
10647
|
+
self._RequestId = None
|
|
10648
|
+
|
|
10649
|
+
@property
|
|
10650
|
+
def EngineSessionImages(self):
|
|
10651
|
+
r"""Expands the image list.
|
|
10652
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10653
|
+
:rtype: list of EngineSessionImage
|
|
10654
|
+
"""
|
|
10655
|
+
return self._EngineSessionImages
|
|
10656
|
+
|
|
10657
|
+
@EngineSessionImages.setter
|
|
10658
|
+
def EngineSessionImages(self, EngineSessionImages):
|
|
10659
|
+
self._EngineSessionImages = EngineSessionImages
|
|
10660
|
+
|
|
10661
|
+
@property
|
|
10662
|
+
def RequestId(self):
|
|
10663
|
+
r"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10664
|
+
:rtype: str
|
|
10665
|
+
"""
|
|
10666
|
+
return self._RequestId
|
|
10667
|
+
|
|
10668
|
+
@RequestId.setter
|
|
10669
|
+
def RequestId(self, RequestId):
|
|
10670
|
+
self._RequestId = RequestId
|
|
10671
|
+
|
|
10672
|
+
|
|
10673
|
+
def _deserialize(self, params):
|
|
10674
|
+
if params.get("EngineSessionImages") is not None:
|
|
10675
|
+
self._EngineSessionImages = []
|
|
10676
|
+
for item in params.get("EngineSessionImages"):
|
|
10677
|
+
obj = EngineSessionImage()
|
|
10678
|
+
obj._deserialize(item)
|
|
10679
|
+
self._EngineSessionImages.append(obj)
|
|
10680
|
+
self._RequestId = params.get("RequestId")
|
|
10681
|
+
|
|
10682
|
+
|
|
10582
10683
|
class DescribeSparkAppJobRequest(AbstractModel):
|
|
10583
10684
|
r"""DescribeSparkAppJob request structure.
|
|
10584
10685
|
|
|
@@ -13929,6 +14030,99 @@ class DropDMSTableResponse(AbstractModel):
|
|
|
13929
14030
|
self._RequestId = params.get("RequestId")
|
|
13930
14031
|
|
|
13931
14032
|
|
|
14033
|
+
class EngineSessionImage(AbstractModel):
|
|
14034
|
+
r"""TensorFlow, Pytorch, SK-learn image information list.
|
|
14035
|
+
|
|
14036
|
+
"""
|
|
14037
|
+
|
|
14038
|
+
def __init__(self):
|
|
14039
|
+
r"""
|
|
14040
|
+
:param _SparkImageId: Specifies the unique id of the Spark mirror.
|
|
14041
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14042
|
+
:type SparkImageId: str
|
|
14043
|
+
:param _SparkImageVersion: Spark image version name.
|
|
14044
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14045
|
+
:type SparkImageVersion: str
|
|
14046
|
+
:param _SparkImageType: Minor version image type. 1: TensorFlow, 2: Pytorch, 3: SK-learn.
|
|
14047
|
+
|
|
14048
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14049
|
+
:type SparkImageType: int
|
|
14050
|
+
:param _SparkImageTag: Image address.
|
|
14051
|
+
|
|
14052
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14053
|
+
:type SparkImageTag: str
|
|
14054
|
+
"""
|
|
14055
|
+
self._SparkImageId = None
|
|
14056
|
+
self._SparkImageVersion = None
|
|
14057
|
+
self._SparkImageType = None
|
|
14058
|
+
self._SparkImageTag = None
|
|
14059
|
+
|
|
14060
|
+
@property
|
|
14061
|
+
def SparkImageId(self):
|
|
14062
|
+
r"""Specifies the unique id of the Spark mirror.
|
|
14063
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14064
|
+
:rtype: str
|
|
14065
|
+
"""
|
|
14066
|
+
return self._SparkImageId
|
|
14067
|
+
|
|
14068
|
+
@SparkImageId.setter
|
|
14069
|
+
def SparkImageId(self, SparkImageId):
|
|
14070
|
+
self._SparkImageId = SparkImageId
|
|
14071
|
+
|
|
14072
|
+
@property
|
|
14073
|
+
def SparkImageVersion(self):
|
|
14074
|
+
r"""Spark image version name.
|
|
14075
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14076
|
+
:rtype: str
|
|
14077
|
+
"""
|
|
14078
|
+
return self._SparkImageVersion
|
|
14079
|
+
|
|
14080
|
+
@SparkImageVersion.setter
|
|
14081
|
+
def SparkImageVersion(self, SparkImageVersion):
|
|
14082
|
+
self._SparkImageVersion = SparkImageVersion
|
|
14083
|
+
|
|
14084
|
+
@property
|
|
14085
|
+
def SparkImageType(self):
|
|
14086
|
+
r"""Minor version image type. 1: TensorFlow, 2: Pytorch, 3: SK-learn.
|
|
14087
|
+
|
|
14088
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14089
|
+
:rtype: int
|
|
14090
|
+
"""
|
|
14091
|
+
return self._SparkImageType
|
|
14092
|
+
|
|
14093
|
+
@SparkImageType.setter
|
|
14094
|
+
def SparkImageType(self, SparkImageType):
|
|
14095
|
+
self._SparkImageType = SparkImageType
|
|
14096
|
+
|
|
14097
|
+
@property
|
|
14098
|
+
def SparkImageTag(self):
|
|
14099
|
+
r"""Image address.
|
|
14100
|
+
|
|
14101
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14102
|
+
:rtype: str
|
|
14103
|
+
"""
|
|
14104
|
+
return self._SparkImageTag
|
|
14105
|
+
|
|
14106
|
+
@SparkImageTag.setter
|
|
14107
|
+
def SparkImageTag(self, SparkImageTag):
|
|
14108
|
+
self._SparkImageTag = SparkImageTag
|
|
14109
|
+
|
|
14110
|
+
|
|
14111
|
+
def _deserialize(self, params):
|
|
14112
|
+
self._SparkImageId = params.get("SparkImageId")
|
|
14113
|
+
self._SparkImageVersion = params.get("SparkImageVersion")
|
|
14114
|
+
self._SparkImageType = params.get("SparkImageType")
|
|
14115
|
+
self._SparkImageTag = params.get("SparkImageTag")
|
|
14116
|
+
memeber_set = set(params.keys())
|
|
14117
|
+
for name, value in vars(self).items():
|
|
14118
|
+
property_name = name[1:]
|
|
14119
|
+
if property_name in memeber_set:
|
|
14120
|
+
memeber_set.remove(property_name)
|
|
14121
|
+
if len(memeber_set) > 0:
|
|
14122
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14123
|
+
|
|
14124
|
+
|
|
14125
|
+
|
|
13932
14126
|
class Execution(AbstractModel):
|
|
13933
14127
|
r"""SQL statement objects
|
|
13934
14128
|
|
|
@@ -10231,6 +10231,8 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
|
10231
10231
|
:type RoomIdType: int
|
|
10232
10232
|
:param _RecognizeConfig: Speech recognition configuration.
|
|
10233
10233
|
:type RecognizeConfig: :class:`tencentcloud.trtc.v20190722.models.RecognizeConfig`
|
|
10234
|
+
:param _TranslationConfig: Translation config.
|
|
10235
|
+
:type TranslationConfig: :class:`tencentcloud.trtc.v20190722.models.TranslationConfig`
|
|
10234
10236
|
"""
|
|
10235
10237
|
self._SdkAppId = None
|
|
10236
10238
|
self._RoomId = None
|
|
@@ -10238,6 +10240,7 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
|
10238
10240
|
self._SessionId = None
|
|
10239
10241
|
self._RoomIdType = None
|
|
10240
10242
|
self._RecognizeConfig = None
|
|
10243
|
+
self._TranslationConfig = None
|
|
10241
10244
|
|
|
10242
10245
|
@property
|
|
10243
10246
|
def SdkAppId(self):
|
|
@@ -10307,6 +10310,17 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
|
10307
10310
|
def RecognizeConfig(self, RecognizeConfig):
|
|
10308
10311
|
self._RecognizeConfig = RecognizeConfig
|
|
10309
10312
|
|
|
10313
|
+
@property
|
|
10314
|
+
def TranslationConfig(self):
|
|
10315
|
+
r"""Translation config.
|
|
10316
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.TranslationConfig`
|
|
10317
|
+
"""
|
|
10318
|
+
return self._TranslationConfig
|
|
10319
|
+
|
|
10320
|
+
@TranslationConfig.setter
|
|
10321
|
+
def TranslationConfig(self, TranslationConfig):
|
|
10322
|
+
self._TranslationConfig = TranslationConfig
|
|
10323
|
+
|
|
10310
10324
|
|
|
10311
10325
|
def _deserialize(self, params):
|
|
10312
10326
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -10319,6 +10333,9 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
|
10319
10333
|
if params.get("RecognizeConfig") is not None:
|
|
10320
10334
|
self._RecognizeConfig = RecognizeConfig()
|
|
10321
10335
|
self._RecognizeConfig._deserialize(params.get("RecognizeConfig"))
|
|
10336
|
+
if params.get("TranslationConfig") is not None:
|
|
10337
|
+
self._TranslationConfig = TranslationConfig()
|
|
10338
|
+
self._TranslationConfig._deserialize(params.get("TranslationConfig"))
|
|
10322
10339
|
memeber_set = set(params.keys())
|
|
10323
10340
|
for name, value in vars(self).items():
|
|
10324
10341
|
property_name = name[1:]
|
|
@@ -11909,6 +11926,42 @@ class TRTCDataResult(AbstractModel):
|
|
|
11909
11926
|
|
|
11910
11927
|
|
|
11911
11928
|
|
|
11929
|
+
class TTSConfig(AbstractModel):
|
|
11930
|
+
r"""
|
|
11931
|
+
|
|
11932
|
+
"""
|
|
11933
|
+
|
|
11934
|
+
def __init__(self):
|
|
11935
|
+
r"""
|
|
11936
|
+
:param _VoiceId:
|
|
11937
|
+
:type VoiceId: str
|
|
11938
|
+
"""
|
|
11939
|
+
self._VoiceId = None
|
|
11940
|
+
|
|
11941
|
+
@property
|
|
11942
|
+
def VoiceId(self):
|
|
11943
|
+
r"""
|
|
11944
|
+
:rtype: str
|
|
11945
|
+
"""
|
|
11946
|
+
return self._VoiceId
|
|
11947
|
+
|
|
11948
|
+
@VoiceId.setter
|
|
11949
|
+
def VoiceId(self, VoiceId):
|
|
11950
|
+
self._VoiceId = VoiceId
|
|
11951
|
+
|
|
11952
|
+
|
|
11953
|
+
def _deserialize(self, params):
|
|
11954
|
+
self._VoiceId = params.get("VoiceId")
|
|
11955
|
+
memeber_set = set(params.keys())
|
|
11956
|
+
for name, value in vars(self).items():
|
|
11957
|
+
property_name = name[1:]
|
|
11958
|
+
if property_name in memeber_set:
|
|
11959
|
+
memeber_set.remove(property_name)
|
|
11960
|
+
if len(memeber_set) > 0:
|
|
11961
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11962
|
+
|
|
11963
|
+
|
|
11964
|
+
|
|
11912
11965
|
class TencentVod(AbstractModel):
|
|
11913
11966
|
r"""The Tencent Cloud VOD parameters.
|
|
11914
11967
|
|
|
@@ -12067,6 +12120,57 @@ The default value is `0`, which means others.
|
|
|
12067
12120
|
|
|
12068
12121
|
|
|
12069
12122
|
|
|
12123
|
+
class Terminology(AbstractModel):
|
|
12124
|
+
r"""Translation terminology
|
|
12125
|
+
|
|
12126
|
+
"""
|
|
12127
|
+
|
|
12128
|
+
def __init__(self):
|
|
12129
|
+
r"""
|
|
12130
|
+
:param _Source: Source terminology
|
|
12131
|
+
:type Source: str
|
|
12132
|
+
:param _Target: Target terminology
|
|
12133
|
+
:type Target: str
|
|
12134
|
+
"""
|
|
12135
|
+
self._Source = None
|
|
12136
|
+
self._Target = None
|
|
12137
|
+
|
|
12138
|
+
@property
|
|
12139
|
+
def Source(self):
|
|
12140
|
+
r"""Source terminology
|
|
12141
|
+
:rtype: str
|
|
12142
|
+
"""
|
|
12143
|
+
return self._Source
|
|
12144
|
+
|
|
12145
|
+
@Source.setter
|
|
12146
|
+
def Source(self, Source):
|
|
12147
|
+
self._Source = Source
|
|
12148
|
+
|
|
12149
|
+
@property
|
|
12150
|
+
def Target(self):
|
|
12151
|
+
r"""Target terminology
|
|
12152
|
+
:rtype: str
|
|
12153
|
+
"""
|
|
12154
|
+
return self._Target
|
|
12155
|
+
|
|
12156
|
+
@Target.setter
|
|
12157
|
+
def Target(self, Target):
|
|
12158
|
+
self._Target = Target
|
|
12159
|
+
|
|
12160
|
+
|
|
12161
|
+
def _deserialize(self, params):
|
|
12162
|
+
self._Source = params.get("Source")
|
|
12163
|
+
self._Target = params.get("Target")
|
|
12164
|
+
memeber_set = set(params.keys())
|
|
12165
|
+
for name, value in vars(self).items():
|
|
12166
|
+
property_name = name[1:]
|
|
12167
|
+
if property_name in memeber_set:
|
|
12168
|
+
memeber_set.remove(property_name)
|
|
12169
|
+
if len(memeber_set) > 0:
|
|
12170
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12171
|
+
|
|
12172
|
+
|
|
12173
|
+
|
|
12070
12174
|
class TimeValue(AbstractModel):
|
|
12071
12175
|
r"""The quality data, which consists of the `time` and `value` parameters.
|
|
12072
12176
|
|
|
@@ -12214,6 +12318,94 @@ class TranscriptionParams(AbstractModel):
|
|
|
12214
12318
|
|
|
12215
12319
|
|
|
12216
12320
|
|
|
12321
|
+
class TranslationConfig(AbstractModel):
|
|
12322
|
+
r"""Translation config
|
|
12323
|
+
|
|
12324
|
+
"""
|
|
12325
|
+
|
|
12326
|
+
def __init__(self):
|
|
12327
|
+
r"""
|
|
12328
|
+
:param _TargetLanguages: Target language, target language list (ISO 639-1).
|
|
12329
|
+
:type TargetLanguages: list of str
|
|
12330
|
+
:param _Mode: 1: Only text translation, 2: Voice simultaneous interpretation.
|
|
12331
|
+
:type Mode: int
|
|
12332
|
+
:param _TTSConfig: Voice simultaneous interpretation configuration: When enabling simultaneous interpretation, this parameter needs to be passed.
|
|
12333
|
+
:type TTSConfig: :class:`tencentcloud.trtc.v20190722.models.TTSConfig`
|
|
12334
|
+
:param _Terminology: Translation terminology.
|
|
12335
|
+
:type Terminology: list of Terminology
|
|
12336
|
+
"""
|
|
12337
|
+
self._TargetLanguages = None
|
|
12338
|
+
self._Mode = None
|
|
12339
|
+
self._TTSConfig = None
|
|
12340
|
+
self._Terminology = None
|
|
12341
|
+
|
|
12342
|
+
@property
|
|
12343
|
+
def TargetLanguages(self):
|
|
12344
|
+
r"""Target language, target language list (ISO 639-1).
|
|
12345
|
+
:rtype: list of str
|
|
12346
|
+
"""
|
|
12347
|
+
return self._TargetLanguages
|
|
12348
|
+
|
|
12349
|
+
@TargetLanguages.setter
|
|
12350
|
+
def TargetLanguages(self, TargetLanguages):
|
|
12351
|
+
self._TargetLanguages = TargetLanguages
|
|
12352
|
+
|
|
12353
|
+
@property
|
|
12354
|
+
def Mode(self):
|
|
12355
|
+
r"""1: Only text translation, 2: Voice simultaneous interpretation.
|
|
12356
|
+
:rtype: int
|
|
12357
|
+
"""
|
|
12358
|
+
return self._Mode
|
|
12359
|
+
|
|
12360
|
+
@Mode.setter
|
|
12361
|
+
def Mode(self, Mode):
|
|
12362
|
+
self._Mode = Mode
|
|
12363
|
+
|
|
12364
|
+
@property
|
|
12365
|
+
def TTSConfig(self):
|
|
12366
|
+
r"""Voice simultaneous interpretation configuration: When enabling simultaneous interpretation, this parameter needs to be passed.
|
|
12367
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.TTSConfig`
|
|
12368
|
+
"""
|
|
12369
|
+
return self._TTSConfig
|
|
12370
|
+
|
|
12371
|
+
@TTSConfig.setter
|
|
12372
|
+
def TTSConfig(self, TTSConfig):
|
|
12373
|
+
self._TTSConfig = TTSConfig
|
|
12374
|
+
|
|
12375
|
+
@property
|
|
12376
|
+
def Terminology(self):
|
|
12377
|
+
r"""Translation terminology.
|
|
12378
|
+
:rtype: list of Terminology
|
|
12379
|
+
"""
|
|
12380
|
+
return self._Terminology
|
|
12381
|
+
|
|
12382
|
+
@Terminology.setter
|
|
12383
|
+
def Terminology(self, Terminology):
|
|
12384
|
+
self._Terminology = Terminology
|
|
12385
|
+
|
|
12386
|
+
|
|
12387
|
+
def _deserialize(self, params):
|
|
12388
|
+
self._TargetLanguages = params.get("TargetLanguages")
|
|
12389
|
+
self._Mode = params.get("Mode")
|
|
12390
|
+
if params.get("TTSConfig") is not None:
|
|
12391
|
+
self._TTSConfig = TTSConfig()
|
|
12392
|
+
self._TTSConfig._deserialize(params.get("TTSConfig"))
|
|
12393
|
+
if params.get("Terminology") is not None:
|
|
12394
|
+
self._Terminology = []
|
|
12395
|
+
for item in params.get("Terminology"):
|
|
12396
|
+
obj = Terminology()
|
|
12397
|
+
obj._deserialize(item)
|
|
12398
|
+
self._Terminology.append(obj)
|
|
12399
|
+
memeber_set = set(params.keys())
|
|
12400
|
+
for name, value in vars(self).items():
|
|
12401
|
+
property_name = name[1:]
|
|
12402
|
+
if property_name in memeber_set:
|
|
12403
|
+
memeber_set.remove(property_name)
|
|
12404
|
+
if len(memeber_set) > 0:
|
|
12405
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12406
|
+
|
|
12407
|
+
|
|
12408
|
+
|
|
12217
12409
|
class TrtcUsage(AbstractModel):
|
|
12218
12410
|
r"""The TRTC audio/video duration generated in a certain time period.
|
|
12219
12411
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256
|
|
1
|
+
tencentcloud/__init__.py,sha256=-bx4iZkMV8RNTz_R0ZkUCxtNrPBPYA9Mkv5F-uR0Vk0,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=PI6LX0PouoGb8e_ydQ9rATqY795jQh7JPK2COE_oH-Q,2899
|
|
@@ -243,9 +243,9 @@ tencentcloud/dcdb/v20180411/errorcodes.py,sha256=N__WJ70XTRcqJwXxMF2KDrNa6O7LJBO
|
|
|
243
243
|
tencentcloud/dcdb/v20180411/models.py,sha256=xXwJdWC2Lafh_p8YrN1aygXt7f0J7f9MirFt2JI97Ls,461989
|
|
244
244
|
tencentcloud/dlc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
245
245
|
tencentcloud/dlc/v20210125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
246
|
-
tencentcloud/dlc/v20210125/dlc_client.py,sha256=
|
|
246
|
+
tencentcloud/dlc/v20210125/dlc_client.py,sha256=hSrnGW-lNLPilMytEIqIbtCwarjNqtc0DSKEvoREMSs,97708
|
|
247
247
|
tencentcloud/dlc/v20210125/errorcodes.py,sha256=f0QStwofoAwEbv1pTNlRjRnDm5dv0fNcp-PDqVbyr2o,31542
|
|
248
|
-
tencentcloud/dlc/v20210125/models.py,sha256=
|
|
248
|
+
tencentcloud/dlc/v20210125/models.py,sha256=GEr4enUmdhUyxX0PHVt-u4BCYE83ej9gQnUDVgnVAbM,810953
|
|
249
249
|
tencentcloud/dms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
250
250
|
tencentcloud/dms/v20200819/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
251
251
|
tencentcloud/dms/v20200819/dms_client.py,sha256=rbd9TqhAUebfyTNh-_MXic9EGgATMaf4WLf29rpq7Ek,2718
|
|
@@ -648,7 +648,7 @@ tencentcloud/trro/v20220325/trro_client.py,sha256=A_qgis3-uoe5EFRevBTYviB806IND2
|
|
|
648
648
|
tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
649
649
|
tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
650
650
|
tencentcloud/trtc/v20190722/errorcodes.py,sha256=OhkumrO8gu8pKrKOwgMrPEBd88RnzJYN_Ii_fTPZa94,8928
|
|
651
|
-
tencentcloud/trtc/v20190722/models.py,sha256=
|
|
651
|
+
tencentcloud/trtc/v20190722/models.py,sha256=wz6zmCsT6VY_sxCkcM751WCMU4jgpMP3vjajgB1Ijbo,518143
|
|
652
652
|
tencentcloud/trtc/v20190722/trtc_client.py,sha256=OZ-nkw1ulj07Oa5TdATJE5OUpYQIMxBtcLRJI889QMg,78607
|
|
653
653
|
tencentcloud/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
654
654
|
tencentcloud/tts/v20190823/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -698,7 +698,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
698
698
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
|
699
699
|
tencentcloud/yunjing/v20180228/models.py,sha256=nivJxxJYNvW-I_WWuoZj5RJaexdeSctX04e7osSjSUo,331388
|
|
700
700
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=XYRY2x9Bs-06YaFx6swLlxuqhNRuykLZuIte6bc8T2E,67433
|
|
701
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
702
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
703
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
704
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
701
|
+
tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/METADATA,sha256=73Yq2wBN3BaC_j4L24lzr7R_0rtd6AgdYsvte81mrkQ,1628
|
|
702
|
+
tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
703
|
+
tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
704
|
+
tencentcloud_sdk_python_intl_en-3.0.1283.dist-info/RECORD,,
|
|
File without changes
|