tencentcloud-sdk-python 3.0.1404__py2.py3-none-any.whl → 3.0.1406__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/antiddos/v20200309/models.py +4 -4
- tencentcloud/bi/v20220105/models.py +162 -0
- tencentcloud/captcha/v20190722/models.py +15 -0
- tencentcloud/cdb/v20170320/models.py +4 -2
- tencentcloud/cdwdoris/v20211228/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +14 -14
- tencentcloud/cfw/v20190904/models.py +15 -0
- tencentcloud/cls/v20201016/models.py +15 -0
- tencentcloud/cme/v20191029/cme_client.py +13 -13
- tencentcloud/csip/v20221121/models.py +15 -0
- tencentcloud/domain/v20180808/errorcodes.py +6 -0
- tencentcloud/es/v20250101/models.py +85 -0
- tencentcloud/ess/v20201111/ess_client.py +2 -0
- tencentcloud/ess/v20201111/models.py +31 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -0
- tencentcloud/essbasic/v20210526/models.py +17 -2
- tencentcloud/gs/v20191118/models.py +17 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +306 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +21 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +29 -0
- tencentcloud/lighthouse/v20200324/models.py +79 -0
- tencentcloud/lke/v20231130/lke_client.py +46 -0
- tencentcloud/lke/v20231130/models.py +282 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +8 -4
- tencentcloud/monitor/v20180724/models.py +79 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +202 -2
- tencentcloud/ocr/v20181119/models.py +0 -8
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/tdmq/v20200217/models.py +247 -33
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/tiia/v20190529/models.py +0 -262
- tencentcloud/tiia/v20190529/tiia_client.py +0 -26
- tencentcloud/tione/v20211111/models.py +348 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/tke/v20180525/errorcodes.py +1 -1
- tencentcloud/tke/v20220501/errorcodes.py +1 -1
- tencentcloud/trocket/v20230308/models.py +276 -2
- tencentcloud/trocket/v20230308/trocket_client.py +27 -0
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/tsf/v20180326/models.py +8 -0
- {tencentcloud_sdk_python-3.0.1404.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1404.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/RECORD +49 -49
- {tencentcloud_sdk_python-3.0.1404.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1404.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1404.dist-info → tencentcloud_sdk_python-3.0.1406.dist-info}/top_level.txt +0 -0
@@ -857,6 +857,44 @@ class DocumentChunkUsage(AbstractModel):
|
|
857
857
|
|
858
858
|
|
859
859
|
|
860
|
+
class DocumentParseConfig(AbstractModel):
|
861
|
+
"""文档解析配置
|
862
|
+
|
863
|
+
"""
|
864
|
+
|
865
|
+
def __init__(self):
|
866
|
+
r"""
|
867
|
+
:param _ImageResponseType: 0:图片以链接形式返回
|
868
|
+
1:返回图片中提取的文本内容
|
869
|
+
:type ImageResponseType: int
|
870
|
+
"""
|
871
|
+
self._ImageResponseType = None
|
872
|
+
|
873
|
+
@property
|
874
|
+
def ImageResponseType(self):
|
875
|
+
"""0:图片以链接形式返回
|
876
|
+
1:返回图片中提取的文本内容
|
877
|
+
:rtype: int
|
878
|
+
"""
|
879
|
+
return self._ImageResponseType
|
880
|
+
|
881
|
+
@ImageResponseType.setter
|
882
|
+
def ImageResponseType(self, ImageResponseType):
|
883
|
+
self._ImageResponseType = ImageResponseType
|
884
|
+
|
885
|
+
|
886
|
+
def _deserialize(self, params):
|
887
|
+
self._ImageResponseType = params.get("ImageResponseType")
|
888
|
+
memeber_set = set(params.keys())
|
889
|
+
for name, value in vars(self).items():
|
890
|
+
property_name = name[1:]
|
891
|
+
if property_name in memeber_set:
|
892
|
+
memeber_set.remove(property_name)
|
893
|
+
if len(memeber_set) > 0:
|
894
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
895
|
+
|
896
|
+
|
897
|
+
|
860
898
|
class EmbeddingData(AbstractModel):
|
861
899
|
"""向量内容
|
862
900
|
|
@@ -1423,10 +1461,19 @@ class ParseDocument(AbstractModel):
|
|
1423
1461
|
支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过3秒。
|
1424
1462
|
支持的图片像素:单边介于20-10000px之间。
|
1425
1463
|
:type FileContent: str
|
1464
|
+
:param _DocumentParseConfig: 文档解析配置
|
1465
|
+
:type DocumentParseConfig: :class:`tencentcloud.es.v20250101.models.DocumentParseConfig`
|
1466
|
+
:param _FileStartPageNumber: 文档的起始页码
|
1467
|
+
:type FileStartPageNumber: int
|
1468
|
+
:param _FileEndPageNumber: 文档的结束页码
|
1469
|
+
:type FileEndPageNumber: int
|
1426
1470
|
"""
|
1427
1471
|
self._FileType = None
|
1428
1472
|
self._FileUrl = None
|
1429
1473
|
self._FileContent = None
|
1474
|
+
self._DocumentParseConfig = None
|
1475
|
+
self._FileStartPageNumber = None
|
1476
|
+
self._FileEndPageNumber = None
|
1430
1477
|
|
1431
1478
|
@property
|
1432
1479
|
def FileType(self):
|
@@ -1468,11 +1515,49 @@ class ParseDocument(AbstractModel):
|
|
1468
1515
|
def FileContent(self, FileContent):
|
1469
1516
|
self._FileContent = FileContent
|
1470
1517
|
|
1518
|
+
@property
|
1519
|
+
def DocumentParseConfig(self):
|
1520
|
+
"""文档解析配置
|
1521
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.DocumentParseConfig`
|
1522
|
+
"""
|
1523
|
+
return self._DocumentParseConfig
|
1524
|
+
|
1525
|
+
@DocumentParseConfig.setter
|
1526
|
+
def DocumentParseConfig(self, DocumentParseConfig):
|
1527
|
+
self._DocumentParseConfig = DocumentParseConfig
|
1528
|
+
|
1529
|
+
@property
|
1530
|
+
def FileStartPageNumber(self):
|
1531
|
+
"""文档的起始页码
|
1532
|
+
:rtype: int
|
1533
|
+
"""
|
1534
|
+
return self._FileStartPageNumber
|
1535
|
+
|
1536
|
+
@FileStartPageNumber.setter
|
1537
|
+
def FileStartPageNumber(self, FileStartPageNumber):
|
1538
|
+
self._FileStartPageNumber = FileStartPageNumber
|
1539
|
+
|
1540
|
+
@property
|
1541
|
+
def FileEndPageNumber(self):
|
1542
|
+
"""文档的结束页码
|
1543
|
+
:rtype: int
|
1544
|
+
"""
|
1545
|
+
return self._FileEndPageNumber
|
1546
|
+
|
1547
|
+
@FileEndPageNumber.setter
|
1548
|
+
def FileEndPageNumber(self, FileEndPageNumber):
|
1549
|
+
self._FileEndPageNumber = FileEndPageNumber
|
1550
|
+
|
1471
1551
|
|
1472
1552
|
def _deserialize(self, params):
|
1473
1553
|
self._FileType = params.get("FileType")
|
1474
1554
|
self._FileUrl = params.get("FileUrl")
|
1475
1555
|
self._FileContent = params.get("FileContent")
|
1556
|
+
if params.get("DocumentParseConfig") is not None:
|
1557
|
+
self._DocumentParseConfig = DocumentParseConfig()
|
1558
|
+
self._DocumentParseConfig._deserialize(params.get("DocumentParseConfig"))
|
1559
|
+
self._FileStartPageNumber = params.get("FileStartPageNumber")
|
1560
|
+
self._FileEndPageNumber = params.get("FileEndPageNumber")
|
1476
1561
|
memeber_set = set(params.keys())
|
1477
1562
|
for name, value in vars(self).items():
|
1478
1563
|
property_name = name[1:]
|
@@ -917,6 +917,8 @@ class EssClient(AbstractClient):
|
|
917
917
|
def CreateFlowEvidenceReport(self, request):
|
918
918
|
"""提交申请出证报告任务并返回报告ID。
|
919
919
|
|
920
|
+
出证报告的示例样式可以参考 [出征报告.PDF](https://qcloudimg.tencent-cloud.cn/raw/a55214fcddaebbd1582cc9c57cc6cf1b.pdf)
|
921
|
+
|
920
922
|
注意:
|
921
923
|
<ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
|
922
924
|
<li>操作人必须是`发起方或者签署方企业的(非走授权书认证)法人或者超管`。</li>
|
@@ -4526,11 +4526,22 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
4526
4526
|
<li>SHORT_H5:生成H5跳转短链</li>
|
4527
4527
|
</ul>
|
4528
4528
|
:type Endpoint: str
|
4529
|
+
:param _BatchAuthMethod: 认证链接使用单链接还是多链接模式
|
4530
|
+
|
4531
|
+
<ul>
|
4532
|
+
<li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li>
|
4533
|
+
<li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li>
|
4534
|
+
</ul>
|
4535
|
+
|
4536
|
+
p.s.
|
4537
|
+
请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
4538
|
+
:type BatchAuthMethod: int
|
4529
4539
|
"""
|
4530
4540
|
self._Operator = None
|
4531
4541
|
self._RegistrationOrganizations = None
|
4532
4542
|
self._Agent = None
|
4533
4543
|
self._Endpoint = None
|
4544
|
+
self._BatchAuthMethod = None
|
4534
4545
|
|
4535
4546
|
@property
|
4536
4547
|
def Operator(self):
|
@@ -4587,6 +4598,25 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
4587
4598
|
def Endpoint(self, Endpoint):
|
4588
4599
|
self._Endpoint = Endpoint
|
4589
4600
|
|
4601
|
+
@property
|
4602
|
+
def BatchAuthMethod(self):
|
4603
|
+
"""认证链接使用单链接还是多链接模式
|
4604
|
+
|
4605
|
+
<ul>
|
4606
|
+
<li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li>
|
4607
|
+
<li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li>
|
4608
|
+
</ul>
|
4609
|
+
|
4610
|
+
p.s.
|
4611
|
+
请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
4612
|
+
:rtype: int
|
4613
|
+
"""
|
4614
|
+
return self._BatchAuthMethod
|
4615
|
+
|
4616
|
+
@BatchAuthMethod.setter
|
4617
|
+
def BatchAuthMethod(self, BatchAuthMethod):
|
4618
|
+
self._BatchAuthMethod = BatchAuthMethod
|
4619
|
+
|
4590
4620
|
|
4591
4621
|
def _deserialize(self, params):
|
4592
4622
|
if params.get("Operator") is not None:
|
@@ -4602,6 +4632,7 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
4602
4632
|
self._Agent = Agent()
|
4603
4633
|
self._Agent._deserialize(params.get("Agent"))
|
4604
4634
|
self._Endpoint = params.get("Endpoint")
|
4635
|
+
self._BatchAuthMethod = params.get("BatchAuthMethod")
|
4605
4636
|
memeber_set = set(params.keys())
|
4606
4637
|
for name, value in vars(self).items():
|
4607
4638
|
property_name = name[1:]
|
@@ -1760,6 +1760,8 @@ class EssbasicClient(AbstractClient):
|
|
1760
1760
|
def CreateChannelFlowEvidenceReport(self, request):
|
1761
1761
|
"""提交申请出证报告任务并返回报告ID。
|
1762
1762
|
|
1763
|
+
出证报告的示例样式可以参考 [出征报告.PDF](https://qcloudimg.tencent-cloud.cn/raw/a55214fcddaebbd1582cc9c57cc6cf1b.pdf)
|
1764
|
+
|
1763
1765
|
注意:
|
1764
1766
|
- 使用此功能**需搭配出证套餐** ,使用前请联系对接的客户经理沟通。
|
1765
1767
|
- 操作人必须是**发起方或者签署方企业的(非走授权书认证)法人或者超管**。
|
@@ -13922,10 +13922,13 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
13922
13922
|
|
13923
13923
|
|
13924
13924
|
:type Endpoint: str
|
13925
|
+
:param _BatchAuthMethod: 认证链接使用单链接还是多链接模式<ul><li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li><li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li></ul>p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
13926
|
+
:type BatchAuthMethod: int
|
13925
13927
|
"""
|
13926
13928
|
self._Agent = None
|
13927
13929
|
self._RegistrationOrganizations = None
|
13928
13930
|
self._Endpoint = None
|
13931
|
+
self._BatchAuthMethod = None
|
13929
13932
|
|
13930
13933
|
@property
|
13931
13934
|
def Agent(self):
|
@@ -13974,6 +13977,17 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
13974
13977
|
def Endpoint(self, Endpoint):
|
13975
13978
|
self._Endpoint = Endpoint
|
13976
13979
|
|
13980
|
+
@property
|
13981
|
+
def BatchAuthMethod(self):
|
13982
|
+
"""认证链接使用单链接还是多链接模式<ul><li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li><li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li></ul>p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
13983
|
+
:rtype: int
|
13984
|
+
"""
|
13985
|
+
return self._BatchAuthMethod
|
13986
|
+
|
13987
|
+
@BatchAuthMethod.setter
|
13988
|
+
def BatchAuthMethod(self, BatchAuthMethod):
|
13989
|
+
self._BatchAuthMethod = BatchAuthMethod
|
13990
|
+
|
13977
13991
|
|
13978
13992
|
def _deserialize(self, params):
|
13979
13993
|
if params.get("Agent") is not None:
|
@@ -13986,6 +14000,7 @@ class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
|
13986
14000
|
obj._deserialize(item)
|
13987
14001
|
self._RegistrationOrganizations.append(obj)
|
13988
14002
|
self._Endpoint = params.get("Endpoint")
|
14003
|
+
self._BatchAuthMethod = params.get("BatchAuthMethod")
|
13989
14004
|
memeber_set = set(params.keys())
|
13990
14005
|
for name, value in vars(self).items():
|
13991
14006
|
property_name = name[1:]
|
@@ -29548,7 +29563,7 @@ class SyncProxyOrganizationOperatorsRequest(AbstractModel):
|
|
29548
29563
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
29549
29564
|
:param _OperatorType: 操作类型,对应的操作
|
29550
29565
|
<ul><li> **CREATE** :新增员工</li>
|
29551
|
-
<li> **UPDATE**
|
29566
|
+
<li> **UPDATE** :修改员工(仅支持修改未实名员工的信息,如果已经实名并加入企业的员工基础信息修改需要到小程序中进行)</li>
|
29552
29567
|
<li> **RESIGN** :离职员工</li></ul>
|
29553
29568
|
:type OperatorType: str
|
29554
29569
|
:param _ProxyOrganizationOperators: 员工信息列表,最多支持200个
|
@@ -29583,7 +29598,7 @@ class SyncProxyOrganizationOperatorsRequest(AbstractModel):
|
|
29583
29598
|
def OperatorType(self):
|
29584
29599
|
"""操作类型,对应的操作
|
29585
29600
|
<ul><li> **CREATE** :新增员工</li>
|
29586
|
-
<li> **UPDATE**
|
29601
|
+
<li> **UPDATE** :修改员工(仅支持修改未实名员工的信息,如果已经实名并加入企业的员工基础信息修改需要到小程序中进行)</li>
|
29587
29602
|
<li> **RESIGN** :离职员工</li></ul>
|
29588
29603
|
:rtype: str
|
29589
29604
|
"""
|
@@ -39,6 +39,8 @@ class AndroidApp(AbstractModel):
|
|
39
39
|
:type UserId: str
|
40
40
|
:param _AppMode: 应用模式(NORMAL : 普通模式;ADVANCED : 高级模式)
|
41
41
|
:type AppMode: str
|
42
|
+
:param _UpdateState: 应用更新状态,取值:UPLOADING 上传中、CREATING 创建中、CREATE_FAIL 创建失败、CREATE_SUCCESS 创建成功、NORMAL 默认状态
|
43
|
+
:type UpdateState: str
|
42
44
|
"""
|
43
45
|
self._AndroidAppId = None
|
44
46
|
self._Name = None
|
@@ -47,6 +49,7 @@ class AndroidApp(AbstractModel):
|
|
47
49
|
self._CreateTime = None
|
48
50
|
self._UserId = None
|
49
51
|
self._AppMode = None
|
52
|
+
self._UpdateState = None
|
50
53
|
|
51
54
|
@property
|
52
55
|
def AndroidAppId(self):
|
@@ -125,6 +128,17 @@ class AndroidApp(AbstractModel):
|
|
125
128
|
def AppMode(self, AppMode):
|
126
129
|
self._AppMode = AppMode
|
127
130
|
|
131
|
+
@property
|
132
|
+
def UpdateState(self):
|
133
|
+
"""应用更新状态,取值:UPLOADING 上传中、CREATING 创建中、CREATE_FAIL 创建失败、CREATE_SUCCESS 创建成功、NORMAL 默认状态
|
134
|
+
:rtype: str
|
135
|
+
"""
|
136
|
+
return self._UpdateState
|
137
|
+
|
138
|
+
@UpdateState.setter
|
139
|
+
def UpdateState(self, UpdateState):
|
140
|
+
self._UpdateState = UpdateState
|
141
|
+
|
128
142
|
|
129
143
|
def _deserialize(self, params):
|
130
144
|
self._AndroidAppId = params.get("AndroidAppId")
|
@@ -139,6 +153,7 @@ class AndroidApp(AbstractModel):
|
|
139
153
|
self._CreateTime = params.get("CreateTime")
|
140
154
|
self._UserId = params.get("UserId")
|
141
155
|
self._AppMode = params.get("AppMode")
|
156
|
+
self._UpdateState = params.get("UpdateState")
|
142
157
|
memeber_set = set(params.keys())
|
143
158
|
for name, value in vars(self).items():
|
144
159
|
property_name = name[1:]
|
@@ -4120,7 +4135,7 @@ class DescribeAndroidAppsRequest(AbstractModel):
|
|
4120
4135
|
:type Limit: int
|
4121
4136
|
:param _AndroidAppIds: 应用ID数组
|
4122
4137
|
:type AndroidAppIds: list of str
|
4123
|
-
:param _Filters: 过滤条件,支持过滤的字段有:UserId
|
4138
|
+
:param _Filters: 过滤条件,支持过滤的字段有:UserId、State、UpdateState、Name、AppMode 。其中 Name 为模糊匹配,其他参数为精确匹配。
|
4124
4139
|
:type Filters: list of Filter
|
4125
4140
|
"""
|
4126
4141
|
self._Offset = None
|
@@ -4163,7 +4178,7 @@ class DescribeAndroidAppsRequest(AbstractModel):
|
|
4163
4178
|
|
4164
4179
|
@property
|
4165
4180
|
def Filters(self):
|
4166
|
-
"""过滤条件,支持过滤的字段有:UserId
|
4181
|
+
"""过滤条件,支持过滤的字段有:UserId、State、UpdateState、Name、AppMode 。其中 Name 为模糊匹配,其他参数为精确匹配。
|
4167
4182
|
:rtype: list of Filter
|
4168
4183
|
"""
|
4169
4184
|
return self._Filters
|
@@ -256,6 +256,29 @@ class IotexplorerClient(AbstractClient):
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
257
|
|
258
258
|
|
259
|
+
def CreateAISearchTaskAsync(self, request):
|
260
|
+
"""创建视频语义异步搜索任务
|
261
|
+
|
262
|
+
:param request: Request instance for CreateAISearchTaskAsync.
|
263
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateAISearchTaskAsyncRequest`
|
264
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateAISearchTaskAsyncResponse`
|
265
|
+
|
266
|
+
"""
|
267
|
+
try:
|
268
|
+
params = request._serialize()
|
269
|
+
headers = request.headers
|
270
|
+
body = self.call("CreateAISearchTaskAsync", params, headers=headers)
|
271
|
+
response = json.loads(body)
|
272
|
+
model = models.CreateAISearchTaskAsyncResponse()
|
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
|
+
|
259
282
|
def CreateBatchProduction(self, request):
|
260
283
|
"""用于新建批量生产设备
|
261
284
|
|
@@ -969,6 +992,29 @@ class IotexplorerClient(AbstractClient):
|
|
969
992
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
970
993
|
|
971
994
|
|
995
|
+
def DescribeAISearchTaskAsync(self, request):
|
996
|
+
"""获取视频语义异步搜索任务详情
|
997
|
+
|
998
|
+
:param request: Request instance for DescribeAISearchTaskAsync.
|
999
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeAISearchTaskAsyncRequest`
|
1000
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeAISearchTaskAsyncResponse`
|
1001
|
+
|
1002
|
+
"""
|
1003
|
+
try:
|
1004
|
+
params = request._serialize()
|
1005
|
+
headers = request.headers
|
1006
|
+
body = self.call("DescribeAISearchTaskAsync", params, headers=headers)
|
1007
|
+
response = json.loads(body)
|
1008
|
+
model = models.DescribeAISearchTaskAsyncResponse()
|
1009
|
+
model._deserialize(response["Response"])
|
1010
|
+
return model
|
1011
|
+
except Exception as e:
|
1012
|
+
if isinstance(e, TencentCloudSDKException):
|
1013
|
+
raise
|
1014
|
+
else:
|
1015
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1016
|
+
|
1017
|
+
|
972
1018
|
def DescribeActivateDevice(self, request):
|
973
1019
|
"""获取设备激活详情
|
974
1020
|
|
@@ -18,6 +18,77 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AISearchInfo(AbstractModel):
|
22
|
+
"""AI视频搜索结果结构体。
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Summary: 基于搜索结果的总结
|
29
|
+
:type Summary: str
|
30
|
+
:param _Targets: 视频结果集
|
31
|
+
:type Targets: list of TargetInfo
|
32
|
+
:param _VideoURL: 视频回放URL
|
33
|
+
:type VideoURL: str
|
34
|
+
"""
|
35
|
+
self._Summary = None
|
36
|
+
self._Targets = None
|
37
|
+
self._VideoURL = None
|
38
|
+
|
39
|
+
@property
|
40
|
+
def Summary(self):
|
41
|
+
"""基于搜索结果的总结
|
42
|
+
:rtype: str
|
43
|
+
"""
|
44
|
+
return self._Summary
|
45
|
+
|
46
|
+
@Summary.setter
|
47
|
+
def Summary(self, Summary):
|
48
|
+
self._Summary = Summary
|
49
|
+
|
50
|
+
@property
|
51
|
+
def Targets(self):
|
52
|
+
"""视频结果集
|
53
|
+
:rtype: list of TargetInfo
|
54
|
+
"""
|
55
|
+
return self._Targets
|
56
|
+
|
57
|
+
@Targets.setter
|
58
|
+
def Targets(self, Targets):
|
59
|
+
self._Targets = Targets
|
60
|
+
|
61
|
+
@property
|
62
|
+
def VideoURL(self):
|
63
|
+
"""视频回放URL
|
64
|
+
:rtype: str
|
65
|
+
"""
|
66
|
+
return self._VideoURL
|
67
|
+
|
68
|
+
@VideoURL.setter
|
69
|
+
def VideoURL(self, VideoURL):
|
70
|
+
self._VideoURL = VideoURL
|
71
|
+
|
72
|
+
|
73
|
+
def _deserialize(self, params):
|
74
|
+
self._Summary = params.get("Summary")
|
75
|
+
if params.get("Targets") is not None:
|
76
|
+
self._Targets = []
|
77
|
+
for item in params.get("Targets"):
|
78
|
+
obj = TargetInfo()
|
79
|
+
obj._deserialize(item)
|
80
|
+
self._Targets.append(obj)
|
81
|
+
self._VideoURL = params.get("VideoURL")
|
82
|
+
memeber_set = set(params.keys())
|
83
|
+
for name, value in vars(self).items():
|
84
|
+
property_name = name[1:]
|
85
|
+
if property_name in memeber_set:
|
86
|
+
memeber_set.remove(property_name)
|
87
|
+
if len(memeber_set) > 0:
|
88
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
89
|
+
|
90
|
+
|
91
|
+
|
21
92
|
class ActivateDeviceInfo(AbstractModel):
|
22
93
|
"""设备激活详情信息
|
23
94
|
|
@@ -3011,6 +3082,145 @@ class CountDataInfo(AbstractModel):
|
|
3011
3082
|
|
3012
3083
|
|
3013
3084
|
|
3085
|
+
class CreateAISearchTaskAsyncRequest(AbstractModel):
|
3086
|
+
"""CreateAISearchTaskAsync请求参数结构体
|
3087
|
+
|
3088
|
+
"""
|
3089
|
+
|
3090
|
+
def __init__(self):
|
3091
|
+
r"""
|
3092
|
+
:param _ProductId: 产品ID
|
3093
|
+
:type ProductId: str
|
3094
|
+
:param _DeviceName: 设备名称
|
3095
|
+
:type DeviceName: str
|
3096
|
+
:param _Query: 自然语言查询
|
3097
|
+
:type Query: str
|
3098
|
+
:param _SummaryLang: 搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
3099
|
+
:type SummaryLang: str
|
3100
|
+
:param _ChannelId: 通道ID
|
3101
|
+
:type ChannelId: int
|
3102
|
+
"""
|
3103
|
+
self._ProductId = None
|
3104
|
+
self._DeviceName = None
|
3105
|
+
self._Query = None
|
3106
|
+
self._SummaryLang = None
|
3107
|
+
self._ChannelId = None
|
3108
|
+
|
3109
|
+
@property
|
3110
|
+
def ProductId(self):
|
3111
|
+
"""产品ID
|
3112
|
+
:rtype: str
|
3113
|
+
"""
|
3114
|
+
return self._ProductId
|
3115
|
+
|
3116
|
+
@ProductId.setter
|
3117
|
+
def ProductId(self, ProductId):
|
3118
|
+
self._ProductId = ProductId
|
3119
|
+
|
3120
|
+
@property
|
3121
|
+
def DeviceName(self):
|
3122
|
+
"""设备名称
|
3123
|
+
:rtype: str
|
3124
|
+
"""
|
3125
|
+
return self._DeviceName
|
3126
|
+
|
3127
|
+
@DeviceName.setter
|
3128
|
+
def DeviceName(self, DeviceName):
|
3129
|
+
self._DeviceName = DeviceName
|
3130
|
+
|
3131
|
+
@property
|
3132
|
+
def Query(self):
|
3133
|
+
"""自然语言查询
|
3134
|
+
:rtype: str
|
3135
|
+
"""
|
3136
|
+
return self._Query
|
3137
|
+
|
3138
|
+
@Query.setter
|
3139
|
+
def Query(self, Query):
|
3140
|
+
self._Query = Query
|
3141
|
+
|
3142
|
+
@property
|
3143
|
+
def SummaryLang(self):
|
3144
|
+
"""搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
3145
|
+
:rtype: str
|
3146
|
+
"""
|
3147
|
+
return self._SummaryLang
|
3148
|
+
|
3149
|
+
@SummaryLang.setter
|
3150
|
+
def SummaryLang(self, SummaryLang):
|
3151
|
+
self._SummaryLang = SummaryLang
|
3152
|
+
|
3153
|
+
@property
|
3154
|
+
def ChannelId(self):
|
3155
|
+
"""通道ID
|
3156
|
+
:rtype: int
|
3157
|
+
"""
|
3158
|
+
return self._ChannelId
|
3159
|
+
|
3160
|
+
@ChannelId.setter
|
3161
|
+
def ChannelId(self, ChannelId):
|
3162
|
+
self._ChannelId = ChannelId
|
3163
|
+
|
3164
|
+
|
3165
|
+
def _deserialize(self, params):
|
3166
|
+
self._ProductId = params.get("ProductId")
|
3167
|
+
self._DeviceName = params.get("DeviceName")
|
3168
|
+
self._Query = params.get("Query")
|
3169
|
+
self._SummaryLang = params.get("SummaryLang")
|
3170
|
+
self._ChannelId = params.get("ChannelId")
|
3171
|
+
memeber_set = set(params.keys())
|
3172
|
+
for name, value in vars(self).items():
|
3173
|
+
property_name = name[1:]
|
3174
|
+
if property_name in memeber_set:
|
3175
|
+
memeber_set.remove(property_name)
|
3176
|
+
if len(memeber_set) > 0:
|
3177
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3178
|
+
|
3179
|
+
|
3180
|
+
|
3181
|
+
class CreateAISearchTaskAsyncResponse(AbstractModel):
|
3182
|
+
"""CreateAISearchTaskAsync返回参数结构体
|
3183
|
+
|
3184
|
+
"""
|
3185
|
+
|
3186
|
+
def __init__(self):
|
3187
|
+
r"""
|
3188
|
+
:param _TaskId: 任务ID
|
3189
|
+
:type TaskId: str
|
3190
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3191
|
+
:type RequestId: str
|
3192
|
+
"""
|
3193
|
+
self._TaskId = None
|
3194
|
+
self._RequestId = None
|
3195
|
+
|
3196
|
+
@property
|
3197
|
+
def TaskId(self):
|
3198
|
+
"""任务ID
|
3199
|
+
:rtype: str
|
3200
|
+
"""
|
3201
|
+
return self._TaskId
|
3202
|
+
|
3203
|
+
@TaskId.setter
|
3204
|
+
def TaskId(self, TaskId):
|
3205
|
+
self._TaskId = TaskId
|
3206
|
+
|
3207
|
+
@property
|
3208
|
+
def RequestId(self):
|
3209
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3210
|
+
:rtype: str
|
3211
|
+
"""
|
3212
|
+
return self._RequestId
|
3213
|
+
|
3214
|
+
@RequestId.setter
|
3215
|
+
def RequestId(self, RequestId):
|
3216
|
+
self._RequestId = RequestId
|
3217
|
+
|
3218
|
+
|
3219
|
+
def _deserialize(self, params):
|
3220
|
+
self._TaskId = params.get("TaskId")
|
3221
|
+
self._RequestId = params.get("RequestId")
|
3222
|
+
|
3223
|
+
|
3014
3224
|
class CreateBatchProductionRequest(AbstractModel):
|
3015
3225
|
"""CreateBatchProduction请求参数结构体
|
3016
3226
|
|
@@ -7043,6 +7253,102 @@ class DeleteTopicRuleResponse(AbstractModel):
|
|
7043
7253
|
self._RequestId = params.get("RequestId")
|
7044
7254
|
|
7045
7255
|
|
7256
|
+
class DescribeAISearchTaskAsyncRequest(AbstractModel):
|
7257
|
+
"""DescribeAISearchTaskAsync请求参数结构体
|
7258
|
+
|
7259
|
+
"""
|
7260
|
+
|
7261
|
+
def __init__(self):
|
7262
|
+
r"""
|
7263
|
+
:param _TaskId: 任务ID
|
7264
|
+
:type TaskId: str
|
7265
|
+
"""
|
7266
|
+
self._TaskId = None
|
7267
|
+
|
7268
|
+
@property
|
7269
|
+
def TaskId(self):
|
7270
|
+
"""任务ID
|
7271
|
+
:rtype: str
|
7272
|
+
"""
|
7273
|
+
return self._TaskId
|
7274
|
+
|
7275
|
+
@TaskId.setter
|
7276
|
+
def TaskId(self, TaskId):
|
7277
|
+
self._TaskId = TaskId
|
7278
|
+
|
7279
|
+
|
7280
|
+
def _deserialize(self, params):
|
7281
|
+
self._TaskId = params.get("TaskId")
|
7282
|
+
memeber_set = set(params.keys())
|
7283
|
+
for name, value in vars(self).items():
|
7284
|
+
property_name = name[1:]
|
7285
|
+
if property_name in memeber_set:
|
7286
|
+
memeber_set.remove(property_name)
|
7287
|
+
if len(memeber_set) > 0:
|
7288
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7289
|
+
|
7290
|
+
|
7291
|
+
|
7292
|
+
class DescribeAISearchTaskAsyncResponse(AbstractModel):
|
7293
|
+
"""DescribeAISearchTaskAsync返回参数结构体
|
7294
|
+
|
7295
|
+
"""
|
7296
|
+
|
7297
|
+
def __init__(self):
|
7298
|
+
r"""
|
7299
|
+
:param _Status: 状态。0-初始状态;1-正在处理;2-处理失败;3-成功
|
7300
|
+
:type Status: int
|
7301
|
+
:param _Data: 任务处理结果数据
|
7302
|
+
:type Data: :class:`tencentcloud.iotexplorer.v20190423.models.AISearchInfo`
|
7303
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7304
|
+
:type RequestId: str
|
7305
|
+
"""
|
7306
|
+
self._Status = None
|
7307
|
+
self._Data = None
|
7308
|
+
self._RequestId = None
|
7309
|
+
|
7310
|
+
@property
|
7311
|
+
def Status(self):
|
7312
|
+
"""状态。0-初始状态;1-正在处理;2-处理失败;3-成功
|
7313
|
+
:rtype: int
|
7314
|
+
"""
|
7315
|
+
return self._Status
|
7316
|
+
|
7317
|
+
@Status.setter
|
7318
|
+
def Status(self, Status):
|
7319
|
+
self._Status = Status
|
7320
|
+
|
7321
|
+
@property
|
7322
|
+
def Data(self):
|
7323
|
+
"""任务处理结果数据
|
7324
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.AISearchInfo`
|
7325
|
+
"""
|
7326
|
+
return self._Data
|
7327
|
+
|
7328
|
+
@Data.setter
|
7329
|
+
def Data(self, Data):
|
7330
|
+
self._Data = Data
|
7331
|
+
|
7332
|
+
@property
|
7333
|
+
def RequestId(self):
|
7334
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7335
|
+
:rtype: str
|
7336
|
+
"""
|
7337
|
+
return self._RequestId
|
7338
|
+
|
7339
|
+
@RequestId.setter
|
7340
|
+
def RequestId(self, RequestId):
|
7341
|
+
self._RequestId = RequestId
|
7342
|
+
|
7343
|
+
|
7344
|
+
def _deserialize(self, params):
|
7345
|
+
self._Status = params.get("Status")
|
7346
|
+
if params.get("Data") is not None:
|
7347
|
+
self._Data = AISearchInfo()
|
7348
|
+
self._Data._deserialize(params.get("Data"))
|
7349
|
+
self._RequestId = params.get("RequestId")
|
7350
|
+
|
7351
|
+
|
7046
7352
|
class DescribeActivateDeviceRequest(AbstractModel):
|
7047
7353
|
"""DescribeActivateDevice请求参数结构体
|
7048
7354
|
|