tencentcloud-sdk-python 3.0.1206__py2.py3-none-any.whl → 3.0.1208__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 (30) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +15 -0
  3. tencentcloud/autoscaling/v20180419/errorcodes.py +6 -0
  4. tencentcloud/autoscaling/v20180419/models.py +67 -20
  5. tencentcloud/cls/v20201016/cls_client.py +92 -0
  6. tencentcloud/cls/v20201016/models.py +478 -0
  7. tencentcloud/dlc/v20210125/models.py +24 -0
  8. tencentcloud/es/v20180416/models.py +37 -0
  9. tencentcloud/essbasic/v20210526/models.py +1 -1
  10. tencentcloud/hunyuan/v20230901/models.py +4 -4
  11. tencentcloud/iotexplorer/v20190423/models.py +49 -0
  12. tencentcloud/organization/v20210331/errorcodes.py +9 -0
  13. tencentcloud/organization/v20210331/models.py +484 -0
  14. tencentcloud/organization/v20210331/organization_client.py +69 -0
  15. tencentcloud/sms/v20210111/models.py +1 -2
  16. tencentcloud/ssl/v20191205/models.py +36 -0
  17. tencentcloud/tcbr/v20220217/models.py +15 -0
  18. tencentcloud/tcss/v20201101/models.py +140 -5
  19. tencentcloud/trocket/v20230308/models.py +106 -0
  20. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  21. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  22. tencentcloud/trtc/v20190722/models.py +102 -27
  23. tencentcloud/trtc/v20190722/trtc_client.py +3 -1
  24. tencentcloud/vclm/v20240523/errorcodes.py +30 -0
  25. tencentcloud/wedata/v20210820/models.py +14 -2
  26. {tencentcloud_sdk_python-3.0.1206.dist-info → tencentcloud_sdk_python-3.0.1208.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python-3.0.1206.dist-info → tencentcloud_sdk_python-3.0.1208.dist-info}/RECORD +30 -30
  28. {tencentcloud_sdk_python-3.0.1206.dist-info → tencentcloud_sdk_python-3.0.1208.dist-info}/LICENSE +0 -0
  29. {tencentcloud_sdk_python-3.0.1206.dist-info → tencentcloud_sdk_python-3.0.1208.dist-info}/WHEEL +0 -0
  30. {tencentcloud_sdk_python-3.0.1206.dist-info → tencentcloud_sdk_python-3.0.1208.dist-info}/top_level.txt +0 -0
@@ -2198,6 +2198,112 @@ class DescribeConsumerGroupResponse(AbstractModel):
2198
2198
  self._RequestId = params.get("RequestId")
2199
2199
 
2200
2200
 
2201
+ class DescribeConsumerLagRequest(AbstractModel):
2202
+ """DescribeConsumerLag请求参数结构体
2203
+
2204
+ """
2205
+
2206
+ def __init__(self):
2207
+ r"""
2208
+ :param _InstanceId: 实例ID
2209
+ :type InstanceId: str
2210
+ :param _ConsumerGroup: 消费组名称
2211
+ :type ConsumerGroup: str
2212
+ :param _Namespace: 命名空间,4.x集群必填
2213
+ :type Namespace: str
2214
+ :param _SubscribeTopic: 订阅主题,不为空则查询订阅了该主题的消费组的堆积
2215
+ :type SubscribeTopic: str
2216
+ """
2217
+ self._InstanceId = None
2218
+ self._ConsumerGroup = None
2219
+ self._Namespace = None
2220
+ self._SubscribeTopic = None
2221
+
2222
+ @property
2223
+ def InstanceId(self):
2224
+ return self._InstanceId
2225
+
2226
+ @InstanceId.setter
2227
+ def InstanceId(self, InstanceId):
2228
+ self._InstanceId = InstanceId
2229
+
2230
+ @property
2231
+ def ConsumerGroup(self):
2232
+ return self._ConsumerGroup
2233
+
2234
+ @ConsumerGroup.setter
2235
+ def ConsumerGroup(self, ConsumerGroup):
2236
+ self._ConsumerGroup = ConsumerGroup
2237
+
2238
+ @property
2239
+ def Namespace(self):
2240
+ return self._Namespace
2241
+
2242
+ @Namespace.setter
2243
+ def Namespace(self, Namespace):
2244
+ self._Namespace = Namespace
2245
+
2246
+ @property
2247
+ def SubscribeTopic(self):
2248
+ return self._SubscribeTopic
2249
+
2250
+ @SubscribeTopic.setter
2251
+ def SubscribeTopic(self, SubscribeTopic):
2252
+ self._SubscribeTopic = SubscribeTopic
2253
+
2254
+
2255
+ def _deserialize(self, params):
2256
+ self._InstanceId = params.get("InstanceId")
2257
+ self._ConsumerGroup = params.get("ConsumerGroup")
2258
+ self._Namespace = params.get("Namespace")
2259
+ self._SubscribeTopic = params.get("SubscribeTopic")
2260
+ memeber_set = set(params.keys())
2261
+ for name, value in vars(self).items():
2262
+ property_name = name[1:]
2263
+ if property_name in memeber_set:
2264
+ memeber_set.remove(property_name)
2265
+ if len(memeber_set) > 0:
2266
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2267
+
2268
+
2269
+
2270
+ class DescribeConsumerLagResponse(AbstractModel):
2271
+ """DescribeConsumerLag返回参数结构体
2272
+
2273
+ """
2274
+
2275
+ def __init__(self):
2276
+ r"""
2277
+ :param _ConsumerLag: 堆积数
2278
+ :type ConsumerLag: int
2279
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2280
+ :type RequestId: str
2281
+ """
2282
+ self._ConsumerLag = None
2283
+ self._RequestId = None
2284
+
2285
+ @property
2286
+ def ConsumerLag(self):
2287
+ return self._ConsumerLag
2288
+
2289
+ @ConsumerLag.setter
2290
+ def ConsumerLag(self, ConsumerLag):
2291
+ self._ConsumerLag = ConsumerLag
2292
+
2293
+ @property
2294
+ def RequestId(self):
2295
+ return self._RequestId
2296
+
2297
+ @RequestId.setter
2298
+ def RequestId(self, RequestId):
2299
+ self._RequestId = RequestId
2300
+
2301
+
2302
+ def _deserialize(self, params):
2303
+ self._ConsumerLag = params.get("ConsumerLag")
2304
+ self._RequestId = params.get("RequestId")
2305
+
2306
+
2201
2307
  class DescribeFusionInstanceListRequest(AbstractModel):
2202
2308
  """DescribeFusionInstanceList请求参数结构体
2203
2309
 
@@ -443,6 +443,29 @@ class TrocketClient(AbstractClient):
443
443
  raise TencentCloudSDKException(type(e).__name__, str(e))
444
444
 
445
445
 
446
+ def DescribeConsumerLag(self, request):
447
+ """查询指定消费组堆积数。
448
+
449
+ :param request: Request instance for DescribeConsumerLag.
450
+ :type request: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerLagRequest`
451
+ :rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeConsumerLagResponse`
452
+
453
+ """
454
+ try:
455
+ params = request._serialize()
456
+ headers = request.headers
457
+ body = self.call("DescribeConsumerLag", params, headers=headers)
458
+ response = json.loads(body)
459
+ model = models.DescribeConsumerLagResponse()
460
+ model._deserialize(response["Response"])
461
+ return model
462
+ except Exception as e:
463
+ if isinstance(e, TencentCloudSDKException):
464
+ raise
465
+ else:
466
+ raise TencentCloudSDKException(type(e).__name__, str(e))
467
+
468
+
446
469
  def DescribeFusionInstanceList(self, request):
447
470
  """获取实例列表,Filters参数使用说明如下:
448
471
  1. InstanceName, 名称模糊查询
@@ -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`
@@ -32,15 +32,33 @@ 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
+
41
56
  # 不支持的图片文件。
42
57
  FAILEDOPERATION_IMAGENOTSUPPORTED = 'FailedOperation.ImageNotSupported'
43
58
 
59
+ # 输入图高宽比未在1.2~2.0范围内
60
+ FAILEDOPERATION_IMAGERADIOEXCCEED = 'FailedOperation.ImageRadioExcceed'
61
+
44
62
  # 图片分辨率过大。
45
63
  FAILEDOPERATION_IMAGERESOLUTIONEXCEED = 'FailedOperation.ImageResolutionExceed'
46
64
 
@@ -59,6 +77,9 @@ FAILEDOPERATION_JOBNOTFOUND = 'FailedOperation.JobNotFound'
59
77
  # 任务队列已满,请稍后重试。
60
78
  FAILEDOPERATION_JOBQUEUEFULL = 'FailedOperation.JobQueueFull'
61
79
 
80
+ # 核心关节点未检测到
81
+ FAILEDOPERATION_KEYPOINTUNDETECTED = 'FailedOperation.KeyPointUndetected'
82
+
62
83
  # 音频审核失败
63
84
  FAILEDOPERATION_MODERATIONAUDIOFAILED = 'FailedOperation.ModerationAudioFailed'
64
85
 
@@ -77,6 +98,12 @@ FAILEDOPERATION_TASKNOTEXIST = 'FailedOperation.TaskNotExist'
77
98
  # 任务状态异常。
78
99
  FAILEDOPERATION_TASKSTATUSERROR = 'FailedOperation.TaskStatusError'
79
100
 
101
+ # 模板视频首帧未检测到人脸
102
+ FAILEDOPERATION_TEMPLATEFIRSTFRAMENOTDETECTFACE = 'FailedOperation.TemplateFirstFrameNotDetectFace'
103
+
104
+ # 模板视频存在未检测到人体的帧
105
+ FAILEDOPERATION_TEMPLATENOTDETECTBODY = 'FailedOperation.TemplateNotDetectBody'
106
+
80
107
  # 文本未通过审核,请修改后重新尝试。
81
108
  FAILEDOPERATION_TEXTMODERATIONNOTPASS = 'FailedOperation.TextModerationNotPass'
82
109
 
@@ -113,6 +140,9 @@ INVALIDPARAMETER = 'InvalidParameter'
113
140
  # 参数不合法。
114
141
  INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
115
142
 
143
+ # 模板不存在
144
+ INVALIDPARAMETER_TEMPLATENOTEXISTED = 'InvalidParameter.TemplateNotExisted'
145
+
116
146
  # 参数取值错误。
117
147
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
118
148
 
@@ -7244,6 +7244,8 @@ class CreateDataSourceRequest(AbstractModel):
7244
7244
  :type ConnectResult: str
7245
7245
  :param _DevelopmentParams: 开发环境数据源配置
7246
7246
  :type DevelopmentParams: str
7247
+ :param _ProjectId: 新建数据源的项目ID
7248
+ :type ProjectId: str
7247
7249
  """
7248
7250
  self._Name = None
7249
7251
  self._Category = None
@@ -7264,6 +7266,7 @@ class CreateDataSourceRequest(AbstractModel):
7264
7266
  self._COSRegion = None
7265
7267
  self._ConnectResult = None
7266
7268
  self._DevelopmentParams = None
7269
+ self._ProjectId = None
7267
7270
 
7268
7271
  @property
7269
7272
  def Name(self):
@@ -7417,6 +7420,14 @@ class CreateDataSourceRequest(AbstractModel):
7417
7420
  def DevelopmentParams(self, DevelopmentParams):
7418
7421
  self._DevelopmentParams = DevelopmentParams
7419
7422
 
7423
+ @property
7424
+ def ProjectId(self):
7425
+ return self._ProjectId
7426
+
7427
+ @ProjectId.setter
7428
+ def ProjectId(self, ProjectId):
7429
+ self._ProjectId = ProjectId
7430
+
7420
7431
 
7421
7432
  def _deserialize(self, params):
7422
7433
  self._Name = params.get("Name")
@@ -7438,6 +7449,7 @@ class CreateDataSourceRequest(AbstractModel):
7438
7449
  self._COSRegion = params.get("COSRegion")
7439
7450
  self._ConnectResult = params.get("ConnectResult")
7440
7451
  self._DevelopmentParams = params.get("DevelopmentParams")
7452
+ self._ProjectId = params.get("ProjectId")
7441
7453
  memeber_set = set(params.keys())
7442
7454
  for name, value in vars(self).items():
7443
7455
  property_name = name[1:]
@@ -19808,7 +19820,7 @@ class DescribeIntegrationTasksRequest(AbstractModel):
19808
19820
  :type PageNumber: int
19809
19821
  :param _PageSize: 分页大小
19810
19822
  :type PageSize: int
19811
- :param _Filters: 查询filter
19823
+ :param _Filters: 查询filter;默认查询任务的开发态,如需查询生产态任务需添加{"Values":["true"],"Name":"ProductionState"};如需查询查询任务状态需要查询生产态任务列表
19812
19824
  :type Filters: list of Filter
19813
19825
  :param _OrderFields: 排序字段信息
19814
19826
  :type OrderFields: list of OrderField
@@ -36694,7 +36706,7 @@ class IntegrationTaskInfo(AbstractModel):
36694
36706
  :param _AppId: 应用id
36695
36707
  注意:此字段可能返回 null,表示取不到有效值。
36696
36708
  :type AppId: str
36697
- :param _Status: 1:未开始|2:操作中|3:运行中|4:暂停|5:任务停止中|6:停止|7:执行失败|20:异常|21:未知|
36709
+ :param _Status: 0:新建(任务开发态默认状态)|1:未开始|2:操作中|3:运行中|4:暂停|5:任务停止中|6:停止|7:执行失败|20:异常|21:未知|
36698
36710
  注意:此字段可能返回 null,表示取不到有效值。
36699
36711
  :type Status: int
36700
36712
  :param _Nodes: 节点列表
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1206
3
+ Version: 3.0.1208
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud