tencentcloud-sdk-python 3.0.1447__py2.py3-none-any.whl → 3.0.1448__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 +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/cls/v20201016/models.py +16 -6
- tencentcloud/cynosdb/v20190107/models.py +4 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/ess/v20201111/models.py +213 -12
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +353 -0
- tencentcloud/partners/v20180321/models.py +8 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +315 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tsf/v20180326/models.py +8 -8
- tencentcloud/vclm/v20240523/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/RECORD +21 -21
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1447.dist-info → tencentcloud_sdk_python-3.0.1448.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -529,7 +529,7 @@ class AutoscalingClient(AbstractClient):
|
|
529
529
|
|
530
530
|
|
531
531
|
def DescribeAutoScalingActivities(self, request):
|
532
|
-
"""本接口(DescribeAutoScalingActivities
|
532
|
+
"""本接口(DescribeAutoScalingActivities)用于查询伸缩组的伸缩活动记录。当前仅保存近两年的伸缩活动。
|
533
533
|
|
534
534
|
:param request: Request instance for DescribeAutoScalingActivities.
|
535
535
|
:type request: :class:`tencentcloud.autoscaling.v20180419.models.DescribeAutoScalingActivitiesRequest`
|
@@ -4648,7 +4648,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
4648
4648
|
:type Limit: int
|
4649
4649
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
4650
4650
|
:type Offset: int
|
4651
|
-
:param _StartTime: 伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
4651
|
+
:param _StartTime: 伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。
|
4652
4652
|
:type StartTime: str
|
4653
4653
|
:param _EndTime: 伸缩活动最晚的结束时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。
|
4654
4654
|
:type EndTime: str
|
@@ -4709,7 +4709,7 @@ class DescribeAutoScalingActivitiesRequest(AbstractModel):
|
|
4709
4709
|
|
4710
4710
|
@property
|
4711
4711
|
def StartTime(self):
|
4712
|
-
"""伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
4712
|
+
"""伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。
|
4713
4713
|
:rtype: str
|
4714
4714
|
"""
|
4715
4715
|
return self._StartTime
|
@@ -10884,7 +10884,8 @@ class DataTransformResouceInfo(AbstractModel):
|
|
10884
10884
|
|
10885
10885
|
def __init__(self):
|
10886
10886
|
r"""
|
10887
|
-
:param _TopicId:
|
10887
|
+
:param _TopicId: 日志主题ID
|
10888
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
10888
10889
|
:type TopicId: str
|
10889
10890
|
:param _Alias: 别名
|
10890
10891
|
:type Alias: str
|
@@ -10894,7 +10895,8 @@ class DataTransformResouceInfo(AbstractModel):
|
|
10894
10895
|
|
10895
10896
|
@property
|
10896
10897
|
def TopicId(self):
|
10897
|
-
"""
|
10898
|
+
"""日志主题ID
|
10899
|
+
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
10898
10900
|
:rtype: str
|
10899
10901
|
"""
|
10900
10902
|
return self._TopicId
|
@@ -10948,12 +10950,16 @@ class DataTransformTaskInfo(AbstractModel):
|
|
10948
10950
|
:param _Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
|
10949
10951
|
:type Status: int
|
10950
10952
|
:param _CreateTime: 加工任务创建时间
|
10953
|
+
示例值:2025-03-18 19:55:54
|
10954
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
10951
10955
|
:type CreateTime: str
|
10952
10956
|
:param _UpdateTime: 最近修改时间
|
10953
|
-
示例值:2025-
|
10957
|
+
示例值:2025-04-18 16:55:54
|
10958
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
10954
10959
|
:type UpdateTime: str
|
10955
10960
|
:param _LastEnableTime: 最后启用时间,如果需要重建集群,修改该时间
|
10956
|
-
示例值:2025-
|
10961
|
+
示例值:2025-05-18 19:55:54
|
10962
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
10957
10963
|
:type LastEnableTime: str
|
10958
10964
|
:param _SrcTopicName: 日志主题名称
|
10959
10965
|
:type SrcTopicName: str
|
@@ -11056,6 +11062,8 @@ class DataTransformTaskInfo(AbstractModel):
|
|
11056
11062
|
@property
|
11057
11063
|
def CreateTime(self):
|
11058
11064
|
"""加工任务创建时间
|
11065
|
+
示例值:2025-03-18 19:55:54
|
11066
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
11059
11067
|
:rtype: str
|
11060
11068
|
"""
|
11061
11069
|
return self._CreateTime
|
@@ -11067,7 +11075,8 @@ class DataTransformTaskInfo(AbstractModel):
|
|
11067
11075
|
@property
|
11068
11076
|
def UpdateTime(self):
|
11069
11077
|
"""最近修改时间
|
11070
|
-
示例值:2025-
|
11078
|
+
示例值:2025-04-18 16:55:54
|
11079
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
11071
11080
|
:rtype: str
|
11072
11081
|
"""
|
11073
11082
|
return self._UpdateTime
|
@@ -11079,7 +11088,8 @@ class DataTransformTaskInfo(AbstractModel):
|
|
11079
11088
|
@property
|
11080
11089
|
def LastEnableTime(self):
|
11081
11090
|
"""最后启用时间,如果需要重建集群,修改该时间
|
11082
|
-
示例值:2025-
|
11091
|
+
示例值:2025-05-18 19:55:54
|
11092
|
+
时间格式:yyyy-MM-dd HH:mm:ss
|
11083
11093
|
:rtype: str
|
11084
11094
|
"""
|
11085
11095
|
return self._LastEnableTime
|
@@ -25246,8 +25246,10 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
25246
25246
|
:param _LogicBackupTimeEnd: 自动逻辑备份结束时间
|
25247
25247
|
:type LogicBackupTimeEnd: int
|
25248
25248
|
:param _LogicReserveDuration: 自动逻辑备份保留时间
|
25249
|
+
单位:秒
|
25249
25250
|
:type LogicReserveDuration: int
|
25250
25251
|
:param _LogicCrossRegionsEnable: 是否开启跨地域逻辑备份
|
25252
|
+
可选值:ON/OFF
|
25251
25253
|
:type LogicCrossRegionsEnable: str
|
25252
25254
|
:param _LogicCrossRegions: 逻辑备份所跨地域
|
25253
25255
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -25296,6 +25298,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
25296
25298
|
@property
|
25297
25299
|
def LogicReserveDuration(self):
|
25298
25300
|
"""自动逻辑备份保留时间
|
25301
|
+
单位:秒
|
25299
25302
|
:rtype: int
|
25300
25303
|
"""
|
25301
25304
|
return self._LogicReserveDuration
|
@@ -25307,6 +25310,7 @@ class LogicBackupConfigInfo(AbstractModel):
|
|
25307
25310
|
@property
|
25308
25311
|
def LogicCrossRegionsEnable(self):
|
25309
25312
|
"""是否开启跨地域逻辑备份
|
25313
|
+
可选值:ON/OFF
|
25310
25314
|
:rtype: str
|
25311
25315
|
"""
|
25312
25316
|
return self._LogicCrossRegionsEnable
|
@@ -122,6 +122,9 @@ FAILEDOPERATION_PARAMETERVALIDATIONFAILED = 'FailedOperation.ParameterValidation
|
|
122
122
|
# 退押金失败。
|
123
123
|
FAILEDOPERATION_REFUNDDEPOSITFAILED = 'FailedOperation.RefundDepositFailed'
|
124
124
|
|
125
|
+
# 结果过期
|
126
|
+
FAILEDOPERATION_RESULTEXPIRED = 'FailedOperation.ResultExpired'
|
127
|
+
|
125
128
|
# 取消授权失败。
|
126
129
|
FAILEDOPERATION_REVOKEPOLICYFAILED = 'FailedOperation.RevokePolicyFailed'
|
127
130
|
|
@@ -419,6 +422,9 @@ INVALIDPARAMETER_INVALIDTASKID = 'InvalidParameter.InvalidTaskId'
|
|
419
422
|
# 任务类型TaskType错误,Spark引擎任务类型为SparkSQLTask,Presto引擎任务类型为SQLTask
|
420
423
|
INVALIDPARAMETER_INVALIDTASKTYPE = 'InvalidParameter.InvalidTaskType'
|
421
424
|
|
425
|
+
# 任务长度超限
|
426
|
+
INVALIDPARAMETER_INVALIDTASKSFILTERLENGTH = 'InvalidParameter.InvalidTasksFilterLength'
|
427
|
+
|
422
428
|
# 指定的TCR Spark镜像格式不匹配,参考样例: my-image/ndf/python/latest
|
423
429
|
INVALIDPARAMETER_INVALIDTCRSPARKIMAGEFORMAT = 'InvalidParameter.InvalidTcrSparkImageFormat'
|
424
430
|
|
@@ -458,6 +464,9 @@ INVALIDPARAMETER_NUMBEROFSQLEXCEEDSTHELIMIT = 'InvalidParameter.NumberOfSQLExcee
|
|
458
464
|
# 指定参数Base64解析失败
|
459
465
|
INVALIDPARAMETER_PARAMETERBASE64DECODEFAILED = 'InvalidParameter.ParameterBase64DecodeFailed'
|
460
466
|
|
467
|
+
# 传入参数不合法
|
468
|
+
INVALIDPARAMETER_PARAMETERILLEGAL = 'InvalidParameter.ParameterIllegal'
|
469
|
+
|
461
470
|
# 找不到参数或参数为空
|
462
471
|
INVALIDPARAMETER_PARAMETERNOTFOUNDORBENONE = 'InvalidParameter.ParameterNotFoundOrBeNone'
|
463
472
|
|
@@ -4184,23 +4184,29 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4184
4184
|
|
4185
4185
|
注: `目前,此接口仅支持5个文件发起。每个文件限制在10M以下,文件必须是PDF格式`
|
4186
4186
|
:type ResourceIds: list of str
|
4187
|
-
:param _PolicyType:
|
4187
|
+
:param _PolicyType: 合同审查的审查尺度。默认为`0`严格尺度
|
4188
4188
|
|
4189
|
-
|
4189
|
+
审查尺度如下:
|
4190
4190
|
<ul>
|
4191
4191
|
<li>**0** - 【严格】以保护己方利益为核心,对合同条款进行严格把控,尽可能争取对己方有利的条款,同时对对方提出的不合理条款可进行坚决修改或删除。</li>
|
4192
4192
|
<li>**1** - 【中立】以公平合理为原则,平衡双方的权利义务,既不过分强调己方利益,也不过度让步,力求达成双方均可接受的条款。</li>
|
4193
4193
|
<li>**2** - 【宽松】以促成交易为核心,对合同条款的修改要求较为宽松,倾向于接受对方提出的条款,以尽快达成合作。</li>
|
4194
4194
|
</ul>
|
4195
4195
|
:type PolicyType: int
|
4196
|
-
:param _Role:
|
4196
|
+
:param _Role: 合同审查中的角色信息,通过明确入参角色的名称和描述,可以提高合同审查的效率和准确性。用户不做配置时大模型会根据合同内容推荐出风险识别角色的名称和描述信息。
|
4197
4197
|
:type Role: :class:`tencentcloud.ess.v20201111.models.RiskIdentificationRoleInfo`
|
4198
4198
|
:param _ChecklistId: 用户配置的审查清单ID,基于此清单ID批量创建合同审查任务,为32位字符串。
|
4199
|
-
[点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)
|
4199
|
+
[点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)。如果用户不做此配置大模型会根据合同内容在当前企业下的审查清单和系统默认的清单中选择一个清单进行审查。
|
4200
4200
|
:type ChecklistId: str
|
4201
4201
|
:param _Agent: 代理企业和员工的信息。
|
4202
4202
|
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
4203
4203
|
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
4204
|
+
:param _Comment: 备注信息,长度不能超过100个字符
|
4205
|
+
:type Comment: str
|
4206
|
+
:param _UserData: 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
4207
|
+
|
4208
|
+
在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
4209
|
+
:type UserData: str
|
4204
4210
|
"""
|
4205
4211
|
self._Operator = None
|
4206
4212
|
self._ResourceIds = None
|
@@ -4208,6 +4214,8 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4208
4214
|
self._Role = None
|
4209
4215
|
self._ChecklistId = None
|
4210
4216
|
self._Agent = None
|
4217
|
+
self._Comment = None
|
4218
|
+
self._UserData = None
|
4211
4219
|
|
4212
4220
|
@property
|
4213
4221
|
def Operator(self):
|
@@ -4236,9 +4244,9 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4236
4244
|
|
4237
4245
|
@property
|
4238
4246
|
def PolicyType(self):
|
4239
|
-
"""
|
4247
|
+
"""合同审查的审查尺度。默认为`0`严格尺度
|
4240
4248
|
|
4241
|
-
|
4249
|
+
审查尺度如下:
|
4242
4250
|
<ul>
|
4243
4251
|
<li>**0** - 【严格】以保护己方利益为核心,对合同条款进行严格把控,尽可能争取对己方有利的条款,同时对对方提出的不合理条款可进行坚决修改或删除。</li>
|
4244
4252
|
<li>**1** - 【中立】以公平合理为原则,平衡双方的权利义务,既不过分强调己方利益,也不过度让步,力求达成双方均可接受的条款。</li>
|
@@ -4254,7 +4262,7 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4254
4262
|
|
4255
4263
|
@property
|
4256
4264
|
def Role(self):
|
4257
|
-
"""
|
4265
|
+
"""合同审查中的角色信息,通过明确入参角色的名称和描述,可以提高合同审查的效率和准确性。用户不做配置时大模型会根据合同内容推荐出风险识别角色的名称和描述信息。
|
4258
4266
|
:rtype: :class:`tencentcloud.ess.v20201111.models.RiskIdentificationRoleInfo`
|
4259
4267
|
"""
|
4260
4268
|
return self._Role
|
@@ -4266,7 +4274,7 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4266
4274
|
@property
|
4267
4275
|
def ChecklistId(self):
|
4268
4276
|
"""用户配置的审查清单ID,基于此清单ID批量创建合同审查任务,为32位字符串。
|
4269
|
-
[点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)
|
4277
|
+
[点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)。如果用户不做此配置大模型会根据合同内容在当前企业下的审查清单和系统默认的清单中选择一个清单进行审查。
|
4270
4278
|
:rtype: str
|
4271
4279
|
"""
|
4272
4280
|
return self._ChecklistId
|
@@ -4287,6 +4295,30 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4287
4295
|
def Agent(self, Agent):
|
4288
4296
|
self._Agent = Agent
|
4289
4297
|
|
4298
|
+
@property
|
4299
|
+
def Comment(self):
|
4300
|
+
"""备注信息,长度不能超过100个字符
|
4301
|
+
:rtype: str
|
4302
|
+
"""
|
4303
|
+
return self._Comment
|
4304
|
+
|
4305
|
+
@Comment.setter
|
4306
|
+
def Comment(self, Comment):
|
4307
|
+
self._Comment = Comment
|
4308
|
+
|
4309
|
+
@property
|
4310
|
+
def UserData(self):
|
4311
|
+
"""调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
4312
|
+
|
4313
|
+
在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
4314
|
+
:rtype: str
|
4315
|
+
"""
|
4316
|
+
return self._UserData
|
4317
|
+
|
4318
|
+
@UserData.setter
|
4319
|
+
def UserData(self, UserData):
|
4320
|
+
self._UserData = UserData
|
4321
|
+
|
4290
4322
|
|
4291
4323
|
def _deserialize(self, params):
|
4292
4324
|
if params.get("Operator") is not None:
|
@@ -4301,6 +4333,8 @@ class CreateBatchContractReviewTaskRequest(AbstractModel):
|
|
4301
4333
|
if params.get("Agent") is not None:
|
4302
4334
|
self._Agent = Agent()
|
4303
4335
|
self._Agent._deserialize(params.get("Agent"))
|
4336
|
+
self._Comment = params.get("Comment")
|
4337
|
+
self._UserData = params.get("UserData")
|
4304
4338
|
memeber_set = set(params.keys())
|
4305
4339
|
for name, value in vars(self).items():
|
4306
4340
|
property_name = name[1:]
|
@@ -20584,7 +20618,7 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20584
20618
|
|
20585
20619
|
def __init__(self):
|
20586
20620
|
r"""
|
20587
|
-
:param _ChecklistId: 用于审查任务的审查清单ID
|
20621
|
+
:param _ChecklistId: 用于审查任务的审查清单ID。注意:如果用户没有配置清单时此值可能为空,需要等大模型根据合同内容推荐出可以使用的审查清单。
|
20588
20622
|
:type ChecklistId: str
|
20589
20623
|
:param _CreatedOn: 合同审查任务创建时间。
|
20590
20624
|
:type CreatedOn: int
|
@@ -20605,7 +20639,8 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20605
20639
|
|
20606
20640
|
注意:`审查结果由AI生成,仅供参考。请结合相关法律法规和公司制度要求综合判断。`
|
20607
20641
|
:type Risks: list of OutputRisk
|
20608
|
-
:param _Role:
|
20642
|
+
:param _Role: 合同审查中的角色信息。注意:注意:如果用户没有配置审查角色时此值可能为null,需要等大模型根据合同内容推荐出审查角色信息。
|
20643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20609
20644
|
:type Role: :class:`tencentcloud.ess.v20201111.models.RiskIdentificationRoleInfo`
|
20610
20645
|
:param _Status: 合同审查任务状态。
|
20611
20646
|
状态如下:
|
@@ -20619,6 +20654,12 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20619
20654
|
:type Status: int
|
20620
20655
|
:param _TaskId: 合同审查任务ID
|
20621
20656
|
:type TaskId: str
|
20657
|
+
:param _Comment: 审查任务备注信息,长度不能超过100个字符
|
20658
|
+
:type Comment: str
|
20659
|
+
:param _UserData: 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
20660
|
+
|
20661
|
+
在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
20662
|
+
:type UserData: str
|
20622
20663
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20623
20664
|
:type RequestId: str
|
20624
20665
|
"""
|
@@ -20631,11 +20672,13 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20631
20672
|
self._Role = None
|
20632
20673
|
self._Status = None
|
20633
20674
|
self._TaskId = None
|
20675
|
+
self._Comment = None
|
20676
|
+
self._UserData = None
|
20634
20677
|
self._RequestId = None
|
20635
20678
|
|
20636
20679
|
@property
|
20637
20680
|
def ChecklistId(self):
|
20638
|
-
"""用于审查任务的审查清单ID
|
20681
|
+
"""用于审查任务的审查清单ID。注意:如果用户没有配置清单时此值可能为空,需要等大模型根据合同内容推荐出可以使用的审查清单。
|
20639
20682
|
:rtype: str
|
20640
20683
|
"""
|
20641
20684
|
return self._ChecklistId
|
@@ -20710,7 +20753,8 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20710
20753
|
|
20711
20754
|
@property
|
20712
20755
|
def Role(self):
|
20713
|
-
"""
|
20756
|
+
"""合同审查中的角色信息。注意:注意:如果用户没有配置审查角色时此值可能为null,需要等大模型根据合同内容推荐出审查角色信息。
|
20757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20714
20758
|
:rtype: :class:`tencentcloud.ess.v20201111.models.RiskIdentificationRoleInfo`
|
20715
20759
|
"""
|
20716
20760
|
return self._Role
|
@@ -20749,6 +20793,30 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20749
20793
|
def TaskId(self, TaskId):
|
20750
20794
|
self._TaskId = TaskId
|
20751
20795
|
|
20796
|
+
@property
|
20797
|
+
def Comment(self):
|
20798
|
+
"""审查任务备注信息,长度不能超过100个字符
|
20799
|
+
:rtype: str
|
20800
|
+
"""
|
20801
|
+
return self._Comment
|
20802
|
+
|
20803
|
+
@Comment.setter
|
20804
|
+
def Comment(self, Comment):
|
20805
|
+
self._Comment = Comment
|
20806
|
+
|
20807
|
+
@property
|
20808
|
+
def UserData(self):
|
20809
|
+
"""调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。
|
20810
|
+
|
20811
|
+
在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
20812
|
+
:rtype: str
|
20813
|
+
"""
|
20814
|
+
return self._UserData
|
20815
|
+
|
20816
|
+
@UserData.setter
|
20817
|
+
def UserData(self, UserData):
|
20818
|
+
self._UserData = UserData
|
20819
|
+
|
20752
20820
|
@property
|
20753
20821
|
def RequestId(self):
|
20754
20822
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -20778,6 +20846,8 @@ class DescribeContractReviewTaskResponse(AbstractModel):
|
|
20778
20846
|
self._Role._deserialize(params.get("Role"))
|
20779
20847
|
self._Status = params.get("Status")
|
20780
20848
|
self._TaskId = params.get("TaskId")
|
20849
|
+
self._Comment = params.get("Comment")
|
20850
|
+
self._UserData = params.get("UserData")
|
20781
20851
|
self._RequestId = params.get("RequestId")
|
20782
20852
|
|
20783
20853
|
|
@@ -33386,6 +33456,8 @@ class OutputRisk(AbstractModel):
|
|
33386
33456
|
:type RiskPresentation: list of str
|
33387
33457
|
:param _Content: PDF风险原文内容
|
33388
33458
|
:type Content: str
|
33459
|
+
:param _Positions: 审查出的PDF段落位置信息
|
33460
|
+
:type Positions: list of PositionInfo
|
33389
33461
|
:param _RiskBasis: 审查依据
|
33390
33462
|
:type RiskBasis: str
|
33391
33463
|
"""
|
@@ -33396,6 +33468,7 @@ class OutputRisk(AbstractModel):
|
|
33396
33468
|
self._RiskAdvice = None
|
33397
33469
|
self._RiskPresentation = None
|
33398
33470
|
self._Content = None
|
33471
|
+
self._Positions = None
|
33399
33472
|
self._RiskBasis = None
|
33400
33473
|
|
33401
33474
|
@property
|
@@ -33481,6 +33554,17 @@ class OutputRisk(AbstractModel):
|
|
33481
33554
|
def Content(self, Content):
|
33482
33555
|
self._Content = Content
|
33483
33556
|
|
33557
|
+
@property
|
33558
|
+
def Positions(self):
|
33559
|
+
"""审查出的PDF段落位置信息
|
33560
|
+
:rtype: list of PositionInfo
|
33561
|
+
"""
|
33562
|
+
return self._Positions
|
33563
|
+
|
33564
|
+
@Positions.setter
|
33565
|
+
def Positions(self, Positions):
|
33566
|
+
self._Positions = Positions
|
33567
|
+
|
33484
33568
|
@property
|
33485
33569
|
def RiskBasis(self):
|
33486
33570
|
"""审查依据
|
@@ -33501,6 +33585,12 @@ class OutputRisk(AbstractModel):
|
|
33501
33585
|
self._RiskAdvice = params.get("RiskAdvice")
|
33502
33586
|
self._RiskPresentation = params.get("RiskPresentation")
|
33503
33587
|
self._Content = params.get("Content")
|
33588
|
+
if params.get("Positions") is not None:
|
33589
|
+
self._Positions = []
|
33590
|
+
for item in params.get("Positions"):
|
33591
|
+
obj = PositionInfo()
|
33592
|
+
obj._deserialize(item)
|
33593
|
+
self._Positions.append(obj)
|
33504
33594
|
self._RiskBasis = params.get("RiskBasis")
|
33505
33595
|
memeber_set = set(params.keys())
|
33506
33596
|
for name, value in vars(self).items():
|
@@ -34021,6 +34111,117 @@ class PermissionGroup(AbstractModel):
|
|
34021
34111
|
|
34022
34112
|
|
34023
34113
|
|
34114
|
+
class PositionInfo(AbstractModel):
|
34115
|
+
"""坐标详情
|
34116
|
+
|
34117
|
+
"""
|
34118
|
+
|
34119
|
+
def __init__(self):
|
34120
|
+
r"""
|
34121
|
+
:param _X: PDF文件页X坐标位置,以PDF单页左上角为坐标原点
|
34122
|
+
:type X: float
|
34123
|
+
:param _Y: PDF文件页Y坐标位置,以PDF单页左上角为坐标原点
|
34124
|
+
:type Y: float
|
34125
|
+
:param _Width: 距离X坐标的宽度,用于在PDF文件进行画框。
|
34126
|
+
:type Width: float
|
34127
|
+
:param _Height: 距离Y坐标的高度,用于在PDF文件进行画框。
|
34128
|
+
:type Height: float
|
34129
|
+
:param _PageIndex: PDF文件页码索引,此值加1就是对应PDF文件的页码。
|
34130
|
+
:type PageIndex: int
|
34131
|
+
:param _Id: 系统生成的唯一ID值
|
34132
|
+
:type Id: str
|
34133
|
+
"""
|
34134
|
+
self._X = None
|
34135
|
+
self._Y = None
|
34136
|
+
self._Width = None
|
34137
|
+
self._Height = None
|
34138
|
+
self._PageIndex = None
|
34139
|
+
self._Id = None
|
34140
|
+
|
34141
|
+
@property
|
34142
|
+
def X(self):
|
34143
|
+
"""PDF文件页X坐标位置,以PDF单页左上角为坐标原点
|
34144
|
+
:rtype: float
|
34145
|
+
"""
|
34146
|
+
return self._X
|
34147
|
+
|
34148
|
+
@X.setter
|
34149
|
+
def X(self, X):
|
34150
|
+
self._X = X
|
34151
|
+
|
34152
|
+
@property
|
34153
|
+
def Y(self):
|
34154
|
+
"""PDF文件页Y坐标位置,以PDF单页左上角为坐标原点
|
34155
|
+
:rtype: float
|
34156
|
+
"""
|
34157
|
+
return self._Y
|
34158
|
+
|
34159
|
+
@Y.setter
|
34160
|
+
def Y(self, Y):
|
34161
|
+
self._Y = Y
|
34162
|
+
|
34163
|
+
@property
|
34164
|
+
def Width(self):
|
34165
|
+
"""距离X坐标的宽度,用于在PDF文件进行画框。
|
34166
|
+
:rtype: float
|
34167
|
+
"""
|
34168
|
+
return self._Width
|
34169
|
+
|
34170
|
+
@Width.setter
|
34171
|
+
def Width(self, Width):
|
34172
|
+
self._Width = Width
|
34173
|
+
|
34174
|
+
@property
|
34175
|
+
def Height(self):
|
34176
|
+
"""距离Y坐标的高度,用于在PDF文件进行画框。
|
34177
|
+
:rtype: float
|
34178
|
+
"""
|
34179
|
+
return self._Height
|
34180
|
+
|
34181
|
+
@Height.setter
|
34182
|
+
def Height(self, Height):
|
34183
|
+
self._Height = Height
|
34184
|
+
|
34185
|
+
@property
|
34186
|
+
def PageIndex(self):
|
34187
|
+
"""PDF文件页码索引,此值加1就是对应PDF文件的页码。
|
34188
|
+
:rtype: int
|
34189
|
+
"""
|
34190
|
+
return self._PageIndex
|
34191
|
+
|
34192
|
+
@PageIndex.setter
|
34193
|
+
def PageIndex(self, PageIndex):
|
34194
|
+
self._PageIndex = PageIndex
|
34195
|
+
|
34196
|
+
@property
|
34197
|
+
def Id(self):
|
34198
|
+
"""系统生成的唯一ID值
|
34199
|
+
:rtype: str
|
34200
|
+
"""
|
34201
|
+
return self._Id
|
34202
|
+
|
34203
|
+
@Id.setter
|
34204
|
+
def Id(self, Id):
|
34205
|
+
self._Id = Id
|
34206
|
+
|
34207
|
+
|
34208
|
+
def _deserialize(self, params):
|
34209
|
+
self._X = params.get("X")
|
34210
|
+
self._Y = params.get("Y")
|
34211
|
+
self._Width = params.get("Width")
|
34212
|
+
self._Height = params.get("Height")
|
34213
|
+
self._PageIndex = params.get("PageIndex")
|
34214
|
+
self._Id = params.get("Id")
|
34215
|
+
memeber_set = set(params.keys())
|
34216
|
+
for name, value in vars(self).items():
|
34217
|
+
property_name = name[1:]
|
34218
|
+
if property_name in memeber_set:
|
34219
|
+
memeber_set.remove(property_name)
|
34220
|
+
if len(memeber_set) > 0:
|
34221
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
34222
|
+
|
34223
|
+
|
34224
|
+
|
34024
34225
|
class PresetApproverInfo(AbstractModel):
|
34025
34226
|
"""预设的动态签署方的补充信息,仅匹配对应信息的签署方才能领取合同。暂时仅对个人参与方生效。
|
34026
34227
|
|
@@ -2215,6 +2215,29 @@ class IotexplorerClient(AbstractClient):
|
|
2215
2215
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2216
2216
|
|
2217
2217
|
|
2218
|
+
def DescribeTWeSeeRecognitionTask(self, request):
|
2219
|
+
"""查询 TWeSee 语义理解任务
|
2220
|
+
|
2221
|
+
:param request: Request instance for DescribeTWeSeeRecognitionTask.
|
2222
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeSeeRecognitionTaskRequest`
|
2223
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeTWeSeeRecognitionTaskResponse`
|
2224
|
+
|
2225
|
+
"""
|
2226
|
+
try:
|
2227
|
+
params = request._serialize()
|
2228
|
+
headers = request.headers
|
2229
|
+
body = self.call("DescribeTWeSeeRecognitionTask", params, headers=headers)
|
2230
|
+
response = json.loads(body)
|
2231
|
+
model = models.DescribeTWeSeeRecognitionTaskResponse()
|
2232
|
+
model._deserialize(response["Response"])
|
2233
|
+
return model
|
2234
|
+
except Exception as e:
|
2235
|
+
if isinstance(e, TencentCloudSDKException):
|
2236
|
+
raise
|
2237
|
+
else:
|
2238
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2239
|
+
|
2240
|
+
|
2218
2241
|
def DescribeTopicPolicy(self, request):
|
2219
2242
|
"""本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
2220
2243
|
|