tencentcloud-sdk-python 3.0.1205__py2.py3-none-any.whl → 3.0.1207__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.
Files changed (38) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/errorcodes.py +6 -0
  3. tencentcloud/autoscaling/v20180419/models.py +67 -20
  4. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  5. tencentcloud/cvm/v20170312/models.py +7 -4
  6. tencentcloud/dlc/v20210125/models.py +24 -0
  7. tencentcloud/es/v20180416/models.py +37 -0
  8. tencentcloud/ess/v20201111/models.py +18 -6
  9. tencentcloud/essbasic/v20210526/models.py +16 -6
  10. tencentcloud/hunyuan/v20230901/errorcodes.py +18 -0
  11. tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
  12. tencentcloud/hunyuan/v20230901/models.py +120 -6
  13. tencentcloud/iotexplorer/v20190423/models.py +49 -0
  14. tencentcloud/ocr/v20181119/models.py +12 -0
  15. tencentcloud/pts/v20210728/errorcodes.py +3 -0
  16. tencentcloud/pts/v20210728/models.py +1 -1
  17. tencentcloud/redis/v20180412/models.py +8 -6
  18. tencentcloud/redis/v20180412/redis_client.py +1 -1
  19. tencentcloud/sms/v20210111/models.py +1 -2
  20. tencentcloud/ssl/v20191205/models.py +36 -0
  21. tencentcloud/tcb/v20180608/models.py +13 -0
  22. tencentcloud/tcbr/v20220217/models.py +15 -0
  23. tencentcloud/tds/v20220801/models.py +117 -0
  24. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  25. tencentcloud/trtc/v20190722/models.py +102 -27
  26. tencentcloud/trtc/v20190722/trtc_client.py +3 -1
  27. tencentcloud/tts/v20190823/models.py +2 -1
  28. tencentcloud/vclm/v20240523/errorcodes.py +33 -0
  29. tencentcloud/vpc/v20170312/models.py +12 -0
  30. tencentcloud/vrs/v20200824/models.py +165 -8
  31. tencentcloud/vrs/v20200824/vrs_client.py +1 -0
  32. tencentcloud/wedata/v20210820/models.py +911 -2
  33. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  34. {tencentcloud_sdk_python-3.0.1205.dist-info → tencentcloud_sdk_python-3.0.1207.dist-info}/METADATA +1 -1
  35. {tencentcloud_sdk_python-3.0.1205.dist-info → tencentcloud_sdk_python-3.0.1207.dist-info}/RECORD +38 -38
  36. {tencentcloud_sdk_python-3.0.1205.dist-info → tencentcloud_sdk_python-3.0.1207.dist-info}/LICENSE +0 -0
  37. {tencentcloud_sdk_python-3.0.1205.dist-info → tencentcloud_sdk_python-3.0.1207.dist-info}/WHEEL +0 -0
  38. {tencentcloud_sdk_python-3.0.1205.dist-info → tencentcloud_sdk_python-3.0.1207.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,109 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class DataAuthorizationInfo(AbstractModel):
22
+ """数据授权信息
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _DataProviderName: 数据委托方、需求方:客户主体名称。
29
+ :type DataProviderName: str
30
+ :param _DataRecipientName: 数据受托方、提供方:腾讯云主体名称。
31
+
32
+ 固定填:腾讯云计算(北京)有限责任公司
33
+ :type DataRecipientName: str
34
+ :param _UserDataType: 客户请求所涉及的用户个人信息类型,支持多选。实际以接口请求传参为准。
35
+ 1-手机号;
36
+ 2-微信开放账号;
37
+ 3-QQ开放账号;
38
+ 4-IP地址;
39
+ :type UserDataType: list of int non-negative
40
+ :param _IsAuthorize: 客户是否已按合规指南要求获取用户授权,同意客户委托腾讯云处理入参信息,结合已合法收集的用户数据进行必要处理得出服务结果,并返回给客户。
41
+
42
+ 1-已授权;其它值为未授权。
43
+ :type IsAuthorize: int
44
+ :param _AuthorizationTerm: 客户获得的用户授权期限时间戳(单位秒)。
45
+
46
+ 不填或0默认无固定期限。
47
+ :type AuthorizationTerm: int
48
+ :param _PrivacyPolicyLink: 客户获得用户授权所依赖的协议地址。
49
+ :type PrivacyPolicyLink: str
50
+ """
51
+ self._DataProviderName = None
52
+ self._DataRecipientName = None
53
+ self._UserDataType = None
54
+ self._IsAuthorize = None
55
+ self._AuthorizationTerm = None
56
+ self._PrivacyPolicyLink = None
57
+
58
+ @property
59
+ def DataProviderName(self):
60
+ return self._DataProviderName
61
+
62
+ @DataProviderName.setter
63
+ def DataProviderName(self, DataProviderName):
64
+ self._DataProviderName = DataProviderName
65
+
66
+ @property
67
+ def DataRecipientName(self):
68
+ return self._DataRecipientName
69
+
70
+ @DataRecipientName.setter
71
+ def DataRecipientName(self, DataRecipientName):
72
+ self._DataRecipientName = DataRecipientName
73
+
74
+ @property
75
+ def UserDataType(self):
76
+ return self._UserDataType
77
+
78
+ @UserDataType.setter
79
+ def UserDataType(self, UserDataType):
80
+ self._UserDataType = UserDataType
81
+
82
+ @property
83
+ def IsAuthorize(self):
84
+ return self._IsAuthorize
85
+
86
+ @IsAuthorize.setter
87
+ def IsAuthorize(self, IsAuthorize):
88
+ self._IsAuthorize = IsAuthorize
89
+
90
+ @property
91
+ def AuthorizationTerm(self):
92
+ return self._AuthorizationTerm
93
+
94
+ @AuthorizationTerm.setter
95
+ def AuthorizationTerm(self, AuthorizationTerm):
96
+ self._AuthorizationTerm = AuthorizationTerm
97
+
98
+ @property
99
+ def PrivacyPolicyLink(self):
100
+ return self._PrivacyPolicyLink
101
+
102
+ @PrivacyPolicyLink.setter
103
+ def PrivacyPolicyLink(self, PrivacyPolicyLink):
104
+ self._PrivacyPolicyLink = PrivacyPolicyLink
105
+
106
+
107
+ def _deserialize(self, params):
108
+ self._DataProviderName = params.get("DataProviderName")
109
+ self._DataRecipientName = params.get("DataRecipientName")
110
+ self._UserDataType = params.get("UserDataType")
111
+ self._IsAuthorize = params.get("IsAuthorize")
112
+ self._AuthorizationTerm = params.get("AuthorizationTerm")
113
+ self._PrivacyPolicyLink = params.get("PrivacyPolicyLink")
114
+ memeber_set = set(params.keys())
115
+ for name, value in vars(self).items():
116
+ property_name = name[1:]
117
+ if property_name in memeber_set:
118
+ memeber_set.remove(property_name)
119
+ if len(memeber_set) > 0:
120
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
121
+
122
+
123
+
21
124
  class DescribeFraudBaseRequest(AbstractModel):
22
125
  """DescribeFraudBase请求参数结构体
23
126
 
@@ -455,6 +558,8 @@ class DescribeFraudUltimateRequest(AbstractModel):
455
558
  :type ClientIP: str
456
559
  :param _QQOpenId: QQ的OpenId
457
560
  :type QQOpenId: str
561
+ :param _DataAuthorization: 数据授权信息
562
+ :type DataAuthorization: :class:`tencentcloud.tds.v20220801.models.DataAuthorizationInfo`
458
563
  """
459
564
  self._DeviceToken = None
460
565
  self._SceneCode = None
@@ -465,6 +570,7 @@ class DescribeFraudUltimateRequest(AbstractModel):
465
570
  self._PhoneNumber = None
466
571
  self._ClientIP = None
467
572
  self._QQOpenId = None
573
+ self._DataAuthorization = None
468
574
 
469
575
  @property
470
576
  def DeviceToken(self):
@@ -538,6 +644,14 @@ class DescribeFraudUltimateRequest(AbstractModel):
538
644
  def QQOpenId(self, QQOpenId):
539
645
  self._QQOpenId = QQOpenId
540
646
 
647
+ @property
648
+ def DataAuthorization(self):
649
+ return self._DataAuthorization
650
+
651
+ @DataAuthorization.setter
652
+ def DataAuthorization(self, DataAuthorization):
653
+ self._DataAuthorization = DataAuthorization
654
+
541
655
 
542
656
  def _deserialize(self, params):
543
657
  self._DeviceToken = params.get("DeviceToken")
@@ -549,6 +663,9 @@ class DescribeFraudUltimateRequest(AbstractModel):
549
663
  self._PhoneNumber = params.get("PhoneNumber")
550
664
  self._ClientIP = params.get("ClientIP")
551
665
  self._QQOpenId = params.get("QQOpenId")
666
+ if params.get("DataAuthorization") is not None:
667
+ self._DataAuthorization = DataAuthorizationInfo()
668
+ self._DataAuthorization._deserialize(params.get("DataAuthorization"))
552
669
  memeber_set = set(params.keys())
553
670
  for name, value in vars(self).items():
554
671
  property_name = name[1:]
@@ -206,6 +206,9 @@ INVALIDPARAMETER_STRROOMID = 'InvalidParameter.StrRoomId'
206
206
  # StreamId参数错误。
207
207
  INVALIDPARAMETER_STREAMID = 'InvalidParameter.StreamId'
208
208
 
209
+ # StreamUrl参数校验失败
210
+ INVALIDPARAMETER_STREAMURL = 'InvalidParameter.StreamUrl'
211
+
209
212
  # TaskId 参数错误。
210
213
  INVALIDPARAMETER_TASKID = 'InvalidParameter.TaskId'
211
214
 
@@ -166,14 +166,18 @@ class AgentConfig(AbstractModel):
166
166
  :param _TargetUserId: 机器人拉流的UserId, 填写后,机器人会拉取该UserId的流进行实时处理
167
167
  注意:此字段可能返回 null,表示取不到有效值。
168
168
  :type TargetUserId: str
169
- :param _MaxIdleTime: 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭任务,默认值是60s。
169
+ :param _MaxIdleTime: 房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。
170
170
  注意:此字段可能返回 null,表示取不到有效值。
171
171
  :type MaxIdleTime: int
172
+ :param _WelcomeMessage: 机器人的欢迎语
173
+ 注意:此字段可能返回 null,表示取不到有效值。
174
+ :type WelcomeMessage: str
172
175
  """
173
176
  self._UserId = None
174
177
  self._UserSig = None
175
178
  self._TargetUserId = None
176
179
  self._MaxIdleTime = None
180
+ self._WelcomeMessage = None
177
181
 
178
182
  @property
179
183
  def UserId(self):
@@ -207,12 +211,21 @@ class AgentConfig(AbstractModel):
207
211
  def MaxIdleTime(self, MaxIdleTime):
208
212
  self._MaxIdleTime = MaxIdleTime
209
213
 
214
+ @property
215
+ def WelcomeMessage(self):
216
+ return self._WelcomeMessage
217
+
218
+ @WelcomeMessage.setter
219
+ def WelcomeMessage(self, WelcomeMessage):
220
+ self._WelcomeMessage = WelcomeMessage
221
+
210
222
 
211
223
  def _deserialize(self, params):
212
224
  self._UserId = params.get("UserId")
213
225
  self._UserSig = params.get("UserSig")
214
226
  self._TargetUserId = params.get("TargetUserId")
215
227
  self._MaxIdleTime = params.get("MaxIdleTime")
228
+ self._WelcomeMessage = params.get("WelcomeMessage")
216
229
  memeber_set = set(params.keys())
217
230
  for name, value in vars(self).items():
218
231
  property_name = name[1:]
@@ -1273,7 +1286,7 @@ class DescribeAIConversationResponse(AbstractModel):
1273
1286
  :type StartTime: str
1274
1287
  :param _Status: 任务状态。有4个值:1、Idle表示任务未开始2、Preparing表示任务准备中3、InProgress表示任务正在运行4、Stopped表示任务已停止,正在清理资源中
1275
1288
  :type Status: str
1276
- :param _TaskId: 唯一标识一次任务。
1289
+ :param _TaskId: 任务的唯一标识,在启动任务时生成
1277
1290
  :type TaskId: str
1278
1291
  :param _SessionId: 开启对话任务时填写的SessionId,如果没写则不返回。
1279
1292
  :type SessionId: str
@@ -7553,39 +7566,48 @@ class RecognizeConfig(AbstractModel):
7553
7566
 
7554
7567
  def __init__(self):
7555
7568
  r"""
7556
- :param _Language: 语音识别支持的语言,默认是"zh"。目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
7557
- 中文 Chinese = "zh"
7558
- 中文繁体 Chinese_TW = "zh-TW"
7559
- 中文方言 Chinese_DIALECT = "zh-dialect"
7560
- English = "en"
7561
- Vietnamese = "vi"
7562
- Japanese = "ja"
7563
- Korean = "ko"
7564
- Indonesia = "id"
7565
- Thai = "th"
7566
- Portuguese = "pt"
7567
- Turkish = "tr"
7568
- Arabic = "ar"
7569
- Spanish = "es"
7570
- Hindi = "hi"
7571
- French = "fr"
7572
- Malay = "ms"
7573
- Filipino = "fil"
7574
- German = "de"
7575
- Italian = "it"
7576
- Russian = "ru"
7569
+ :param _Language: 语音转文字支持识别的语言,默认是"zh" 中文
7570
+ 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
7571
+ 可通过购买「语音转文本时长包」解锁或领取包月套餐体验版解锁此功能。
7572
+
7573
+ 语音转文本支持语言类型如下:
7574
+ - Chinese = "zh" # 中文
7575
+ - Chinese_TW = "zh-TW" # 中国台湾
7576
+ - English = "en" # 英语
7577
+ - Chinese_YUE = "zh-yue" # 中国粤语
7578
+ - Chinese_DIALECT = "zh-dialect" # 中国方言
7579
+ - English = "en" # 英语
7580
+ - Vietnamese = "vi" # 越南语
7581
+ - Japanese = "ja" # 日语
7582
+ - Korean = "ko" # 汉语
7583
+ - Indonesia = "id" # 印度尼西亚语
7584
+ - Thai = "th" # 泰语
7585
+ - Portuguese = "pt" # 葡萄牙语
7586
+ - Turkish = "tr" # 土耳其语
7587
+ - Arabic = "ar" # 阿拉伯语
7588
+ - Spanish = "es" # 西班牙语
7589
+ - Hindi = "hi" # 印地语
7590
+ - French = "fr" # 法语
7591
+ - Malay = "ms" # 马来语
7592
+ - Filipino = "fil" # 菲律宾语
7593
+ - German = "de" # 德语
7594
+ - Italian = "it" # 意大利语
7595
+ - Russian = "ru" # 俄语
7577
7596
 
7578
7597
  注意:
7579
7598
  如果缺少满足您需求的语言,请联系我们技术人员。
7599
+ 示例值:zh
7580
7600
  :type Language: str
7581
- :param _AlternativeLanguage: 额外的可能替代语言,最多3个,仅高级版支持。Language指定中文方言时,不能设置该字段。
7601
+ :param _AlternativeLanguage: 发起模糊识别额外可能替代语言类型,最多填写3种语言类型。
7602
+ 注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
7582
7603
  :type AlternativeLanguage: list of str
7583
7604
  :param _Model: 使用的模型,目前支持tencent和google,默认是tencent。
7584
7605
  :type Model: str
7585
7606
  :param _TranslationLanguage: 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
7607
+ 注:文本翻译功能需要购买「语音转文本时长包」解锁或领取包月套餐-体验版解。
7586
7608
  目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
7587
7609
  Chinese = "zh"
7588
- Chinese_TW = "zh-TW"
7610
+ Chinese_TW = "zh-TW"
7589
7611
  English = "en"
7590
7612
  Vietnamese = "vi"
7591
7613
  Japanese = "ja"
@@ -7606,6 +7628,7 @@ Russian = "ru"
7606
7628
 
7607
7629
  注意:
7608
7630
  如果缺少满足您需求的语言,请联系我们技术人员。
7631
+ 示例值:en
7609
7632
  :type TranslationLanguage: str
7610
7633
  """
7611
7634
  self._Language = None
@@ -8210,7 +8233,8 @@ class STTConfig(AbstractModel):
8210
8233
  如果缺少满足您需求的语言,请联系我们技术人员。
8211
8234
  注意:此字段可能返回 null,表示取不到有效值。
8212
8235
  :type Language: str
8213
- :param _AlternativeLanguage: 额外识别可能替代语言,最多3个, 需高级版支持,Language指定方言时,不允许设置该字段
8236
+ :param _AlternativeLanguage: 发起模糊识别额外可能替代语言类型,最多填写3种语言类型,
8237
+ 注:Language指定为"zh-dialect" # 中国方言 时,不支持模糊识别,该字段无效
8214
8238
 
8215
8239
  注意:此字段可能返回 null,表示取不到有效值。
8216
8240
  :type AlternativeLanguage: list of str
@@ -8574,9 +8598,12 @@ class ServerPushText(AbstractModel):
8574
8598
  :type Text: str
8575
8599
  :param _Interrupt: 是否允许该文本打断机器人说话
8576
8600
  :type Interrupt: bool
8601
+ :param _StopAfterPlay: 播报完文本后,是否自动关闭对话任务
8602
+ :type StopAfterPlay: bool
8577
8603
  """
8578
8604
  self._Text = None
8579
8605
  self._Interrupt = None
8606
+ self._StopAfterPlay = None
8580
8607
 
8581
8608
  @property
8582
8609
  def Text(self):
@@ -8594,10 +8621,19 @@ class ServerPushText(AbstractModel):
8594
8621
  def Interrupt(self, Interrupt):
8595
8622
  self._Interrupt = Interrupt
8596
8623
 
8624
+ @property
8625
+ def StopAfterPlay(self):
8626
+ return self._StopAfterPlay
8627
+
8628
+ @StopAfterPlay.setter
8629
+ def StopAfterPlay(self, StopAfterPlay):
8630
+ self._StopAfterPlay = StopAfterPlay
8631
+
8597
8632
 
8598
8633
  def _deserialize(self, params):
8599
8634
  self._Text = params.get("Text")
8600
8635
  self._Interrupt = params.get("Interrupt")
8636
+ self._StopAfterPlay = params.get("StopAfterPlay")
8601
8637
  memeber_set = set(params.keys())
8602
8638
  for name, value in vars(self).items():
8603
8639
  property_name = name[1:]
@@ -8749,7 +8785,7 @@ class StartAIConversationRequest(AbstractModel):
8749
8785
  :type RoomId: str
8750
8786
  :param _AgentConfig: 机器人参数
8751
8787
  :type AgentConfig: :class:`tencentcloud.trtc.v20190722.models.AgentConfig`
8752
- :param _SessionId: 调用方传入的唯一Id,服务端用来去重。
8788
+ :param _SessionId: 调用方传入的唯一Id,可用于客户侧防止重复发起任务以及可以通过该字段查询任务状态。
8753
8789
  :type SessionId: str
8754
8790
  :param _RoomIdType: TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
8755
8791
  :type RoomIdType: int
@@ -9530,6 +9566,15 @@ class StartStreamIngestRequest(AbstractModel):
9530
9566
  :type SourceUrl: list of str
9531
9567
  :param _SeekSecond: 指定视频从某个秒时间戳播放
9532
9568
  :type SeekSecond: int
9569
+ :param _AutoPush: 开启自动旁路推流,请确认控制台已经开启该功能。
9570
+ :type AutoPush: bool
9571
+ :param _RepeatNum: 循环播放次数, 取值范围[-1, 1000], 默认1次。
9572
+ - 0 无效值
9573
+ - -1 循环播放, 需要主动调用停止接口或设置MaxDuration
9574
+
9575
+ :type RepeatNum: int
9576
+ :param _MaxDuration: 循环播放最大时长,仅支持RepeatNum设置-1时生效,取值范围[1, 10080],单位分钟。
9577
+ :type MaxDuration: int
9533
9578
  """
9534
9579
  self._SdkAppId = None
9535
9580
  self._RoomId = None
@@ -9542,6 +9587,9 @@ class StartStreamIngestRequest(AbstractModel):
9542
9587
  self._AudioEncodeParams = None
9543
9588
  self._SourceUrl = None
9544
9589
  self._SeekSecond = None
9590
+ self._AutoPush = None
9591
+ self._RepeatNum = None
9592
+ self._MaxDuration = None
9545
9593
 
9546
9594
  @property
9547
9595
  def SdkAppId(self):
@@ -9643,6 +9691,30 @@ class StartStreamIngestRequest(AbstractModel):
9643
9691
  def SeekSecond(self, SeekSecond):
9644
9692
  self._SeekSecond = SeekSecond
9645
9693
 
9694
+ @property
9695
+ def AutoPush(self):
9696
+ return self._AutoPush
9697
+
9698
+ @AutoPush.setter
9699
+ def AutoPush(self, AutoPush):
9700
+ self._AutoPush = AutoPush
9701
+
9702
+ @property
9703
+ def RepeatNum(self):
9704
+ return self._RepeatNum
9705
+
9706
+ @RepeatNum.setter
9707
+ def RepeatNum(self, RepeatNum):
9708
+ self._RepeatNum = RepeatNum
9709
+
9710
+ @property
9711
+ def MaxDuration(self):
9712
+ return self._MaxDuration
9713
+
9714
+ @MaxDuration.setter
9715
+ def MaxDuration(self, MaxDuration):
9716
+ self._MaxDuration = MaxDuration
9717
+
9646
9718
 
9647
9719
  def _deserialize(self, params):
9648
9720
  self._SdkAppId = params.get("SdkAppId")
@@ -9660,6 +9732,9 @@ class StartStreamIngestRequest(AbstractModel):
9660
9732
  self._AudioEncodeParams._deserialize(params.get("AudioEncodeParams"))
9661
9733
  self._SourceUrl = params.get("SourceUrl")
9662
9734
  self._SeekSecond = params.get("SeekSecond")
9735
+ self._AutoPush = params.get("AutoPush")
9736
+ self._RepeatNum = params.get("RepeatNum")
9737
+ self._MaxDuration = params.get("MaxDuration")
9663
9738
  memeber_set = set(params.keys())
9664
9739
  for name, value in vars(self).items():
9665
9740
  property_name = name[1:]
@@ -1015,7 +1015,9 @@ class TrtcClient(AbstractClient):
1015
1015
 
1016
1016
 
1017
1017
  def StartAIConversation(self, request):
1018
- """启动一个任务,机器人将进入TRTC房间,与指定成员进行AI对话
1018
+ """启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
1019
+
1020
+ TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
1019
1021
 
1020
1022
  :param request: Request instance for StartAIConversation.
1021
1023
  :type request: :class:`tencentcloud.trtc.v20190722.models.StartAIConversationRequest`
@@ -564,6 +564,7 @@ class TextToVoiceRequest(AbstractModel):
564
564
  :param _ModelType: 模型类型,1-默认模型。
565
565
  :type ModelType: int
566
566
  :param _VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
567
+ 若使用一句话版声音复刻,请填入固定值“200000000”
567
568
  :type VoiceType: int
568
569
  :param _PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
569
570
  :type PrimaryLanguage: int
@@ -583,7 +584,7 @@ class TextToVoiceRequest(AbstractModel):
583
584
  :type EmotionCategory: str
584
585
  :param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
585
586
  :type EmotionIntensity: int
586
- :param _FastVoiceType: 预留参数,暂未使用
587
+ :param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。
587
588
  :type FastVoiceType: str
588
589
  """
589
590
  self._Text = None
@@ -32,15 +32,36 @@ FAILEDOPERATION_CONFIRMTASKEXCEPTION = 'FailedOperation.ConfirmTaskException'
32
32
  # 下载视频出错。
33
33
  FAILEDOPERATION_DOWNLOADERROR = 'FailedOperation.DownloadError'
34
34
 
35
+ # 驱动失败
36
+ FAILEDOPERATION_DRIVERFAILED = 'FailedOperation.DriverFailed'
37
+
35
38
  # 人脸框太小,无法识别使用。
36
39
  FAILEDOPERATION_FACESIZETOOSMALL = 'FailedOperation.FaceSizeTooSmall'
37
40
 
41
+ # 输入图身体(头顶到脚踝)高度占比不到图片高度的二分之一
42
+ FAILEDOPERATION_IMAGEBODYSMALL = 'FailedOperation.ImageBodySmall'
43
+
44
+ # 输入图未检测到人体
45
+ FAILEDOPERATION_IMAGECHECKNOBODY = 'FailedOperation.ImageCheckNoBody'
46
+
38
47
  # 图片解码失败。
39
48
  FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
40
49
 
50
+ # 输入图人脸检测失败
51
+ FAILEDOPERATION_IMAGEDETECTFACEFAILED = 'FailedOperation.ImageDetectFaceFailed'
52
+
53
+ # 输入图中存在多人
54
+ FAILEDOPERATION_IMAGEMANYPEOPLE = 'FailedOperation.ImageManyPeople'
55
+
56
+ # 未上传输入图
57
+ FAILEDOPERATION_IMAGENOTEXISTED = 'FailedOperation.ImageNotExisted'
58
+
41
59
  # 不支持的图片文件。
42
60
  FAILEDOPERATION_IMAGENOTSUPPORTED = 'FailedOperation.ImageNotSupported'
43
61
 
62
+ # 输入图高宽比未在1.2~2.0范围内
63
+ FAILEDOPERATION_IMAGERADIOEXCCEED = 'FailedOperation.ImageRadioExcceed'
64
+
44
65
  # 图片分辨率过大。
45
66
  FAILEDOPERATION_IMAGERESOLUTIONEXCEED = 'FailedOperation.ImageResolutionExceed'
46
67
 
@@ -59,6 +80,9 @@ FAILEDOPERATION_JOBNOTFOUND = 'FailedOperation.JobNotFound'
59
80
  # 任务队列已满,请稍后重试。
60
81
  FAILEDOPERATION_JOBQUEUEFULL = 'FailedOperation.JobQueueFull'
61
82
 
83
+ # 核心关节点未检测到
84
+ FAILEDOPERATION_KEYPOINTUNDETECTED = 'FailedOperation.KeyPointUndetected'
85
+
62
86
  # 音频审核失败
63
87
  FAILEDOPERATION_MODERATIONAUDIOFAILED = 'FailedOperation.ModerationAudioFailed'
64
88
 
@@ -77,6 +101,12 @@ FAILEDOPERATION_TASKNOTEXIST = 'FailedOperation.TaskNotExist'
77
101
  # 任务状态异常。
78
102
  FAILEDOPERATION_TASKSTATUSERROR = 'FailedOperation.TaskStatusError'
79
103
 
104
+ # 模板视频首帧未检测到人脸
105
+ FAILEDOPERATION_TEMPLATEFIRSTFRAMENOTDETECTFACE = 'FailedOperation.TemplateFirstFrameNotDetectFace'
106
+
107
+ # 模板视频存在未检测到人体的帧
108
+ FAILEDOPERATION_TEMPLATENOTDETECTBODY = 'FailedOperation.TemplateNotDetectBody'
109
+
80
110
  # 文本未通过审核,请修改后重新尝试。
81
111
  FAILEDOPERATION_TEXTMODERATIONNOTPASS = 'FailedOperation.TextModerationNotPass'
82
112
 
@@ -113,6 +143,9 @@ INVALIDPARAMETER = 'InvalidParameter'
113
143
  # 参数不合法。
114
144
  INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
115
145
 
146
+ # 模板不存在
147
+ INVALIDPARAMETER_TEMPLATENOTEXISTED = 'InvalidParameter.TemplateNotExisted'
148
+
116
149
  # 参数取值错误。
117
150
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
118
151
 
@@ -1817,10 +1817,13 @@ class AssignIpv6AddressesRequest(AbstractModel):
1817
1817
  :type Ipv6Addresses: list of Ipv6Address
1818
1818
  :param _Ipv6AddressCount: 自动分配`IPv6`地址个数,内网IP地址个数总和不能超过配额数。与入参`Ipv6Addresses`合并计算配额。与Ipv6Addresses必填一个。
1819
1819
  :type Ipv6AddressCount: int
1820
+ :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
1821
+ :type ClientToken: str
1820
1822
  """
1821
1823
  self._NetworkInterfaceId = None
1822
1824
  self._Ipv6Addresses = None
1823
1825
  self._Ipv6AddressCount = None
1826
+ self._ClientToken = None
1824
1827
 
1825
1828
  @property
1826
1829
  def NetworkInterfaceId(self):
@@ -1846,6 +1849,14 @@ class AssignIpv6AddressesRequest(AbstractModel):
1846
1849
  def Ipv6AddressCount(self, Ipv6AddressCount):
1847
1850
  self._Ipv6AddressCount = Ipv6AddressCount
1848
1851
 
1852
+ @property
1853
+ def ClientToken(self):
1854
+ return self._ClientToken
1855
+
1856
+ @ClientToken.setter
1857
+ def ClientToken(self, ClientToken):
1858
+ self._ClientToken = ClientToken
1859
+
1849
1860
 
1850
1861
  def _deserialize(self, params):
1851
1862
  self._NetworkInterfaceId = params.get("NetworkInterfaceId")
@@ -1856,6 +1867,7 @@ class AssignIpv6AddressesRequest(AbstractModel):
1856
1867
  obj._deserialize(item)
1857
1868
  self._Ipv6Addresses.append(obj)
1858
1869
  self._Ipv6AddressCount = params.get("Ipv6AddressCount")
1870
+ self._ClientToken = params.get("ClientToken")
1859
1871
  memeber_set = set(params.keys())
1860
1872
  for name, value in vars(self).items():
1861
1873
  property_name = name[1:]