tencentcloud-sdk-python 3.0.1377__py2.py3-none-any.whl → 3.0.1378__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/apm/v20210622/models.py +34 -4
- tencentcloud/autoscaling/v20180419/models.py +45 -16
- tencentcloud/billing/v20180709/billing_client.py +322 -0
- tencentcloud/billing/v20180709/errorcodes.py +9 -0
- tencentcloud/billing/v20180709/models.py +4894 -2542
- tencentcloud/hunyuan/v20230901/models.py +260 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +192 -2
- tencentcloud/tag/v20180813/models.py +8 -8
- tencentcloud/tcb/v20180608/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +0 -20
- tencentcloud/thpc/v20230321/models.py +6 -8
- tencentcloud/tione/v20211111/models.py +274 -0
- tencentcloud/tke/v20180525/models.py +10 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1378.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1378.dist-info}/RECORD +24 -24
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1378.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1378.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1378.dist-info}/top_level.txt +0 -0
@@ -82,6 +82,102 @@ class ActivateServiceResponse(AbstractModel):
|
|
82
82
|
self._RequestId = params.get("RequestId")
|
83
83
|
|
84
84
|
|
85
|
+
class Approximate(AbstractModel):
|
86
|
+
"""用户位置信息
|
87
|
+
|
88
|
+
"""
|
89
|
+
|
90
|
+
def __init__(self):
|
91
|
+
r"""
|
92
|
+
:param _Country: 表示 ISO 国家代码
|
93
|
+
:type Country: str
|
94
|
+
:param _City: 表示城市名称
|
95
|
+
:type City: str
|
96
|
+
:param _Region: 表示区域名称
|
97
|
+
:type Region: str
|
98
|
+
:param _Timezone: 表示IANA时区
|
99
|
+
:type Timezone: str
|
100
|
+
:param _Address: 表示详细地址
|
101
|
+
:type Address: str
|
102
|
+
"""
|
103
|
+
self._Country = None
|
104
|
+
self._City = None
|
105
|
+
self._Region = None
|
106
|
+
self._Timezone = None
|
107
|
+
self._Address = None
|
108
|
+
|
109
|
+
@property
|
110
|
+
def Country(self):
|
111
|
+
"""表示 ISO 国家代码
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._Country
|
115
|
+
|
116
|
+
@Country.setter
|
117
|
+
def Country(self, Country):
|
118
|
+
self._Country = Country
|
119
|
+
|
120
|
+
@property
|
121
|
+
def City(self):
|
122
|
+
"""表示城市名称
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._City
|
126
|
+
|
127
|
+
@City.setter
|
128
|
+
def City(self, City):
|
129
|
+
self._City = City
|
130
|
+
|
131
|
+
@property
|
132
|
+
def Region(self):
|
133
|
+
"""表示区域名称
|
134
|
+
:rtype: str
|
135
|
+
"""
|
136
|
+
return self._Region
|
137
|
+
|
138
|
+
@Region.setter
|
139
|
+
def Region(self, Region):
|
140
|
+
self._Region = Region
|
141
|
+
|
142
|
+
@property
|
143
|
+
def Timezone(self):
|
144
|
+
"""表示IANA时区
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._Timezone
|
148
|
+
|
149
|
+
@Timezone.setter
|
150
|
+
def Timezone(self, Timezone):
|
151
|
+
self._Timezone = Timezone
|
152
|
+
|
153
|
+
@property
|
154
|
+
def Address(self):
|
155
|
+
"""表示详细地址
|
156
|
+
:rtype: str
|
157
|
+
"""
|
158
|
+
return self._Address
|
159
|
+
|
160
|
+
@Address.setter
|
161
|
+
def Address(self, Address):
|
162
|
+
self._Address = Address
|
163
|
+
|
164
|
+
|
165
|
+
def _deserialize(self, params):
|
166
|
+
self._Country = params.get("Country")
|
167
|
+
self._City = params.get("City")
|
168
|
+
self._Region = params.get("Region")
|
169
|
+
self._Timezone = params.get("Timezone")
|
170
|
+
self._Address = params.get("Address")
|
171
|
+
memeber_set = set(params.keys())
|
172
|
+
for name, value in vars(self).items():
|
173
|
+
property_name = name[1:]
|
174
|
+
if property_name in memeber_set:
|
175
|
+
memeber_set.remove(property_name)
|
176
|
+
if len(memeber_set) > 0:
|
177
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
178
|
+
|
179
|
+
|
180
|
+
|
85
181
|
class Character(AbstractModel):
|
86
182
|
"""人物描述
|
87
183
|
|
@@ -237,6 +333,8 @@ class ChatCompletionsRequest(AbstractModel):
|
|
237
333
|
:type EnableRecommendedQuestions: bool
|
238
334
|
:param _EnableDeepRead: 是否开启深度阅读,默认是false,在值为true时,会返回深度阅读的结果信息。说明:1.深度阅读需要开启插件增强,即设置EnableEnhancement为true,当设置EnableDeepRead为true时EnableEnhancement默认为true;2.目前暂时只支持单文档单轮的深度阅读;3.深度阅读功能的文件上传可以使用FilesUploads接口,具体参数详见FilesUploads接口文档
|
239
335
|
:type EnableDeepRead: bool
|
336
|
+
:param _WebSearchOptions: 知识注入相关的参数信息
|
337
|
+
:type WebSearchOptions: :class:`tencentcloud.hunyuan.v20230901.models.WebSearchOptions`
|
240
338
|
"""
|
241
339
|
self._Model = None
|
242
340
|
self._Messages = None
|
@@ -258,6 +356,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
258
356
|
self._Stop = None
|
259
357
|
self._EnableRecommendedQuestions = None
|
260
358
|
self._EnableDeepRead = None
|
359
|
+
self._WebSearchOptions = None
|
261
360
|
|
262
361
|
@property
|
263
362
|
def Model(self):
|
@@ -536,6 +635,17 @@ class ChatCompletionsRequest(AbstractModel):
|
|
536
635
|
def EnableDeepRead(self, EnableDeepRead):
|
537
636
|
self._EnableDeepRead = EnableDeepRead
|
538
637
|
|
638
|
+
@property
|
639
|
+
def WebSearchOptions(self):
|
640
|
+
"""知识注入相关的参数信息
|
641
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.WebSearchOptions`
|
642
|
+
"""
|
643
|
+
return self._WebSearchOptions
|
644
|
+
|
645
|
+
@WebSearchOptions.setter
|
646
|
+
def WebSearchOptions(self, WebSearchOptions):
|
647
|
+
self._WebSearchOptions = WebSearchOptions
|
648
|
+
|
539
649
|
|
540
650
|
def _deserialize(self, params):
|
541
651
|
self._Model = params.get("Model")
|
@@ -570,6 +680,9 @@ class ChatCompletionsRequest(AbstractModel):
|
|
570
680
|
self._Stop = params.get("Stop")
|
571
681
|
self._EnableRecommendedQuestions = params.get("EnableRecommendedQuestions")
|
572
682
|
self._EnableDeepRead = params.get("EnableDeepRead")
|
683
|
+
if params.get("WebSearchOptions") is not None:
|
684
|
+
self._WebSearchOptions = WebSearchOptions()
|
685
|
+
self._WebSearchOptions._deserialize(params.get("WebSearchOptions"))
|
573
686
|
memeber_set = set(params.keys())
|
574
687
|
for name, value in vars(self).items():
|
575
688
|
property_name = name[1:]
|
@@ -4074,6 +4187,42 @@ class ImageUrl(AbstractModel):
|
|
4074
4187
|
|
4075
4188
|
|
4076
4189
|
|
4190
|
+
class Knowledge(AbstractModel):
|
4191
|
+
"""外部知识
|
4192
|
+
|
4193
|
+
"""
|
4194
|
+
|
4195
|
+
def __init__(self):
|
4196
|
+
r"""
|
4197
|
+
:param _Text: 表示具体的知识信息文本
|
4198
|
+
:type Text: str
|
4199
|
+
"""
|
4200
|
+
self._Text = None
|
4201
|
+
|
4202
|
+
@property
|
4203
|
+
def Text(self):
|
4204
|
+
"""表示具体的知识信息文本
|
4205
|
+
:rtype: str
|
4206
|
+
"""
|
4207
|
+
return self._Text
|
4208
|
+
|
4209
|
+
@Text.setter
|
4210
|
+
def Text(self, Text):
|
4211
|
+
self._Text = Text
|
4212
|
+
|
4213
|
+
|
4214
|
+
def _deserialize(self, params):
|
4215
|
+
self._Text = params.get("Text")
|
4216
|
+
memeber_set = set(params.keys())
|
4217
|
+
for name, value in vars(self).items():
|
4218
|
+
property_name = name[1:]
|
4219
|
+
if property_name in memeber_set:
|
4220
|
+
memeber_set.remove(property_name)
|
4221
|
+
if len(memeber_set) > 0:
|
4222
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4223
|
+
|
4224
|
+
|
4225
|
+
|
4077
4226
|
class LogoParam(AbstractModel):
|
4078
4227
|
"""logo参数
|
4079
4228
|
|
@@ -7776,4 +7925,115 @@ class Usage(AbstractModel):
|
|
7776
7925
|
memeber_set.remove(property_name)
|
7777
7926
|
if len(memeber_set) > 0:
|
7778
7927
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7928
|
+
|
7929
|
+
|
7930
|
+
|
7931
|
+
class UserLocation(AbstractModel):
|
7932
|
+
"""用户位置详细信息
|
7933
|
+
|
7934
|
+
"""
|
7935
|
+
|
7936
|
+
def __init__(self):
|
7937
|
+
r"""
|
7938
|
+
:param _Type: 表示位置类型
|
7939
|
+
:type Type: str
|
7940
|
+
:param _Approximate: 用户近似位置的详细信息
|
7941
|
+
:type Approximate: :class:`tencentcloud.hunyuan.v20230901.models.Approximate`
|
7942
|
+
"""
|
7943
|
+
self._Type = None
|
7944
|
+
self._Approximate = None
|
7945
|
+
|
7946
|
+
@property
|
7947
|
+
def Type(self):
|
7948
|
+
"""表示位置类型
|
7949
|
+
:rtype: str
|
7950
|
+
"""
|
7951
|
+
return self._Type
|
7952
|
+
|
7953
|
+
@Type.setter
|
7954
|
+
def Type(self, Type):
|
7955
|
+
self._Type = Type
|
7956
|
+
|
7957
|
+
@property
|
7958
|
+
def Approximate(self):
|
7959
|
+
"""用户近似位置的详细信息
|
7960
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.Approximate`
|
7961
|
+
"""
|
7962
|
+
return self._Approximate
|
7963
|
+
|
7964
|
+
@Approximate.setter
|
7965
|
+
def Approximate(self, Approximate):
|
7966
|
+
self._Approximate = Approximate
|
7967
|
+
|
7968
|
+
|
7969
|
+
def _deserialize(self, params):
|
7970
|
+
self._Type = params.get("Type")
|
7971
|
+
if params.get("Approximate") is not None:
|
7972
|
+
self._Approximate = Approximate()
|
7973
|
+
self._Approximate._deserialize(params.get("Approximate"))
|
7974
|
+
memeber_set = set(params.keys())
|
7975
|
+
for name, value in vars(self).items():
|
7976
|
+
property_name = name[1:]
|
7977
|
+
if property_name in memeber_set:
|
7978
|
+
memeber_set.remove(property_name)
|
7979
|
+
if len(memeber_set) > 0:
|
7980
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7981
|
+
|
7982
|
+
|
7983
|
+
|
7984
|
+
class WebSearchOptions(AbstractModel):
|
7985
|
+
"""知识注入相关的参数信息
|
7986
|
+
|
7987
|
+
"""
|
7988
|
+
|
7989
|
+
def __init__(self):
|
7990
|
+
r"""
|
7991
|
+
:param _Knowledge: 表示用户注入的知识信息
|
7992
|
+
:type Knowledge: list of Knowledge
|
7993
|
+
:param _UserLocation: 用户位置详细信息
|
7994
|
+
:type UserLocation: :class:`tencentcloud.hunyuan.v20230901.models.UserLocation`
|
7995
|
+
"""
|
7996
|
+
self._Knowledge = None
|
7997
|
+
self._UserLocation = None
|
7998
|
+
|
7999
|
+
@property
|
8000
|
+
def Knowledge(self):
|
8001
|
+
"""表示用户注入的知识信息
|
8002
|
+
:rtype: list of Knowledge
|
8003
|
+
"""
|
8004
|
+
return self._Knowledge
|
8005
|
+
|
8006
|
+
@Knowledge.setter
|
8007
|
+
def Knowledge(self, Knowledge):
|
8008
|
+
self._Knowledge = Knowledge
|
8009
|
+
|
8010
|
+
@property
|
8011
|
+
def UserLocation(self):
|
8012
|
+
"""用户位置详细信息
|
8013
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.UserLocation`
|
8014
|
+
"""
|
8015
|
+
return self._UserLocation
|
8016
|
+
|
8017
|
+
@UserLocation.setter
|
8018
|
+
def UserLocation(self, UserLocation):
|
8019
|
+
self._UserLocation = UserLocation
|
8020
|
+
|
8021
|
+
|
8022
|
+
def _deserialize(self, params):
|
8023
|
+
if params.get("Knowledge") is not None:
|
8024
|
+
self._Knowledge = []
|
8025
|
+
for item in params.get("Knowledge"):
|
8026
|
+
obj = Knowledge()
|
8027
|
+
obj._deserialize(item)
|
8028
|
+
self._Knowledge.append(obj)
|
8029
|
+
if params.get("UserLocation") is not None:
|
8030
|
+
self._UserLocation = UserLocation()
|
8031
|
+
self._UserLocation._deserialize(params.get("UserLocation"))
|
8032
|
+
memeber_set = set(params.keys())
|
8033
|
+
for name, value in vars(self).items():
|
8034
|
+
property_name = name[1:]
|
8035
|
+
if property_name in memeber_set:
|
8036
|
+
memeber_set.remove(property_name)
|
8037
|
+
if len(memeber_set) > 0:
|
8038
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7779
8039
|
|
@@ -2400,7 +2400,7 @@ class LighthouseClient(AbstractClient):
|
|
2400
2400
|
|
2401
2401
|
|
2402
2402
|
def ResizeDisks(self, request):
|
2403
|
-
"""本接口(ResizeDisks)
|
2403
|
+
"""本接口(ResizeDisks)用于扩容云硬盘。该操作目前仅支持云硬盘类型为数据盘且状态处于ATTACHED(已挂载)或 UNATTACHED(待挂载)的云硬盘。
|
2404
2404
|
|
2405
2405
|
:param request: Request instance for ResizeDisks.
|
2406
2406
|
:type request: :class:`tencentcloud.lighthouse.v20200324.models.ResizeDisksRequest`
|
@@ -5080,7 +5080,7 @@ disk-usage
|
|
5080
5080
|
按照【云硬盘类型】进行过滤。
|
5081
5081
|
类型:String
|
5082
5082
|
必选:否
|
5083
|
-
取值:SYSTEM_DISK
|
5083
|
+
取值:SYSTEM_DISK(系统盘)或 DATA_DISK(数据盘)
|
5084
5084
|
disk-state
|
5085
5085
|
按照【云硬盘状态】进行过滤。
|
5086
5086
|
类型:String
|
@@ -5138,7 +5138,7 @@ disk-usage
|
|
5138
5138
|
按照【云硬盘类型】进行过滤。
|
5139
5139
|
类型:String
|
5140
5140
|
必选:否
|
5141
|
-
取值:SYSTEM_DISK
|
5141
|
+
取值:SYSTEM_DISK(系统盘)或 DATA_DISK(数据盘)
|
5142
5142
|
disk-state
|
5143
5143
|
按照【云硬盘状态】进行过滤。
|
5144
5144
|
类型:String
|