tencentcloud-sdk-python 3.0.1135__py2.py3-none-any.whl → 3.0.1136__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/apm/v20210622/apm_client.py +69 -0
- tencentcloud/apm/v20210622/errorcodes.py +27 -0
- tencentcloud/apm/v20210622/models.py +639 -0
- tencentcloud/cloudstudio/v20230508/models.py +1 -1
- tencentcloud/ess/v20201111/models.py +97 -0
- tencentcloud/essbasic/v20210526/models.py +97 -0
- tencentcloud/ims/v20201229/errorcodes.py +3 -0
- tencentcloud/ims/v20201229/ims_client.py +2 -3
- tencentcloud/ims/v20201229/models.py +12 -12
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +145 -0
- tencentcloud/iss/v20230517/models.py +48 -0
- tencentcloud/lke/v20231130/errorcodes.py +0 -12
- tencentcloud/lke/v20231130/lke_client.py +0 -46
- tencentcloud/lke/v20231130/models.py +0 -242
- tencentcloud/tdid/v20210519/tdid_client.py +1 -1
- tencentcloud/teo/v20220901/models.py +19 -20
- tencentcloud/tione/v20211111/models.py +49 -0
- {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/RECORD +24 -24
- {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1135.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/top_level.txt +0 -0
@@ -3096,6 +3096,8 @@ class CreateBatchSignUrlRequest(AbstractModel):
|
|
3096
3096
|
<li>**true**: 跳过合同流程列表, 直接进入合同内容页面进行签署</li>
|
3097
3097
|
</ul>
|
3098
3098
|
:type JumpToDetail: bool
|
3099
|
+
:param _FlowBatchUrlInfo: 批量签署合同相关信息,指定合同和签署方的信息,用于补充动态签署人。
|
3100
|
+
:type FlowBatchUrlInfo: :class:`tencentcloud.ess.v20201111.models.FlowBatchUrlInfo`
|
3099
3101
|
"""
|
3100
3102
|
self._Operator = None
|
3101
3103
|
self._Name = None
|
@@ -3107,6 +3109,7 @@ class CreateBatchSignUrlRequest(AbstractModel):
|
|
3107
3109
|
self._FlowIds = None
|
3108
3110
|
self._OrganizationName = None
|
3109
3111
|
self._JumpToDetail = None
|
3112
|
+
self._FlowBatchUrlInfo = None
|
3110
3113
|
|
3111
3114
|
@property
|
3112
3115
|
def Operator(self):
|
@@ -3188,6 +3191,14 @@ class CreateBatchSignUrlRequest(AbstractModel):
|
|
3188
3191
|
def JumpToDetail(self, JumpToDetail):
|
3189
3192
|
self._JumpToDetail = JumpToDetail
|
3190
3193
|
|
3194
|
+
@property
|
3195
|
+
def FlowBatchUrlInfo(self):
|
3196
|
+
return self._FlowBatchUrlInfo
|
3197
|
+
|
3198
|
+
@FlowBatchUrlInfo.setter
|
3199
|
+
def FlowBatchUrlInfo(self, FlowBatchUrlInfo):
|
3200
|
+
self._FlowBatchUrlInfo = FlowBatchUrlInfo
|
3201
|
+
|
3191
3202
|
|
3192
3203
|
def _deserialize(self, params):
|
3193
3204
|
if params.get("Operator") is not None:
|
@@ -3204,6 +3215,9 @@ class CreateBatchSignUrlRequest(AbstractModel):
|
|
3204
3215
|
self._FlowIds = params.get("FlowIds")
|
3205
3216
|
self._OrganizationName = params.get("OrganizationName")
|
3206
3217
|
self._JumpToDetail = params.get("JumpToDetail")
|
3218
|
+
if params.get("FlowBatchUrlInfo") is not None:
|
3219
|
+
self._FlowBatchUrlInfo = FlowBatchUrlInfo()
|
3220
|
+
self._FlowBatchUrlInfo._deserialize(params.get("FlowBatchUrlInfo"))
|
3207
3221
|
memeber_set = set(params.keys())
|
3208
3222
|
for name, value in vars(self).items():
|
3209
3223
|
property_name = name[1:]
|
@@ -15172,6 +15186,89 @@ class FlowApproverUrlInfo(AbstractModel):
|
|
15172
15186
|
|
15173
15187
|
|
15174
15188
|
|
15189
|
+
class FlowBatchApproverInfo(AbstractModel):
|
15190
|
+
"""批量签署合同相关信息,指定批量签署合同和签署方的信息,用于补充动态签署人。
|
15191
|
+
|
15192
|
+
"""
|
15193
|
+
|
15194
|
+
def __init__(self):
|
15195
|
+
r"""
|
15196
|
+
:param _FlowId: 合同流程ID。
|
15197
|
+
:type FlowId: str
|
15198
|
+
:param _RecipientId: 签署节点ID,用于生成动态签署人链接完成领取。注:`生成动态签署人补充链接时必传。`
|
15199
|
+
:type RecipientId: str
|
15200
|
+
"""
|
15201
|
+
self._FlowId = None
|
15202
|
+
self._RecipientId = None
|
15203
|
+
|
15204
|
+
@property
|
15205
|
+
def FlowId(self):
|
15206
|
+
return self._FlowId
|
15207
|
+
|
15208
|
+
@FlowId.setter
|
15209
|
+
def FlowId(self, FlowId):
|
15210
|
+
self._FlowId = FlowId
|
15211
|
+
|
15212
|
+
@property
|
15213
|
+
def RecipientId(self):
|
15214
|
+
return self._RecipientId
|
15215
|
+
|
15216
|
+
@RecipientId.setter
|
15217
|
+
def RecipientId(self, RecipientId):
|
15218
|
+
self._RecipientId = RecipientId
|
15219
|
+
|
15220
|
+
|
15221
|
+
def _deserialize(self, params):
|
15222
|
+
self._FlowId = params.get("FlowId")
|
15223
|
+
self._RecipientId = params.get("RecipientId")
|
15224
|
+
memeber_set = set(params.keys())
|
15225
|
+
for name, value in vars(self).items():
|
15226
|
+
property_name = name[1:]
|
15227
|
+
if property_name in memeber_set:
|
15228
|
+
memeber_set.remove(property_name)
|
15229
|
+
if len(memeber_set) > 0:
|
15230
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15231
|
+
|
15232
|
+
|
15233
|
+
|
15234
|
+
class FlowBatchUrlInfo(AbstractModel):
|
15235
|
+
"""批量签署合同相关信息,指定批量签署合同和签署方的信息,用于补充动态签署人。
|
15236
|
+
|
15237
|
+
"""
|
15238
|
+
|
15239
|
+
def __init__(self):
|
15240
|
+
r"""
|
15241
|
+
:param _FlowBatchApproverInfos: 批量签署合同和签署方的信息,用于补充动态签署人。
|
15242
|
+
:type FlowBatchApproverInfos: list of FlowBatchApproverInfo
|
15243
|
+
"""
|
15244
|
+
self._FlowBatchApproverInfos = None
|
15245
|
+
|
15246
|
+
@property
|
15247
|
+
def FlowBatchApproverInfos(self):
|
15248
|
+
return self._FlowBatchApproverInfos
|
15249
|
+
|
15250
|
+
@FlowBatchApproverInfos.setter
|
15251
|
+
def FlowBatchApproverInfos(self, FlowBatchApproverInfos):
|
15252
|
+
self._FlowBatchApproverInfos = FlowBatchApproverInfos
|
15253
|
+
|
15254
|
+
|
15255
|
+
def _deserialize(self, params):
|
15256
|
+
if params.get("FlowBatchApproverInfos") is not None:
|
15257
|
+
self._FlowBatchApproverInfos = []
|
15258
|
+
for item in params.get("FlowBatchApproverInfos"):
|
15259
|
+
obj = FlowBatchApproverInfo()
|
15260
|
+
obj._deserialize(item)
|
15261
|
+
self._FlowBatchApproverInfos.append(obj)
|
15262
|
+
memeber_set = set(params.keys())
|
15263
|
+
for name, value in vars(self).items():
|
15264
|
+
property_name = name[1:]
|
15265
|
+
if property_name in memeber_set:
|
15266
|
+
memeber_set.remove(property_name)
|
15267
|
+
if len(memeber_set) > 0:
|
15268
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15269
|
+
|
15270
|
+
|
15271
|
+
|
15175
15272
|
class FlowBrief(AbstractModel):
|
15176
15273
|
"""合同流程的基础信息
|
15177
15274
|
|
@@ -2114,6 +2114,8 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2114
2114
|
<li>**true**: 跳过合同流程列表, 直接进入合同内容页面进行签署</li>
|
2115
2115
|
</ul>
|
2116
2116
|
:type JumpToDetail: bool
|
2117
|
+
:param _FlowBatchUrlInfo: 批量签署合同相关信息,指定合同和签署方的信息,用于补充动态签署人。
|
2118
|
+
:type FlowBatchUrlInfo: :class:`tencentcloud.essbasic.v20210526.models.FlowBatchUrlInfo`
|
2117
2119
|
"""
|
2118
2120
|
self._Agent = None
|
2119
2121
|
self._Name = None
|
@@ -2125,6 +2127,7 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2125
2127
|
self._FlowIds = None
|
2126
2128
|
self._OrganizationName = None
|
2127
2129
|
self._JumpToDetail = None
|
2130
|
+
self._FlowBatchUrlInfo = None
|
2128
2131
|
|
2129
2132
|
@property
|
2130
2133
|
def Agent(self):
|
@@ -2206,6 +2209,14 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2206
2209
|
def JumpToDetail(self, JumpToDetail):
|
2207
2210
|
self._JumpToDetail = JumpToDetail
|
2208
2211
|
|
2212
|
+
@property
|
2213
|
+
def FlowBatchUrlInfo(self):
|
2214
|
+
return self._FlowBatchUrlInfo
|
2215
|
+
|
2216
|
+
@FlowBatchUrlInfo.setter
|
2217
|
+
def FlowBatchUrlInfo(self, FlowBatchUrlInfo):
|
2218
|
+
self._FlowBatchUrlInfo = FlowBatchUrlInfo
|
2219
|
+
|
2209
2220
|
|
2210
2221
|
def _deserialize(self, params):
|
2211
2222
|
if params.get("Agent") is not None:
|
@@ -2222,6 +2233,9 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2222
2233
|
self._FlowIds = params.get("FlowIds")
|
2223
2234
|
self._OrganizationName = params.get("OrganizationName")
|
2224
2235
|
self._JumpToDetail = params.get("JumpToDetail")
|
2236
|
+
if params.get("FlowBatchUrlInfo") is not None:
|
2237
|
+
self._FlowBatchUrlInfo = FlowBatchUrlInfo()
|
2238
|
+
self._FlowBatchUrlInfo._deserialize(params.get("FlowBatchUrlInfo"))
|
2225
2239
|
memeber_set = set(params.keys())
|
2226
2240
|
for name, value in vars(self).items():
|
2227
2241
|
property_name = name[1:]
|
@@ -14614,6 +14628,89 @@ class FlowApproverUrlInfo(AbstractModel):
|
|
14614
14628
|
|
14615
14629
|
|
14616
14630
|
|
14631
|
+
class FlowBatchApproverInfo(AbstractModel):
|
14632
|
+
"""批量签署合同相关信息,指定批量签署合同和签署方的信息,用于补充动态签署人。
|
14633
|
+
|
14634
|
+
"""
|
14635
|
+
|
14636
|
+
def __init__(self):
|
14637
|
+
r"""
|
14638
|
+
:param _FlowId: 合同流程ID。
|
14639
|
+
:type FlowId: str
|
14640
|
+
:param _RecipientId: 签署节点ID,用于生成动态签署人链接完成领取。注:`生成动态签署人补充链接时必传。`
|
14641
|
+
:type RecipientId: str
|
14642
|
+
"""
|
14643
|
+
self._FlowId = None
|
14644
|
+
self._RecipientId = None
|
14645
|
+
|
14646
|
+
@property
|
14647
|
+
def FlowId(self):
|
14648
|
+
return self._FlowId
|
14649
|
+
|
14650
|
+
@FlowId.setter
|
14651
|
+
def FlowId(self, FlowId):
|
14652
|
+
self._FlowId = FlowId
|
14653
|
+
|
14654
|
+
@property
|
14655
|
+
def RecipientId(self):
|
14656
|
+
return self._RecipientId
|
14657
|
+
|
14658
|
+
@RecipientId.setter
|
14659
|
+
def RecipientId(self, RecipientId):
|
14660
|
+
self._RecipientId = RecipientId
|
14661
|
+
|
14662
|
+
|
14663
|
+
def _deserialize(self, params):
|
14664
|
+
self._FlowId = params.get("FlowId")
|
14665
|
+
self._RecipientId = params.get("RecipientId")
|
14666
|
+
memeber_set = set(params.keys())
|
14667
|
+
for name, value in vars(self).items():
|
14668
|
+
property_name = name[1:]
|
14669
|
+
if property_name in memeber_set:
|
14670
|
+
memeber_set.remove(property_name)
|
14671
|
+
if len(memeber_set) > 0:
|
14672
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14673
|
+
|
14674
|
+
|
14675
|
+
|
14676
|
+
class FlowBatchUrlInfo(AbstractModel):
|
14677
|
+
"""批量签署合同相关信息,指定批量签署合同和签署方的信息,用于补充动态签署人。
|
14678
|
+
|
14679
|
+
"""
|
14680
|
+
|
14681
|
+
def __init__(self):
|
14682
|
+
r"""
|
14683
|
+
:param _FlowBatchApproverInfos: 批量签署合同和签署方的信息,用于补充动态签署人。
|
14684
|
+
:type FlowBatchApproverInfos: list of FlowBatchApproverInfo
|
14685
|
+
"""
|
14686
|
+
self._FlowBatchApproverInfos = None
|
14687
|
+
|
14688
|
+
@property
|
14689
|
+
def FlowBatchApproverInfos(self):
|
14690
|
+
return self._FlowBatchApproverInfos
|
14691
|
+
|
14692
|
+
@FlowBatchApproverInfos.setter
|
14693
|
+
def FlowBatchApproverInfos(self, FlowBatchApproverInfos):
|
14694
|
+
self._FlowBatchApproverInfos = FlowBatchApproverInfos
|
14695
|
+
|
14696
|
+
|
14697
|
+
def _deserialize(self, params):
|
14698
|
+
if params.get("FlowBatchApproverInfos") is not None:
|
14699
|
+
self._FlowBatchApproverInfos = []
|
14700
|
+
for item in params.get("FlowBatchApproverInfos"):
|
14701
|
+
obj = FlowBatchApproverInfo()
|
14702
|
+
obj._deserialize(item)
|
14703
|
+
self._FlowBatchApproverInfos.append(obj)
|
14704
|
+
memeber_set = set(params.keys())
|
14705
|
+
for name, value in vars(self).items():
|
14706
|
+
property_name = name[1:]
|
14707
|
+
if property_name in memeber_set:
|
14708
|
+
memeber_set.remove(property_name)
|
14709
|
+
if len(memeber_set) > 0:
|
14710
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14711
|
+
|
14712
|
+
|
14713
|
+
|
14617
14714
|
class FlowDetailInfo(AbstractModel):
|
14618
14715
|
"""此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
|
14619
14716
|
|
@@ -101,6 +101,9 @@ RESOURCEUNAVAILABLE_IMAGEDOWNLOADERROR = 'ResourceUnavailable.ImageDownloadError
|
|
101
101
|
# 图片资源错误。
|
102
102
|
RESOURCEUNAVAILABLE_INVALIDIMAGECONTENT = 'ResourceUnavailable.InvalidImageContent'
|
103
103
|
|
104
|
+
# 模型调用失败,请重试。
|
105
|
+
RESOURCEUNAVAILABLE_MODELCALLFAILED = 'ResourceUnavailable.ModelCallFailed'
|
106
|
+
|
104
107
|
# 资源售罄。
|
105
108
|
RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
106
109
|
|
@@ -85,13 +85,12 @@ class ImsClient(AbstractClient):
|
|
85
85
|
|
86
86
|
### 接口调用说明:
|
87
87
|
- 图片文件大小支持:**文件 < 5M**
|
88
|
-
-
|
88
|
+
- 图片默认尺寸支持:**长或者宽 >50分辨率**和**长或者宽<10000分辨率**
|
89
89
|
- 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;
|
90
90
|
- 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;
|
91
91
|
- 图片文件链接支持的传输协议:HTTP、HTTPS;
|
92
92
|
- 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
|
93
|
-
|
94
|
-
-审核列表中,排序是按照用户通过API接口上传调用的时间进行排序;
|
93
|
+
|
95
94
|
|
96
95
|
<div class="rno-api-explorer" style="margin-bottom:20px">
|
97
96
|
<div class="rno-api-explorer-inner">
|
@@ -319,7 +319,7 @@ class ImageModerationRequest(AbstractModel):
|
|
319
319
|
:type DataId: str
|
320
320
|
:param _FileContent: 该字段表示待检测图片文件内容的Base64编码,图片**大小不超过5MB**,建议**分辨率不低于256x256**,否则可能会影响识别效果。<br>备注: **该字段与FileUrl必须选择输入其中一个**。
|
321
321
|
:type FileContent: str
|
322
|
-
:param _FileUrl:
|
322
|
+
:param _FileUrl: 该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过5MB**,建议**分辨率不低于256x256**。**图片下载时间限制为3秒,超时将进行一次重试,若再次失败,则会返回下载超时**。由于网络安全策略,**送审带重定向的链接**可能引起下载失败,请尽量避免使用返回302或其他非200状态码的HTTP链接,会导致接口返回 ResourceUnavailable.ImageDownloadError 错误。<br>备注:该字段与FileContent必须选择输入其中一个。
|
323
323
|
:type FileUrl: str
|
324
324
|
:param _Interval: **GIF/长图检测专用**,用于表示GIF截帧频率(每隔多少张图片抽取一帧进行检测),长图则按照长边:短边取整计算要切割的总图数;默认值为0,此时只会检测GIF的第一帧或对长图不进行切分处理。<br>备注:Interval与MaxFrames参数需要组合使用。例如,Interval=3, MaxFrames=400,则代表在检测GIF/长图时,将每间隔2帧检测一次且最多检测400帧。
|
325
325
|
:type Interval: int
|
@@ -436,7 +436,7 @@ class ImageModerationResponse(AbstractModel):
|
|
436
436
|
r"""
|
437
437
|
:param _Suggestion: 该字段用于返回Label标签下的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
438
438
|
:type Suggestion: str
|
439
|
-
:param _Label: 该字段用于返回检测结果(LabelResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
439
|
+
:param _Label: 该字段用于返回检测结果(LabelResults)中所对应的**优先级最高的恶意标签**,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
440
440
|
:type Label: str
|
441
441
|
:param _SubLabel: 该字段用于返回检测结果所命中优先级最高的恶意标签下的子标签名称,如:*色情--性行为*;若未命中任何子标签则返回空字符串。
|
442
442
|
:type SubLabel: str
|
@@ -710,7 +710,7 @@ class LabelResult(AbstractModel):
|
|
710
710
|
:type Scene: str
|
711
711
|
:param _Suggestion: 该字段用于返回针对当前恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
712
712
|
:type Suggestion: str
|
713
|
-
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
713
|
+
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
714
714
|
:type Label: str
|
715
715
|
:param _SubLabel: 该字段用于返回对应恶意标签下的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
716
716
|
:type SubLabel: str
|
@@ -807,14 +807,14 @@ class LibDetail(AbstractModel):
|
|
807
807
|
r"""
|
808
808
|
:param _Id: 该字段用于返回识别对象的ID以方便识别和区分。
|
809
809
|
:type Id: int
|
810
|
-
:param _LibId:
|
810
|
+
:param _LibId: 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
|
811
811
|
:type LibId: str
|
812
|
-
:param _LibName:
|
812
|
+
:param _LibName: 该字段用于返回自定义库的名称,以方便自定义库管理和配置。
|
813
813
|
注意:此字段可能返回 null,表示取不到有效值。
|
814
814
|
:type LibName: str
|
815
815
|
:param _ImageId: 该字段用于返回识别图像对象的ID以方便文件管理。
|
816
816
|
:type ImageId: str
|
817
|
-
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
817
|
+
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
818
818
|
:type Label: str
|
819
819
|
:param _Tag: 该字段用于返回其他自定义标签以满足您的定制化场景需求,若无需求则可略过。
|
820
820
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -916,7 +916,7 @@ class LibResult(AbstractModel):
|
|
916
916
|
:type Scene: str
|
917
917
|
:param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
918
918
|
:type Suggestion: str
|
919
|
-
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
919
|
+
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
920
920
|
:type Label: str
|
921
921
|
:param _SubLabel: 该字段用于返回恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
922
922
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -1205,7 +1205,7 @@ class ObjectResult(AbstractModel):
|
|
1205
1205
|
:type Scene: str
|
1206
1206
|
:param _Suggestion: 该字段用于返回针对当前恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1207
1207
|
:type Suggestion: str
|
1208
|
-
:param _Label: 该字段用于返回检测结果所对应的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
1208
|
+
:param _Label: 该字段用于返回检测结果所对应的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
1209
1209
|
:type Label: str
|
1210
1210
|
:param _SubLabel: 该字段用于返回当前恶意标签下对应的子标签的检测结果,如:*Porn-SexBehavior* 等子标签。
|
1211
1211
|
:type SubLabel: str
|
@@ -1318,7 +1318,7 @@ class OcrResult(AbstractModel):
|
|
1318
1318
|
:type Scene: str
|
1319
1319
|
:param _Suggestion: 该字段用于返回优先级最高的恶意标签对应的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
1320
1320
|
:type Suggestion: str
|
1321
|
-
:param _Label: 该字段用于返回OCR检测结果所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
1321
|
+
:param _Label: 该字段用于返回OCR检测结果所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
1322
1322
|
:type Label: str
|
1323
1323
|
:param _SubLabel: 该字段用于返回当前标签(Label)下对应的子标签的检测结果,如:*Porn-SexBehavior*等子标签。
|
1324
1324
|
:type SubLabel: str
|
@@ -1427,11 +1427,11 @@ class OcrTextDetail(AbstractModel):
|
|
1427
1427
|
r"""
|
1428
1428
|
:param _Text: 该字段用于返回OCR识别出的文本内容。<br>备注:OCR文本识别上限在**5000字节内**。
|
1429
1429
|
:type Text: str
|
1430
|
-
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
1430
|
+
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
1431
1431
|
:type Label: str
|
1432
|
-
:param _LibId:
|
1432
|
+
:param _LibId: 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
|
1433
1433
|
:type LibId: str
|
1434
|
-
:param _LibName:
|
1434
|
+
:param _LibName: 该字段用于返回自定义库的名称,以方便自定义库管理和配置。
|
1435
1435
|
:type LibName: str
|
1436
1436
|
:param _Keywords: 该参数用于返回在当前label下命中的关键词。
|
1437
1437
|
:type Keywords: list of str
|
@@ -1222,6 +1222,29 @@ class IotexplorerClient(AbstractClient):
|
|
1222
1222
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1223
1223
|
|
1224
1224
|
|
1225
|
+
def DescribeDeviceFirmwares(self, request):
|
1226
|
+
"""获取设备当前固件信息
|
1227
|
+
|
1228
|
+
:param request: Request instance for DescribeDeviceFirmwares.
|
1229
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceFirmwaresRequest`
|
1230
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceFirmwaresResponse`
|
1231
|
+
|
1232
|
+
"""
|
1233
|
+
try:
|
1234
|
+
params = request._serialize()
|
1235
|
+
headers = request.headers
|
1236
|
+
body = self.call("DescribeDeviceFirmwares", params, headers=headers)
|
1237
|
+
response = json.loads(body)
|
1238
|
+
model = models.DescribeDeviceFirmwaresResponse()
|
1239
|
+
model._deserialize(response["Response"])
|
1240
|
+
return model
|
1241
|
+
except Exception as e:
|
1242
|
+
if isinstance(e, TencentCloudSDKException):
|
1243
|
+
raise
|
1244
|
+
else:
|
1245
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1246
|
+
|
1247
|
+
|
1225
1248
|
def DescribeDeviceLocationSolve(self, request):
|
1226
1249
|
"""获取实时位置解析
|
1227
1250
|
|
@@ -6371,6 +6371,94 @@ class DescribeDeviceFirmWareResponse(AbstractModel):
|
|
6371
6371
|
self._RequestId = params.get("RequestId")
|
6372
6372
|
|
6373
6373
|
|
6374
|
+
class DescribeDeviceFirmwaresRequest(AbstractModel):
|
6375
|
+
"""DescribeDeviceFirmwares请求参数结构体
|
6376
|
+
|
6377
|
+
"""
|
6378
|
+
|
6379
|
+
def __init__(self):
|
6380
|
+
r"""
|
6381
|
+
:param _ProductId: 产品ID
|
6382
|
+
:type ProductId: str
|
6383
|
+
:param _DeviceName: 设备名
|
6384
|
+
:type DeviceName: str
|
6385
|
+
"""
|
6386
|
+
self._ProductId = None
|
6387
|
+
self._DeviceName = None
|
6388
|
+
|
6389
|
+
@property
|
6390
|
+
def ProductId(self):
|
6391
|
+
return self._ProductId
|
6392
|
+
|
6393
|
+
@ProductId.setter
|
6394
|
+
def ProductId(self, ProductId):
|
6395
|
+
self._ProductId = ProductId
|
6396
|
+
|
6397
|
+
@property
|
6398
|
+
def DeviceName(self):
|
6399
|
+
return self._DeviceName
|
6400
|
+
|
6401
|
+
@DeviceName.setter
|
6402
|
+
def DeviceName(self, DeviceName):
|
6403
|
+
self._DeviceName = DeviceName
|
6404
|
+
|
6405
|
+
|
6406
|
+
def _deserialize(self, params):
|
6407
|
+
self._ProductId = params.get("ProductId")
|
6408
|
+
self._DeviceName = params.get("DeviceName")
|
6409
|
+
memeber_set = set(params.keys())
|
6410
|
+
for name, value in vars(self).items():
|
6411
|
+
property_name = name[1:]
|
6412
|
+
if property_name in memeber_set:
|
6413
|
+
memeber_set.remove(property_name)
|
6414
|
+
if len(memeber_set) > 0:
|
6415
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6416
|
+
|
6417
|
+
|
6418
|
+
|
6419
|
+
class DescribeDeviceFirmwaresResponse(AbstractModel):
|
6420
|
+
"""DescribeDeviceFirmwares返回参数结构体
|
6421
|
+
|
6422
|
+
"""
|
6423
|
+
|
6424
|
+
def __init__(self):
|
6425
|
+
r"""
|
6426
|
+
:param _Firmwares: 固件信息列表
|
6427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6428
|
+
:type Firmwares: list of DeviceFirmwareInfo
|
6429
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6430
|
+
:type RequestId: str
|
6431
|
+
"""
|
6432
|
+
self._Firmwares = None
|
6433
|
+
self._RequestId = None
|
6434
|
+
|
6435
|
+
@property
|
6436
|
+
def Firmwares(self):
|
6437
|
+
return self._Firmwares
|
6438
|
+
|
6439
|
+
@Firmwares.setter
|
6440
|
+
def Firmwares(self, Firmwares):
|
6441
|
+
self._Firmwares = Firmwares
|
6442
|
+
|
6443
|
+
@property
|
6444
|
+
def RequestId(self):
|
6445
|
+
return self._RequestId
|
6446
|
+
|
6447
|
+
@RequestId.setter
|
6448
|
+
def RequestId(self, RequestId):
|
6449
|
+
self._RequestId = RequestId
|
6450
|
+
|
6451
|
+
|
6452
|
+
def _deserialize(self, params):
|
6453
|
+
if params.get("Firmwares") is not None:
|
6454
|
+
self._Firmwares = []
|
6455
|
+
for item in params.get("Firmwares"):
|
6456
|
+
obj = DeviceFirmwareInfo()
|
6457
|
+
obj._deserialize(item)
|
6458
|
+
self._Firmwares.append(obj)
|
6459
|
+
self._RequestId = params.get("RequestId")
|
6460
|
+
|
6461
|
+
|
6374
6462
|
class DescribeDeviceLocationSolveRequest(AbstractModel):
|
6375
6463
|
"""DescribeDeviceLocationSolve请求参数结构体
|
6376
6464
|
|
@@ -8982,6 +9070,63 @@ class DeviceDataHistoryItem(AbstractModel):
|
|
8982
9070
|
|
8983
9071
|
|
8984
9072
|
|
9073
|
+
class DeviceFirmwareInfo(AbstractModel):
|
9074
|
+
"""设备固件信息
|
9075
|
+
|
9076
|
+
"""
|
9077
|
+
|
9078
|
+
def __init__(self):
|
9079
|
+
r"""
|
9080
|
+
:param _FwType: 固件类型
|
9081
|
+
:type FwType: str
|
9082
|
+
:param _Version: 固件版本
|
9083
|
+
:type Version: str
|
9084
|
+
:param _UpdateTime: 最后更新时间
|
9085
|
+
:type UpdateTime: int
|
9086
|
+
"""
|
9087
|
+
self._FwType = None
|
9088
|
+
self._Version = None
|
9089
|
+
self._UpdateTime = None
|
9090
|
+
|
9091
|
+
@property
|
9092
|
+
def FwType(self):
|
9093
|
+
return self._FwType
|
9094
|
+
|
9095
|
+
@FwType.setter
|
9096
|
+
def FwType(self, FwType):
|
9097
|
+
self._FwType = FwType
|
9098
|
+
|
9099
|
+
@property
|
9100
|
+
def Version(self):
|
9101
|
+
return self._Version
|
9102
|
+
|
9103
|
+
@Version.setter
|
9104
|
+
def Version(self, Version):
|
9105
|
+
self._Version = Version
|
9106
|
+
|
9107
|
+
@property
|
9108
|
+
def UpdateTime(self):
|
9109
|
+
return self._UpdateTime
|
9110
|
+
|
9111
|
+
@UpdateTime.setter
|
9112
|
+
def UpdateTime(self, UpdateTime):
|
9113
|
+
self._UpdateTime = UpdateTime
|
9114
|
+
|
9115
|
+
|
9116
|
+
def _deserialize(self, params):
|
9117
|
+
self._FwType = params.get("FwType")
|
9118
|
+
self._Version = params.get("Version")
|
9119
|
+
self._UpdateTime = params.get("UpdateTime")
|
9120
|
+
memeber_set = set(params.keys())
|
9121
|
+
for name, value in vars(self).items():
|
9122
|
+
property_name = name[1:]
|
9123
|
+
if property_name in memeber_set:
|
9124
|
+
memeber_set.remove(property_name)
|
9125
|
+
if len(memeber_set) > 0:
|
9126
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9127
|
+
|
9128
|
+
|
9129
|
+
|
8985
9130
|
class DeviceInfo(AbstractModel):
|
8986
9131
|
"""设备详细信息
|
8987
9132
|
|