tencentcloud-sdk-python 3.0.1422__py2.py3-none-any.whl → 3.0.1424__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/ctem/v20231128/ctem_client.py +161 -0
- tencentcloud/ctem/v20231128/models.py +3720 -1023
- tencentcloud/cwp/v20180228/models.py +15 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/ess/v20201111/ess_client.py +52 -0
- tencentcloud/ess/v20201111/models.py +445 -0
- tencentcloud/gme/v20180711/models.py +75 -0
- tencentcloud/iss/v20230517/models.py +4 -8
- tencentcloud/kms/v20190118/models.py +296 -0
- tencentcloud/live/v20180801/models.py +591 -0
- tencentcloud/lke/v20231130/errorcodes.py +0 -33
- tencentcloud/lke/v20231130/lke_client.py +0 -191
- tencentcloud/lke/v20231130/models.py +216 -2159
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -0
- tencentcloud/lkeap/v20240522/models.py +190 -48
- tencentcloud/mongodb/v20190725/models.py +4 -2
- tencentcloud/monitor/v20180724/models.py +52 -6
- tencentcloud/monitor/v20230616/errorcodes.py +2 -11
- tencentcloud/monitor/v20230616/models.py +104 -369
- tencentcloud/monitor/v20230616/monitor_client.py +7 -13
- tencentcloud/mps/v20190612/models.py +576 -144
- tencentcloud/mps/v20190612/mps_client.py +26 -0
- tencentcloud/ocr/v20181119/models.py +42 -24
- tencentcloud/omics/v20221128/models.py +15 -0
- tencentcloud/redis/v20180412/models.py +42 -6
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/ssl/v20191205/models.py +47 -2
- tencentcloud/teo/v20220901/models.py +7772 -5903
- tencentcloud/teo/v20220901/teo_client.py +322 -0
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/tke/v20180525/models.py +4 -4
- tencentcloud/tse/v20201207/models.py +347 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/RECORD +47 -47
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -221,7 +221,7 @@ class SubmitHunyuanTo3DJobRequest(AbstractModel):
|
|
221
221
|
def __init__(self):
|
222
222
|
r"""
|
223
223
|
:param _Prompt: 文生3D,3D内容的描述,中文正向提示词。
|
224
|
-
最多支持
|
224
|
+
最多支持1024个 utf-8 字符。
|
225
225
|
文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。
|
226
226
|
:type Prompt: str
|
227
227
|
:param _ImageBase64: 输入图 Base64 数据。
|
@@ -261,7 +261,7 @@ back:后视图;
|
|
261
261
|
@property
|
262
262
|
def Prompt(self):
|
263
263
|
"""文生3D,3D内容的描述,中文正向提示词。
|
264
|
-
最多支持
|
264
|
+
最多支持1024个 utf-8 字符。
|
265
265
|
文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。
|
266
266
|
:rtype: str
|
267
267
|
"""
|
@@ -15072,7 +15072,7 @@ class ServerPushText(AbstractModel):
|
|
15072
15072
|
|
15073
15073
|
注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空
|
15074
15074
|
:type DropMode: int
|
15075
|
-
:param _Priority: ServerPushText消息的优先级,0表示可被打断,1
|
15075
|
+
:param _Priority: ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。
|
15076
15076
|
注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。
|
15077
15077
|
例子:
|
15078
15078
|
- Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
|
@@ -15153,7 +15153,7 @@ class ServerPushText(AbstractModel):
|
|
15153
15153
|
|
15154
15154
|
@property
|
15155
15155
|
def Priority(self):
|
15156
|
-
"""ServerPushText消息的优先级,0表示可被打断,1
|
15156
|
+
"""ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。
|
15157
15157
|
注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。
|
15158
15158
|
例子:
|
15159
15159
|
- Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
|
@@ -3051,9 +3051,9 @@ class AutoStrategy(AbstractModel):
|
|
3051
3051
|
:param _ShrinkPeriod: 自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
|
3052
3052
|
注意:此字段可能返回 null,表示取不到有效值。
|
3053
3053
|
:type ShrinkPeriod: int
|
3054
|
-
:param _ExpandSecondPeriod: 弹性扩容观测周期(秒级),可取值为:
|
3054
|
+
:param _ExpandSecondPeriod: 弹性扩容观测周期(秒级),可取值为:15,30,45,60,180,300,600,900,1800。
|
3055
3055
|
:type ExpandSecondPeriod: int
|
3056
|
-
:param _ShrinkSecondPeriod: 缩容观测周期(秒级),可取值为:300。
|
3056
|
+
:param _ShrinkSecondPeriod: 缩容观测周期(秒级),可取值为:300、600、900、1800。
|
3057
3057
|
:type ShrinkSecondPeriod: int
|
3058
3058
|
"""
|
3059
3059
|
self._ExpandThreshold = None
|
@@ -3119,7 +3119,7 @@ class AutoStrategy(AbstractModel):
|
|
3119
3119
|
|
3120
3120
|
@property
|
3121
3121
|
def ExpandSecondPeriod(self):
|
3122
|
-
"""弹性扩容观测周期(秒级),可取值为:
|
3122
|
+
"""弹性扩容观测周期(秒级),可取值为:15,30,45,60,180,300,600,900,1800。
|
3123
3123
|
:rtype: int
|
3124
3124
|
"""
|
3125
3125
|
return self._ExpandSecondPeriod
|
@@ -3130,7 +3130,7 @@ class AutoStrategy(AbstractModel):
|
|
3130
3130
|
|
3131
3131
|
@property
|
3132
3132
|
def ShrinkSecondPeriod(self):
|
3133
|
-
"""缩容观测周期(秒级),可取值为:300。
|
3133
|
+
"""缩容观测周期(秒级),可取值为:300、600、900、1800。
|
3134
3134
|
:rtype: int
|
3135
3135
|
"""
|
3136
3136
|
return self._ShrinkSecondPeriod
|
@@ -19579,7 +19579,7 @@ add:增加。增加指定的头部参数,默认允许重复添加,即重
|
|
19579
19579
|
:param _HeaderName: http 头部名称,最多可设置 100 个字符
|
19580
19580
|
注意:此字段可能返回 null,表示取不到有效值。
|
19581
19581
|
:type HeaderName: str
|
19582
|
-
:param _HeaderValue: http 头部值,最多可设置
|
19582
|
+
:param _HeaderValue: http 头部值,最多可设置 2000 个字符
|
19583
19583
|
Mode 为 del 时非必填
|
19584
19584
|
Mode 为 add/set 时必填
|
19585
19585
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -19634,7 +19634,7 @@ add:增加。增加指定的头部参数,默认允许重复添加,即重
|
|
19634
19634
|
|
19635
19635
|
@property
|
19636
19636
|
def HeaderValue(self):
|
19637
|
-
"""http 头部值,最多可设置
|
19637
|
+
"""http 头部值,最多可设置 2000 个字符
|
19638
19638
|
Mode 为 del 时非必填
|
19639
19639
|
Mode 为 add/set 时必填
|
19640
19640
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2747,7 +2747,7 @@ class DescribeCNInstancesResponse(AbstractModel):
|
|
2747
2747
|
:param _InstancesList: 实例数组
|
2748
2748
|
注意:此字段可能返回 null,表示取不到有效值。
|
2749
2749
|
:type InstancesList: list of CnInstanceInfo
|
2750
|
-
:param _ErrorMsg:
|
2750
|
+
:param _ErrorMsg: 错误信息
|
2751
2751
|
注意:此字段可能返回 null,表示取不到有效值。
|
2752
2752
|
:type ErrorMsg: str
|
2753
2753
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -2784,7 +2784,7 @@ class DescribeCNInstancesResponse(AbstractModel):
|
|
2784
2784
|
|
2785
2785
|
@property
|
2786
2786
|
def ErrorMsg(self):
|
2787
|
-
"""
|
2787
|
+
"""错误信息
|
2788
2788
|
注意:此字段可能返回 null,表示取不到有效值。
|
2789
2789
|
:rtype: str
|
2790
2790
|
"""
|
@@ -158,6 +158,9 @@ INVALIDPARAMETERVALUE_PREPROCESSDEFINITION = 'InvalidParameterValue.PreProcessDe
|
|
158
158
|
# 项目不存在。
|
159
159
|
INVALIDPARAMETERVALUE_PROJECTID = 'InvalidParameterValue.ProjectId'
|
160
160
|
|
161
|
+
# 项目 ID 对应的项目信息异常。
|
162
|
+
INVALIDPARAMETERVALUE_PROJECTINFOERROR = 'InvalidParameterValue.ProjectInfoError'
|
163
|
+
|
161
164
|
# 轨道素材替换类型无效或不匹配。
|
162
165
|
INVALIDPARAMETERVALUE_REPLACEMENTTYPE = 'InvalidParameterValue.ReplacementType'
|
163
166
|
|
@@ -233,6 +233,98 @@ class CtemClient(AbstractClient):
|
|
233
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
234
234
|
|
235
235
|
|
236
|
+
def DescribeFakeApps(self, request):
|
237
|
+
"""查询仿冒应用
|
238
|
+
|
239
|
+
:param request: Request instance for DescribeFakeApps.
|
240
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeAppsRequest`
|
241
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeAppsResponse`
|
242
|
+
|
243
|
+
"""
|
244
|
+
try:
|
245
|
+
params = request._serialize()
|
246
|
+
headers = request.headers
|
247
|
+
body = self.call("DescribeFakeApps", params, headers=headers)
|
248
|
+
response = json.loads(body)
|
249
|
+
model = models.DescribeFakeAppsResponse()
|
250
|
+
model._deserialize(response["Response"])
|
251
|
+
return model
|
252
|
+
except Exception as e:
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
254
|
+
raise
|
255
|
+
else:
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
|
+
|
258
|
+
|
259
|
+
def DescribeFakeMiniPrograms(self, request):
|
260
|
+
"""查询仿冒小程序
|
261
|
+
|
262
|
+
:param request: Request instance for DescribeFakeMiniPrograms.
|
263
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeMiniProgramsRequest`
|
264
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeMiniProgramsResponse`
|
265
|
+
|
266
|
+
"""
|
267
|
+
try:
|
268
|
+
params = request._serialize()
|
269
|
+
headers = request.headers
|
270
|
+
body = self.call("DescribeFakeMiniPrograms", params, headers=headers)
|
271
|
+
response = json.loads(body)
|
272
|
+
model = models.DescribeFakeMiniProgramsResponse()
|
273
|
+
model._deserialize(response["Response"])
|
274
|
+
return model
|
275
|
+
except Exception as e:
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
277
|
+
raise
|
278
|
+
else:
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
280
|
+
|
281
|
+
|
282
|
+
def DescribeFakeWebsites(self, request):
|
283
|
+
"""查询仿冒网站
|
284
|
+
|
285
|
+
:param request: Request instance for DescribeFakeWebsites.
|
286
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeWebsitesRequest`
|
287
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeWebsitesResponse`
|
288
|
+
|
289
|
+
"""
|
290
|
+
try:
|
291
|
+
params = request._serialize()
|
292
|
+
headers = request.headers
|
293
|
+
body = self.call("DescribeFakeWebsites", params, headers=headers)
|
294
|
+
response = json.loads(body)
|
295
|
+
model = models.DescribeFakeWebsitesResponse()
|
296
|
+
model._deserialize(response["Response"])
|
297
|
+
return model
|
298
|
+
except Exception as e:
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
300
|
+
raise
|
301
|
+
else:
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
303
|
+
|
304
|
+
|
305
|
+
def DescribeFakeWechatOfficials(self, request):
|
306
|
+
"""查询仿冒公众号
|
307
|
+
|
308
|
+
:param request: Request instance for DescribeFakeWechatOfficials.
|
309
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeWechatOfficialsRequest`
|
310
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeFakeWechatOfficialsResponse`
|
311
|
+
|
312
|
+
"""
|
313
|
+
try:
|
314
|
+
params = request._serialize()
|
315
|
+
headers = request.headers
|
316
|
+
body = self.call("DescribeFakeWechatOfficials", params, headers=headers)
|
317
|
+
response = json.loads(body)
|
318
|
+
model = models.DescribeFakeWechatOfficialsResponse()
|
319
|
+
model._deserialize(response["Response"])
|
320
|
+
return model
|
321
|
+
except Exception as e:
|
322
|
+
if isinstance(e, TencentCloudSDKException):
|
323
|
+
raise
|
324
|
+
else:
|
325
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
326
|
+
|
327
|
+
|
236
328
|
def DescribeGithubs(self, request):
|
237
329
|
"""查看Github泄露数据
|
238
330
|
|
@@ -325,6 +417,75 @@ class CtemClient(AbstractClient):
|
|
325
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
326
418
|
|
327
419
|
|
420
|
+
def DescribeLeakageCodes(self, request):
|
421
|
+
"""获取代码泄露数据
|
422
|
+
|
423
|
+
:param request: Request instance for DescribeLeakageCodes.
|
424
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageCodesRequest`
|
425
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageCodesResponse`
|
426
|
+
|
427
|
+
"""
|
428
|
+
try:
|
429
|
+
params = request._serialize()
|
430
|
+
headers = request.headers
|
431
|
+
body = self.call("DescribeLeakageCodes", params, headers=headers)
|
432
|
+
response = json.loads(body)
|
433
|
+
model = models.DescribeLeakageCodesResponse()
|
434
|
+
model._deserialize(response["Response"])
|
435
|
+
return model
|
436
|
+
except Exception as e:
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
438
|
+
raise
|
439
|
+
else:
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
441
|
+
|
442
|
+
|
443
|
+
def DescribeLeakageDatas(self, request):
|
444
|
+
"""获取数据泄露事件
|
445
|
+
|
446
|
+
:param request: Request instance for DescribeLeakageDatas.
|
447
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageDatasRequest`
|
448
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageDatasResponse`
|
449
|
+
|
450
|
+
"""
|
451
|
+
try:
|
452
|
+
params = request._serialize()
|
453
|
+
headers = request.headers
|
454
|
+
body = self.call("DescribeLeakageDatas", params, headers=headers)
|
455
|
+
response = json.loads(body)
|
456
|
+
model = models.DescribeLeakageDatasResponse()
|
457
|
+
model._deserialize(response["Response"])
|
458
|
+
return model
|
459
|
+
except Exception as e:
|
460
|
+
if isinstance(e, TencentCloudSDKException):
|
461
|
+
raise
|
462
|
+
else:
|
463
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
464
|
+
|
465
|
+
|
466
|
+
def DescribeLeakageEmails(self, request):
|
467
|
+
"""获取邮箱泄露数据
|
468
|
+
|
469
|
+
:param request: Request instance for DescribeLeakageEmails.
|
470
|
+
:type request: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageEmailsRequest`
|
471
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.DescribeLeakageEmailsResponse`
|
472
|
+
|
473
|
+
"""
|
474
|
+
try:
|
475
|
+
params = request._serialize()
|
476
|
+
headers = request.headers
|
477
|
+
body = self.call("DescribeLeakageEmails", params, headers=headers)
|
478
|
+
response = json.loads(body)
|
479
|
+
model = models.DescribeLeakageEmailsResponse()
|
480
|
+
model._deserialize(response["Response"])
|
481
|
+
return model
|
482
|
+
except Exception as e:
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
484
|
+
raise
|
485
|
+
else:
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
487
|
+
|
488
|
+
|
328
489
|
def DescribeManages(self, request):
|
329
490
|
"""查看后台管理数据
|
330
491
|
|