tencentcloud-sdk-python 3.0.1282__py2.py3-none-any.whl → 3.0.1284__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/cdb/v20170320/models.py +8 -4
- tencentcloud/cwp/v20180228/cwp_client.py +138 -0
- tencentcloud/cwp/v20180228/models.py +1015 -162
- tencentcloud/essbasic/v20210526/models.py +17 -0
- tencentcloud/faceid/v20180301/models.py +34 -0
- tencentcloud/hunyuan/v20230901/models.py +15 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +75 -2
- tencentcloud/iotexplorer/v20190423/models.py +521 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +46 -0
- tencentcloud/iotvideo/v20211125/models.py +301 -0
- tencentcloud/ocr/v20181119/ocr_client.py +2 -0
- tencentcloud/sms/v20210111/models.py +2 -2
- tencentcloud/ssl/v20191205/models.py +15 -0
- tencentcloud/tcbr/v20220217/models.py +0 -42
- tencentcloud/trocket/v20230308/models.py +30 -0
- tencentcloud/tsf/v20180326/errorcodes.py +18 -0
- tencentcloud/tsf/v20180326/models.py +106 -30
- tencentcloud/vrs/v20200824/models.py +115 -4
- tencentcloud/vrs/v20200824/vrs_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +130 -0
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1282.dist-info → tencentcloud_sdk_python-3.0.1284.dist-info}/top_level.txt +0 -0
@@ -4412,11 +4412,15 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
|
|
4412
4412
|
:param _Approvers: 签署方信息,如角色ID、角色名称等
|
4413
4413
|
注意:此字段可能返回 null,表示取不到有效值。
|
4414
4414
|
:type Approvers: list of ApproverItem
|
4415
|
+
:param _PreviewUrl: 预览链接,有效期5分钟
|
4416
|
+
注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL
|
4417
|
+
:type PreviewUrl: str
|
4415
4418
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4416
4419
|
:type RequestId: str
|
4417
4420
|
"""
|
4418
4421
|
self._FlowId = None
|
4419
4422
|
self._Approvers = None
|
4423
|
+
self._PreviewUrl = None
|
4420
4424
|
self._RequestId = None
|
4421
4425
|
|
4422
4426
|
@property
|
@@ -4446,6 +4450,18 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
|
|
4446
4450
|
def Approvers(self, Approvers):
|
4447
4451
|
self._Approvers = Approvers
|
4448
4452
|
|
4453
|
+
@property
|
4454
|
+
def PreviewUrl(self):
|
4455
|
+
"""预览链接,有效期5分钟
|
4456
|
+
注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL
|
4457
|
+
:rtype: str
|
4458
|
+
"""
|
4459
|
+
return self._PreviewUrl
|
4460
|
+
|
4461
|
+
@PreviewUrl.setter
|
4462
|
+
def PreviewUrl(self, PreviewUrl):
|
4463
|
+
self._PreviewUrl = PreviewUrl
|
4464
|
+
|
4449
4465
|
@property
|
4450
4466
|
def RequestId(self):
|
4451
4467
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -4466,6 +4482,7 @@ class ChannelCreateFlowByFilesResponse(AbstractModel):
|
|
4466
4482
|
obj = ApproverItem()
|
4467
4483
|
obj._deserialize(item)
|
4468
4484
|
self._Approvers.append(obj)
|
4485
|
+
self._PreviewUrl = params.get("PreviewUrl")
|
4469
4486
|
self._RequestId = params.get("RequestId")
|
4470
4487
|
|
4471
4488
|
|
@@ -7176,12 +7176,17 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
7176
7176
|
:param _Encryption: 敏感数据加密信息。
|
7177
7177
|
- 对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
7178
7178
|
:type Encryption: :class:`tencentcloud.faceid.v20180301.models.Encryption`
|
7179
|
+
:param _Extra: 自定义描述字段。
|
7180
|
+
- 用于描述调用业务信息,出参中将返回此描述字段。
|
7181
|
+
- 每个自定义描述字段支持[1,10]个字符。
|
7182
|
+
:type Extra: str
|
7179
7183
|
"""
|
7180
7184
|
self._IdCard = None
|
7181
7185
|
self._Name = None
|
7182
7186
|
self._ImageBase64 = None
|
7183
7187
|
self._Optional = None
|
7184
7188
|
self._Encryption = None
|
7189
|
+
self._Extra = None
|
7185
7190
|
|
7186
7191
|
@property
|
7187
7192
|
def IdCard(self):
|
@@ -7242,6 +7247,19 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
7242
7247
|
def Encryption(self, Encryption):
|
7243
7248
|
self._Encryption = Encryption
|
7244
7249
|
|
7250
|
+
@property
|
7251
|
+
def Extra(self):
|
7252
|
+
"""自定义描述字段。
|
7253
|
+
- 用于描述调用业务信息,出参中将返回此描述字段。
|
7254
|
+
- 每个自定义描述字段支持[1,10]个字符。
|
7255
|
+
:rtype: str
|
7256
|
+
"""
|
7257
|
+
return self._Extra
|
7258
|
+
|
7259
|
+
@Extra.setter
|
7260
|
+
def Extra(self, Extra):
|
7261
|
+
self._Extra = Extra
|
7262
|
+
|
7245
7263
|
|
7246
7264
|
def _deserialize(self, params):
|
7247
7265
|
self._IdCard = params.get("IdCard")
|
@@ -7251,6 +7269,7 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
7251
7269
|
if params.get("Encryption") is not None:
|
7252
7270
|
self._Encryption = Encryption()
|
7253
7271
|
self._Encryption._deserialize(params.get("Encryption"))
|
7272
|
+
self._Extra = params.get("Extra")
|
7254
7273
|
memeber_set = set(params.keys())
|
7255
7274
|
for name, value in vars(self).items():
|
7256
7275
|
property_name = name[1:]
|
@@ -7278,12 +7297,15 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
7278
7297
|
:type Result: str
|
7279
7298
|
:param _Description: 业务结果描述。
|
7280
7299
|
:type Description: str
|
7300
|
+
:param _Extra: 调用接口中自定义的描述字段。
|
7301
|
+
:type Extra: str
|
7281
7302
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7282
7303
|
:type RequestId: str
|
7283
7304
|
"""
|
7284
7305
|
self._Sim = None
|
7285
7306
|
self._Result = None
|
7286
7307
|
self._Description = None
|
7308
|
+
self._Extra = None
|
7287
7309
|
self._RequestId = None
|
7288
7310
|
|
7289
7311
|
@property
|
@@ -7323,6 +7345,17 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
7323
7345
|
def Description(self, Description):
|
7324
7346
|
self._Description = Description
|
7325
7347
|
|
7348
|
+
@property
|
7349
|
+
def Extra(self):
|
7350
|
+
"""调用接口中自定义的描述字段。
|
7351
|
+
:rtype: str
|
7352
|
+
"""
|
7353
|
+
return self._Extra
|
7354
|
+
|
7355
|
+
@Extra.setter
|
7356
|
+
def Extra(self, Extra):
|
7357
|
+
self._Extra = Extra
|
7358
|
+
|
7326
7359
|
@property
|
7327
7360
|
def RequestId(self):
|
7328
7361
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -7339,6 +7372,7 @@ class ImageRecognitionV2Response(AbstractModel):
|
|
7339
7372
|
self._Sim = params.get("Sim")
|
7340
7373
|
self._Result = params.get("Result")
|
7341
7374
|
self._Description = params.get("Description")
|
7375
|
+
self._Extra = params.get("Extra")
|
7342
7376
|
self._RequestId = params.get("RequestId")
|
7343
7377
|
|
7344
7378
|
|
@@ -177,6 +177,8 @@ class ChatCompletionsRequest(AbstractModel):
|
|
177
177
|
1. 未传值时默认关闭。
|
178
178
|
2. 开启后,将强制走AI搜索,当AI搜索结果为空时,由大模型回复兜底话术。
|
179
179
|
:type ForceSearchEnhancement: bool
|
180
|
+
:param _Stop: 自定义结束生成字符串
|
181
|
+
:type Stop: list of str
|
180
182
|
"""
|
181
183
|
self._Model = None
|
182
184
|
self._Messages = None
|
@@ -195,6 +197,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
195
197
|
self._EnableDeepSearch = None
|
196
198
|
self._Seed = None
|
197
199
|
self._ForceSearchEnhancement = None
|
200
|
+
self._Stop = None
|
198
201
|
|
199
202
|
@property
|
200
203
|
def Model(self):
|
@@ -437,6 +440,17 @@ class ChatCompletionsRequest(AbstractModel):
|
|
437
440
|
def ForceSearchEnhancement(self, ForceSearchEnhancement):
|
438
441
|
self._ForceSearchEnhancement = ForceSearchEnhancement
|
439
442
|
|
443
|
+
@property
|
444
|
+
def Stop(self):
|
445
|
+
"""自定义结束生成字符串
|
446
|
+
:rtype: list of str
|
447
|
+
"""
|
448
|
+
return self._Stop
|
449
|
+
|
450
|
+
@Stop.setter
|
451
|
+
def Stop(self, Stop):
|
452
|
+
self._Stop = Stop
|
453
|
+
|
440
454
|
|
441
455
|
def _deserialize(self, params):
|
442
456
|
self._Model = params.get("Model")
|
@@ -468,6 +482,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
468
482
|
self._EnableDeepSearch = params.get("EnableDeepSearch")
|
469
483
|
self._Seed = params.get("Seed")
|
470
484
|
self._ForceSearchEnhancement = params.get("ForceSearchEnhancement")
|
485
|
+
self._Stop = params.get("Stop")
|
471
486
|
memeber_set = set(params.keys())
|
472
487
|
for name, value in vars(self).items():
|
473
488
|
property_name = name[1:]
|
@@ -304,6 +304,29 @@ class IotexplorerClient(AbstractClient):
|
|
304
304
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
305
305
|
|
306
306
|
|
307
|
+
def CreateCloudStorageAIServiceTask(self, request):
|
308
|
+
"""创建设备云存 AI 分析任务
|
309
|
+
|
310
|
+
:param request: Request instance for CreateCloudStorageAIServiceTask.
|
311
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceTaskRequest`
|
312
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceTaskResponse`
|
313
|
+
|
314
|
+
"""
|
315
|
+
try:
|
316
|
+
params = request._serialize()
|
317
|
+
headers = request.headers
|
318
|
+
body = self.call("CreateCloudStorageAIServiceTask", params, headers=headers)
|
319
|
+
response = json.loads(body)
|
320
|
+
model = models.CreateCloudStorageAIServiceTaskResponse()
|
321
|
+
model._deserialize(response["Response"])
|
322
|
+
return model
|
323
|
+
except Exception as e:
|
324
|
+
if isinstance(e, TencentCloudSDKException):
|
325
|
+
raise
|
326
|
+
else:
|
327
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
328
|
+
|
329
|
+
|
307
330
|
def CreateDevice(self, request):
|
308
331
|
"""创建设备
|
309
332
|
|
@@ -327,6 +350,29 @@ class IotexplorerClient(AbstractClient):
|
|
327
350
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
328
351
|
|
329
352
|
|
353
|
+
def CreateDeviceChannel(self, request):
|
354
|
+
"""创建设备通道
|
355
|
+
|
356
|
+
:param request: Request instance for CreateDeviceChannel.
|
357
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceChannelRequest`
|
358
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceChannelResponse`
|
359
|
+
|
360
|
+
"""
|
361
|
+
try:
|
362
|
+
params = request._serialize()
|
363
|
+
headers = request.headers
|
364
|
+
body = self.call("CreateDeviceChannel", params, headers=headers)
|
365
|
+
response = json.loads(body)
|
366
|
+
model = models.CreateDeviceChannelResponse()
|
367
|
+
model._deserialize(response["Response"])
|
368
|
+
return model
|
369
|
+
except Exception as e:
|
370
|
+
if isinstance(e, TencentCloudSDKException):
|
371
|
+
raise
|
372
|
+
else:
|
373
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
374
|
+
|
375
|
+
|
330
376
|
def CreateExternalSourceAIServiceTask(self, request):
|
331
377
|
"""创建外部视频 AI 分析任务
|
332
378
|
|
@@ -373,6 +419,29 @@ class IotexplorerClient(AbstractClient):
|
|
373
419
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
374
420
|
|
375
421
|
|
422
|
+
def CreateFreeCloudStorage(self, request):
|
423
|
+
"""开通免费云存服务
|
424
|
+
|
425
|
+
:param request: Request instance for CreateFreeCloudStorage.
|
426
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateFreeCloudStorageRequest`
|
427
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateFreeCloudStorageResponse`
|
428
|
+
|
429
|
+
"""
|
430
|
+
try:
|
431
|
+
params = request._serialize()
|
432
|
+
headers = request.headers
|
433
|
+
body = self.call("CreateFreeCloudStorage", params, headers=headers)
|
434
|
+
response = json.loads(body)
|
435
|
+
model = models.CreateFreeCloudStorageResponse()
|
436
|
+
model._deserialize(response["Response"])
|
437
|
+
return model
|
438
|
+
except Exception as e:
|
439
|
+
if isinstance(e, TencentCloudSDKException):
|
440
|
+
raise
|
441
|
+
else:
|
442
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
443
|
+
|
444
|
+
|
376
445
|
def CreateIotVideoCloudStorage(self, request):
|
377
446
|
"""开通云存服务
|
378
447
|
|
@@ -2952,7 +3021,9 @@ class IotexplorerClient(AbstractClient):
|
|
2952
3021
|
|
2953
3022
|
|
2954
3023
|
def PublishBroadcastMessage(self, request):
|
2955
|
-
"""
|
3024
|
+
"""发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
3025
|
+
|
3026
|
+
发布广播消息
|
2956
3027
|
|
2957
3028
|
:param request: Request instance for PublishBroadcastMessage.
|
2958
3029
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.PublishBroadcastMessageRequest`
|
@@ -3021,7 +3092,9 @@ class IotexplorerClient(AbstractClient):
|
|
3021
3092
|
|
3022
3093
|
|
3023
3094
|
def PublishRRPCMessage(self, request):
|
3024
|
-
"""
|
3095
|
+
"""发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
3096
|
+
|
3097
|
+
下发RRPC消息
|
3025
3098
|
|
3026
3099
|
:param request: Request instance for PublishRRPCMessage.
|
3027
3100
|
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.PublishRRPCMessageRequest`
|