tencentcloud-sdk-python-iotexplorer 3.1.148__tar.gz → 3.1.162__tar.gz
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_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/iotexplorer/v20190423/models.py +337 -114
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.162/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.148/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.162
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.162}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.162,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -110,6 +110,9 @@ FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONALREADYEXISTS = 'FailedOperation.SeePrePai
|
|
|
110
110
|
# 该设备已开通的 TWeSee 算法预付费订阅与正在开通的 ServiceType 冲突
|
|
111
111
|
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONCONFLICTS = 'FailedOperation.SeePrePaidSubscriptionConflicts'
|
|
112
112
|
|
|
113
|
+
# TWeSee 预付费订阅开通时长超过上限
|
|
114
|
+
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONDURATIONEXCEEDED = 'FailedOperation.SeePrePaidSubscriptionDurationExceeded'
|
|
115
|
+
|
|
113
116
|
# TWeSee 预付费订阅生效时长不能超过已开通云存套餐的生效时长
|
|
114
117
|
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONENDTIMEEXCEEDED = 'FailedOperation.SeePrePaidSubscriptionEndTimeExceeded'
|
|
115
118
|
|
|
@@ -1513,6 +1513,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1513
1513
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1514
1514
|
|
|
1515
1515
|
|
|
1516
|
+
def DeleteTWeSeeTasksByCondition(self, request):
|
|
1517
|
+
r"""按条件删除指定设备和算法类目下的 TWeSee 任务及其关联数据。
|
|
1518
|
+
|
|
1519
|
+
:param request: Request instance for DeleteTWeSeeTasksByCondition.
|
|
1520
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteTWeSeeTasksByConditionRequest`
|
|
1521
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteTWeSeeTasksByConditionResponse`
|
|
1522
|
+
|
|
1523
|
+
"""
|
|
1524
|
+
try:
|
|
1525
|
+
params = request._serialize()
|
|
1526
|
+
headers = request.headers
|
|
1527
|
+
body = self.call("DeleteTWeSeeTasksByCondition", params, headers=headers)
|
|
1528
|
+
response = json.loads(body)
|
|
1529
|
+
model = models.DeleteTWeSeeTasksByConditionResponse()
|
|
1530
|
+
model._deserialize(response["Response"])
|
|
1531
|
+
return model
|
|
1532
|
+
except Exception as e:
|
|
1533
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1534
|
+
raise
|
|
1535
|
+
else:
|
|
1536
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1537
|
+
|
|
1538
|
+
|
|
1516
1539
|
def DeleteTWeTalkAIBot(self, request):
|
|
1517
1540
|
r"""用于删除TWeTalk智能体。
|
|
1518
1541
|
|
|
@@ -1197,6 +1197,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
1197
1197
|
|
|
1198
1198
|
return await self.call_and_deserialize(**kwargs)
|
|
1199
1199
|
|
|
1200
|
+
async def DeleteTWeSeeTasksByCondition(
|
|
1201
|
+
self,
|
|
1202
|
+
request: models.DeleteTWeSeeTasksByConditionRequest,
|
|
1203
|
+
opts: Dict = None,
|
|
1204
|
+
) -> models.DeleteTWeSeeTasksByConditionResponse:
|
|
1205
|
+
"""
|
|
1206
|
+
按条件删除指定设备和算法类目下的 TWeSee 任务及其关联数据。
|
|
1207
|
+
"""
|
|
1208
|
+
|
|
1209
|
+
kwargs = {}
|
|
1210
|
+
kwargs["action"] = "DeleteTWeSeeTasksByCondition"
|
|
1211
|
+
kwargs["params"] = request._serialize()
|
|
1212
|
+
kwargs["resp_cls"] = models.DeleteTWeSeeTasksByConditionResponse
|
|
1213
|
+
kwargs["headers"] = request.headers
|
|
1214
|
+
kwargs["opts"] = opts or {}
|
|
1215
|
+
|
|
1216
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1217
|
+
|
|
1200
1218
|
async def DeleteTWeTalkAIBot(
|
|
1201
1219
|
self,
|
|
1202
1220
|
request: models.DeleteTWeTalkAIBotRequest,
|
|
@@ -7599,6 +7599,8 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7599
7599
|
:type StorageRegion: str
|
|
7600
7600
|
:param _UploadMethod: <p>上传方式</p><p>枚举值:</p><ul><li>single: 单文件上传</li><li>manifest: 上传源文件与 Manifest(先上传多个源文件,然后上传 Manifest JSON 触发分析)</li></ul><p>默认值:single</p>
|
|
7601
7601
|
:type UploadMethod: str
|
|
7602
|
+
:param _UploadTarget: <p>上传目标</p><p>枚举值:</p><ul><li>session: 一次性上传会话(默认,通过入参传递 ComprehensionConfig 等上传参数)</li><li>stream: 上传到指定设备(加载对应设备的 ComprehensionConfig 等配置)</li></ul><p>默认值:session</p>
|
|
7603
|
+
:type UploadTarget: str
|
|
7602
7604
|
"""
|
|
7603
7605
|
self._ProductId = None
|
|
7604
7606
|
self._DeviceName = None
|
|
@@ -7611,6 +7613,7 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7611
7613
|
self._MaxInvokeCount = None
|
|
7612
7614
|
self._StorageRegion = None
|
|
7613
7615
|
self._UploadMethod = None
|
|
7616
|
+
self._UploadTarget = None
|
|
7614
7617
|
|
|
7615
7618
|
@property
|
|
7616
7619
|
def ProductId(self):
|
|
@@ -7733,6 +7736,17 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7733
7736
|
def UploadMethod(self, UploadMethod):
|
|
7734
7737
|
self._UploadMethod = UploadMethod
|
|
7735
7738
|
|
|
7739
|
+
@property
|
|
7740
|
+
def UploadTarget(self):
|
|
7741
|
+
r"""<p>上传目标</p><p>枚举值:</p><ul><li>session: 一次性上传会话(默认,通过入参传递 ComprehensionConfig 等上传参数)</li><li>stream: 上传到指定设备(加载对应设备的 ComprehensionConfig 等配置)</li></ul><p>默认值:session</p>
|
|
7742
|
+
:rtype: str
|
|
7743
|
+
"""
|
|
7744
|
+
return self._UploadTarget
|
|
7745
|
+
|
|
7746
|
+
@UploadTarget.setter
|
|
7747
|
+
def UploadTarget(self, UploadTarget):
|
|
7748
|
+
self._UploadTarget = UploadTarget
|
|
7749
|
+
|
|
7736
7750
|
|
|
7737
7751
|
def _deserialize(self, params):
|
|
7738
7752
|
self._ProductId = params.get("ProductId")
|
|
@@ -7748,6 +7762,7 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7748
7762
|
self._MaxInvokeCount = params.get("MaxInvokeCount")
|
|
7749
7763
|
self._StorageRegion = params.get("StorageRegion")
|
|
7750
7764
|
self._UploadMethod = params.get("UploadMethod")
|
|
7765
|
+
self._UploadTarget = params.get("UploadTarget")
|
|
7751
7766
|
memeber_set = set(params.keys())
|
|
7752
7767
|
for name, value in vars(self).items():
|
|
7753
7768
|
property_name = name[1:]
|
|
@@ -11435,6 +11450,135 @@ class DeleteTWeSeeCallbackResponse(AbstractModel):
|
|
|
11435
11450
|
self._RequestId = params.get("RequestId")
|
|
11436
11451
|
|
|
11437
11452
|
|
|
11453
|
+
class DeleteTWeSeeTasksByConditionRequest(AbstractModel):
|
|
11454
|
+
r"""DeleteTWeSeeTasksByCondition请求参数结构体
|
|
11455
|
+
|
|
11456
|
+
"""
|
|
11457
|
+
|
|
11458
|
+
def __init__(self):
|
|
11459
|
+
r"""
|
|
11460
|
+
:param _ProductId: <p>产品 ID</p>
|
|
11461
|
+
:type ProductId: str
|
|
11462
|
+
:param _DeviceName: <p>设备名称</p>
|
|
11463
|
+
:type DeviceName: str
|
|
11464
|
+
:param _ServiceCategory: <p>算法类目。</p><p>枚举值:</p><ul><li>COMPREHENSION: 视觉理解</li><li>HIGHLIGHT: 视频浓缩</li></ul>
|
|
11465
|
+
:type ServiceCategory: str
|
|
11466
|
+
:param _Conditions: <p>任务删除条件,至少传入一个条件。不同条件之间为 AND 关系,同一条件的 Values 之间为 OR 关系。</p>
|
|
11467
|
+
:type Conditions: list of SeeDeleteTaskCondition
|
|
11468
|
+
:param _ChannelId: <p>通道 ID</p><p>默认值:0</p>
|
|
11469
|
+
:type ChannelId: int
|
|
11470
|
+
"""
|
|
11471
|
+
self._ProductId = None
|
|
11472
|
+
self._DeviceName = None
|
|
11473
|
+
self._ServiceCategory = None
|
|
11474
|
+
self._Conditions = None
|
|
11475
|
+
self._ChannelId = None
|
|
11476
|
+
|
|
11477
|
+
@property
|
|
11478
|
+
def ProductId(self):
|
|
11479
|
+
r"""<p>产品 ID</p>
|
|
11480
|
+
:rtype: str
|
|
11481
|
+
"""
|
|
11482
|
+
return self._ProductId
|
|
11483
|
+
|
|
11484
|
+
@ProductId.setter
|
|
11485
|
+
def ProductId(self, ProductId):
|
|
11486
|
+
self._ProductId = ProductId
|
|
11487
|
+
|
|
11488
|
+
@property
|
|
11489
|
+
def DeviceName(self):
|
|
11490
|
+
r"""<p>设备名称</p>
|
|
11491
|
+
:rtype: str
|
|
11492
|
+
"""
|
|
11493
|
+
return self._DeviceName
|
|
11494
|
+
|
|
11495
|
+
@DeviceName.setter
|
|
11496
|
+
def DeviceName(self, DeviceName):
|
|
11497
|
+
self._DeviceName = DeviceName
|
|
11498
|
+
|
|
11499
|
+
@property
|
|
11500
|
+
def ServiceCategory(self):
|
|
11501
|
+
r"""<p>算法类目。</p><p>枚举值:</p><ul><li>COMPREHENSION: 视觉理解</li><li>HIGHLIGHT: 视频浓缩</li></ul>
|
|
11502
|
+
:rtype: str
|
|
11503
|
+
"""
|
|
11504
|
+
return self._ServiceCategory
|
|
11505
|
+
|
|
11506
|
+
@ServiceCategory.setter
|
|
11507
|
+
def ServiceCategory(self, ServiceCategory):
|
|
11508
|
+
self._ServiceCategory = ServiceCategory
|
|
11509
|
+
|
|
11510
|
+
@property
|
|
11511
|
+
def Conditions(self):
|
|
11512
|
+
r"""<p>任务删除条件,至少传入一个条件。不同条件之间为 AND 关系,同一条件的 Values 之间为 OR 关系。</p>
|
|
11513
|
+
:rtype: list of SeeDeleteTaskCondition
|
|
11514
|
+
"""
|
|
11515
|
+
return self._Conditions
|
|
11516
|
+
|
|
11517
|
+
@Conditions.setter
|
|
11518
|
+
def Conditions(self, Conditions):
|
|
11519
|
+
self._Conditions = Conditions
|
|
11520
|
+
|
|
11521
|
+
@property
|
|
11522
|
+
def ChannelId(self):
|
|
11523
|
+
r"""<p>通道 ID</p><p>默认值:0</p>
|
|
11524
|
+
:rtype: int
|
|
11525
|
+
"""
|
|
11526
|
+
return self._ChannelId
|
|
11527
|
+
|
|
11528
|
+
@ChannelId.setter
|
|
11529
|
+
def ChannelId(self, ChannelId):
|
|
11530
|
+
self._ChannelId = ChannelId
|
|
11531
|
+
|
|
11532
|
+
|
|
11533
|
+
def _deserialize(self, params):
|
|
11534
|
+
self._ProductId = params.get("ProductId")
|
|
11535
|
+
self._DeviceName = params.get("DeviceName")
|
|
11536
|
+
self._ServiceCategory = params.get("ServiceCategory")
|
|
11537
|
+
if params.get("Conditions") is not None:
|
|
11538
|
+
self._Conditions = []
|
|
11539
|
+
for item in params.get("Conditions"):
|
|
11540
|
+
obj = SeeDeleteTaskCondition()
|
|
11541
|
+
obj._deserialize(item)
|
|
11542
|
+
self._Conditions.append(obj)
|
|
11543
|
+
self._ChannelId = params.get("ChannelId")
|
|
11544
|
+
memeber_set = set(params.keys())
|
|
11545
|
+
for name, value in vars(self).items():
|
|
11546
|
+
property_name = name[1:]
|
|
11547
|
+
if property_name in memeber_set:
|
|
11548
|
+
memeber_set.remove(property_name)
|
|
11549
|
+
if len(memeber_set) > 0:
|
|
11550
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11551
|
+
|
|
11552
|
+
|
|
11553
|
+
|
|
11554
|
+
class DeleteTWeSeeTasksByConditionResponse(AbstractModel):
|
|
11555
|
+
r"""DeleteTWeSeeTasksByCondition返回参数结构体
|
|
11556
|
+
|
|
11557
|
+
"""
|
|
11558
|
+
|
|
11559
|
+
def __init__(self):
|
|
11560
|
+
r"""
|
|
11561
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11562
|
+
:type RequestId: str
|
|
11563
|
+
"""
|
|
11564
|
+
self._RequestId = None
|
|
11565
|
+
|
|
11566
|
+
@property
|
|
11567
|
+
def RequestId(self):
|
|
11568
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11569
|
+
:rtype: str
|
|
11570
|
+
"""
|
|
11571
|
+
return self._RequestId
|
|
11572
|
+
|
|
11573
|
+
@RequestId.setter
|
|
11574
|
+
def RequestId(self, RequestId):
|
|
11575
|
+
self._RequestId = RequestId
|
|
11576
|
+
|
|
11577
|
+
|
|
11578
|
+
def _deserialize(self, params):
|
|
11579
|
+
self._RequestId = params.get("RequestId")
|
|
11580
|
+
|
|
11581
|
+
|
|
11438
11582
|
class DeleteTWeTalkAIBotRequest(AbstractModel):
|
|
11439
11583
|
r"""DeleteTWeTalkAIBot请求参数结构体
|
|
11440
11584
|
|
|
@@ -32174,42 +32318,30 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32174
32318
|
|
|
32175
32319
|
def __init__(self):
|
|
32176
32320
|
r"""
|
|
32177
|
-
:param _ProductId:
|
|
32321
|
+
:param _ProductId: <p>产品 ID</p>
|
|
32178
32322
|
:type ProductId: str
|
|
32179
|
-
:param _DeviceName:
|
|
32323
|
+
:param _DeviceName: <p>设备名称</p>
|
|
32180
32324
|
:type DeviceName: str
|
|
32181
|
-
:param _ServiceCategory:
|
|
32182
|
-
- `COMPREHENSION`:视觉理解
|
|
32183
|
-
- `HIGHLIGHT`:视频浓缩
|
|
32325
|
+
:param _ServiceCategory: <p>算法类目。可选值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32184
32326
|
:type ServiceCategory: str
|
|
32185
|
-
:param _Limit:
|
|
32327
|
+
:param _Limit: <p>分页拉取数量</p>
|
|
32186
32328
|
:type Limit: int
|
|
32187
|
-
:param _Offset:
|
|
32329
|
+
:param _Offset: <p>分页拉取偏移</p>
|
|
32188
32330
|
:type Offset: int
|
|
32189
|
-
:param _ServiceTypes:
|
|
32190
|
-
|
|
32191
|
-
当 ServiceCategory 为 `COMPREHENSION` 时,可选值包括:
|
|
32192
|
-
- `VID_COMP`:视频理解
|
|
32193
|
-
- `IMG_COMP`:图片理解
|
|
32194
|
-
- `CONT_PERSON_MOTIONLESS`:静姿检测
|
|
32195
|
-
|
|
32196
|
-
当 ServiceCategory 为 `HIGHLIGHT` 时,可选值包括:
|
|
32197
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
32331
|
+
:param _ServiceTypes: <p>算法类型。</p><p>当 ServiceCategory 为 <code>COMPREHENSION</code> 时,可选值包括:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>CONT_PERSON_MOTIONLESS</code>:静姿检测</li></ul><p>当 ServiceCategory 为 <code>HIGHLIGHT</code> 时,可选值包括:</p><ul><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32198
32332
|
:type ServiceTypes: list of str
|
|
32199
|
-
:param _ChannelId:
|
|
32333
|
+
:param _ChannelId: <p>通道 ID</p>
|
|
32200
32334
|
:type ChannelId: int
|
|
32201
|
-
:param _StartTimeMs:
|
|
32335
|
+
:param _StartTimeMs: <p>查询任务时间范围的起始时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32202
32336
|
:type StartTimeMs: int
|
|
32203
|
-
:param _EndTimeMs:
|
|
32337
|
+
:param _EndTimeMs: <p>查询任务时间范围的结束时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32204
32338
|
:type EndTimeMs: int
|
|
32205
|
-
:param _Status:
|
|
32206
|
-
|
|
32207
|
-
- `1`:失败
|
|
32208
|
-
- `2`:空结果
|
|
32209
|
-
- `3`:有效结果
|
|
32339
|
+
:param _Status: <p>要查询的任务的状态条件。不传则不按照状态过滤,可选值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li></ul>
|
|
32210
32340
|
:type Status: int
|
|
32211
|
-
:param _FileURLExpireTime:
|
|
32341
|
+
:param _FileURLExpireTime: <p>下载 URL 的过期时间(秒级 UNIX 时间戳)。若传入该参数,则响应中将包含所有文件的下载 URL</p>
|
|
32212
32342
|
:type FileURLExpireTime: int
|
|
32343
|
+
:param _Filters: <p>任务结果过滤条件</p>
|
|
32344
|
+
:type Filters: list of VisionRecognitionTaskFilter
|
|
32213
32345
|
"""
|
|
32214
32346
|
self._ProductId = None
|
|
32215
32347
|
self._DeviceName = None
|
|
@@ -32222,10 +32354,11 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32222
32354
|
self._EndTimeMs = None
|
|
32223
32355
|
self._Status = None
|
|
32224
32356
|
self._FileURLExpireTime = None
|
|
32357
|
+
self._Filters = None
|
|
32225
32358
|
|
|
32226
32359
|
@property
|
|
32227
32360
|
def ProductId(self):
|
|
32228
|
-
r"""
|
|
32361
|
+
r"""<p>产品 ID</p>
|
|
32229
32362
|
:rtype: str
|
|
32230
32363
|
"""
|
|
32231
32364
|
return self._ProductId
|
|
@@ -32236,7 +32369,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32236
32369
|
|
|
32237
32370
|
@property
|
|
32238
32371
|
def DeviceName(self):
|
|
32239
|
-
r"""
|
|
32372
|
+
r"""<p>设备名称</p>
|
|
32240
32373
|
:rtype: str
|
|
32241
32374
|
"""
|
|
32242
32375
|
return self._DeviceName
|
|
@@ -32247,9 +32380,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32247
32380
|
|
|
32248
32381
|
@property
|
|
32249
32382
|
def ServiceCategory(self):
|
|
32250
|
-
r"""
|
|
32251
|
-
- `COMPREHENSION`:视觉理解
|
|
32252
|
-
- `HIGHLIGHT`:视频浓缩
|
|
32383
|
+
r"""<p>算法类目。可选值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32253
32384
|
:rtype: str
|
|
32254
32385
|
"""
|
|
32255
32386
|
return self._ServiceCategory
|
|
@@ -32260,7 +32391,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32260
32391
|
|
|
32261
32392
|
@property
|
|
32262
32393
|
def Limit(self):
|
|
32263
|
-
r"""
|
|
32394
|
+
r"""<p>分页拉取数量</p>
|
|
32264
32395
|
:rtype: int
|
|
32265
32396
|
"""
|
|
32266
32397
|
return self._Limit
|
|
@@ -32271,7 +32402,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32271
32402
|
|
|
32272
32403
|
@property
|
|
32273
32404
|
def Offset(self):
|
|
32274
|
-
r"""
|
|
32405
|
+
r"""<p>分页拉取偏移</p>
|
|
32275
32406
|
:rtype: int
|
|
32276
32407
|
"""
|
|
32277
32408
|
return self._Offset
|
|
@@ -32282,15 +32413,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32282
32413
|
|
|
32283
32414
|
@property
|
|
32284
32415
|
def ServiceTypes(self):
|
|
32285
|
-
r"""
|
|
32286
|
-
|
|
32287
|
-
当 ServiceCategory 为 `COMPREHENSION` 时,可选值包括:
|
|
32288
|
-
- `VID_COMP`:视频理解
|
|
32289
|
-
- `IMG_COMP`:图片理解
|
|
32290
|
-
- `CONT_PERSON_MOTIONLESS`:静姿检测
|
|
32291
|
-
|
|
32292
|
-
当 ServiceCategory 为 `HIGHLIGHT` 时,可选值包括:
|
|
32293
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
32416
|
+
r"""<p>算法类型。</p><p>当 ServiceCategory 为 <code>COMPREHENSION</code> 时,可选值包括:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>CONT_PERSON_MOTIONLESS</code>:静姿检测</li></ul><p>当 ServiceCategory 为 <code>HIGHLIGHT</code> 时,可选值包括:</p><ul><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32294
32417
|
:rtype: list of str
|
|
32295
32418
|
"""
|
|
32296
32419
|
return self._ServiceTypes
|
|
@@ -32301,7 +32424,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32301
32424
|
|
|
32302
32425
|
@property
|
|
32303
32426
|
def ChannelId(self):
|
|
32304
|
-
r"""
|
|
32427
|
+
r"""<p>通道 ID</p>
|
|
32305
32428
|
:rtype: int
|
|
32306
32429
|
"""
|
|
32307
32430
|
return self._ChannelId
|
|
@@ -32312,7 +32435,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32312
32435
|
|
|
32313
32436
|
@property
|
|
32314
32437
|
def StartTimeMs(self):
|
|
32315
|
-
r"""
|
|
32438
|
+
r"""<p>查询任务时间范围的起始时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32316
32439
|
:rtype: int
|
|
32317
32440
|
"""
|
|
32318
32441
|
return self._StartTimeMs
|
|
@@ -32323,7 +32446,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32323
32446
|
|
|
32324
32447
|
@property
|
|
32325
32448
|
def EndTimeMs(self):
|
|
32326
|
-
r"""
|
|
32449
|
+
r"""<p>查询任务时间范围的结束时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32327
32450
|
:rtype: int
|
|
32328
32451
|
"""
|
|
32329
32452
|
return self._EndTimeMs
|
|
@@ -32334,11 +32457,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32334
32457
|
|
|
32335
32458
|
@property
|
|
32336
32459
|
def Status(self):
|
|
32337
|
-
r"""
|
|
32338
|
-
|
|
32339
|
-
- `1`:失败
|
|
32340
|
-
- `2`:空结果
|
|
32341
|
-
- `3`:有效结果
|
|
32460
|
+
r"""<p>要查询的任务的状态条件。不传则不按照状态过滤,可选值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li></ul>
|
|
32342
32461
|
:rtype: int
|
|
32343
32462
|
"""
|
|
32344
32463
|
return self._Status
|
|
@@ -32349,7 +32468,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32349
32468
|
|
|
32350
32469
|
@property
|
|
32351
32470
|
def FileURLExpireTime(self):
|
|
32352
|
-
r"""
|
|
32471
|
+
r"""<p>下载 URL 的过期时间(秒级 UNIX 时间戳)。若传入该参数,则响应中将包含所有文件的下载 URL</p>
|
|
32353
32472
|
:rtype: int
|
|
32354
32473
|
"""
|
|
32355
32474
|
return self._FileURLExpireTime
|
|
@@ -32358,6 +32477,17 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32358
32477
|
def FileURLExpireTime(self, FileURLExpireTime):
|
|
32359
32478
|
self._FileURLExpireTime = FileURLExpireTime
|
|
32360
32479
|
|
|
32480
|
+
@property
|
|
32481
|
+
def Filters(self):
|
|
32482
|
+
r"""<p>任务结果过滤条件</p>
|
|
32483
|
+
:rtype: list of VisionRecognitionTaskFilter
|
|
32484
|
+
"""
|
|
32485
|
+
return self._Filters
|
|
32486
|
+
|
|
32487
|
+
@Filters.setter
|
|
32488
|
+
def Filters(self, Filters):
|
|
32489
|
+
self._Filters = Filters
|
|
32490
|
+
|
|
32361
32491
|
|
|
32362
32492
|
def _deserialize(self, params):
|
|
32363
32493
|
self._ProductId = params.get("ProductId")
|
|
@@ -32371,6 +32501,12 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32371
32501
|
self._EndTimeMs = params.get("EndTimeMs")
|
|
32372
32502
|
self._Status = params.get("Status")
|
|
32373
32503
|
self._FileURLExpireTime = params.get("FileURLExpireTime")
|
|
32504
|
+
if params.get("Filters") is not None:
|
|
32505
|
+
self._Filters = []
|
|
32506
|
+
for item in params.get("Filters"):
|
|
32507
|
+
obj = VisionRecognitionTaskFilter()
|
|
32508
|
+
obj._deserialize(item)
|
|
32509
|
+
self._Filters.append(obj)
|
|
32374
32510
|
memeber_set = set(params.keys())
|
|
32375
32511
|
for name, value in vars(self).items():
|
|
32376
32512
|
property_name = name[1:]
|
|
@@ -32388,9 +32524,9 @@ class ListTWeSeeTasksResponse(AbstractModel):
|
|
|
32388
32524
|
|
|
32389
32525
|
def __init__(self):
|
|
32390
32526
|
r"""
|
|
32391
|
-
:param _Tasks:
|
|
32527
|
+
:param _Tasks: <p>任务列表</p>
|
|
32392
32528
|
:type Tasks: list of SeeTaskInfo
|
|
32393
|
-
:param _Total:
|
|
32529
|
+
:param _Total: <p>任务数量</p>
|
|
32394
32530
|
:type Total: int
|
|
32395
32531
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32396
32532
|
:type RequestId: str
|
|
@@ -32401,7 +32537,7 @@ class ListTWeSeeTasksResponse(AbstractModel):
|
|
|
32401
32537
|
|
|
32402
32538
|
@property
|
|
32403
32539
|
def Tasks(self):
|
|
32404
|
-
r"""
|
|
32540
|
+
r"""<p>任务列表</p>
|
|
32405
32541
|
:rtype: list of SeeTaskInfo
|
|
32406
32542
|
"""
|
|
32407
32543
|
return self._Tasks
|
|
@@ -32412,7 +32548,7 @@ class ListTWeSeeTasksResponse(AbstractModel):
|
|
|
32412
32548
|
|
|
32413
32549
|
@property
|
|
32414
32550
|
def Total(self):
|
|
32415
|
-
r"""
|
|
32551
|
+
r"""<p>任务数量</p>
|
|
32416
32552
|
:rtype: int
|
|
32417
32553
|
"""
|
|
32418
32554
|
return self._Total
|
|
@@ -41001,6 +41137,57 @@ class SeeComprehensionResult(AbstractModel):
|
|
|
41001
41137
|
|
|
41002
41138
|
|
|
41003
41139
|
|
|
41140
|
+
class SeeDeleteTaskCondition(AbstractModel):
|
|
41141
|
+
r"""TWeSee 任务删除条件
|
|
41142
|
+
|
|
41143
|
+
"""
|
|
41144
|
+
|
|
41145
|
+
def __init__(self):
|
|
41146
|
+
r"""
|
|
41147
|
+
:param _Type: <p>条件类型。</p><p>枚举值:</p><ul><li>TaskId: 精确匹配任务 ID</li><li>TimeRange: 匹配任务时间范围与指定范围有重合的任务。值的格式为 <code>UnixTimestampStart,UnixTimestampEnd</code>,其中起止时间均为秒级 UNIX 时间戳,且结束时间不早于起始时间</li><li>CreateTimeBefore: 匹配在指定时间前创建的任务。值为秒级 UNIX 时间戳</li><li>COSURI: 精确匹配任务来源 COS URI,值必须以 <code>cos://</code> 开头</li><li>COSURIPrefix: 按前缀匹配任务来源 COS URI,值必须以 <code>cos://</code> 开头</li></ul>
|
|
41148
|
+
:type Type: str
|
|
41149
|
+
:param _Values: <p>条件值列表。同一条件内的多个值之间为 OR 关系,至少传入一个非空值。</p>
|
|
41150
|
+
:type Values: list of str
|
|
41151
|
+
"""
|
|
41152
|
+
self._Type = None
|
|
41153
|
+
self._Values = None
|
|
41154
|
+
|
|
41155
|
+
@property
|
|
41156
|
+
def Type(self):
|
|
41157
|
+
r"""<p>条件类型。</p><p>枚举值:</p><ul><li>TaskId: 精确匹配任务 ID</li><li>TimeRange: 匹配任务时间范围与指定范围有重合的任务。值的格式为 <code>UnixTimestampStart,UnixTimestampEnd</code>,其中起止时间均为秒级 UNIX 时间戳,且结束时间不早于起始时间</li><li>CreateTimeBefore: 匹配在指定时间前创建的任务。值为秒级 UNIX 时间戳</li><li>COSURI: 精确匹配任务来源 COS URI,值必须以 <code>cos://</code> 开头</li><li>COSURIPrefix: 按前缀匹配任务来源 COS URI,值必须以 <code>cos://</code> 开头</li></ul>
|
|
41158
|
+
:rtype: str
|
|
41159
|
+
"""
|
|
41160
|
+
return self._Type
|
|
41161
|
+
|
|
41162
|
+
@Type.setter
|
|
41163
|
+
def Type(self, Type):
|
|
41164
|
+
self._Type = Type
|
|
41165
|
+
|
|
41166
|
+
@property
|
|
41167
|
+
def Values(self):
|
|
41168
|
+
r"""<p>条件值列表。同一条件内的多个值之间为 OR 关系,至少传入一个非空值。</p>
|
|
41169
|
+
:rtype: list of str
|
|
41170
|
+
"""
|
|
41171
|
+
return self._Values
|
|
41172
|
+
|
|
41173
|
+
@Values.setter
|
|
41174
|
+
def Values(self, Values):
|
|
41175
|
+
self._Values = Values
|
|
41176
|
+
|
|
41177
|
+
|
|
41178
|
+
def _deserialize(self, params):
|
|
41179
|
+
self._Type = params.get("Type")
|
|
41180
|
+
self._Values = params.get("Values")
|
|
41181
|
+
memeber_set = set(params.keys())
|
|
41182
|
+
for name, value in vars(self).items():
|
|
41183
|
+
property_name = name[1:]
|
|
41184
|
+
if property_name in memeber_set:
|
|
41185
|
+
memeber_set.remove(property_name)
|
|
41186
|
+
if len(memeber_set) > 0:
|
|
41187
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
41188
|
+
|
|
41189
|
+
|
|
41190
|
+
|
|
41004
41191
|
class SeeDetectContinuousConfig(AbstractModel):
|
|
41005
41192
|
r"""TWeSee 标签持续检测配置
|
|
41006
41193
|
|
|
@@ -41259,51 +41446,38 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41259
41446
|
|
|
41260
41447
|
def __init__(self):
|
|
41261
41448
|
r"""
|
|
41262
|
-
:param _TaskId:
|
|
41449
|
+
:param _TaskId: <p>任务 ID</p>
|
|
41263
41450
|
:type TaskId: str
|
|
41264
|
-
:param _Status:
|
|
41265
|
-
|
|
41266
|
-
- `1`:失败
|
|
41267
|
-
- `2`:空结果
|
|
41268
|
-
- `3`:有效结果
|
|
41269
|
-
- `4`:处理中
|
|
41451
|
+
:param _Status: <p>任务状态。可能取值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li><li><code>4</code>:处理中</li></ul>
|
|
41270
41452
|
:type Status: int
|
|
41271
|
-
:param _Metadata:
|
|
41453
|
+
:param _Metadata: <p>任务元数据</p>
|
|
41272
41454
|
:type Metadata: :class:`tencentcloud.iotexplorer.v20190423.models.SeeTaskMetadata`
|
|
41273
|
-
:param _ServiceCategory:
|
|
41274
|
-
|
|
41275
|
-
- `COMPREHENSION`:视觉理解
|
|
41276
|
-
- `HIGHLIGHT`:视频浓缩
|
|
41455
|
+
:param _ServiceCategory: <p>算法类目。可能取值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41277
41456
|
:type ServiceCategory: str
|
|
41278
|
-
:param _ServiceType:
|
|
41279
|
-
|
|
41280
|
-
- `VID_COMP`:视频理解
|
|
41281
|
-
- `IMG_COMP`:图片理解
|
|
41282
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
41457
|
+
:param _ServiceType: <p>算法类型。可能取值:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41283
41458
|
:type ServiceType: str
|
|
41284
|
-
:param _ServiceTier:
|
|
41285
|
-
|
|
41286
|
-
- `POSTPAID`:后付费(适用于视频理解、图片理解)
|
|
41287
|
-
- `BASIC`:包年包月基础版(适用于视频理解)
|
|
41459
|
+
:param _ServiceTier: <p>套餐规格。可能取值:</p><ul><li><code>POSTPAID</code>:后付费(适用于视频理解、图片理解)</li><li><code>BASIC</code>:包年包月基础版(适用于视频理解)</li></ul>
|
|
41288
41460
|
:type ServiceTier: str
|
|
41289
|
-
:param _ComprehensionResult:
|
|
41461
|
+
:param _ComprehensionResult: <p>视觉理解结果(适用于视频理解、图片理解)</p>
|
|
41290
41462
|
:type ComprehensionResult: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionResult`
|
|
41291
|
-
:param _CompHighlightResult:
|
|
41463
|
+
:param _CompHighlightResult: <p>视频语义浓缩结果(适用于视频语义浓缩)</p>
|
|
41292
41464
|
:type CompHighlightResult: :class:`tencentcloud.iotexplorer.v20190423.models.SeeCompHighlightResult`
|
|
41293
|
-
:param _DetectContinuousResult:
|
|
41465
|
+
:param _DetectContinuousResult: <p>标签持续检测结果</p>
|
|
41294
41466
|
:type DetectContinuousResult: :class:`tencentcloud.iotexplorer.v20190423.models.SeeDetectContinuousResult`
|
|
41295
|
-
:param _CostBasic:
|
|
41467
|
+
:param _CostBasic: <p>完成该任务所消耗的基础能力额度</p>
|
|
41296
41468
|
:type CostBasic: int
|
|
41297
|
-
:param _CostAdvanced:
|
|
41469
|
+
:param _CostAdvanced: <p>完成该任务所消耗的高级能力额度</p>
|
|
41298
41470
|
:type CostAdvanced: int
|
|
41299
|
-
:param _Files:
|
|
41471
|
+
:param _Files: <p>输出文件名列表</p>
|
|
41300
41472
|
:type Files: list of str
|
|
41301
|
-
:param _FilesInfo:
|
|
41473
|
+
:param _FilesInfo: <p>输出文件详情列表</p>
|
|
41302
41474
|
:type FilesInfo: list of CloudStorageAIServiceTaskFileInfo
|
|
41303
|
-
:param _CreateTime:
|
|
41475
|
+
:param _CreateTime: <p>创建时间</p>
|
|
41304
41476
|
:type CreateTime: int
|
|
41305
|
-
:param _UpdateTime:
|
|
41477
|
+
:param _UpdateTime: <p>最后更新时间</p>
|
|
41306
41478
|
:type UpdateTime: int
|
|
41479
|
+
:param _COSURI: <p>直传 COS 的对象 URI</p>
|
|
41480
|
+
:type COSURI: str
|
|
41307
41481
|
"""
|
|
41308
41482
|
self._TaskId = None
|
|
41309
41483
|
self._Status = None
|
|
@@ -41320,10 +41494,11 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41320
41494
|
self._FilesInfo = None
|
|
41321
41495
|
self._CreateTime = None
|
|
41322
41496
|
self._UpdateTime = None
|
|
41497
|
+
self._COSURI = None
|
|
41323
41498
|
|
|
41324
41499
|
@property
|
|
41325
41500
|
def TaskId(self):
|
|
41326
|
-
r"""
|
|
41501
|
+
r"""<p>任务 ID</p>
|
|
41327
41502
|
:rtype: str
|
|
41328
41503
|
"""
|
|
41329
41504
|
return self._TaskId
|
|
@@ -41334,12 +41509,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41334
41509
|
|
|
41335
41510
|
@property
|
|
41336
41511
|
def Status(self):
|
|
41337
|
-
r"""
|
|
41338
|
-
|
|
41339
|
-
- `1`:失败
|
|
41340
|
-
- `2`:空结果
|
|
41341
|
-
- `3`:有效结果
|
|
41342
|
-
- `4`:处理中
|
|
41512
|
+
r"""<p>任务状态。可能取值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li><li><code>4</code>:处理中</li></ul>
|
|
41343
41513
|
:rtype: int
|
|
41344
41514
|
"""
|
|
41345
41515
|
return self._Status
|
|
@@ -41350,7 +41520,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41350
41520
|
|
|
41351
41521
|
@property
|
|
41352
41522
|
def Metadata(self):
|
|
41353
|
-
r"""
|
|
41523
|
+
r"""<p>任务元数据</p>
|
|
41354
41524
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeTaskMetadata`
|
|
41355
41525
|
"""
|
|
41356
41526
|
return self._Metadata
|
|
@@ -41361,10 +41531,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41361
41531
|
|
|
41362
41532
|
@property
|
|
41363
41533
|
def ServiceCategory(self):
|
|
41364
|
-
r"""
|
|
41365
|
-
|
|
41366
|
-
- `COMPREHENSION`:视觉理解
|
|
41367
|
-
- `HIGHLIGHT`:视频浓缩
|
|
41534
|
+
r"""<p>算法类目。可能取值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41368
41535
|
:rtype: str
|
|
41369
41536
|
"""
|
|
41370
41537
|
return self._ServiceCategory
|
|
@@ -41375,11 +41542,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41375
41542
|
|
|
41376
41543
|
@property
|
|
41377
41544
|
def ServiceType(self):
|
|
41378
|
-
r"""
|
|
41379
|
-
|
|
41380
|
-
- `VID_COMP`:视频理解
|
|
41381
|
-
- `IMG_COMP`:图片理解
|
|
41382
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
41545
|
+
r"""<p>算法类型。可能取值:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41383
41546
|
:rtype: str
|
|
41384
41547
|
"""
|
|
41385
41548
|
return self._ServiceType
|
|
@@ -41390,10 +41553,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41390
41553
|
|
|
41391
41554
|
@property
|
|
41392
41555
|
def ServiceTier(self):
|
|
41393
|
-
r"""
|
|
41394
|
-
|
|
41395
|
-
- `POSTPAID`:后付费(适用于视频理解、图片理解)
|
|
41396
|
-
- `BASIC`:包年包月基础版(适用于视频理解)
|
|
41556
|
+
r"""<p>套餐规格。可能取值:</p><ul><li><code>POSTPAID</code>:后付费(适用于视频理解、图片理解)</li><li><code>BASIC</code>:包年包月基础版(适用于视频理解)</li></ul>
|
|
41397
41557
|
:rtype: str
|
|
41398
41558
|
"""
|
|
41399
41559
|
return self._ServiceTier
|
|
@@ -41404,7 +41564,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41404
41564
|
|
|
41405
41565
|
@property
|
|
41406
41566
|
def ComprehensionResult(self):
|
|
41407
|
-
r"""
|
|
41567
|
+
r"""<p>视觉理解结果(适用于视频理解、图片理解)</p>
|
|
41408
41568
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionResult`
|
|
41409
41569
|
"""
|
|
41410
41570
|
return self._ComprehensionResult
|
|
@@ -41415,7 +41575,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41415
41575
|
|
|
41416
41576
|
@property
|
|
41417
41577
|
def CompHighlightResult(self):
|
|
41418
|
-
r"""
|
|
41578
|
+
r"""<p>视频语义浓缩结果(适用于视频语义浓缩)</p>
|
|
41419
41579
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeCompHighlightResult`
|
|
41420
41580
|
"""
|
|
41421
41581
|
return self._CompHighlightResult
|
|
@@ -41426,7 +41586,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41426
41586
|
|
|
41427
41587
|
@property
|
|
41428
41588
|
def DetectContinuousResult(self):
|
|
41429
|
-
r"""
|
|
41589
|
+
r"""<p>标签持续检测结果</p>
|
|
41430
41590
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeDetectContinuousResult`
|
|
41431
41591
|
"""
|
|
41432
41592
|
return self._DetectContinuousResult
|
|
@@ -41437,7 +41597,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41437
41597
|
|
|
41438
41598
|
@property
|
|
41439
41599
|
def CostBasic(self):
|
|
41440
|
-
r"""
|
|
41600
|
+
r"""<p>完成该任务所消耗的基础能力额度</p>
|
|
41441
41601
|
:rtype: int
|
|
41442
41602
|
"""
|
|
41443
41603
|
return self._CostBasic
|
|
@@ -41448,7 +41608,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41448
41608
|
|
|
41449
41609
|
@property
|
|
41450
41610
|
def CostAdvanced(self):
|
|
41451
|
-
r"""
|
|
41611
|
+
r"""<p>完成该任务所消耗的高级能力额度</p>
|
|
41452
41612
|
:rtype: int
|
|
41453
41613
|
"""
|
|
41454
41614
|
return self._CostAdvanced
|
|
@@ -41459,7 +41619,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41459
41619
|
|
|
41460
41620
|
@property
|
|
41461
41621
|
def Files(self):
|
|
41462
|
-
r"""
|
|
41622
|
+
r"""<p>输出文件名列表</p>
|
|
41463
41623
|
:rtype: list of str
|
|
41464
41624
|
"""
|
|
41465
41625
|
return self._Files
|
|
@@ -41470,7 +41630,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41470
41630
|
|
|
41471
41631
|
@property
|
|
41472
41632
|
def FilesInfo(self):
|
|
41473
|
-
r"""
|
|
41633
|
+
r"""<p>输出文件详情列表</p>
|
|
41474
41634
|
:rtype: list of CloudStorageAIServiceTaskFileInfo
|
|
41475
41635
|
"""
|
|
41476
41636
|
return self._FilesInfo
|
|
@@ -41481,7 +41641,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41481
41641
|
|
|
41482
41642
|
@property
|
|
41483
41643
|
def CreateTime(self):
|
|
41484
|
-
r"""
|
|
41644
|
+
r"""<p>创建时间</p>
|
|
41485
41645
|
:rtype: int
|
|
41486
41646
|
"""
|
|
41487
41647
|
return self._CreateTime
|
|
@@ -41492,7 +41652,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41492
41652
|
|
|
41493
41653
|
@property
|
|
41494
41654
|
def UpdateTime(self):
|
|
41495
|
-
r"""
|
|
41655
|
+
r"""<p>最后更新时间</p>
|
|
41496
41656
|
:rtype: int
|
|
41497
41657
|
"""
|
|
41498
41658
|
return self._UpdateTime
|
|
@@ -41501,6 +41661,17 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41501
41661
|
def UpdateTime(self, UpdateTime):
|
|
41502
41662
|
self._UpdateTime = UpdateTime
|
|
41503
41663
|
|
|
41664
|
+
@property
|
|
41665
|
+
def COSURI(self):
|
|
41666
|
+
r"""<p>直传 COS 的对象 URI</p>
|
|
41667
|
+
:rtype: str
|
|
41668
|
+
"""
|
|
41669
|
+
return self._COSURI
|
|
41670
|
+
|
|
41671
|
+
@COSURI.setter
|
|
41672
|
+
def COSURI(self, COSURI):
|
|
41673
|
+
self._COSURI = COSURI
|
|
41674
|
+
|
|
41504
41675
|
|
|
41505
41676
|
def _deserialize(self, params):
|
|
41506
41677
|
self._TaskId = params.get("TaskId")
|
|
@@ -41531,6 +41702,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41531
41702
|
self._FilesInfo.append(obj)
|
|
41532
41703
|
self._CreateTime = params.get("CreateTime")
|
|
41533
41704
|
self._UpdateTime = params.get("UpdateTime")
|
|
41705
|
+
self._COSURI = params.get("COSURI")
|
|
41534
41706
|
memeber_set = set(params.keys())
|
|
41535
41707
|
for name, value in vars(self).items():
|
|
41536
41708
|
property_name = name[1:]
|
|
@@ -48385,6 +48557,57 @@ class VisionRecognitionTask(AbstractModel):
|
|
|
48385
48557
|
|
|
48386
48558
|
|
|
48387
48559
|
|
|
48560
|
+
class VisionRecognitionTaskFilter(AbstractModel):
|
|
48561
|
+
r"""TWeSee 语义理解任务过滤条件
|
|
48562
|
+
|
|
48563
|
+
"""
|
|
48564
|
+
|
|
48565
|
+
def __init__(self):
|
|
48566
|
+
r"""
|
|
48567
|
+
:param _Key: 需要过滤的字段
|
|
48568
|
+
:type Key: str
|
|
48569
|
+
:param _Values: 需要过滤的值
|
|
48570
|
+
:type Values: list of str
|
|
48571
|
+
"""
|
|
48572
|
+
self._Key = None
|
|
48573
|
+
self._Values = None
|
|
48574
|
+
|
|
48575
|
+
@property
|
|
48576
|
+
def Key(self):
|
|
48577
|
+
r"""需要过滤的字段
|
|
48578
|
+
:rtype: str
|
|
48579
|
+
"""
|
|
48580
|
+
return self._Key
|
|
48581
|
+
|
|
48582
|
+
@Key.setter
|
|
48583
|
+
def Key(self, Key):
|
|
48584
|
+
self._Key = Key
|
|
48585
|
+
|
|
48586
|
+
@property
|
|
48587
|
+
def Values(self):
|
|
48588
|
+
r"""需要过滤的值
|
|
48589
|
+
:rtype: list of str
|
|
48590
|
+
"""
|
|
48591
|
+
return self._Values
|
|
48592
|
+
|
|
48593
|
+
@Values.setter
|
|
48594
|
+
def Values(self, Values):
|
|
48595
|
+
self._Values = Values
|
|
48596
|
+
|
|
48597
|
+
|
|
48598
|
+
def _deserialize(self, params):
|
|
48599
|
+
self._Key = params.get("Key")
|
|
48600
|
+
self._Values = params.get("Values")
|
|
48601
|
+
memeber_set = set(params.keys())
|
|
48602
|
+
for name, value in vars(self).items():
|
|
48603
|
+
property_name = name[1:]
|
|
48604
|
+
if property_name in memeber_set:
|
|
48605
|
+
memeber_set.remove(property_name)
|
|
48606
|
+
if len(memeber_set) > 0:
|
|
48607
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
48608
|
+
|
|
48609
|
+
|
|
48610
|
+
|
|
48388
48611
|
class VisionSummaryConfig(AbstractModel):
|
|
48389
48612
|
r"""视频摘要配置
|
|
48390
48613
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.162
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.148
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|