tencentcloud-sdk-python-iotexplorer 3.1.124__tar.gz → 3.1.126__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.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/models.py +336 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.126/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.124/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/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.126
|
|
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.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.124 → tencentcloud_sdk_python_iotexplorer-3.1.126}/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.126,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -831,6 +831,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
831
831
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
832
832
|
|
|
833
833
|
|
|
834
|
+
def CreateTWeSeeDirectUploadCredential(self, request):
|
|
835
|
+
r"""创建 TWeSee COS 直传凭据。调用方获取临时密钥后,可将视频 / 图片上传到返回的 StoragePath 前缀下;对象上传成功后由 COS 事件触发 TWeSee 任务创建。
|
|
836
|
+
|
|
837
|
+
:param request: Request instance for CreateTWeSeeDirectUploadCredential.
|
|
838
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeDirectUploadCredentialRequest`
|
|
839
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeDirectUploadCredentialResponse`
|
|
840
|
+
|
|
841
|
+
"""
|
|
842
|
+
try:
|
|
843
|
+
params = request._serialize()
|
|
844
|
+
headers = request.headers
|
|
845
|
+
body = self.call("CreateTWeSeeDirectUploadCredential", params, headers=headers)
|
|
846
|
+
response = json.loads(body)
|
|
847
|
+
model = models.CreateTWeSeeDirectUploadCredentialResponse()
|
|
848
|
+
model._deserialize(response["Response"])
|
|
849
|
+
return model
|
|
850
|
+
except Exception as e:
|
|
851
|
+
if isinstance(e, TencentCloudSDKException):
|
|
852
|
+
raise
|
|
853
|
+
else:
|
|
854
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
|
+
|
|
856
|
+
|
|
834
857
|
def CreateTWeSeePostPaidService(self, request):
|
|
835
858
|
r"""开通 TWeSee 后付费服务
|
|
836
859
|
|
|
@@ -655,6 +655,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
655
655
|
|
|
656
656
|
return await self.call_and_deserialize(**kwargs)
|
|
657
657
|
|
|
658
|
+
async def CreateTWeSeeDirectUploadCredential(
|
|
659
|
+
self,
|
|
660
|
+
request: models.CreateTWeSeeDirectUploadCredentialRequest,
|
|
661
|
+
opts: Dict = None,
|
|
662
|
+
) -> models.CreateTWeSeeDirectUploadCredentialResponse:
|
|
663
|
+
"""
|
|
664
|
+
创建 TWeSee COS 直传凭据。调用方获取临时密钥后,可将视频 / 图片上传到返回的 StoragePath 前缀下;对象上传成功后由 COS 事件触发 TWeSee 任务创建。
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
kwargs = {}
|
|
668
|
+
kwargs["action"] = "CreateTWeSeeDirectUploadCredential"
|
|
669
|
+
kwargs["params"] = request._serialize()
|
|
670
|
+
kwargs["resp_cls"] = models.CreateTWeSeeDirectUploadCredentialResponse
|
|
671
|
+
kwargs["headers"] = request.headers
|
|
672
|
+
kwargs["opts"] = opts or {}
|
|
673
|
+
|
|
674
|
+
return await self.call_and_deserialize(**kwargs)
|
|
675
|
+
|
|
658
676
|
async def CreateTWeSeePostPaidService(
|
|
659
677
|
self,
|
|
660
678
|
request: models.CreateTWeSeePostPaidServiceRequest,
|
|
@@ -6916,6 +6916,327 @@ class CreateTWeSeeCallbackResponse(AbstractModel):
|
|
|
6916
6916
|
self._RequestId = params.get("RequestId")
|
|
6917
6917
|
|
|
6918
6918
|
|
|
6919
|
+
class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
6920
|
+
r"""CreateTWeSeeDirectUploadCredential请求参数结构体
|
|
6921
|
+
|
|
6922
|
+
"""
|
|
6923
|
+
|
|
6924
|
+
def __init__(self):
|
|
6925
|
+
r"""
|
|
6926
|
+
:param _ProductId: <p>产品 ID</p><p>非 IoT 设备可传 <code>default</code></p>
|
|
6927
|
+
:type ProductId: str
|
|
6928
|
+
:param _DeviceName: <p>设备名称</p>
|
|
6929
|
+
:type DeviceName: str
|
|
6930
|
+
:param _ServiceType: <p>算法类型</p><p>枚举值:</p><ul><li>VID_COMP: 视频理解(支持视频文件或多帧图片)</li><li>IMG_COMP: 图片理解(单帧图片)</li></ul>
|
|
6931
|
+
:type ServiceType: str
|
|
6932
|
+
:param _ChannelId: <p>通道 ID</p><p>默认值:0</p>
|
|
6933
|
+
:type ChannelId: int
|
|
6934
|
+
:param _CallbackId: <p>回调目标 ID</p>
|
|
6935
|
+
:type CallbackId: str
|
|
6936
|
+
:param _ComprehensionConfig: <p>视觉理解配置项</p>
|
|
6937
|
+
:type ComprehensionConfig: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionConfig`
|
|
6938
|
+
:param _CustomId: <p>自定义事件 ID,会透传到任务元数据与回调中</p>
|
|
6939
|
+
:type CustomId: str
|
|
6940
|
+
:param _DurationSeconds: <p>临时密钥有效期,单位:秒。默认 300 秒,取值范围 5 到 86400。</p>
|
|
6941
|
+
:type DurationSeconds: int
|
|
6942
|
+
:param _MaxInvokeCount: <p>该直传凭据最多可触发的分析次数</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
|
|
6943
|
+
:type MaxInvokeCount: int
|
|
6944
|
+
:param _StorageRegion: <p>上传 COS 存储桶所在地域。不填时使用默认地域。</p>
|
|
6945
|
+
:type StorageRegion: str
|
|
6946
|
+
:param _UploadMethod: <p>上传方式</p><p>枚举值:</p><ul><li>single: 单文件上传</li><li>manifest: 上传源文件与 Manifest(先上传多个源文件,然后上传 Manifest JSON 触发分析)</li></ul><p>默认值:single</p>
|
|
6947
|
+
:type UploadMethod: str
|
|
6948
|
+
"""
|
|
6949
|
+
self._ProductId = None
|
|
6950
|
+
self._DeviceName = None
|
|
6951
|
+
self._ServiceType = None
|
|
6952
|
+
self._ChannelId = None
|
|
6953
|
+
self._CallbackId = None
|
|
6954
|
+
self._ComprehensionConfig = None
|
|
6955
|
+
self._CustomId = None
|
|
6956
|
+
self._DurationSeconds = None
|
|
6957
|
+
self._MaxInvokeCount = None
|
|
6958
|
+
self._StorageRegion = None
|
|
6959
|
+
self._UploadMethod = None
|
|
6960
|
+
|
|
6961
|
+
@property
|
|
6962
|
+
def ProductId(self):
|
|
6963
|
+
r"""<p>产品 ID</p><p>非 IoT 设备可传 <code>default</code></p>
|
|
6964
|
+
:rtype: str
|
|
6965
|
+
"""
|
|
6966
|
+
return self._ProductId
|
|
6967
|
+
|
|
6968
|
+
@ProductId.setter
|
|
6969
|
+
def ProductId(self, ProductId):
|
|
6970
|
+
self._ProductId = ProductId
|
|
6971
|
+
|
|
6972
|
+
@property
|
|
6973
|
+
def DeviceName(self):
|
|
6974
|
+
r"""<p>设备名称</p>
|
|
6975
|
+
:rtype: str
|
|
6976
|
+
"""
|
|
6977
|
+
return self._DeviceName
|
|
6978
|
+
|
|
6979
|
+
@DeviceName.setter
|
|
6980
|
+
def DeviceName(self, DeviceName):
|
|
6981
|
+
self._DeviceName = DeviceName
|
|
6982
|
+
|
|
6983
|
+
@property
|
|
6984
|
+
def ServiceType(self):
|
|
6985
|
+
r"""<p>算法类型</p><p>枚举值:</p><ul><li>VID_COMP: 视频理解(支持视频文件或多帧图片)</li><li>IMG_COMP: 图片理解(单帧图片)</li></ul>
|
|
6986
|
+
:rtype: str
|
|
6987
|
+
"""
|
|
6988
|
+
return self._ServiceType
|
|
6989
|
+
|
|
6990
|
+
@ServiceType.setter
|
|
6991
|
+
def ServiceType(self, ServiceType):
|
|
6992
|
+
self._ServiceType = ServiceType
|
|
6993
|
+
|
|
6994
|
+
@property
|
|
6995
|
+
def ChannelId(self):
|
|
6996
|
+
r"""<p>通道 ID</p><p>默认值:0</p>
|
|
6997
|
+
:rtype: int
|
|
6998
|
+
"""
|
|
6999
|
+
return self._ChannelId
|
|
7000
|
+
|
|
7001
|
+
@ChannelId.setter
|
|
7002
|
+
def ChannelId(self, ChannelId):
|
|
7003
|
+
self._ChannelId = ChannelId
|
|
7004
|
+
|
|
7005
|
+
@property
|
|
7006
|
+
def CallbackId(self):
|
|
7007
|
+
r"""<p>回调目标 ID</p>
|
|
7008
|
+
:rtype: str
|
|
7009
|
+
"""
|
|
7010
|
+
return self._CallbackId
|
|
7011
|
+
|
|
7012
|
+
@CallbackId.setter
|
|
7013
|
+
def CallbackId(self, CallbackId):
|
|
7014
|
+
self._CallbackId = CallbackId
|
|
7015
|
+
|
|
7016
|
+
@property
|
|
7017
|
+
def ComprehensionConfig(self):
|
|
7018
|
+
r"""<p>视觉理解配置项</p>
|
|
7019
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionConfig`
|
|
7020
|
+
"""
|
|
7021
|
+
return self._ComprehensionConfig
|
|
7022
|
+
|
|
7023
|
+
@ComprehensionConfig.setter
|
|
7024
|
+
def ComprehensionConfig(self, ComprehensionConfig):
|
|
7025
|
+
self._ComprehensionConfig = ComprehensionConfig
|
|
7026
|
+
|
|
7027
|
+
@property
|
|
7028
|
+
def CustomId(self):
|
|
7029
|
+
r"""<p>自定义事件 ID,会透传到任务元数据与回调中</p>
|
|
7030
|
+
:rtype: str
|
|
7031
|
+
"""
|
|
7032
|
+
return self._CustomId
|
|
7033
|
+
|
|
7034
|
+
@CustomId.setter
|
|
7035
|
+
def CustomId(self, CustomId):
|
|
7036
|
+
self._CustomId = CustomId
|
|
7037
|
+
|
|
7038
|
+
@property
|
|
7039
|
+
def DurationSeconds(self):
|
|
7040
|
+
r"""<p>临时密钥有效期,单位:秒。默认 300 秒,取值范围 5 到 86400。</p>
|
|
7041
|
+
:rtype: int
|
|
7042
|
+
"""
|
|
7043
|
+
return self._DurationSeconds
|
|
7044
|
+
|
|
7045
|
+
@DurationSeconds.setter
|
|
7046
|
+
def DurationSeconds(self, DurationSeconds):
|
|
7047
|
+
self._DurationSeconds = DurationSeconds
|
|
7048
|
+
|
|
7049
|
+
@property
|
|
7050
|
+
def MaxInvokeCount(self):
|
|
7051
|
+
r"""<p>该直传凭据最多可触发的分析次数</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
|
|
7052
|
+
:rtype: int
|
|
7053
|
+
"""
|
|
7054
|
+
return self._MaxInvokeCount
|
|
7055
|
+
|
|
7056
|
+
@MaxInvokeCount.setter
|
|
7057
|
+
def MaxInvokeCount(self, MaxInvokeCount):
|
|
7058
|
+
self._MaxInvokeCount = MaxInvokeCount
|
|
7059
|
+
|
|
7060
|
+
@property
|
|
7061
|
+
def StorageRegion(self):
|
|
7062
|
+
r"""<p>上传 COS 存储桶所在地域。不填时使用默认地域。</p>
|
|
7063
|
+
:rtype: str
|
|
7064
|
+
"""
|
|
7065
|
+
return self._StorageRegion
|
|
7066
|
+
|
|
7067
|
+
@StorageRegion.setter
|
|
7068
|
+
def StorageRegion(self, StorageRegion):
|
|
7069
|
+
self._StorageRegion = StorageRegion
|
|
7070
|
+
|
|
7071
|
+
@property
|
|
7072
|
+
def UploadMethod(self):
|
|
7073
|
+
r"""<p>上传方式</p><p>枚举值:</p><ul><li>single: 单文件上传</li><li>manifest: 上传源文件与 Manifest(先上传多个源文件,然后上传 Manifest JSON 触发分析)</li></ul><p>默认值:single</p>
|
|
7074
|
+
:rtype: str
|
|
7075
|
+
"""
|
|
7076
|
+
return self._UploadMethod
|
|
7077
|
+
|
|
7078
|
+
@UploadMethod.setter
|
|
7079
|
+
def UploadMethod(self, UploadMethod):
|
|
7080
|
+
self._UploadMethod = UploadMethod
|
|
7081
|
+
|
|
7082
|
+
|
|
7083
|
+
def _deserialize(self, params):
|
|
7084
|
+
self._ProductId = params.get("ProductId")
|
|
7085
|
+
self._DeviceName = params.get("DeviceName")
|
|
7086
|
+
self._ServiceType = params.get("ServiceType")
|
|
7087
|
+
self._ChannelId = params.get("ChannelId")
|
|
7088
|
+
self._CallbackId = params.get("CallbackId")
|
|
7089
|
+
if params.get("ComprehensionConfig") is not None:
|
|
7090
|
+
self._ComprehensionConfig = SeeComprehensionConfig()
|
|
7091
|
+
self._ComprehensionConfig._deserialize(params.get("ComprehensionConfig"))
|
|
7092
|
+
self._CustomId = params.get("CustomId")
|
|
7093
|
+
self._DurationSeconds = params.get("DurationSeconds")
|
|
7094
|
+
self._MaxInvokeCount = params.get("MaxInvokeCount")
|
|
7095
|
+
self._StorageRegion = params.get("StorageRegion")
|
|
7096
|
+
self._UploadMethod = params.get("UploadMethod")
|
|
7097
|
+
memeber_set = set(params.keys())
|
|
7098
|
+
for name, value in vars(self).items():
|
|
7099
|
+
property_name = name[1:]
|
|
7100
|
+
if property_name in memeber_set:
|
|
7101
|
+
memeber_set.remove(property_name)
|
|
7102
|
+
if len(memeber_set) > 0:
|
|
7103
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7104
|
+
|
|
7105
|
+
|
|
7106
|
+
|
|
7107
|
+
class CreateTWeSeeDirectUploadCredentialResponse(AbstractModel):
|
|
7108
|
+
r"""CreateTWeSeeDirectUploadCredential返回参数结构体
|
|
7109
|
+
|
|
7110
|
+
"""
|
|
7111
|
+
|
|
7112
|
+
def __init__(self):
|
|
7113
|
+
r"""
|
|
7114
|
+
:param _ExpiredTime: <p>访问 COS 的临时密钥过期时间(秒级 UNIX 时间戳)</p>
|
|
7115
|
+
:type ExpiredTime: int
|
|
7116
|
+
:param _SecretId: <p>访问 COS 的临时密钥 SecretId</p>
|
|
7117
|
+
:type SecretId: str
|
|
7118
|
+
:param _SecretKey: <p>访问 COS 的临时密钥 SecretKey</p>
|
|
7119
|
+
:type SecretKey: str
|
|
7120
|
+
:param _StorageBucket: <p>COS 存储桶名称</p>
|
|
7121
|
+
:type StorageBucket: str
|
|
7122
|
+
:param _StoragePath: <p>COS 对象 Key 前缀。返回的临时凭据仅允许上传到此前缀下,格式为 Direct/{Uin}/{SessionId}/。</p>
|
|
7123
|
+
:type StoragePath: str
|
|
7124
|
+
:param _StorageRegion: <p>COS 存储桶所在地域</p>
|
|
7125
|
+
:type StorageRegion: str
|
|
7126
|
+
:param _Token: <p>访问 COS 的临时密钥 Token</p>
|
|
7127
|
+
:type Token: str
|
|
7128
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7129
|
+
:type RequestId: str
|
|
7130
|
+
"""
|
|
7131
|
+
self._ExpiredTime = None
|
|
7132
|
+
self._SecretId = None
|
|
7133
|
+
self._SecretKey = None
|
|
7134
|
+
self._StorageBucket = None
|
|
7135
|
+
self._StoragePath = None
|
|
7136
|
+
self._StorageRegion = None
|
|
7137
|
+
self._Token = None
|
|
7138
|
+
self._RequestId = None
|
|
7139
|
+
|
|
7140
|
+
@property
|
|
7141
|
+
def ExpiredTime(self):
|
|
7142
|
+
r"""<p>访问 COS 的临时密钥过期时间(秒级 UNIX 时间戳)</p>
|
|
7143
|
+
:rtype: int
|
|
7144
|
+
"""
|
|
7145
|
+
return self._ExpiredTime
|
|
7146
|
+
|
|
7147
|
+
@ExpiredTime.setter
|
|
7148
|
+
def ExpiredTime(self, ExpiredTime):
|
|
7149
|
+
self._ExpiredTime = ExpiredTime
|
|
7150
|
+
|
|
7151
|
+
@property
|
|
7152
|
+
def SecretId(self):
|
|
7153
|
+
r"""<p>访问 COS 的临时密钥 SecretId</p>
|
|
7154
|
+
:rtype: str
|
|
7155
|
+
"""
|
|
7156
|
+
return self._SecretId
|
|
7157
|
+
|
|
7158
|
+
@SecretId.setter
|
|
7159
|
+
def SecretId(self, SecretId):
|
|
7160
|
+
self._SecretId = SecretId
|
|
7161
|
+
|
|
7162
|
+
@property
|
|
7163
|
+
def SecretKey(self):
|
|
7164
|
+
r"""<p>访问 COS 的临时密钥 SecretKey</p>
|
|
7165
|
+
:rtype: str
|
|
7166
|
+
"""
|
|
7167
|
+
return self._SecretKey
|
|
7168
|
+
|
|
7169
|
+
@SecretKey.setter
|
|
7170
|
+
def SecretKey(self, SecretKey):
|
|
7171
|
+
self._SecretKey = SecretKey
|
|
7172
|
+
|
|
7173
|
+
@property
|
|
7174
|
+
def StorageBucket(self):
|
|
7175
|
+
r"""<p>COS 存储桶名称</p>
|
|
7176
|
+
:rtype: str
|
|
7177
|
+
"""
|
|
7178
|
+
return self._StorageBucket
|
|
7179
|
+
|
|
7180
|
+
@StorageBucket.setter
|
|
7181
|
+
def StorageBucket(self, StorageBucket):
|
|
7182
|
+
self._StorageBucket = StorageBucket
|
|
7183
|
+
|
|
7184
|
+
@property
|
|
7185
|
+
def StoragePath(self):
|
|
7186
|
+
r"""<p>COS 对象 Key 前缀。返回的临时凭据仅允许上传到此前缀下,格式为 Direct/{Uin}/{SessionId}/。</p>
|
|
7187
|
+
:rtype: str
|
|
7188
|
+
"""
|
|
7189
|
+
return self._StoragePath
|
|
7190
|
+
|
|
7191
|
+
@StoragePath.setter
|
|
7192
|
+
def StoragePath(self, StoragePath):
|
|
7193
|
+
self._StoragePath = StoragePath
|
|
7194
|
+
|
|
7195
|
+
@property
|
|
7196
|
+
def StorageRegion(self):
|
|
7197
|
+
r"""<p>COS 存储桶所在地域</p>
|
|
7198
|
+
:rtype: str
|
|
7199
|
+
"""
|
|
7200
|
+
return self._StorageRegion
|
|
7201
|
+
|
|
7202
|
+
@StorageRegion.setter
|
|
7203
|
+
def StorageRegion(self, StorageRegion):
|
|
7204
|
+
self._StorageRegion = StorageRegion
|
|
7205
|
+
|
|
7206
|
+
@property
|
|
7207
|
+
def Token(self):
|
|
7208
|
+
r"""<p>访问 COS 的临时密钥 Token</p>
|
|
7209
|
+
:rtype: str
|
|
7210
|
+
"""
|
|
7211
|
+
return self._Token
|
|
7212
|
+
|
|
7213
|
+
@Token.setter
|
|
7214
|
+
def Token(self, Token):
|
|
7215
|
+
self._Token = Token
|
|
7216
|
+
|
|
7217
|
+
@property
|
|
7218
|
+
def RequestId(self):
|
|
7219
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7220
|
+
:rtype: str
|
|
7221
|
+
"""
|
|
7222
|
+
return self._RequestId
|
|
7223
|
+
|
|
7224
|
+
@RequestId.setter
|
|
7225
|
+
def RequestId(self, RequestId):
|
|
7226
|
+
self._RequestId = RequestId
|
|
7227
|
+
|
|
7228
|
+
|
|
7229
|
+
def _deserialize(self, params):
|
|
7230
|
+
self._ExpiredTime = params.get("ExpiredTime")
|
|
7231
|
+
self._SecretId = params.get("SecretId")
|
|
7232
|
+
self._SecretKey = params.get("SecretKey")
|
|
7233
|
+
self._StorageBucket = params.get("StorageBucket")
|
|
7234
|
+
self._StoragePath = params.get("StoragePath")
|
|
7235
|
+
self._StorageRegion = params.get("StorageRegion")
|
|
7236
|
+
self._Token = params.get("Token")
|
|
7237
|
+
self._RequestId = params.get("RequestId")
|
|
7238
|
+
|
|
7239
|
+
|
|
6919
7240
|
class CreateTWeSeePostPaidServiceRequest(AbstractModel):
|
|
6920
7241
|
r"""CreateTWeSeePostPaidService请求参数结构体
|
|
6921
7242
|
|
|
@@ -27164,6 +27485,8 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27164
27485
|
:type VectorSearchTopK: int
|
|
27165
27486
|
:param _Order: <p>搜索结果的排序方式,可选值:</p><ul><li><code>CORRELATION</code>:按相关性(默认)</li><li><code>TIME_ASC</code>:按时间升序</li><li><code>TIME_DESC</code>:按时间降序</li></ul>
|
|
27166
27487
|
:type Order: str
|
|
27488
|
+
:param _WithTaskInfo: <p>是否输出原始任务信息</p>
|
|
27489
|
+
:type WithTaskInfo: bool
|
|
27167
27490
|
"""
|
|
27168
27491
|
self._ProductId = None
|
|
27169
27492
|
self._DeviceName = None
|
|
@@ -27179,6 +27502,7 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27179
27502
|
self._VectorSearchRadius = None
|
|
27180
27503
|
self._VectorSearchTopK = None
|
|
27181
27504
|
self._Order = None
|
|
27505
|
+
self._WithTaskInfo = None
|
|
27182
27506
|
|
|
27183
27507
|
@property
|
|
27184
27508
|
def ProductId(self):
|
|
@@ -27334,6 +27658,17 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27334
27658
|
def Order(self, Order):
|
|
27335
27659
|
self._Order = Order
|
|
27336
27660
|
|
|
27661
|
+
@property
|
|
27662
|
+
def WithTaskInfo(self):
|
|
27663
|
+
r"""<p>是否输出原始任务信息</p>
|
|
27664
|
+
:rtype: bool
|
|
27665
|
+
"""
|
|
27666
|
+
return self._WithTaskInfo
|
|
27667
|
+
|
|
27668
|
+
@WithTaskInfo.setter
|
|
27669
|
+
def WithTaskInfo(self, WithTaskInfo):
|
|
27670
|
+
self._WithTaskInfo = WithTaskInfo
|
|
27671
|
+
|
|
27337
27672
|
|
|
27338
27673
|
def _deserialize(self, params):
|
|
27339
27674
|
self._ProductId = params.get("ProductId")
|
|
@@ -27350,6 +27685,7 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
|
27350
27685
|
self._VectorSearchRadius = params.get("VectorSearchRadius")
|
|
27351
27686
|
self._VectorSearchTopK = params.get("VectorSearchTopK")
|
|
27352
27687
|
self._Order = params.get("Order")
|
|
27688
|
+
self._WithTaskInfo = params.get("WithTaskInfo")
|
|
27353
27689
|
memeber_set = set(params.keys())
|
|
27354
27690
|
for name, value in vars(self).items():
|
|
27355
27691
|
property_name = name[1:]
|
|
@@ -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.126
|
|
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.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.124
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|