tencentcloud-sdk-python 3.0.1368__py2.py3-none-any.whl → 3.0.1370__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/autoscaling/v20180419/autoscaling_client.py +2 -1
- tencentcloud/autoscaling/v20180419/models.py +198 -102
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +41 -44
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +83 -40
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +584 -158
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +0 -15
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/ims/v20201229/models.py +21 -2
- tencentcloud/ioa/v20220601/models.py +19 -4
- tencentcloud/iotexplorer/v20190423/models.py +94 -4
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lke/v20231130/models.py +78 -6
- tencentcloud/lkeap/v20240522/models.py +191 -0
- tencentcloud/mps/v20190612/models.py +2 -2
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/redis/v20180412/models.py +159 -6
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/tat/v20201028/errorcodes.py +6 -0
- tencentcloud/tat/v20201028/models.py +78 -32
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/teo/v20220901/models.py +35 -10
- tencentcloud/tione/v20211111/models.py +84 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +2 -6
- tencentcloud/vod/v20180717/models.py +6 -6
- tencentcloud/vpc/v20170312/models.py +30 -76
- tencentcloud/wedata/v20210820/models.py +322 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1368.dist-info → tencentcloud_sdk_python-3.0.1370.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1368.dist-info → tencentcloud_sdk_python-3.0.1370.dist-info}/RECORD +54 -54
- {tencentcloud_sdk_python-3.0.1368.dist-info → tencentcloud_sdk_python-3.0.1370.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1368.dist-info → tencentcloud_sdk_python-3.0.1370.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1368.dist-info → tencentcloud_sdk_python-3.0.1370.dist-info}/top_level.txt +0 -0
@@ -32118,6 +32118,8 @@ class ScanTaskResult(AbstractModel):
|
|
32118
32118
|
:type ResultDescription: str
|
32119
32119
|
:param _Suggestion: 结果建议
|
32120
32120
|
:type Suggestion: str
|
32121
|
+
:param _Progress: 扫描进度
|
32122
|
+
:type Progress: float
|
32121
32123
|
"""
|
32122
32124
|
self._Id = None
|
32123
32125
|
self._EndTime = None
|
@@ -32125,6 +32127,7 @@ class ScanTaskResult(AbstractModel):
|
|
32125
32127
|
self._Result = None
|
32126
32128
|
self._ResultDescription = None
|
32127
32129
|
self._Suggestion = None
|
32130
|
+
self._Progress = None
|
32128
32131
|
|
32129
32132
|
@property
|
32130
32133
|
def Id(self):
|
@@ -32192,6 +32195,17 @@ class ScanTaskResult(AbstractModel):
|
|
32192
32195
|
def Suggestion(self, Suggestion):
|
32193
32196
|
self._Suggestion = Suggestion
|
32194
32197
|
|
32198
|
+
@property
|
32199
|
+
def Progress(self):
|
32200
|
+
"""扫描进度
|
32201
|
+
:rtype: float
|
32202
|
+
"""
|
32203
|
+
return self._Progress
|
32204
|
+
|
32205
|
+
@Progress.setter
|
32206
|
+
def Progress(self, Progress):
|
32207
|
+
self._Progress = Progress
|
32208
|
+
|
32195
32209
|
|
32196
32210
|
def _deserialize(self, params):
|
32197
32211
|
self._Id = params.get("Id")
|
@@ -32200,6 +32214,7 @@ class ScanTaskResult(AbstractModel):
|
|
32200
32214
|
self._Result = params.get("Result")
|
32201
32215
|
self._ResultDescription = params.get("ResultDescription")
|
32202
32216
|
self._Suggestion = params.get("Suggestion")
|
32217
|
+
self._Progress = params.get("Progress")
|
32203
32218
|
memeber_set = set(params.keys())
|
32204
32219
|
for name, value in vars(self).items():
|
32205
32220
|
property_name = name[1:]
|
@@ -11983,14 +11983,11 @@ class ModifyConsumerGroupPasswordRequest(AbstractModel):
|
|
11983
11983
|
:type ConsumerGroupName: str
|
11984
11984
|
:param _NewPassword: 新密码。字符长度不小于3,不大于32
|
11985
11985
|
:type NewPassword: str
|
11986
|
-
:param _OldPassword: 旧密码,非必选
|
11987
|
-
:type OldPassword: str
|
11988
11986
|
"""
|
11989
11987
|
self._SubscribeId = None
|
11990
11988
|
self._AccountName = None
|
11991
11989
|
self._ConsumerGroupName = None
|
11992
11990
|
self._NewPassword = None
|
11993
|
-
self._OldPassword = None
|
11994
11991
|
|
11995
11992
|
@property
|
11996
11993
|
def SubscribeId(self):
|
@@ -12036,24 +12033,12 @@ class ModifyConsumerGroupPasswordRequest(AbstractModel):
|
|
12036
12033
|
def NewPassword(self, NewPassword):
|
12037
12034
|
self._NewPassword = NewPassword
|
12038
12035
|
|
12039
|
-
@property
|
12040
|
-
def OldPassword(self):
|
12041
|
-
"""旧密码,非必选
|
12042
|
-
:rtype: str
|
12043
|
-
"""
|
12044
|
-
return self._OldPassword
|
12045
|
-
|
12046
|
-
@OldPassword.setter
|
12047
|
-
def OldPassword(self, OldPassword):
|
12048
|
-
self._OldPassword = OldPassword
|
12049
|
-
|
12050
12036
|
|
12051
12037
|
def _deserialize(self, params):
|
12052
12038
|
self._SubscribeId = params.get("SubscribeId")
|
12053
12039
|
self._AccountName = params.get("AccountName")
|
12054
12040
|
self._ConsumerGroupName = params.get("ConsumerGroupName")
|
12055
12041
|
self._NewPassword = params.get("NewPassword")
|
12056
|
-
self._OldPassword = params.get("OldPassword")
|
12057
12042
|
memeber_set = set(params.keys())
|
12058
12043
|
for name, value in vars(self).items():
|
12059
12044
|
property_name = name[1:]
|
@@ -27,7 +27,9 @@ class EcdnClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def DescribeDomains(self, request):
|
30
|
-
"""
|
30
|
+
"""ECDN平台下线,接口开始预下线处理
|
31
|
+
|
32
|
+
本接口(DescribeDomains)用于查询CDN域名基本信息,包括项目id,状态,业务类型,创建时间,更新时间等。
|
31
33
|
|
32
34
|
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41118"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
33
35
|
|
@@ -52,7 +54,9 @@ class EcdnClient(AbstractClient):
|
|
52
54
|
|
53
55
|
|
54
56
|
def DescribeDomainsConfig(self, request):
|
55
|
-
"""
|
57
|
+
"""ECDN平台下线,接口开始预下线处理
|
58
|
+
|
59
|
+
本接口(DescribeDomainsConfig)用于查询CDN加速域名详细配置信息。
|
56
60
|
|
57
61
|
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41117"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
58
62
|
|
@@ -77,7 +81,9 @@ class EcdnClient(AbstractClient):
|
|
77
81
|
|
78
82
|
|
79
83
|
def DescribeEcdnDomainLogs(self, request):
|
80
|
-
"""
|
84
|
+
"""ECDN平台下线,接口开始预下线处理
|
85
|
+
|
86
|
+
本接口(DescribeEcdnDomainLogs)用于查询域名的访问日志下载地址。
|
81
87
|
|
82
88
|
:param request: Request instance for DescribeEcdnDomainLogs.
|
83
89
|
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnDomainLogsRequest`
|
@@ -100,7 +106,9 @@ class EcdnClient(AbstractClient):
|
|
100
106
|
|
101
107
|
|
102
108
|
def DescribeEcdnDomainStatistics(self, request):
|
103
|
-
"""
|
109
|
+
"""ECDN平台下线,接口开始预下线处理
|
110
|
+
|
111
|
+
本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标。
|
104
112
|
|
105
113
|
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/30986"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
106
114
|
|
@@ -125,7 +133,9 @@ class EcdnClient(AbstractClient):
|
|
125
133
|
|
126
134
|
|
127
135
|
def DescribeEcdnStatistics(self, request):
|
128
|
-
"""
|
136
|
+
"""ECDN平台下线,接口开始预下线处理
|
137
|
+
|
138
|
+
DescribeEcdnStatistics用于查询 ECDN 实时访问监控数据,支持以下指标查询:
|
129
139
|
|
130
140
|
+ 流量(单位为 byte)
|
131
141
|
+ 带宽(单位为 bps)
|
@@ -156,7 +166,9 @@ class EcdnClient(AbstractClient):
|
|
156
166
|
|
157
167
|
|
158
168
|
def DescribeIpStatus(self, request):
|
159
|
-
"""
|
169
|
+
"""ECDN平台下线,接口开始预下线处理
|
170
|
+
|
171
|
+
DescribeIpStatus 用于查询域名所在加速平台的所有节点信息, 如果您的源站有白名单设置,可以通过本接口获取ECDN服务的节点IP进行加白, 本接口为内测接口,请联系腾讯云工程师开白。
|
160
172
|
|
161
173
|
由于产品服务节点常有更新,对于源站开白的使用场景,请定期调用接口获取最新节点信息,若新增服务节点发布7日后您尚未更新加白导致回源失败等问题,ECDN侧不对此承担责任。
|
162
174
|
|
@@ -59,6 +59,9 @@ INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = 'InvalidParameterValue.InstanceNameT
|
|
59
59
|
# 应用ID格式非法
|
60
60
|
INVALIDPARAMETERVALUE_INVALIDAPPLICATIONIDMALFORMED = 'InvalidParameterValue.InvalidApplicationIdMalformed'
|
61
61
|
|
62
|
+
# 自定义应用名称重复
|
63
|
+
INVALIDPARAMETERVALUE_INVALIDAPPLICATIONNAMEDUPLICATE = 'InvalidParameterValue.InvalidApplicationNameDuplicate'
|
64
|
+
|
62
65
|
# 应用类型application-type仅可以选择PUBLIC_APPLICATION,PRIVATE_APPLICATION或COMMUNITY_APPLICATION
|
63
66
|
INVALIDPARAMETERVALUE_INVALIDAPPLICATIONTYPE = 'InvalidParameterValue.InvalidApplicationType'
|
64
67
|
|
@@ -122,6 +125,9 @@ UNAUTHORIZEDOPERATION_UNAUTHORIZEDUSER = 'UnauthorizedOperation.UnauthorizedUser
|
|
122
125
|
# 不允许同时操作预付费过期实例和未过期实例
|
123
126
|
UNSUPPORTEDOPERATION_CANNOTTERMINATEEXPIREDANDNOTEXPIREDINSTANCES = 'UnsupportedOperation.CannotTerminateExpiredAndNotExpiredInstances'
|
124
127
|
|
128
|
+
# 实例不支持创建自定义应用
|
129
|
+
UNSUPPORTEDOPERATION_INSTANCECREATEAPPLICATIONNOTSUPPORT = 'UnsupportedOperation.InstanceCreateApplicationNotSupport'
|
130
|
+
|
125
131
|
# 不支持对处于`Arrears`状态的实例执行当前操作。
|
126
132
|
UNSUPPORTEDOPERATION_INSTANCESTATEARREARS = 'UnsupportedOperation.InstanceStateArrears'
|
127
133
|
|
@@ -26,6 +26,29 @@ class HaiClient(AbstractClient):
|
|
26
26
|
_service = 'hai'
|
27
27
|
|
28
28
|
|
29
|
+
def CreateApplication(self, request):
|
30
|
+
"""本接口(CreateApplicaiton)用于对HAI实例制作自定义应用。
|
31
|
+
|
32
|
+
:param request: Request instance for CreateApplication.
|
33
|
+
:type request: :class:`tencentcloud.hai.v20230812.models.CreateApplicationRequest`
|
34
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.CreateApplicationResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("CreateApplication", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.CreateApplicationResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
29
52
|
def CreateMuskPrompt(self, request):
|
30
53
|
"""创建musk prompt 任务
|
31
54
|
|
@@ -180,6 +180,115 @@ class ApplicationInfo(AbstractModel):
|
|
180
180
|
|
181
181
|
|
182
182
|
|
183
|
+
class CreateApplicationRequest(AbstractModel):
|
184
|
+
"""CreateApplication请求参数结构体
|
185
|
+
|
186
|
+
"""
|
187
|
+
|
188
|
+
def __init__(self):
|
189
|
+
r"""
|
190
|
+
:param _InstanceId: 需要制作自定义应用的HAI实例ID
|
191
|
+
:type InstanceId: str
|
192
|
+
:param _ApplicationName: 自定义应用的应用名称
|
193
|
+
:type ApplicationName: str
|
194
|
+
:param _ApplicationDescription: 自定义应用的描述
|
195
|
+
:type ApplicationDescription: str
|
196
|
+
"""
|
197
|
+
self._InstanceId = None
|
198
|
+
self._ApplicationName = None
|
199
|
+
self._ApplicationDescription = None
|
200
|
+
|
201
|
+
@property
|
202
|
+
def InstanceId(self):
|
203
|
+
"""需要制作自定义应用的HAI实例ID
|
204
|
+
:rtype: str
|
205
|
+
"""
|
206
|
+
return self._InstanceId
|
207
|
+
|
208
|
+
@InstanceId.setter
|
209
|
+
def InstanceId(self, InstanceId):
|
210
|
+
self._InstanceId = InstanceId
|
211
|
+
|
212
|
+
@property
|
213
|
+
def ApplicationName(self):
|
214
|
+
"""自定义应用的应用名称
|
215
|
+
:rtype: str
|
216
|
+
"""
|
217
|
+
return self._ApplicationName
|
218
|
+
|
219
|
+
@ApplicationName.setter
|
220
|
+
def ApplicationName(self, ApplicationName):
|
221
|
+
self._ApplicationName = ApplicationName
|
222
|
+
|
223
|
+
@property
|
224
|
+
def ApplicationDescription(self):
|
225
|
+
"""自定义应用的描述
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._ApplicationDescription
|
229
|
+
|
230
|
+
@ApplicationDescription.setter
|
231
|
+
def ApplicationDescription(self, ApplicationDescription):
|
232
|
+
self._ApplicationDescription = ApplicationDescription
|
233
|
+
|
234
|
+
|
235
|
+
def _deserialize(self, params):
|
236
|
+
self._InstanceId = params.get("InstanceId")
|
237
|
+
self._ApplicationName = params.get("ApplicationName")
|
238
|
+
self._ApplicationDescription = params.get("ApplicationDescription")
|
239
|
+
memeber_set = set(params.keys())
|
240
|
+
for name, value in vars(self).items():
|
241
|
+
property_name = name[1:]
|
242
|
+
if property_name in memeber_set:
|
243
|
+
memeber_set.remove(property_name)
|
244
|
+
if len(memeber_set) > 0:
|
245
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
class CreateApplicationResponse(AbstractModel):
|
250
|
+
"""CreateApplication返回参数结构体
|
251
|
+
|
252
|
+
"""
|
253
|
+
|
254
|
+
def __init__(self):
|
255
|
+
r"""
|
256
|
+
:param _ApplicationId: HAI自定义应用ID
|
257
|
+
:type ApplicationId: str
|
258
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
259
|
+
:type RequestId: str
|
260
|
+
"""
|
261
|
+
self._ApplicationId = None
|
262
|
+
self._RequestId = None
|
263
|
+
|
264
|
+
@property
|
265
|
+
def ApplicationId(self):
|
266
|
+
"""HAI自定义应用ID
|
267
|
+
:rtype: str
|
268
|
+
"""
|
269
|
+
return self._ApplicationId
|
270
|
+
|
271
|
+
@ApplicationId.setter
|
272
|
+
def ApplicationId(self, ApplicationId):
|
273
|
+
self._ApplicationId = ApplicationId
|
274
|
+
|
275
|
+
@property
|
276
|
+
def RequestId(self):
|
277
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
278
|
+
:rtype: str
|
279
|
+
"""
|
280
|
+
return self._RequestId
|
281
|
+
|
282
|
+
@RequestId.setter
|
283
|
+
def RequestId(self, RequestId):
|
284
|
+
self._RequestId = RequestId
|
285
|
+
|
286
|
+
|
287
|
+
def _deserialize(self, params):
|
288
|
+
self._ApplicationId = params.get("ApplicationId")
|
289
|
+
self._RequestId = params.get("RequestId")
|
290
|
+
|
291
|
+
|
183
292
|
class CreateMuskPromptRequest(AbstractModel):
|
184
293
|
"""CreateMuskPrompt请求参数结构体
|
185
294
|
|
@@ -387,6 +387,8 @@ class ImageModerationRequest(AbstractModel):
|
|
387
387
|
:type User: :class:`tencentcloud.ims.v20201229.models.User`
|
388
388
|
:param _Device: 该字段表示待检测对象对应的设备相关信息,若填入则可甄别相应违规风险设备。
|
389
389
|
:type Device: :class:`tencentcloud.ims.v20201229.models.Device`
|
390
|
+
:param _Type: 该字段表示送审的数据类型,默认为通用图片,可以选择。
|
391
|
+
:type Type: str
|
390
392
|
"""
|
391
393
|
self._BizType = None
|
392
394
|
self._DataId = None
|
@@ -396,6 +398,7 @@ class ImageModerationRequest(AbstractModel):
|
|
396
398
|
self._MaxFrames = None
|
397
399
|
self._User = None
|
398
400
|
self._Device = None
|
401
|
+
self._Type = None
|
399
402
|
|
400
403
|
@property
|
401
404
|
def BizType(self):
|
@@ -485,6 +488,17 @@ class ImageModerationRequest(AbstractModel):
|
|
485
488
|
def Device(self, Device):
|
486
489
|
self._Device = Device
|
487
490
|
|
491
|
+
@property
|
492
|
+
def Type(self):
|
493
|
+
"""该字段表示送审的数据类型,默认为通用图片,可以选择。
|
494
|
+
:rtype: str
|
495
|
+
"""
|
496
|
+
return self._Type
|
497
|
+
|
498
|
+
@Type.setter
|
499
|
+
def Type(self, Type):
|
500
|
+
self._Type = Type
|
501
|
+
|
488
502
|
|
489
503
|
def _deserialize(self, params):
|
490
504
|
self._BizType = params.get("BizType")
|
@@ -499,6 +513,7 @@ class ImageModerationRequest(AbstractModel):
|
|
499
513
|
if params.get("Device") is not None:
|
500
514
|
self._Device = Device()
|
501
515
|
self._Device._deserialize(params.get("Device"))
|
516
|
+
self._Type = params.get("Type")
|
502
517
|
memeber_set = set(params.keys())
|
503
518
|
for name, value in vars(self).items():
|
504
519
|
property_name = name[1:]
|
@@ -524,7 +539,9 @@ class ImageModerationResponse(AbstractModel):
|
|
524
539
|
:type SubLabel: str
|
525
540
|
:param _Score: 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表图片越有可能属于当前返回的标签;如:*色情 99*,则表明该图片非常有可能属于色情内容;*色情 0*,则表明该图片不属于色情内容。
|
526
541
|
:type Score: int
|
527
|
-
:param _LabelResults:
|
542
|
+
:param _LabelResults: 该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
|
543
|
+
|
544
|
+
返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
|
528
545
|
注意:此字段可能返回 null,表示取不到有效值。
|
529
546
|
:type LabelResults: list of LabelResult
|
530
547
|
:param _ObjectResults: 该字段用于返回物体检测模型的详细检测结果;包括:实体、广告台标、二维码等内容命中的标签名称、标签分数、坐标信息、场景识别结果、建议操作等内容审核信息;详细返回值信息可参阅对应的数据结构(ObjectResults)描述。
|
@@ -612,7 +629,9 @@ class ImageModerationResponse(AbstractModel):
|
|
612
629
|
|
613
630
|
@property
|
614
631
|
def LabelResults(self):
|
615
|
-
"""
|
632
|
+
"""该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
|
633
|
+
|
634
|
+
返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
|
616
635
|
注意:此字段可能返回 null,表示取不到有效值。
|
617
636
|
:rtype: list of LabelResult
|
618
637
|
"""
|
@@ -2876,7 +2876,7 @@ class DeviceDetail(AbstractModel):
|
|
2876
2876
|
:type DeviceStrategyVer: str
|
2877
2877
|
:param _NGNStrategyVer: NGN策略版本
|
2878
2878
|
:type NGNStrategyVer: str
|
2879
|
-
:param _IOAUserName: 最近登录账户的账号
|
2879
|
+
:param _IOAUserName: 最近登录账户的账号(账号系统用户账号)
|
2880
2880
|
:type IOAUserName: str
|
2881
2881
|
:param _DeviceNewStrategyVer: 设备管控新策略
|
2882
2882
|
:type DeviceNewStrategyVer: str
|
@@ -2894,10 +2894,12 @@ class DeviceDetail(AbstractModel):
|
|
2894
2894
|
:type IdentityNewStrategyVer: str
|
2895
2895
|
:param _AccountGroupName: 最近登录账号部门
|
2896
2896
|
:type AccountGroupName: str
|
2897
|
-
:param _AccountName: 最近登录账户的姓名
|
2897
|
+
:param _AccountName: 最近登录账户的姓名(账号系统用户姓名)
|
2898
2898
|
:type AccountName: str
|
2899
2899
|
:param _AccountGroupId: 账号组id
|
2900
2900
|
:type AccountGroupId: int
|
2901
|
+
:param _RemarkName: 终端备注名
|
2902
|
+
:type RemarkName: str
|
2901
2903
|
"""
|
2902
2904
|
self._Id = None
|
2903
2905
|
self._Mid = None
|
@@ -2942,6 +2944,7 @@ class DeviceDetail(AbstractModel):
|
|
2942
2944
|
self._AccountGroupName = None
|
2943
2945
|
self._AccountName = None
|
2944
2946
|
self._AccountGroupId = None
|
2947
|
+
self._RemarkName = None
|
2945
2948
|
|
2946
2949
|
@property
|
2947
2950
|
def Id(self):
|
@@ -3297,7 +3300,7 @@ class DeviceDetail(AbstractModel):
|
|
3297
3300
|
|
3298
3301
|
@property
|
3299
3302
|
def IOAUserName(self):
|
3300
|
-
"""最近登录账户的账号
|
3303
|
+
"""最近登录账户的账号(账号系统用户账号)
|
3301
3304
|
:rtype: str
|
3302
3305
|
"""
|
3303
3306
|
return self._IOAUserName
|
@@ -3396,7 +3399,7 @@ class DeviceDetail(AbstractModel):
|
|
3396
3399
|
|
3397
3400
|
@property
|
3398
3401
|
def AccountName(self):
|
3399
|
-
"""最近登录账户的姓名
|
3402
|
+
"""最近登录账户的姓名(账号系统用户姓名)
|
3400
3403
|
:rtype: str
|
3401
3404
|
"""
|
3402
3405
|
return self._AccountName
|
@@ -3416,6 +3419,17 @@ class DeviceDetail(AbstractModel):
|
|
3416
3419
|
def AccountGroupId(self, AccountGroupId):
|
3417
3420
|
self._AccountGroupId = AccountGroupId
|
3418
3421
|
|
3422
|
+
@property
|
3423
|
+
def RemarkName(self):
|
3424
|
+
"""终端备注名
|
3425
|
+
:rtype: str
|
3426
|
+
"""
|
3427
|
+
return self._RemarkName
|
3428
|
+
|
3429
|
+
@RemarkName.setter
|
3430
|
+
def RemarkName(self, RemarkName):
|
3431
|
+
self._RemarkName = RemarkName
|
3432
|
+
|
3419
3433
|
|
3420
3434
|
def _deserialize(self, params):
|
3421
3435
|
self._Id = params.get("Id")
|
@@ -3461,6 +3475,7 @@ class DeviceDetail(AbstractModel):
|
|
3461
3475
|
self._AccountGroupName = params.get("AccountGroupName")
|
3462
3476
|
self._AccountName = params.get("AccountName")
|
3463
3477
|
self._AccountGroupId = params.get("AccountGroupId")
|
3478
|
+
self._RemarkName = params.get("RemarkName")
|
3464
3479
|
memeber_set = set(params.keys())
|
3465
3480
|
for name, value in vars(self).items():
|
3466
3481
|
property_name = name[1:]
|
@@ -1786,10 +1786,14 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
1786
1786
|
- `Highlight`:视频浓缩
|
1787
1787
|
- `VideoToText`:视频语义理解
|
1788
1788
|
:type ServiceType: str
|
1789
|
-
:param _StartTime:
|
1789
|
+
:param _StartTime: 对应云存视频的起始时间(秒级 UNIX 时间戳)
|
1790
1790
|
:type StartTime: int
|
1791
|
-
:param
|
1791
|
+
:param _StartTimeMs: 对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
1792
|
+
:type StartTimeMs: int
|
1793
|
+
:param _EndTime: 对应云存视频的结束时间(秒级 UNIX 时间戳)
|
1792
1794
|
:type EndTime: int
|
1795
|
+
:param _EndTimeMs: 对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
1796
|
+
:type EndTimeMs: int
|
1793
1797
|
:param _Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;4:执行中)
|
1794
1798
|
:type Status: int
|
1795
1799
|
:param _Result: 任务结果
|
@@ -1811,7 +1815,9 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
1811
1815
|
self._ChannelId = None
|
1812
1816
|
self._ServiceType = None
|
1813
1817
|
self._StartTime = None
|
1818
|
+
self._StartTimeMs = None
|
1814
1819
|
self._EndTime = None
|
1820
|
+
self._EndTimeMs = None
|
1815
1821
|
self._Status = None
|
1816
1822
|
self._Result = None
|
1817
1823
|
self._Files = None
|
@@ -1881,7 +1887,7 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
1881
1887
|
|
1882
1888
|
@property
|
1883
1889
|
def StartTime(self):
|
1884
|
-
"""
|
1890
|
+
"""对应云存视频的起始时间(秒级 UNIX 时间戳)
|
1885
1891
|
:rtype: int
|
1886
1892
|
"""
|
1887
1893
|
return self._StartTime
|
@@ -1890,9 +1896,20 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
1890
1896
|
def StartTime(self, StartTime):
|
1891
1897
|
self._StartTime = StartTime
|
1892
1898
|
|
1899
|
+
@property
|
1900
|
+
def StartTimeMs(self):
|
1901
|
+
"""对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
1902
|
+
:rtype: int
|
1903
|
+
"""
|
1904
|
+
return self._StartTimeMs
|
1905
|
+
|
1906
|
+
@StartTimeMs.setter
|
1907
|
+
def StartTimeMs(self, StartTimeMs):
|
1908
|
+
self._StartTimeMs = StartTimeMs
|
1909
|
+
|
1893
1910
|
@property
|
1894
1911
|
def EndTime(self):
|
1895
|
-
"""
|
1912
|
+
"""对应云存视频的结束时间(秒级 UNIX 时间戳)
|
1896
1913
|
:rtype: int
|
1897
1914
|
"""
|
1898
1915
|
return self._EndTime
|
@@ -1901,6 +1918,17 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
1901
1918
|
def EndTime(self, EndTime):
|
1902
1919
|
self._EndTime = EndTime
|
1903
1920
|
|
1921
|
+
@property
|
1922
|
+
def EndTimeMs(self):
|
1923
|
+
"""对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
1924
|
+
:rtype: int
|
1925
|
+
"""
|
1926
|
+
return self._EndTimeMs
|
1927
|
+
|
1928
|
+
@EndTimeMs.setter
|
1929
|
+
def EndTimeMs(self, EndTimeMs):
|
1930
|
+
self._EndTimeMs = EndTimeMs
|
1931
|
+
|
1904
1932
|
@property
|
1905
1933
|
def Status(self):
|
1906
1934
|
"""任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;4:执行中)
|
@@ -1986,7 +2014,9 @@ class CloudStorageAIServiceTask(AbstractModel):
|
|
1986
2014
|
self._ChannelId = params.get("ChannelId")
|
1987
2015
|
self._ServiceType = params.get("ServiceType")
|
1988
2016
|
self._StartTime = params.get("StartTime")
|
2017
|
+
self._StartTimeMs = params.get("StartTimeMs")
|
1989
2018
|
self._EndTime = params.get("EndTime")
|
2019
|
+
self._EndTimeMs = params.get("EndTimeMs")
|
1990
2020
|
self._Status = params.get("Status")
|
1991
2021
|
self._Result = params.get("Result")
|
1992
2022
|
self._Files = params.get("Files")
|
@@ -19998,11 +20028,14 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
19998
20028
|
:type Query: str
|
19999
20029
|
:param _SummaryLang: 搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
20000
20030
|
:type SummaryLang: str
|
20031
|
+
:param _ChannelId: 通道ID
|
20032
|
+
:type ChannelId: int
|
20001
20033
|
"""
|
20002
20034
|
self._ProductId = None
|
20003
20035
|
self._DeviceName = None
|
20004
20036
|
self._Query = None
|
20005
20037
|
self._SummaryLang = None
|
20038
|
+
self._ChannelId = None
|
20006
20039
|
|
20007
20040
|
@property
|
20008
20041
|
def ProductId(self):
|
@@ -20048,12 +20081,24 @@ class InvokeAISearchServiceRequest(AbstractModel):
|
|
20048
20081
|
def SummaryLang(self, SummaryLang):
|
20049
20082
|
self._SummaryLang = SummaryLang
|
20050
20083
|
|
20084
|
+
@property
|
20085
|
+
def ChannelId(self):
|
20086
|
+
"""通道ID
|
20087
|
+
:rtype: int
|
20088
|
+
"""
|
20089
|
+
return self._ChannelId
|
20090
|
+
|
20091
|
+
@ChannelId.setter
|
20092
|
+
def ChannelId(self, ChannelId):
|
20093
|
+
self._ChannelId = ChannelId
|
20094
|
+
|
20051
20095
|
|
20052
20096
|
def _deserialize(self, params):
|
20053
20097
|
self._ProductId = params.get("ProductId")
|
20054
20098
|
self._DeviceName = params.get("DeviceName")
|
20055
20099
|
self._Query = params.get("Query")
|
20056
20100
|
self._SummaryLang = params.get("SummaryLang")
|
20101
|
+
self._ChannelId = params.get("ChannelId")
|
20057
20102
|
memeber_set = set(params.keys())
|
20058
20103
|
for name, value in vars(self).items():
|
20059
20104
|
property_name = name[1:]
|
@@ -20075,11 +20120,14 @@ class InvokeAISearchServiceResponse(AbstractModel):
|
|
20075
20120
|
:type Summary: str
|
20076
20121
|
:param _Targets: 视频结果集
|
20077
20122
|
:type Targets: list of TargetInfo
|
20123
|
+
:param _VideoURL: 视频回放URL
|
20124
|
+
:type VideoURL: str
|
20078
20125
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20079
20126
|
:type RequestId: str
|
20080
20127
|
"""
|
20081
20128
|
self._Summary = None
|
20082
20129
|
self._Targets = None
|
20130
|
+
self._VideoURL = None
|
20083
20131
|
self._RequestId = None
|
20084
20132
|
|
20085
20133
|
@property
|
@@ -20104,6 +20152,17 @@ class InvokeAISearchServiceResponse(AbstractModel):
|
|
20104
20152
|
def Targets(self, Targets):
|
20105
20153
|
self._Targets = Targets
|
20106
20154
|
|
20155
|
+
@property
|
20156
|
+
def VideoURL(self):
|
20157
|
+
"""视频回放URL
|
20158
|
+
:rtype: str
|
20159
|
+
"""
|
20160
|
+
return self._VideoURL
|
20161
|
+
|
20162
|
+
@VideoURL.setter
|
20163
|
+
def VideoURL(self, VideoURL):
|
20164
|
+
self._VideoURL = VideoURL
|
20165
|
+
|
20107
20166
|
@property
|
20108
20167
|
def RequestId(self):
|
20109
20168
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -20124,6 +20183,7 @@ class InvokeAISearchServiceResponse(AbstractModel):
|
|
20124
20183
|
obj = TargetInfo()
|
20125
20184
|
obj._deserialize(item)
|
20126
20185
|
self._Targets.append(obj)
|
20186
|
+
self._VideoURL = params.get("VideoURL")
|
20127
20187
|
self._RequestId = params.get("RequestId")
|
20128
20188
|
|
20129
20189
|
|
@@ -28109,6 +28169,10 @@ class TargetInfo(AbstractModel):
|
|
28109
28169
|
:type EventId: str
|
28110
28170
|
:param _Summary: 视频内容摘要
|
28111
28171
|
:type Summary: str
|
28172
|
+
:param _ChannelId: 通道ID
|
28173
|
+
:type ChannelId: int
|
28174
|
+
:param _Thumbnail: 缩略图路径
|
28175
|
+
:type Thumbnail: str
|
28112
28176
|
"""
|
28113
28177
|
self._Id = None
|
28114
28178
|
self._ProductId = None
|
@@ -28117,6 +28181,8 @@ class TargetInfo(AbstractModel):
|
|
28117
28181
|
self._EndTimeMs = None
|
28118
28182
|
self._EventId = None
|
28119
28183
|
self._Summary = None
|
28184
|
+
self._ChannelId = None
|
28185
|
+
self._Thumbnail = None
|
28120
28186
|
|
28121
28187
|
@property
|
28122
28188
|
def Id(self):
|
@@ -28195,6 +28261,28 @@ class TargetInfo(AbstractModel):
|
|
28195
28261
|
def Summary(self, Summary):
|
28196
28262
|
self._Summary = Summary
|
28197
28263
|
|
28264
|
+
@property
|
28265
|
+
def ChannelId(self):
|
28266
|
+
"""通道ID
|
28267
|
+
:rtype: int
|
28268
|
+
"""
|
28269
|
+
return self._ChannelId
|
28270
|
+
|
28271
|
+
@ChannelId.setter
|
28272
|
+
def ChannelId(self, ChannelId):
|
28273
|
+
self._ChannelId = ChannelId
|
28274
|
+
|
28275
|
+
@property
|
28276
|
+
def Thumbnail(self):
|
28277
|
+
"""缩略图路径
|
28278
|
+
:rtype: str
|
28279
|
+
"""
|
28280
|
+
return self._Thumbnail
|
28281
|
+
|
28282
|
+
@Thumbnail.setter
|
28283
|
+
def Thumbnail(self, Thumbnail):
|
28284
|
+
self._Thumbnail = Thumbnail
|
28285
|
+
|
28198
28286
|
|
28199
28287
|
def _deserialize(self, params):
|
28200
28288
|
self._Id = params.get("Id")
|
@@ -28204,6 +28292,8 @@ class TargetInfo(AbstractModel):
|
|
28204
28292
|
self._EndTimeMs = params.get("EndTimeMs")
|
28205
28293
|
self._EventId = params.get("EventId")
|
28206
28294
|
self._Summary = params.get("Summary")
|
28295
|
+
self._ChannelId = params.get("ChannelId")
|
28296
|
+
self._Thumbnail = params.get("Thumbnail")
|
28207
28297
|
memeber_set = set(params.keys())
|
28208
28298
|
for name, value in vars(self).items():
|
28209
28299
|
property_name = name[1:]
|