tencentcloud-sdk-python 3.0.1275__py2.py3-none-any.whl → 3.0.1276__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +15 -0
- tencentcloud/batch/v20170312/models.py +48 -68
- tencentcloud/billing/v20180709/models.py +45 -0
- tencentcloud/cbs/v20170312/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +732 -48
- tencentcloud/cdwdoris/v20211228/models.py +2 -2
- tencentcloud/cfs/v20190719/models.py +30 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +490 -324
- tencentcloud/cloudapp/v20220530/models.py +4 -4
- tencentcloud/cvm/v20170312/models.py +48 -68
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/models.py +226 -4
- tencentcloud/dts/v20211206/models.py +30 -0
- tencentcloud/emr/v20190103/models.py +33 -16
- tencentcloud/ess/v20201111/models.py +242 -0
- tencentcloud/essbasic/v20210526/models.py +241 -6
- tencentcloud/faceid/v20180301/models.py +0 -2
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
- tencentcloud/hunyuan/v20230901/models.py +591 -0
- tencentcloud/ims/v20201229/models.py +4 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +286 -6
- tencentcloud/ivld/v20210903/ivld_client.py +0 -1
- tencentcloud/ivld/v20210903/models.py +133 -15
- tencentcloud/lcic/v20220817/models.py +2 -8
- tencentcloud/live/v20180801/errorcodes.py +18 -0
- tencentcloud/live/v20180801/live_client.py +208 -0
- tencentcloud/live/v20180801/models.py +1649 -255
- tencentcloud/lke/v20231130/lke_client.py +161 -0
- tencentcloud/lke/v20231130/models.py +1517 -187
- tencentcloud/mps/v20190612/errorcodes.py +2 -173
- tencentcloud/mps/v20190612/models.py +377 -17
- tencentcloud/mrs/v20200910/models.py +0 -2652
- tencentcloud/ocr/v20181119/models.py +0 -273
- tencentcloud/ocr/v20181119/ocr_client.py +0 -23
- tencentcloud/organization/v20210331/models.py +2 -24
- tencentcloud/privatedns/v20201028/models.py +47 -0
- tencentcloud/rce/v20201103/models.py +2 -2
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +366 -18
- tencentcloud/teo/v20220901/teo_client.py +69 -0
- tencentcloud/tke/v20220501/models.py +200 -0
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +24 -24
- tencentcloud/trtc/v20190722/models.py +230 -0
- tencentcloud/tsf/v20180326/models.py +2405 -334
- tencentcloud/tsf/v20180326/tsf_client.py +3 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/vclm/v20240523/models.py +156 -10
- tencentcloud/vclm/v20240523/vclm_client.py +23 -0
- tencentcloud/vcube/__init__.py +0 -0
- tencentcloud/vcube/v20220410/__init__.py +0 -0
- tencentcloud/vcube/v20220410/errorcodes.py +72 -0
- tencentcloud/vcube/v20220410/models.py +7325 -0
- tencentcloud/vcube/v20220410/vcube_client.py +808 -0
- tencentcloud/vdb/v20230616/models.py +45 -0
- tencentcloud/vod/v20180717/errorcodes.py +6 -0
- tencentcloud/vod/v20180717/models.py +62 -2
- tencentcloud/vod/v20180717/vod_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +272 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/RECORD +71 -66
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1275.dist-info → tencentcloud_sdk_python-3.0.1276.dist-info}/top_level.txt +0 -0
@@ -193,6 +193,10 @@ class AgentConfig(AbstractModel):
|
|
193
193
|
:type InterruptMode: int
|
194
194
|
:param _InterruptSpeechDuration: InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。
|
195
195
|
:type InterruptSpeechDuration: int
|
196
|
+
:param _TurnDetectionMode: 控制新一轮对话的触发方式,默认为0。
|
197
|
+
- 0表示当服务端语音识别检测出的完整一句话后,自动触发一轮新的对话。
|
198
|
+
- 1表示客户端在收到字幕消息后,自行决定是否手动发送聊天信令触发一轮新的对话。
|
199
|
+
:type TurnDetectionMode: int
|
196
200
|
"""
|
197
201
|
self._UserId = None
|
198
202
|
self._UserSig = None
|
@@ -201,6 +205,7 @@ class AgentConfig(AbstractModel):
|
|
201
205
|
self._WelcomeMessage = None
|
202
206
|
self._InterruptMode = None
|
203
207
|
self._InterruptSpeechDuration = None
|
208
|
+
self._TurnDetectionMode = None
|
204
209
|
|
205
210
|
@property
|
206
211
|
def UserId(self):
|
@@ -279,6 +284,19 @@ class AgentConfig(AbstractModel):
|
|
279
284
|
def InterruptSpeechDuration(self, InterruptSpeechDuration):
|
280
285
|
self._InterruptSpeechDuration = InterruptSpeechDuration
|
281
286
|
|
287
|
+
@property
|
288
|
+
def TurnDetectionMode(self):
|
289
|
+
"""控制新一轮对话的触发方式,默认为0。
|
290
|
+
- 0表示当服务端语音识别检测出的完整一句话后,自动触发一轮新的对话。
|
291
|
+
- 1表示客户端在收到字幕消息后,自行决定是否手动发送聊天信令触发一轮新的对话。
|
292
|
+
:rtype: int
|
293
|
+
"""
|
294
|
+
return self._TurnDetectionMode
|
295
|
+
|
296
|
+
@TurnDetectionMode.setter
|
297
|
+
def TurnDetectionMode(self, TurnDetectionMode):
|
298
|
+
self._TurnDetectionMode = TurnDetectionMode
|
299
|
+
|
282
300
|
|
283
301
|
def _deserialize(self, params):
|
284
302
|
self._UserId = params.get("UserId")
|
@@ -288,6 +306,7 @@ class AgentConfig(AbstractModel):
|
|
288
306
|
self._WelcomeMessage = params.get("WelcomeMessage")
|
289
307
|
self._InterruptMode = params.get("InterruptMode")
|
290
308
|
self._InterruptSpeechDuration = params.get("InterruptSpeechDuration")
|
309
|
+
self._TurnDetectionMode = params.get("TurnDetectionMode")
|
291
310
|
memeber_set = set(params.keys())
|
292
311
|
for name, value in vars(self).items():
|
293
312
|
property_name = name[1:]
|
@@ -602,6 +621,181 @@ class AudioParams(AbstractModel):
|
|
602
621
|
|
603
622
|
|
604
623
|
|
624
|
+
class AuditStorageParams(AbstractModel):
|
625
|
+
"""审核存储参数
|
626
|
+
|
627
|
+
"""
|
628
|
+
|
629
|
+
def __init__(self):
|
630
|
+
r"""
|
631
|
+
:param _CloudAuditStorage: 腾讯云对象存储COS以及第三方云存储的账号信息
|
632
|
+
:type CloudAuditStorage: :class:`tencentcloud.trtc.v20190722.models.CloudAuditStorage`
|
633
|
+
"""
|
634
|
+
self._CloudAuditStorage = None
|
635
|
+
|
636
|
+
@property
|
637
|
+
def CloudAuditStorage(self):
|
638
|
+
"""腾讯云对象存储COS以及第三方云存储的账号信息
|
639
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.CloudAuditStorage`
|
640
|
+
"""
|
641
|
+
return self._CloudAuditStorage
|
642
|
+
|
643
|
+
@CloudAuditStorage.setter
|
644
|
+
def CloudAuditStorage(self, CloudAuditStorage):
|
645
|
+
self._CloudAuditStorage = CloudAuditStorage
|
646
|
+
|
647
|
+
|
648
|
+
def _deserialize(self, params):
|
649
|
+
if params.get("CloudAuditStorage") is not None:
|
650
|
+
self._CloudAuditStorage = CloudAuditStorage()
|
651
|
+
self._CloudAuditStorage._deserialize(params.get("CloudAuditStorage"))
|
652
|
+
memeber_set = set(params.keys())
|
653
|
+
for name, value in vars(self).items():
|
654
|
+
property_name = name[1:]
|
655
|
+
if property_name in memeber_set:
|
656
|
+
memeber_set.remove(property_name)
|
657
|
+
if len(memeber_set) > 0:
|
658
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
class CloudAuditStorage(AbstractModel):
|
663
|
+
"""腾讯云对象存储COS以及第三方云存储的账号信息
|
664
|
+
|
665
|
+
"""
|
666
|
+
|
667
|
+
def __init__(self):
|
668
|
+
r"""
|
669
|
+
:param _Vendor: 腾讯云对象存储COS以及第三方云存储账号信息
|
670
|
+
0:腾讯云对象存储 COS
|
671
|
+
1:AWS
|
672
|
+
【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
|
673
|
+
示例值:0
|
674
|
+
:type Vendor: int
|
675
|
+
:param _Region: 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
|
676
|
+
示例值:cn-shanghai-1
|
677
|
+
|
678
|
+
AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
|
679
|
+
示例值:ap-southeast-3
|
680
|
+
:type Region: str
|
681
|
+
:param _Bucket: 云存储桶名称。
|
682
|
+
:type Bucket: str
|
683
|
+
:param _AccessKey: 云存储的access_key账号信息。
|
684
|
+
若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
|
685
|
+
示例值:test-accesskey
|
686
|
+
:type AccessKey: str
|
687
|
+
:param _SecretKey: 云存储的secret_key账号信息。
|
688
|
+
若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
|
689
|
+
示例值:test-secretkey
|
690
|
+
:type SecretKey: str
|
691
|
+
:param _FileNamePrefix: 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
692
|
+
示例值:["prefix1", "prefix2"]
|
693
|
+
:type FileNamePrefix: list of str
|
694
|
+
"""
|
695
|
+
self._Vendor = None
|
696
|
+
self._Region = None
|
697
|
+
self._Bucket = None
|
698
|
+
self._AccessKey = None
|
699
|
+
self._SecretKey = None
|
700
|
+
self._FileNamePrefix = None
|
701
|
+
|
702
|
+
@property
|
703
|
+
def Vendor(self):
|
704
|
+
"""腾讯云对象存储COS以及第三方云存储账号信息
|
705
|
+
0:腾讯云对象存储 COS
|
706
|
+
1:AWS
|
707
|
+
【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
|
708
|
+
示例值:0
|
709
|
+
:rtype: int
|
710
|
+
"""
|
711
|
+
return self._Vendor
|
712
|
+
|
713
|
+
@Vendor.setter
|
714
|
+
def Vendor(self, Vendor):
|
715
|
+
self._Vendor = Vendor
|
716
|
+
|
717
|
+
@property
|
718
|
+
def Region(self):
|
719
|
+
"""腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
|
720
|
+
示例值:cn-shanghai-1
|
721
|
+
|
722
|
+
AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
|
723
|
+
示例值:ap-southeast-3
|
724
|
+
:rtype: str
|
725
|
+
"""
|
726
|
+
return self._Region
|
727
|
+
|
728
|
+
@Region.setter
|
729
|
+
def Region(self, Region):
|
730
|
+
self._Region = Region
|
731
|
+
|
732
|
+
@property
|
733
|
+
def Bucket(self):
|
734
|
+
"""云存储桶名称。
|
735
|
+
:rtype: str
|
736
|
+
"""
|
737
|
+
return self._Bucket
|
738
|
+
|
739
|
+
@Bucket.setter
|
740
|
+
def Bucket(self, Bucket):
|
741
|
+
self._Bucket = Bucket
|
742
|
+
|
743
|
+
@property
|
744
|
+
def AccessKey(self):
|
745
|
+
"""云存储的access_key账号信息。
|
746
|
+
若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
|
747
|
+
示例值:test-accesskey
|
748
|
+
:rtype: str
|
749
|
+
"""
|
750
|
+
return self._AccessKey
|
751
|
+
|
752
|
+
@AccessKey.setter
|
753
|
+
def AccessKey(self, AccessKey):
|
754
|
+
self._AccessKey = AccessKey
|
755
|
+
|
756
|
+
@property
|
757
|
+
def SecretKey(self):
|
758
|
+
"""云存储的secret_key账号信息。
|
759
|
+
若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
|
760
|
+
示例值:test-secretkey
|
761
|
+
:rtype: str
|
762
|
+
"""
|
763
|
+
return self._SecretKey
|
764
|
+
|
765
|
+
@SecretKey.setter
|
766
|
+
def SecretKey(self, SecretKey):
|
767
|
+
self._SecretKey = SecretKey
|
768
|
+
|
769
|
+
@property
|
770
|
+
def FileNamePrefix(self):
|
771
|
+
"""云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
|
772
|
+
示例值:["prefix1", "prefix2"]
|
773
|
+
:rtype: list of str
|
774
|
+
"""
|
775
|
+
return self._FileNamePrefix
|
776
|
+
|
777
|
+
@FileNamePrefix.setter
|
778
|
+
def FileNamePrefix(self, FileNamePrefix):
|
779
|
+
self._FileNamePrefix = FileNamePrefix
|
780
|
+
|
781
|
+
|
782
|
+
def _deserialize(self, params):
|
783
|
+
self._Vendor = params.get("Vendor")
|
784
|
+
self._Region = params.get("Region")
|
785
|
+
self._Bucket = params.get("Bucket")
|
786
|
+
self._AccessKey = params.get("AccessKey")
|
787
|
+
self._SecretKey = params.get("SecretKey")
|
788
|
+
self._FileNamePrefix = params.get("FileNamePrefix")
|
789
|
+
memeber_set = set(params.keys())
|
790
|
+
for name, value in vars(self).items():
|
791
|
+
property_name = name[1:]
|
792
|
+
if property_name in memeber_set:
|
793
|
+
memeber_set.remove(property_name)
|
794
|
+
if len(memeber_set) > 0:
|
795
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
796
|
+
|
797
|
+
|
798
|
+
|
605
799
|
class CloudStorage(AbstractModel):
|
606
800
|
"""腾讯云对象存储COS以及第三方云存储的账号信息
|
607
801
|
|
@@ -882,11 +1076,14 @@ class CreateBasicModerationRequest(AbstractModel):
|
|
882
1076
|
:type UserId: str
|
883
1077
|
:param _RoomIdType: TRTC房间号的类型。【*注意】必须和TRTC的房间所对应的RoomId类型相同:0: 字符串类型的RoomId1: 32位整型的RoomId(默认)
|
884
1078
|
:type RoomIdType: int
|
1079
|
+
:param _AuditStorageParams: 音频文件上传到云存储的参数
|
1080
|
+
:type AuditStorageParams: :class:`tencentcloud.trtc.v20190722.models.AuditStorageParams`
|
885
1081
|
"""
|
886
1082
|
self._SdkAppId = None
|
887
1083
|
self._RoomId = None
|
888
1084
|
self._UserId = None
|
889
1085
|
self._RoomIdType = None
|
1086
|
+
self._AuditStorageParams = None
|
890
1087
|
|
891
1088
|
@property
|
892
1089
|
def SdkAppId(self):
|
@@ -932,12 +1129,26 @@ class CreateBasicModerationRequest(AbstractModel):
|
|
932
1129
|
def RoomIdType(self, RoomIdType):
|
933
1130
|
self._RoomIdType = RoomIdType
|
934
1131
|
|
1132
|
+
@property
|
1133
|
+
def AuditStorageParams(self):
|
1134
|
+
"""音频文件上传到云存储的参数
|
1135
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.AuditStorageParams`
|
1136
|
+
"""
|
1137
|
+
return self._AuditStorageParams
|
1138
|
+
|
1139
|
+
@AuditStorageParams.setter
|
1140
|
+
def AuditStorageParams(self, AuditStorageParams):
|
1141
|
+
self._AuditStorageParams = AuditStorageParams
|
1142
|
+
|
935
1143
|
|
936
1144
|
def _deserialize(self, params):
|
937
1145
|
self._SdkAppId = params.get("SdkAppId")
|
938
1146
|
self._RoomId = params.get("RoomId")
|
939
1147
|
self._UserId = params.get("UserId")
|
940
1148
|
self._RoomIdType = params.get("RoomIdType")
|
1149
|
+
if params.get("AuditStorageParams") is not None:
|
1150
|
+
self._AuditStorageParams = AuditStorageParams()
|
1151
|
+
self._AuditStorageParams._deserialize(params.get("AuditStorageParams"))
|
941
1152
|
memeber_set = set(params.keys())
|
942
1153
|
for name, value in vars(self).items():
|
943
1154
|
property_name = name[1:]
|
@@ -11016,10 +11227,15 @@ class ServerPushText(AbstractModel):
|
|
11016
11227
|
:type Interrupt: bool
|
11017
11228
|
:param _StopAfterPlay: 播报完文本后,是否自动关闭对话任务
|
11018
11229
|
:type StopAfterPlay: bool
|
11230
|
+
:param _Audio: 服务端推送播报音频
|
11231
|
+
格式说明:音频以16KHz采样率的单声道格式提供,编码为Base64字符串。
|
11232
|
+
输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
|
11233
|
+
:type Audio: str
|
11019
11234
|
"""
|
11020
11235
|
self._Text = None
|
11021
11236
|
self._Interrupt = None
|
11022
11237
|
self._StopAfterPlay = None
|
11238
|
+
self._Audio = None
|
11023
11239
|
|
11024
11240
|
@property
|
11025
11241
|
def Text(self):
|
@@ -11054,11 +11270,25 @@ class ServerPushText(AbstractModel):
|
|
11054
11270
|
def StopAfterPlay(self, StopAfterPlay):
|
11055
11271
|
self._StopAfterPlay = StopAfterPlay
|
11056
11272
|
|
11273
|
+
@property
|
11274
|
+
def Audio(self):
|
11275
|
+
"""服务端推送播报音频
|
11276
|
+
格式说明:音频以16KHz采样率的单声道格式提供,编码为Base64字符串。
|
11277
|
+
输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
|
11278
|
+
:rtype: str
|
11279
|
+
"""
|
11280
|
+
return self._Audio
|
11281
|
+
|
11282
|
+
@Audio.setter
|
11283
|
+
def Audio(self, Audio):
|
11284
|
+
self._Audio = Audio
|
11285
|
+
|
11057
11286
|
|
11058
11287
|
def _deserialize(self, params):
|
11059
11288
|
self._Text = params.get("Text")
|
11060
11289
|
self._Interrupt = params.get("Interrupt")
|
11061
11290
|
self._StopAfterPlay = params.get("StopAfterPlay")
|
11291
|
+
self._Audio = params.get("Audio")
|
11062
11292
|
memeber_set = set(params.keys())
|
11063
11293
|
for name, value in vars(self).items():
|
11064
11294
|
property_name = name[1:]
|