tencentcloud-sdk-python 3.0.1134__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.
Files changed (36) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +140 -0
  3. tencentcloud/aiart/v20221229/models.py +684 -0
  4. tencentcloud/apm/v20210622/apm_client.py +69 -0
  5. tencentcloud/apm/v20210622/errorcodes.py +27 -0
  6. tencentcloud/apm/v20210622/models.py +639 -0
  7. tencentcloud/billing/v20180709/models.py +39 -0
  8. tencentcloud/ccc/v20200210/models.py +5 -1
  9. tencentcloud/cdn/v20180606/cdn_client.py +1 -1
  10. tencentcloud/cloudstudio/v20230508/models.py +1 -1
  11. tencentcloud/dcdb/v20180411/models.py +74 -0
  12. tencentcloud/ess/v20201111/models.py +97 -0
  13. tencentcloud/essbasic/v20210526/models.py +97 -0
  14. tencentcloud/ims/v20201229/errorcodes.py +3 -0
  15. tencentcloud/ims/v20201229/ims_client.py +2 -3
  16. tencentcloud/ims/v20201229/models.py +12 -12
  17. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  18. tencentcloud/iotexplorer/v20190423/models.py +145 -0
  19. tencentcloud/iss/v20230517/models.py +48 -0
  20. tencentcloud/lighthouse/v20200324/lighthouse_client.py +2 -0
  21. tencentcloud/live/v20180801/live_client.py +1 -1
  22. tencentcloud/live/v20180801/models.py +4 -4
  23. tencentcloud/lke/v20231130/errorcodes.py +0 -12
  24. tencentcloud/lke/v20231130/lke_client.py +0 -46
  25. tencentcloud/lke/v20231130/models.py +0 -242
  26. tencentcloud/mariadb/v20170312/models.py +74 -0
  27. tencentcloud/ocr/v20181119/models.py +1 -0
  28. tencentcloud/tdid/v20210519/tdid_client.py +1 -1
  29. tencentcloud/tdmq/v20200217/models.py +51 -0
  30. tencentcloud/teo/v20220901/models.py +19 -20
  31. tencentcloud/tione/v20211111/models.py +49 -0
  32. {tencentcloud_sdk_python-3.0.1134.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/METADATA +1 -1
  33. {tencentcloud_sdk_python-3.0.1134.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/RECORD +36 -36
  34. {tencentcloud_sdk_python-3.0.1134.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/LICENSE +0 -0
  35. {tencentcloud_sdk_python-3.0.1134.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/WHEEL +0 -0
  36. {tencentcloud_sdk_python-3.0.1134.dist-info → tencentcloud_sdk_python-3.0.1136.dist-info}/top_level.txt +0 -0
@@ -5115,6 +5115,15 @@ class BillDetail(AbstractModel):
5115
5115
  :param _Id: 账单记录ID
5116
5116
  注意:此字段可能返回 null,表示取不到有效值。
5117
5117
  :type Id: str
5118
+ :param _RegionType: 国内国际编码
5119
+ 注意:此字段可能返回 null,表示取不到有效值。
5120
+ :type RegionType: str
5121
+ :param _RegionTypeName: 国内国际:资源所属区域类型(国内、国际)
5122
+ 注意:此字段可能返回 null,表示取不到有效值。
5123
+ :type RegionTypeName: str
5124
+ :param _ReserveDetail: 备注属性(实例配置):其他备注信息,如预留实例的预留实例类型和交易类型、CCN 产品的两端地域信息
5125
+ 注意:此字段可能返回 null,表示取不到有效值。
5126
+ :type ReserveDetail: str
5118
5127
  """
5119
5128
  self._BusinessCodeName = None
5120
5129
  self._ProductCodeName = None
@@ -5147,6 +5156,9 @@ class BillDetail(AbstractModel):
5147
5156
  self._BillDay = None
5148
5157
  self._BillMonth = None
5149
5158
  self._Id = None
5159
+ self._RegionType = None
5160
+ self._RegionTypeName = None
5161
+ self._ReserveDetail = None
5150
5162
 
5151
5163
  @property
5152
5164
  def BusinessCodeName(self):
@@ -5396,6 +5408,30 @@ class BillDetail(AbstractModel):
5396
5408
  def Id(self, Id):
5397
5409
  self._Id = Id
5398
5410
 
5411
+ @property
5412
+ def RegionType(self):
5413
+ return self._RegionType
5414
+
5415
+ @RegionType.setter
5416
+ def RegionType(self, RegionType):
5417
+ self._RegionType = RegionType
5418
+
5419
+ @property
5420
+ def RegionTypeName(self):
5421
+ return self._RegionTypeName
5422
+
5423
+ @RegionTypeName.setter
5424
+ def RegionTypeName(self, RegionTypeName):
5425
+ self._RegionTypeName = RegionTypeName
5426
+
5427
+ @property
5428
+ def ReserveDetail(self):
5429
+ return self._ReserveDetail
5430
+
5431
+ @ReserveDetail.setter
5432
+ def ReserveDetail(self, ReserveDetail):
5433
+ self._ReserveDetail = ReserveDetail
5434
+
5399
5435
 
5400
5436
  def _deserialize(self, params):
5401
5437
  self._BusinessCodeName = params.get("BusinessCodeName")
@@ -5441,6 +5477,9 @@ class BillDetail(AbstractModel):
5441
5477
  self._BillDay = params.get("BillDay")
5442
5478
  self._BillMonth = params.get("BillMonth")
5443
5479
  self._Id = params.get("Id")
5480
+ self._RegionType = params.get("RegionType")
5481
+ self._RegionTypeName = params.get("RegionTypeName")
5482
+ self._ReserveDetail = params.get("ReserveDetail")
5444
5483
  memeber_set = set(params.keys())
5445
5484
  for name, value in vars(self).items():
5446
5485
  property_name = name[1:]
@@ -3825,7 +3825,7 @@ class DescribeChatMessagesRequest(AbstractModel):
3825
3825
  :type Offset: int
3826
3826
  :param _Order: 1为从早到晚,2为从晚到早,默认为2
3827
3827
  :type Order: int
3828
- :param _SessionId: 服务记录 SessionID(必填)
3828
+ :param _SessionId: 服务记录 SessionID
3829
3829
  :type SessionId: str
3830
3830
  """
3831
3831
  self._InstanceId = None
@@ -3858,10 +3858,14 @@ class DescribeChatMessagesRequest(AbstractModel):
3858
3858
 
3859
3859
  @property
3860
3860
  def CdrId(self):
3861
+ warnings.warn("parameter `CdrId` is deprecated", DeprecationWarning)
3862
+
3861
3863
  return self._CdrId
3862
3864
 
3863
3865
  @CdrId.setter
3864
3866
  def CdrId(self, CdrId):
3867
+ warnings.warn("parameter `CdrId` is deprecated", DeprecationWarning)
3868
+
3865
3869
  self._CdrId = CdrId
3866
3870
 
3867
3871
  @property
@@ -1607,7 +1607,7 @@ class CdnClient(AbstractClient):
1607
1607
  注意:
1608
1608
  Route 字段,使用点分隔,最后一段称为叶子节点,非叶子节点配置保持不变;
1609
1609
  Value 字段,使用 json 进行序列化,其中固定 update 作为 key,配置路径值参考 https://cloud.tencent.com/document/product/228/41116 接口各配置项复杂类型,为配置路径对应复杂类型下的节点。
1610
- 云审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到云审计。
1610
+ 操作审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到操作审计。
1611
1611
 
1612
1612
  :param request: Request instance for ModifyDomainConfig.
1613
1613
  :type request: :class:`tencentcloud.cdn.v20180606.models.ModifyDomainConfigRequest`
@@ -252,7 +252,7 @@ class CreateWorkspaceTokenRequest(AbstractModel):
252
252
  :type SpaceKey: str
253
253
  :param _TokenExpiredLimitSec: token过期时间,单位是秒,默认 3600
254
254
  :type TokenExpiredLimitSec: int
255
- :param _Policies: token 授权策略,可选值为 workspace-run-only, all。默认为 all
255
+ :param _Policies: token 授权策略,可选值为 workspace-run-only, all。默认为 workspace-run-only
256
256
  :type Policies: list of str
257
257
  """
258
258
  self._SpaceKey = None
@@ -6445,6 +6445,8 @@ class DescribeDCDBInstancesRequest(AbstractModel):
6445
6445
  :type ExclusterIds: list of str
6446
6446
  :param _TagKeys: 按标签key查询
6447
6447
  :type TagKeys: list of str
6448
+ :param _Tags: 标签
6449
+ :type Tags: list of Tag
6448
6450
  :param _FilterInstanceType: 实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔
6449
6451
  :type FilterInstanceType: str
6450
6452
  :param _Status: 按实例状态筛选
@@ -6467,6 +6469,7 @@ class DescribeDCDBInstancesRequest(AbstractModel):
6467
6469
  self._IsFilterExcluster = None
6468
6470
  self._ExclusterIds = None
6469
6471
  self._TagKeys = None
6472
+ self._Tags = None
6470
6473
  self._FilterInstanceType = None
6471
6474
  self._Status = None
6472
6475
  self._ExcludeStatus = None
@@ -6591,6 +6594,14 @@ class DescribeDCDBInstancesRequest(AbstractModel):
6591
6594
  def TagKeys(self, TagKeys):
6592
6595
  self._TagKeys = TagKeys
6593
6596
 
6597
+ @property
6598
+ def Tags(self):
6599
+ return self._Tags
6600
+
6601
+ @Tags.setter
6602
+ def Tags(self, Tags):
6603
+ self._Tags = Tags
6604
+
6594
6605
  @property
6595
6606
  def FilterInstanceType(self):
6596
6607
  return self._FilterInstanceType
@@ -6632,6 +6643,12 @@ class DescribeDCDBInstancesRequest(AbstractModel):
6632
6643
  self._IsFilterExcluster = params.get("IsFilterExcluster")
6633
6644
  self._ExclusterIds = params.get("ExclusterIds")
6634
6645
  self._TagKeys = params.get("TagKeys")
6646
+ if params.get("Tags") is not None:
6647
+ self._Tags = []
6648
+ for item in params.get("Tags"):
6649
+ obj = Tag()
6650
+ obj._deserialize(item)
6651
+ self._Tags.append(obj)
6635
6652
  self._FilterInstanceType = params.get("FilterInstanceType")
6636
6653
  self._Status = params.get("Status")
6637
6654
  self._ExcludeStatus = params.get("ExcludeStatus")
@@ -12937,9 +12954,12 @@ class SwitchDBInstanceHARequest(AbstractModel):
12937
12954
  :type InstanceId: str
12938
12955
  :param _Zone: 切换的目标区域,会自动选择该可用区中延迟最低的节点。
12939
12956
  :type Zone: str
12957
+ :param _ShardInstanceIds: 指定分片实例id进行切换
12958
+ :type ShardInstanceIds: list of str
12940
12959
  """
12941
12960
  self._InstanceId = None
12942
12961
  self._Zone = None
12962
+ self._ShardInstanceIds = None
12943
12963
 
12944
12964
  @property
12945
12965
  def InstanceId(self):
@@ -12957,10 +12977,19 @@ class SwitchDBInstanceHARequest(AbstractModel):
12957
12977
  def Zone(self, Zone):
12958
12978
  self._Zone = Zone
12959
12979
 
12980
+ @property
12981
+ def ShardInstanceIds(self):
12982
+ return self._ShardInstanceIds
12983
+
12984
+ @ShardInstanceIds.setter
12985
+ def ShardInstanceIds(self, ShardInstanceIds):
12986
+ self._ShardInstanceIds = ShardInstanceIds
12987
+
12960
12988
 
12961
12989
  def _deserialize(self, params):
12962
12990
  self._InstanceId = params.get("InstanceId")
12963
12991
  self._Zone = params.get("Zone")
12992
+ self._ShardInstanceIds = params.get("ShardInstanceIds")
12964
12993
  memeber_set = set(params.keys())
12965
12994
  for name, value in vars(self).items():
12966
12995
  property_name = name[1:]
@@ -13110,6 +13139,51 @@ class TablePrivilege(AbstractModel):
13110
13139
 
13111
13140
 
13112
13141
 
13142
+ class Tag(AbstractModel):
13143
+ """标签
13144
+
13145
+ """
13146
+
13147
+ def __init__(self):
13148
+ r"""
13149
+ :param _TagKey: 标签键
13150
+ :type TagKey: str
13151
+ :param _TagValue: 标签值
13152
+ :type TagValue: str
13153
+ """
13154
+ self._TagKey = None
13155
+ self._TagValue = None
13156
+
13157
+ @property
13158
+ def TagKey(self):
13159
+ return self._TagKey
13160
+
13161
+ @TagKey.setter
13162
+ def TagKey(self, TagKey):
13163
+ self._TagKey = TagKey
13164
+
13165
+ @property
13166
+ def TagValue(self):
13167
+ return self._TagValue
13168
+
13169
+ @TagValue.setter
13170
+ def TagValue(self, TagValue):
13171
+ self._TagValue = TagValue
13172
+
13173
+
13174
+ def _deserialize(self, params):
13175
+ self._TagKey = params.get("TagKey")
13176
+ self._TagValue = params.get("TagValue")
13177
+ memeber_set = set(params.keys())
13178
+ for name, value in vars(self).items():
13179
+ property_name = name[1:]
13180
+ if property_name in memeber_set:
13181
+ memeber_set.remove(property_name)
13182
+ if len(memeber_set) > 0:
13183
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13184
+
13185
+
13186
+
13113
13187
  class TerminateDedicatedDBInstanceRequest(AbstractModel):
13114
13188
  """TerminateDedicatedDBInstance请求参数结构体
13115
13189
 
@@ -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
- - 图片尺寸支持:**长或者宽 >50分辨率**和**长或者宽<10000分辨率**
88
+ - 图片默认尺寸支持:**长或者宽 >50分辨率**和**长或者宽<10000分辨率**
89
89
  - 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;
90
90
  - 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;
91
91
  - 图片文件链接支持的传输协议:HTTP、HTTPS;
92
92
  - 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
93
- - 默认接口请求频率限制:**100次/秒**,超过此调用频率则会报错。
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: 该字段表示待检测图片文件的访问链接,图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,**大小不超过5MB**,建议**分辨率不低于256x256**;图片下载时间限制为3秒,超过则会返回下载超时;由于网络安全策略,**送审带重定向的链接,可能引起下载失败**,请尽量避免,比如Http返回302状态码的链接,可能导致接口返回ResourceUnavailable.ImageDownloadError。<br>备注:**该字段与FileContent必须选择输入其中一个**。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
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: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
810
+ :param _LibId: 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
811
811
  :type LibId: str
812
- :param _LibName: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
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**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
1430
+ :param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
1431
1431
  :type Label: str
1432
- :param _LibId: 该字段**仅当Label为Custom自定义关键词时有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
1432
+ :param _LibId: 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
1433
1433
  :type LibId: str
1434
- :param _LibName: 该字段**仅当Label为Custom自定义关键词时有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
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