tencentcloud-sdk-python 3.0.1374__py2.py3-none-any.whl → 3.0.1376__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/aiart/v20221229/models.py +14 -0
- tencentcloud/apm/v20210622/models.py +60 -0
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +8 -0
- tencentcloud/bh/v20230418/models.py +4 -8
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +161 -0
- tencentcloud/cfs/v20190719/models.py +19 -0
- tencentcloud/clb/v20180317/clb_client.py +17 -9
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/clb/v20180317/models.py +232 -98
- tencentcloud/cloudaudit/v20190319/models.py +0 -64
- tencentcloud/config/v20220802/models.py +0 -150
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +113 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +23 -0
- tencentcloud/dsgc/v20190723/models.py +384 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +25 -0
- tencentcloud/hunyuan/v20230901/models.py +310 -0
- tencentcloud/mongodb/v20190725/models.py +4 -0
- tencentcloud/ocr/v20181119/models.py +20 -2
- tencentcloud/organization/v20210331/models.py +0 -12
- tencentcloud/partners/v20180321/models.py +266 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +185 -15
- tencentcloud/teo/v20220901/errorcodes.py +12 -0
- tencentcloud/teo/v20220901/models.py +4 -4
- tencentcloud/thpc/v20230321/errorcodes.py +9 -0
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/trocket/v20230308/models.py +190 -12
- tencentcloud/trocket/v20230308/trocket_client.py +0 -1
- tencentcloud/vpc/v20170312/models.py +136 -154
- tencentcloud/vpc/v20170312/vpc_client.py +4 -4
- tencentcloud/waf/v20180125/models.py +79 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +2018 -165
- tencentcloud/wedata/v20210820/wedata_client.py +144 -5
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1374.dist-info → tencentcloud_sdk_python-3.0.1376.dist-info}/top_level.txt +0 -0
@@ -16496,7 +16496,7 @@ class ModifyHostsAttributeRequest(AbstractModel):
|
|
16496
16496
|
:type HostIds: list of str
|
16497
16497
|
:param _HostName: CDH实例显示名称。可任意命名,但不得超过60个字符。
|
16498
16498
|
:type HostName: str
|
16499
|
-
:param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW
|
16499
|
+
:param _RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
16500
16500
|
:type RenewFlag: str
|
16501
16501
|
:param _ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/doc/api/403/4398)接口创建。可通过[`DescribeProject`](https://cloud.tencent.com/document/product/378/4400) API返回值中的`projectId`获取。后续使用[DescribeHosts](https://cloud.tencent.com/document/api/213/16474)接口查询实例时,项目ID可用于过滤结果。
|
16502
16502
|
:type ProjectId: int
|
@@ -16530,7 +16530,7 @@ class ModifyHostsAttributeRequest(AbstractModel):
|
|
16530
16530
|
|
16531
16531
|
@property
|
16532
16532
|
def RenewFlag(self):
|
16533
|
-
"""自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW
|
16533
|
+
"""自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
16534
16534
|
:rtype: str
|
16535
16535
|
"""
|
16536
16536
|
return self._RenewFlag
|
@@ -233,6 +233,29 @@ class CynosdbClient(AbstractClient):
|
|
233
233
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
234
234
|
|
235
235
|
|
236
|
+
def CloseSSL(self, request):
|
237
|
+
"""关闭SSL加密
|
238
|
+
|
239
|
+
:param request: Request instance for CloseSSL.
|
240
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.CloseSSLRequest`
|
241
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.CloseSSLResponse`
|
242
|
+
|
243
|
+
"""
|
244
|
+
try:
|
245
|
+
params = request._serialize()
|
246
|
+
headers = request.headers
|
247
|
+
body = self.call("CloseSSL", params, headers=headers)
|
248
|
+
response = json.loads(body)
|
249
|
+
model = models.CloseSSLResponse()
|
250
|
+
model._deserialize(response["Response"])
|
251
|
+
return model
|
252
|
+
except Exception as e:
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
254
|
+
raise
|
255
|
+
else:
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
|
+
|
258
|
+
|
236
259
|
def CloseWan(self, request):
|
237
260
|
"""本接口(CloseWan)用于关闭外网。
|
238
261
|
|
@@ -3952,6 +3952,119 @@ class CloseProxyResponse(AbstractModel):
|
|
3952
3952
|
self._RequestId = params.get("RequestId")
|
3953
3953
|
|
3954
3954
|
|
3955
|
+
class CloseSSLRequest(AbstractModel):
|
3956
|
+
"""CloseSSL请求参数结构体
|
3957
|
+
|
3958
|
+
"""
|
3959
|
+
|
3960
|
+
def __init__(self):
|
3961
|
+
r"""
|
3962
|
+
:param _ClusterId: 集群ID
|
3963
|
+
:type ClusterId: str
|
3964
|
+
:param _InstanceId: 实例ID
|
3965
|
+
:type InstanceId: str
|
3966
|
+
"""
|
3967
|
+
self._ClusterId = None
|
3968
|
+
self._InstanceId = None
|
3969
|
+
|
3970
|
+
@property
|
3971
|
+
def ClusterId(self):
|
3972
|
+
"""集群ID
|
3973
|
+
:rtype: str
|
3974
|
+
"""
|
3975
|
+
return self._ClusterId
|
3976
|
+
|
3977
|
+
@ClusterId.setter
|
3978
|
+
def ClusterId(self, ClusterId):
|
3979
|
+
self._ClusterId = ClusterId
|
3980
|
+
|
3981
|
+
@property
|
3982
|
+
def InstanceId(self):
|
3983
|
+
"""实例ID
|
3984
|
+
:rtype: str
|
3985
|
+
"""
|
3986
|
+
return self._InstanceId
|
3987
|
+
|
3988
|
+
@InstanceId.setter
|
3989
|
+
def InstanceId(self, InstanceId):
|
3990
|
+
self._InstanceId = InstanceId
|
3991
|
+
|
3992
|
+
|
3993
|
+
def _deserialize(self, params):
|
3994
|
+
self._ClusterId = params.get("ClusterId")
|
3995
|
+
self._InstanceId = params.get("InstanceId")
|
3996
|
+
memeber_set = set(params.keys())
|
3997
|
+
for name, value in vars(self).items():
|
3998
|
+
property_name = name[1:]
|
3999
|
+
if property_name in memeber_set:
|
4000
|
+
memeber_set.remove(property_name)
|
4001
|
+
if len(memeber_set) > 0:
|
4002
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4003
|
+
|
4004
|
+
|
4005
|
+
|
4006
|
+
class CloseSSLResponse(AbstractModel):
|
4007
|
+
"""CloseSSL返回参数结构体
|
4008
|
+
|
4009
|
+
"""
|
4010
|
+
|
4011
|
+
def __init__(self):
|
4012
|
+
r"""
|
4013
|
+
:param _FlowId: 流程ID
|
4014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4015
|
+
:type FlowId: int
|
4016
|
+
:param _TaskId: 任务id
|
4017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4018
|
+
:type TaskId: int
|
4019
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4020
|
+
:type RequestId: str
|
4021
|
+
"""
|
4022
|
+
self._FlowId = None
|
4023
|
+
self._TaskId = None
|
4024
|
+
self._RequestId = None
|
4025
|
+
|
4026
|
+
@property
|
4027
|
+
def FlowId(self):
|
4028
|
+
"""流程ID
|
4029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4030
|
+
:rtype: int
|
4031
|
+
"""
|
4032
|
+
return self._FlowId
|
4033
|
+
|
4034
|
+
@FlowId.setter
|
4035
|
+
def FlowId(self, FlowId):
|
4036
|
+
self._FlowId = FlowId
|
4037
|
+
|
4038
|
+
@property
|
4039
|
+
def TaskId(self):
|
4040
|
+
"""任务id
|
4041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4042
|
+
:rtype: int
|
4043
|
+
"""
|
4044
|
+
return self._TaskId
|
4045
|
+
|
4046
|
+
@TaskId.setter
|
4047
|
+
def TaskId(self, TaskId):
|
4048
|
+
self._TaskId = TaskId
|
4049
|
+
|
4050
|
+
@property
|
4051
|
+
def RequestId(self):
|
4052
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4053
|
+
:rtype: str
|
4054
|
+
"""
|
4055
|
+
return self._RequestId
|
4056
|
+
|
4057
|
+
@RequestId.setter
|
4058
|
+
def RequestId(self, RequestId):
|
4059
|
+
self._RequestId = RequestId
|
4060
|
+
|
4061
|
+
|
4062
|
+
def _deserialize(self, params):
|
4063
|
+
self._FlowId = params.get("FlowId")
|
4064
|
+
self._TaskId = params.get("TaskId")
|
4065
|
+
self._RequestId = params.get("RequestId")
|
4066
|
+
|
4067
|
+
|
3955
4068
|
class CloseWanRequest(AbstractModel):
|
3956
4069
|
"""CloseWan请求参数结构体
|
3957
4070
|
|
@@ -2041,6 +2041,29 @@ class DsgcClient(AbstractClient):
|
|
2041
2041
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2042
2042
|
|
2043
2043
|
|
2044
|
+
def DescribeDSPADiscoveryTasks(self, request):
|
2045
|
+
"""获取分类分级任务列表
|
2046
|
+
|
2047
|
+
:param request: Request instance for DescribeDSPADiscoveryTasks.
|
2048
|
+
:type request: :class:`tencentcloud.dsgc.v20190723.models.DescribeDSPADiscoveryTasksRequest`
|
2049
|
+
:rtype: :class:`tencentcloud.dsgc.v20190723.models.DescribeDSPADiscoveryTasksResponse`
|
2050
|
+
|
2051
|
+
"""
|
2052
|
+
try:
|
2053
|
+
params = request._serialize()
|
2054
|
+
headers = request.headers
|
2055
|
+
body = self.call("DescribeDSPADiscoveryTasks", params, headers=headers)
|
2056
|
+
response = json.loads(body)
|
2057
|
+
model = models.DescribeDSPADiscoveryTasksResponse()
|
2058
|
+
model._deserialize(response["Response"])
|
2059
|
+
return model
|
2060
|
+
except Exception as e:
|
2061
|
+
if isinstance(e, TencentCloudSDKException):
|
2062
|
+
raise
|
2063
|
+
else:
|
2064
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2065
|
+
|
2066
|
+
|
2044
2067
|
def DescribeDSPAESDataAssetByComplianceId(self, request):
|
2045
2068
|
"""根据合规组id,去查询ES的概览页统计数据
|
2046
2069
|
|
@@ -16023,6 +16023,209 @@ class DescribeDSPADiscoveryTaskTablesResponse(AbstractModel):
|
|
16023
16023
|
self._RequestId = params.get("RequestId")
|
16024
16024
|
|
16025
16025
|
|
16026
|
+
class DescribeDSPADiscoveryTasksRequest(AbstractModel):
|
16027
|
+
"""DescribeDSPADiscoveryTasks请求参数结构体
|
16028
|
+
|
16029
|
+
"""
|
16030
|
+
|
16031
|
+
def __init__(self):
|
16032
|
+
r"""
|
16033
|
+
:param _DspaId: DSPA实例ID
|
16034
|
+
:type DspaId: str
|
16035
|
+
:param _DataSourceType: 数据源类型,可取值如下:
|
16036
|
+
cdb 表示云数据库 MySQL,
|
16037
|
+
dcdb 表示TDSQL MySQL版,
|
16038
|
+
mariadb 表示云数据库 MariaDB,
|
16039
|
+
postgres 表示云数据库 PostgreSQL,
|
16040
|
+
cynosdbpg 表示TDSQL-C PostgreSQL版,
|
16041
|
+
cynosdbmysql 表示TDSQL-C MySQL版,
|
16042
|
+
selfbuilt-db 表示自建数据库
|
16043
|
+
:type DataSourceType: str
|
16044
|
+
:param _TaskId: 任务ID
|
16045
|
+
:type TaskId: int
|
16046
|
+
:param _Name: 任务名称
|
16047
|
+
:type Name: str
|
16048
|
+
:param _StatusList: 任务扫描结果状态,可供选择的状态值有:-1待触发 0待扫描 1扫描中 2扫描终止 3扫描成功 4扫描失败
|
16049
|
+
:type StatusList: list of int
|
16050
|
+
:param _Offset: 偏移量,默认为0
|
16051
|
+
:type Offset: int
|
16052
|
+
:param _Limit: 返回结果集数量,默认值是10000,最大值为10000,根据该资源的个数限制条件,该资源的个数不会超过10000,所以如果不输入该字段,默认获取全量数据
|
16053
|
+
:type Limit: int
|
16054
|
+
"""
|
16055
|
+
self._DspaId = None
|
16056
|
+
self._DataSourceType = None
|
16057
|
+
self._TaskId = None
|
16058
|
+
self._Name = None
|
16059
|
+
self._StatusList = None
|
16060
|
+
self._Offset = None
|
16061
|
+
self._Limit = None
|
16062
|
+
|
16063
|
+
@property
|
16064
|
+
def DspaId(self):
|
16065
|
+
"""DSPA实例ID
|
16066
|
+
:rtype: str
|
16067
|
+
"""
|
16068
|
+
return self._DspaId
|
16069
|
+
|
16070
|
+
@DspaId.setter
|
16071
|
+
def DspaId(self, DspaId):
|
16072
|
+
self._DspaId = DspaId
|
16073
|
+
|
16074
|
+
@property
|
16075
|
+
def DataSourceType(self):
|
16076
|
+
"""数据源类型,可取值如下:
|
16077
|
+
cdb 表示云数据库 MySQL,
|
16078
|
+
dcdb 表示TDSQL MySQL版,
|
16079
|
+
mariadb 表示云数据库 MariaDB,
|
16080
|
+
postgres 表示云数据库 PostgreSQL,
|
16081
|
+
cynosdbpg 表示TDSQL-C PostgreSQL版,
|
16082
|
+
cynosdbmysql 表示TDSQL-C MySQL版,
|
16083
|
+
selfbuilt-db 表示自建数据库
|
16084
|
+
:rtype: str
|
16085
|
+
"""
|
16086
|
+
return self._DataSourceType
|
16087
|
+
|
16088
|
+
@DataSourceType.setter
|
16089
|
+
def DataSourceType(self, DataSourceType):
|
16090
|
+
self._DataSourceType = DataSourceType
|
16091
|
+
|
16092
|
+
@property
|
16093
|
+
def TaskId(self):
|
16094
|
+
"""任务ID
|
16095
|
+
:rtype: int
|
16096
|
+
"""
|
16097
|
+
return self._TaskId
|
16098
|
+
|
16099
|
+
@TaskId.setter
|
16100
|
+
def TaskId(self, TaskId):
|
16101
|
+
self._TaskId = TaskId
|
16102
|
+
|
16103
|
+
@property
|
16104
|
+
def Name(self):
|
16105
|
+
"""任务名称
|
16106
|
+
:rtype: str
|
16107
|
+
"""
|
16108
|
+
return self._Name
|
16109
|
+
|
16110
|
+
@Name.setter
|
16111
|
+
def Name(self, Name):
|
16112
|
+
self._Name = Name
|
16113
|
+
|
16114
|
+
@property
|
16115
|
+
def StatusList(self):
|
16116
|
+
"""任务扫描结果状态,可供选择的状态值有:-1待触发 0待扫描 1扫描中 2扫描终止 3扫描成功 4扫描失败
|
16117
|
+
:rtype: list of int
|
16118
|
+
"""
|
16119
|
+
return self._StatusList
|
16120
|
+
|
16121
|
+
@StatusList.setter
|
16122
|
+
def StatusList(self, StatusList):
|
16123
|
+
self._StatusList = StatusList
|
16124
|
+
|
16125
|
+
@property
|
16126
|
+
def Offset(self):
|
16127
|
+
"""偏移量,默认为0
|
16128
|
+
:rtype: int
|
16129
|
+
"""
|
16130
|
+
return self._Offset
|
16131
|
+
|
16132
|
+
@Offset.setter
|
16133
|
+
def Offset(self, Offset):
|
16134
|
+
self._Offset = Offset
|
16135
|
+
|
16136
|
+
@property
|
16137
|
+
def Limit(self):
|
16138
|
+
"""返回结果集数量,默认值是10000,最大值为10000,根据该资源的个数限制条件,该资源的个数不会超过10000,所以如果不输入该字段,默认获取全量数据
|
16139
|
+
:rtype: int
|
16140
|
+
"""
|
16141
|
+
return self._Limit
|
16142
|
+
|
16143
|
+
@Limit.setter
|
16144
|
+
def Limit(self, Limit):
|
16145
|
+
self._Limit = Limit
|
16146
|
+
|
16147
|
+
|
16148
|
+
def _deserialize(self, params):
|
16149
|
+
self._DspaId = params.get("DspaId")
|
16150
|
+
self._DataSourceType = params.get("DataSourceType")
|
16151
|
+
self._TaskId = params.get("TaskId")
|
16152
|
+
self._Name = params.get("Name")
|
16153
|
+
self._StatusList = params.get("StatusList")
|
16154
|
+
self._Offset = params.get("Offset")
|
16155
|
+
self._Limit = params.get("Limit")
|
16156
|
+
memeber_set = set(params.keys())
|
16157
|
+
for name, value in vars(self).items():
|
16158
|
+
property_name = name[1:]
|
16159
|
+
if property_name in memeber_set:
|
16160
|
+
memeber_set.remove(property_name)
|
16161
|
+
if len(memeber_set) > 0:
|
16162
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16163
|
+
|
16164
|
+
|
16165
|
+
|
16166
|
+
class DescribeDSPADiscoveryTasksResponse(AbstractModel):
|
16167
|
+
"""DescribeDSPADiscoveryTasks返回参数结构体
|
16168
|
+
|
16169
|
+
"""
|
16170
|
+
|
16171
|
+
def __init__(self):
|
16172
|
+
r"""
|
16173
|
+
:param _Items: 任务列表
|
16174
|
+
:type Items: list of DspaDiscoveryTask
|
16175
|
+
:param _TotalCount: 符合条件的任务列表数
|
16176
|
+
:type TotalCount: int
|
16177
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16178
|
+
:type RequestId: str
|
16179
|
+
"""
|
16180
|
+
self._Items = None
|
16181
|
+
self._TotalCount = None
|
16182
|
+
self._RequestId = None
|
16183
|
+
|
16184
|
+
@property
|
16185
|
+
def Items(self):
|
16186
|
+
"""任务列表
|
16187
|
+
:rtype: list of DspaDiscoveryTask
|
16188
|
+
"""
|
16189
|
+
return self._Items
|
16190
|
+
|
16191
|
+
@Items.setter
|
16192
|
+
def Items(self, Items):
|
16193
|
+
self._Items = Items
|
16194
|
+
|
16195
|
+
@property
|
16196
|
+
def TotalCount(self):
|
16197
|
+
"""符合条件的任务列表数
|
16198
|
+
:rtype: int
|
16199
|
+
"""
|
16200
|
+
return self._TotalCount
|
16201
|
+
|
16202
|
+
@TotalCount.setter
|
16203
|
+
def TotalCount(self, TotalCount):
|
16204
|
+
self._TotalCount = TotalCount
|
16205
|
+
|
16206
|
+
@property
|
16207
|
+
def RequestId(self):
|
16208
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16209
|
+
:rtype: str
|
16210
|
+
"""
|
16211
|
+
return self._RequestId
|
16212
|
+
|
16213
|
+
@RequestId.setter
|
16214
|
+
def RequestId(self, RequestId):
|
16215
|
+
self._RequestId = RequestId
|
16216
|
+
|
16217
|
+
|
16218
|
+
def _deserialize(self, params):
|
16219
|
+
if params.get("Items") is not None:
|
16220
|
+
self._Items = []
|
16221
|
+
for item in params.get("Items"):
|
16222
|
+
obj = DspaDiscoveryTask()
|
16223
|
+
obj._deserialize(item)
|
16224
|
+
self._Items.append(obj)
|
16225
|
+
self._TotalCount = params.get("TotalCount")
|
16226
|
+
self._RequestId = params.get("RequestId")
|
16227
|
+
|
16228
|
+
|
16026
16229
|
class DescribeDSPAESDataAssetByComplianceIdRequest(AbstractModel):
|
16027
16230
|
"""DescribeDSPAESDataAssetByComplianceId请求参数结构体
|
16028
16231
|
|
@@ -21957,6 +22160,187 @@ class DspaDiscoveryRuleDetail(AbstractModel):
|
|
21957
22160
|
|
21958
22161
|
|
21959
22162
|
|
22163
|
+
class DspaDiscoveryTask(AbstractModel):
|
22164
|
+
"""分类分级任务相关信息
|
22165
|
+
|
22166
|
+
"""
|
22167
|
+
|
22168
|
+
def __init__(self):
|
22169
|
+
r"""
|
22170
|
+
:param _Name: 任务名称
|
22171
|
+
:type Name: str
|
22172
|
+
:param _Description: 任务描述
|
22173
|
+
:type Description: str
|
22174
|
+
:param _Period: 执行周期,0单次 1每天 2每周 3每月
|
22175
|
+
:type Period: int
|
22176
|
+
:param _Plan: 执行计划,0立即 1定时
|
22177
|
+
:type Plan: int
|
22178
|
+
:param _Enable: 任务开关;1 打开,0 关闭
|
22179
|
+
:type Enable: int
|
22180
|
+
:param _DataSourceInfo: 元数据对象信息
|
22181
|
+
:type DataSourceInfo: :class:`tencentcloud.dsgc.v20190723.models.DspaDiscoveryTaskDataSource`
|
22182
|
+
:param _GeneralRuleSetEnable: 通用规则集开关,0 关闭,1 启用
|
22183
|
+
:type GeneralRuleSetEnable: int
|
22184
|
+
:param _Result: 任务最新的一次执行结果信息,该字段用于查询任务列表接口
|
22185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22186
|
+
:type Result: :class:`tencentcloud.dsgc.v20190723.models.ScanTaskResult`
|
22187
|
+
:param _TimingStartTime: 定时开始时间
|
22188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22189
|
+
:type TimingStartTime: str
|
22190
|
+
:param _ComplianceUpdate: 关联模板是否更新
|
22191
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22192
|
+
:type ComplianceUpdate: bool
|
22193
|
+
"""
|
22194
|
+
self._Name = None
|
22195
|
+
self._Description = None
|
22196
|
+
self._Period = None
|
22197
|
+
self._Plan = None
|
22198
|
+
self._Enable = None
|
22199
|
+
self._DataSourceInfo = None
|
22200
|
+
self._GeneralRuleSetEnable = None
|
22201
|
+
self._Result = None
|
22202
|
+
self._TimingStartTime = None
|
22203
|
+
self._ComplianceUpdate = None
|
22204
|
+
|
22205
|
+
@property
|
22206
|
+
def Name(self):
|
22207
|
+
"""任务名称
|
22208
|
+
:rtype: str
|
22209
|
+
"""
|
22210
|
+
return self._Name
|
22211
|
+
|
22212
|
+
@Name.setter
|
22213
|
+
def Name(self, Name):
|
22214
|
+
self._Name = Name
|
22215
|
+
|
22216
|
+
@property
|
22217
|
+
def Description(self):
|
22218
|
+
"""任务描述
|
22219
|
+
:rtype: str
|
22220
|
+
"""
|
22221
|
+
return self._Description
|
22222
|
+
|
22223
|
+
@Description.setter
|
22224
|
+
def Description(self, Description):
|
22225
|
+
self._Description = Description
|
22226
|
+
|
22227
|
+
@property
|
22228
|
+
def Period(self):
|
22229
|
+
"""执行周期,0单次 1每天 2每周 3每月
|
22230
|
+
:rtype: int
|
22231
|
+
"""
|
22232
|
+
return self._Period
|
22233
|
+
|
22234
|
+
@Period.setter
|
22235
|
+
def Period(self, Period):
|
22236
|
+
self._Period = Period
|
22237
|
+
|
22238
|
+
@property
|
22239
|
+
def Plan(self):
|
22240
|
+
"""执行计划,0立即 1定时
|
22241
|
+
:rtype: int
|
22242
|
+
"""
|
22243
|
+
return self._Plan
|
22244
|
+
|
22245
|
+
@Plan.setter
|
22246
|
+
def Plan(self, Plan):
|
22247
|
+
self._Plan = Plan
|
22248
|
+
|
22249
|
+
@property
|
22250
|
+
def Enable(self):
|
22251
|
+
"""任务开关;1 打开,0 关闭
|
22252
|
+
:rtype: int
|
22253
|
+
"""
|
22254
|
+
return self._Enable
|
22255
|
+
|
22256
|
+
@Enable.setter
|
22257
|
+
def Enable(self, Enable):
|
22258
|
+
self._Enable = Enable
|
22259
|
+
|
22260
|
+
@property
|
22261
|
+
def DataSourceInfo(self):
|
22262
|
+
"""元数据对象信息
|
22263
|
+
:rtype: :class:`tencentcloud.dsgc.v20190723.models.DspaDiscoveryTaskDataSource`
|
22264
|
+
"""
|
22265
|
+
return self._DataSourceInfo
|
22266
|
+
|
22267
|
+
@DataSourceInfo.setter
|
22268
|
+
def DataSourceInfo(self, DataSourceInfo):
|
22269
|
+
self._DataSourceInfo = DataSourceInfo
|
22270
|
+
|
22271
|
+
@property
|
22272
|
+
def GeneralRuleSetEnable(self):
|
22273
|
+
"""通用规则集开关,0 关闭,1 启用
|
22274
|
+
:rtype: int
|
22275
|
+
"""
|
22276
|
+
return self._GeneralRuleSetEnable
|
22277
|
+
|
22278
|
+
@GeneralRuleSetEnable.setter
|
22279
|
+
def GeneralRuleSetEnable(self, GeneralRuleSetEnable):
|
22280
|
+
self._GeneralRuleSetEnable = GeneralRuleSetEnable
|
22281
|
+
|
22282
|
+
@property
|
22283
|
+
def Result(self):
|
22284
|
+
"""任务最新的一次执行结果信息,该字段用于查询任务列表接口
|
22285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22286
|
+
:rtype: :class:`tencentcloud.dsgc.v20190723.models.ScanTaskResult`
|
22287
|
+
"""
|
22288
|
+
return self._Result
|
22289
|
+
|
22290
|
+
@Result.setter
|
22291
|
+
def Result(self, Result):
|
22292
|
+
self._Result = Result
|
22293
|
+
|
22294
|
+
@property
|
22295
|
+
def TimingStartTime(self):
|
22296
|
+
"""定时开始时间
|
22297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22298
|
+
:rtype: str
|
22299
|
+
"""
|
22300
|
+
return self._TimingStartTime
|
22301
|
+
|
22302
|
+
@TimingStartTime.setter
|
22303
|
+
def TimingStartTime(self, TimingStartTime):
|
22304
|
+
self._TimingStartTime = TimingStartTime
|
22305
|
+
|
22306
|
+
@property
|
22307
|
+
def ComplianceUpdate(self):
|
22308
|
+
"""关联模板是否更新
|
22309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
22310
|
+
:rtype: bool
|
22311
|
+
"""
|
22312
|
+
return self._ComplianceUpdate
|
22313
|
+
|
22314
|
+
@ComplianceUpdate.setter
|
22315
|
+
def ComplianceUpdate(self, ComplianceUpdate):
|
22316
|
+
self._ComplianceUpdate = ComplianceUpdate
|
22317
|
+
|
22318
|
+
|
22319
|
+
def _deserialize(self, params):
|
22320
|
+
self._Name = params.get("Name")
|
22321
|
+
self._Description = params.get("Description")
|
22322
|
+
self._Period = params.get("Period")
|
22323
|
+
self._Plan = params.get("Plan")
|
22324
|
+
self._Enable = params.get("Enable")
|
22325
|
+
if params.get("DataSourceInfo") is not None:
|
22326
|
+
self._DataSourceInfo = DspaDiscoveryTaskDataSource()
|
22327
|
+
self._DataSourceInfo._deserialize(params.get("DataSourceInfo"))
|
22328
|
+
self._GeneralRuleSetEnable = params.get("GeneralRuleSetEnable")
|
22329
|
+
if params.get("Result") is not None:
|
22330
|
+
self._Result = ScanTaskResult()
|
22331
|
+
self._Result._deserialize(params.get("Result"))
|
22332
|
+
self._TimingStartTime = params.get("TimingStartTime")
|
22333
|
+
self._ComplianceUpdate = params.get("ComplianceUpdate")
|
22334
|
+
memeber_set = set(params.keys())
|
22335
|
+
for name, value in vars(self).items():
|
22336
|
+
property_name = name[1:]
|
22337
|
+
if property_name in memeber_set:
|
22338
|
+
memeber_set.remove(property_name)
|
22339
|
+
if len(memeber_set) > 0:
|
22340
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
22341
|
+
|
22342
|
+
|
22343
|
+
|
21960
22344
|
class DspaDiscoveryTaskCOSCondition(AbstractModel):
|
21961
22345
|
"""描述对象存储类敏感识别扫描人元数据条件。
|
21962
22346
|
|
@@ -3136,7 +3136,7 @@ class EssClient(AbstractClient):
|
|
3136
3136
|
|
3137
3137
|
2.<font color="red">静默(自动)签署不支持非本企业合同签署方存在填写</font>功能
|
3138
3138
|
|
3139
|
-
3.<font color="red">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/
|
3139
|
+
3.<font color="red">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E5%90%88%E5%90%8C%E6%96%87%E6%A1%A3%E5%90%88%E6%88%90%E5%AE%8C%E6%88%90%E5%9B%9E%E8%B0%83)</font>,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。
|
3140
3140
|
|
3141
3141
|
:param request: Request instance for StartFlow.
|
3142
3142
|
:type request: :class:`tencentcloud.ess.v20201111.models.StartFlowRequest`
|
@@ -315,6 +315,31 @@ class HunyuanClient(AbstractClient):
|
|
315
315
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
316
316
|
|
317
317
|
|
318
|
+
def ImageQuestion(self, request):
|
319
|
+
"""如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
320
|
+
|
321
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
322
|
+
|
323
|
+
1. 本接口暂不支持返回图片内容。
|
324
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
325
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
326
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
327
|
+
|
328
|
+
:param request: Request instance for ImageQuestion.
|
329
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.ImageQuestionRequest`
|
330
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.ImageQuestionResponse`
|
331
|
+
|
332
|
+
"""
|
333
|
+
try:
|
334
|
+
params = request._serialize()
|
335
|
+
return self._call_and_deserialize("ImageQuestion", params, models.ImageQuestionResponse, headers=request.headers)
|
336
|
+
except Exception as e:
|
337
|
+
if isinstance(e, TencentCloudSDKException):
|
338
|
+
raise
|
339
|
+
else:
|
340
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
341
|
+
|
342
|
+
|
318
343
|
def QueryHunyuanImageChatJob(self, request):
|
319
344
|
"""混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
320
345
|
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|