tencentcloud-sdk-python 3.0.1162__py2.py3-none-any.whl → 3.0.1164__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 (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +4 -2
  3. tencentcloud/asr/v20190614/models.py +4 -2
  4. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  5. tencentcloud/ccc/v20200210/models.py +135 -0
  6. tencentcloud/cfw/v20190904/cfw_client.py +4 -2
  7. tencentcloud/common/credential.py +1 -1
  8. tencentcloud/cynosdb/v20190107/models.py +26 -0
  9. tencentcloud/dlc/v20210125/dlc_client.py +230 -0
  10. tencentcloud/dlc/v20210125/models.py +1298 -22
  11. tencentcloud/dts/v20180330/models.py +13 -13
  12. tencentcloud/dts/v20211206/models.py +12 -0
  13. tencentcloud/eb/v20210416/models.py +10 -1
  14. tencentcloud/ess/v20201111/models.py +2 -2
  15. tencentcloud/essbasic/v20210526/models.py +2 -2
  16. tencentcloud/facefusion/v20220927/errorcodes.py +12 -0
  17. tencentcloud/facefusion/v20220927/facefusion_client.py +24 -0
  18. tencentcloud/facefusion/v20220927/models.py +276 -0
  19. tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
  20. tencentcloud/hunyuan/v20230901/models.py +3 -3
  21. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
  22. tencentcloud/iotexplorer/v20190423/models.py +218 -0
  23. tencentcloud/mongodb/v20190725/models.py +4 -4
  24. tencentcloud/mps/v20190612/models.py +3 -7
  25. tencentcloud/ocr/v20181119/ocr_client.py +3 -2
  26. tencentcloud/postgres/v20170312/models.py +249 -86
  27. tencentcloud/postgres/v20170312/postgres_client.py +25 -2
  28. tencentcloud/rum/v20210622/models.py +1 -1
  29. tencentcloud/sqlserver/v20180328/models.py +26 -2
  30. tencentcloud/teo/v20220901/models.py +5 -3
  31. tencentcloud/tione/v20211111/errorcodes.py +15 -0
  32. tencentcloud/tione/v20211111/models.py +119 -13
  33. tencentcloud/trp/v20210515/models.py +187 -0
  34. tencentcloud/trp/v20210515/trp_client.py +23 -0
  35. tencentcloud/vcg/v20240404/models.py +2 -2
  36. tencentcloud/vtc/v20240223/errorcodes.py +3 -0
  37. tencentcloud/vtc/v20240223/models.py +24 -0
  38. tencentcloud/waf/v20180125/models.py +12 -0
  39. tencentcloud/wedata/v20210820/models.py +65 -0
  40. {tencentcloud_sdk_python-3.0.1162.dist-info → tencentcloud_sdk_python-3.0.1164.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1162.dist-info → tencentcloud_sdk_python-3.0.1164.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1162.dist-info → tencentcloud_sdk_python-3.0.1164.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1162.dist-info → tencentcloud_sdk_python-3.0.1164.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1162.dist-info → tencentcloud_sdk_python-3.0.1164.dist-info}/top_level.txt +0 -0
@@ -189,8 +189,8 @@ class PostgresClient(AbstractClient):
189
189
 
190
190
  def CreateInstances(self, request):
191
191
  """本接口 (CreateInstances) 用于创建一个或者多个PostgreSQL实例,通过此接口创建的实例无需进行初始化,可直接使用。
192
- <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。
193
- <li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。
192
+ <li>实例创建成功后将自动开机启动,实例状态变为“运行中”。</li>
193
+ <li>预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。</li>
194
194
 
195
195
  :param request: Request instance for CreateInstances.
196
196
  :type request: :class:`tencentcloud.postgres.v20170312.models.CreateInstancesRequest`
@@ -1987,6 +1987,29 @@ class PostgresClient(AbstractClient):
1987
1987
  raise TencentCloudSDKException(type(e).__name__, str(e))
1988
1988
 
1989
1989
 
1990
+ def RestoreDBInstanceObjects(self, request):
1991
+ """根据备份集或恢复目标时间,在原实例上恢复数据库相关对象,例如数据库、表。
1992
+
1993
+ :param request: Request instance for RestoreDBInstanceObjects.
1994
+ :type request: :class:`tencentcloud.postgres.v20170312.models.RestoreDBInstanceObjectsRequest`
1995
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.RestoreDBInstanceObjectsResponse`
1996
+
1997
+ """
1998
+ try:
1999
+ params = request._serialize()
2000
+ headers = request.headers
2001
+ body = self.call("RestoreDBInstanceObjects", params, headers=headers)
2002
+ response = json.loads(body)
2003
+ model = models.RestoreDBInstanceObjectsResponse()
2004
+ model._deserialize(response["Response"])
2005
+ return model
2006
+ except Exception as e:
2007
+ if isinstance(e, TencentCloudSDKException):
2008
+ raise
2009
+ else:
2010
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2011
+
2012
+
1990
2013
  def SetAutoRenewFlag(self, request):
1991
2014
  """本接口(SetAutoRenewFlag)用于设置自动续费。
1992
2015
 
@@ -8737,7 +8737,7 @@ class ModifyProjectLimitRequest(AbstractModel):
8737
8737
  r"""
8738
8738
  :param _ProjectID: 项目ID
8739
8739
  :type ProjectID: int
8740
- :param _ProjectInterface: 项目接口
8740
+ :param _ProjectInterface: 取值为[log speed performance webvitals pv event custom miniProgramData]其中之一
8741
8741
  :type ProjectInterface: str
8742
8742
  :param _ReportRate: 上报比例 10代表10%
8743
8743
  :type ReportRate: int
@@ -33,12 +33,14 @@ class AccountCreateInfo(AbstractModel):
33
33
  :type DBPrivileges: list of DBPrivilege
34
34
  :param _Remark: 账号备注信息
35
35
  :type Remark: str
36
- :param _IsAdmin: 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3
36
+ :param _IsAdmin: 是否为管理员账户,当值为true 等价于单节点AccountType=L0,双节点AccountType=L1,当值为false,等价于AccountType=L3
37
37
  :type IsAdmin: bool
38
38
  :param _Authentication: win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权
39
39
  :type Authentication: str
40
40
  :param _AccountType: 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
41
41
  :type AccountType: str
42
+ :param _IsCam: 是否开启CAM验证
43
+ :type IsCam: bool
42
44
  """
43
45
  self._UserName = None
44
46
  self._Password = None
@@ -47,6 +49,7 @@ class AccountCreateInfo(AbstractModel):
47
49
  self._IsAdmin = None
48
50
  self._Authentication = None
49
51
  self._AccountType = None
52
+ self._IsCam = None
50
53
 
51
54
  @property
52
55
  def UserName(self):
@@ -104,6 +107,14 @@ class AccountCreateInfo(AbstractModel):
104
107
  def AccountType(self, AccountType):
105
108
  self._AccountType = AccountType
106
109
 
110
+ @property
111
+ def IsCam(self):
112
+ return self._IsCam
113
+
114
+ @IsCam.setter
115
+ def IsCam(self, IsCam):
116
+ self._IsCam = IsCam
117
+
107
118
 
108
119
  def _deserialize(self, params):
109
120
  self._UserName = params.get("UserName")
@@ -118,6 +129,7 @@ class AccountCreateInfo(AbstractModel):
118
129
  self._IsAdmin = params.get("IsAdmin")
119
130
  self._Authentication = params.get("Authentication")
120
131
  self._AccountType = params.get("AccountType")
132
+ self._IsCam = params.get("IsCam")
121
133
  memeber_set = set(params.keys())
122
134
  for name, value in vars(self).items():
123
135
  property_name = name[1:]
@@ -129,7 +141,7 @@ class AccountCreateInfo(AbstractModel):
129
141
 
130
142
 
131
143
  class AccountDetail(AbstractModel):
132
- """账户信息详情
144
+ """账号信息详情
133
145
 
134
146
  """
135
147
 
@@ -153,6 +165,8 @@ class AccountDetail(AbstractModel):
153
165
  :type Dbs: list of DBPrivilege
154
166
  :param _IsAdmin: 是否为管理员账户
155
167
  :type IsAdmin: bool
168
+ :param _IsCam: 是否为cam托管账户
169
+ :type IsCam: bool
156
170
  :param _Authentication: win-windows鉴权,sql-sqlserver鉴权
157
171
  :type Authentication: str
158
172
  :param _Host: win-windows鉴权账户需要host
@@ -169,6 +183,7 @@ class AccountDetail(AbstractModel):
169
183
  self._InternalStatus = None
170
184
  self._Dbs = None
171
185
  self._IsAdmin = None
186
+ self._IsCam = None
172
187
  self._Authentication = None
173
188
  self._Host = None
174
189
  self._AccountType = None
@@ -245,6 +260,14 @@ class AccountDetail(AbstractModel):
245
260
  def IsAdmin(self, IsAdmin):
246
261
  self._IsAdmin = IsAdmin
247
262
 
263
+ @property
264
+ def IsCam(self):
265
+ return self._IsCam
266
+
267
+ @IsCam.setter
268
+ def IsCam(self, IsCam):
269
+ self._IsCam = IsCam
270
+
248
271
  @property
249
272
  def Authentication(self):
250
273
  return self._Authentication
@@ -285,6 +308,7 @@ class AccountDetail(AbstractModel):
285
308
  obj._deserialize(item)
286
309
  self._Dbs.append(obj)
287
310
  self._IsAdmin = params.get("IsAdmin")
311
+ self._IsCam = params.get("IsCam")
288
312
  self._Authentication = params.get("Authentication")
289
313
  self._Host = params.get("Host")
290
314
  self._AccountType = params.get("AccountType")
@@ -19960,6 +19960,7 @@ class OriginDetail(AbstractModel):
19960
19960
  <li>AWS_S3:AWS S3 对象存储源站;</li>
19961
19961
  <li>ORIGIN_GROUP:源站组类型源站;</li>
19962
19962
  <li>VODEO:云点播-混合云版;</li>
19963
+ <li>VOD:云点播;</li>
19963
19964
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
19964
19965
  <li>LB:负载均衡,当前仅白名单开放。</li>
19965
19966
  :type OriginType: str
@@ -19968,6 +19969,7 @@ class OriginDetail(AbstractModel):
19968
19969
  <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
19969
19970
  <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
19970
19971
  <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
19972
+ <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
19971
19973
  <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
19972
19974
  :type Origin: str
19973
19975
  :param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
@@ -20312,7 +20314,7 @@ class OriginInfo(AbstractModel):
20312
20314
  <li>COS:腾讯云 COS 对象存储源站;</li>
20313
20315
  <li>AWS_S3:AWS S3 对象存储源站;</li>
20314
20316
  <li>ORIGIN_GROUP:源站组类型源站;</li>
20315
- <li>VODEO:云点播-混合云版;</li>
20317
+ <li>VOD:云点播;</li>
20316
20318
  <li>SPACE:源站卸载,当前仅白名单开放;</li>
20317
20319
  <li>LB:负载均衡,当前仅白名单开放。</li>
20318
20320
  :type OriginType: str
@@ -20321,7 +20323,7 @@ class OriginInfo(AbstractModel):
20321
20323
  <li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
20322
20324
  <li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li>
20323
20325
  <li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li>
20324
- <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数填写 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数请填写对应存储桶域名;</li>
20326
+ <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
20325
20327
  <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li>
20326
20328
  <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
20327
20329
  :type Origin: str
@@ -20338,7 +20340,7 @@ class OriginInfo(AbstractModel):
20338
20340
  :type VodeoSubAppId: int
20339
20341
  :param _VodeoDistributionRange: VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有:
20340
20342
  <li>All:当前应用下所有存储桶;</li>
20341
- <li>Bucket:指定的某一个存储桶。</li>
20343
+ <li>Bucket:指定的某一个存储桶。</li>
20342
20344
  :type VodeoDistributionRange: str
20343
20345
  :param _VodeoBucketId: VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。
20344
20346
  :type VodeoBucketId: str
@@ -173,6 +173,9 @@ FAILEDOPERATION_UNBINDINGTAGSFAILED = 'FailedOperation.UnBindingTagsFailed'
173
173
  # 当前任务后台提交重试中,不允许操作停止,请稍后再试。
174
174
  FAILEDOPERATION_UNSUBMITNOTALLOWTOSTOP = 'FailedOperation.UnSubmitNotAllowToStop'
175
175
 
176
+ # 无操作权限
177
+ FAILEDOPERATION_UNAUTHORIZEDOPERATION = 'FailedOperation.UnauthorizedOperation'
178
+
176
179
  # 解冻失败。
177
180
  FAILEDOPERATION_UNFREEZEBILLFAILED = 'FailedOperation.UnfreezeBillFailed'
178
181
 
@@ -224,6 +227,9 @@ INVALIDPARAMETER_MODELISOFFLINE = 'InvalidParameter.ModelIsOffline'
224
227
  # 无效的接口。
225
228
  INVALIDPARAMETER_TGWINVALIDINTERFACE = 'InvalidParameter.TgwInvalidInterface'
226
229
 
230
+ # 不支持使用多个本地磁盘
231
+ INVALIDPARAMETER_UNSUPPORTEDMULTILOCALDISK = 'InvalidParameter.UnsupportedMultiLocalDisk'
232
+
227
233
  # 请求参数校验失败。
228
234
  INVALIDPARAMETER_VALIDATEERROR = 'InvalidParameter.ValidateError'
229
235
 
@@ -305,6 +311,9 @@ INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = 'In
305
311
  # 分页查询limit超出限制
306
312
  INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = 'InvalidParameterValue.PageLimitExceeded'
307
313
 
314
+ # 本地盘路径不合法
315
+ INVALIDPARAMETERVALUE_PATHILLEGAL = 'InvalidParameterValue.PathIllegal'
316
+
308
317
  # 资源配置不合法
309
318
  INVALIDPARAMETERVALUE_RESOURCECONFIGILLEGAL = 'InvalidParameterValue.ResourceConfigIllegal'
310
319
 
@@ -359,12 +368,18 @@ RESOURCEINUSE = 'ResourceInUse'
359
368
  # 资源不足。
360
369
  RESOURCEINSUFFICIENT = 'ResourceInsufficient'
361
370
 
371
+ # SSH端口资源耗尽
372
+ RESOURCEINSUFFICIENT_SSHPORTISCONSUMEDUP = 'ResourceInsufficient.SSHPortIsConsumedUp'
373
+
362
374
  # 资源不存在。
363
375
  RESOURCENOTFOUND = 'ResourceNotFound'
364
376
 
365
377
  # 没有该模型。
366
378
  RESOURCENOTFOUND_NOMODEL = 'ResourceNotFound.NoModel'
367
379
 
380
+ # 资源组不存在
381
+ RESOURCENOTFOUND_RESOURCEGROUPNOTFOUND = 'ResourceNotFound.ResourceGroupNotFound'
382
+
368
383
  # 资源不可用。
369
384
  RESOURCEUNAVAILABLE = 'ResourceUnavailable'
370
385
 
@@ -4890,6 +4890,9 @@ class DescribeModelServiceCallInfoResponse(AbstractModel):
4890
4890
  :param _IntranetCallInfo: 内网调用信息
4891
4891
  注意:此字段可能返回 null,表示取不到有效值。
4892
4892
  :type IntranetCallInfo: :class:`tencentcloud.tione.v20211111.models.IntranetCallInfo`
4893
+ :param _ServiceCallInfoV2: 基于新网关的服务调用信息
4894
+ 注意:此字段可能返回 null,表示取不到有效值。
4895
+ :type ServiceCallInfoV2: :class:`tencentcloud.tione.v20211111.models.ServiceCallInfoV2`
4893
4896
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4894
4897
  :type RequestId: str
4895
4898
  """
@@ -4898,6 +4901,7 @@ class DescribeModelServiceCallInfoResponse(AbstractModel):
4898
4901
  self._DefaultNginxGatewayCallInfo = None
4899
4902
  self._TJCallInfo = None
4900
4903
  self._IntranetCallInfo = None
4904
+ self._ServiceCallInfoV2 = None
4901
4905
  self._RequestId = None
4902
4906
 
4903
4907
  @property
@@ -4940,6 +4944,14 @@ class DescribeModelServiceCallInfoResponse(AbstractModel):
4940
4944
  def IntranetCallInfo(self, IntranetCallInfo):
4941
4945
  self._IntranetCallInfo = IntranetCallInfo
4942
4946
 
4947
+ @property
4948
+ def ServiceCallInfoV2(self):
4949
+ return self._ServiceCallInfoV2
4950
+
4951
+ @ServiceCallInfoV2.setter
4952
+ def ServiceCallInfoV2(self, ServiceCallInfoV2):
4953
+ self._ServiceCallInfoV2 = ServiceCallInfoV2
4954
+
4943
4955
  @property
4944
4956
  def RequestId(self):
4945
4957
  return self._RequestId
@@ -4965,6 +4977,9 @@ class DescribeModelServiceCallInfoResponse(AbstractModel):
4965
4977
  if params.get("IntranetCallInfo") is not None:
4966
4978
  self._IntranetCallInfo = IntranetCallInfo()
4967
4979
  self._IntranetCallInfo._deserialize(params.get("IntranetCallInfo"))
4980
+ if params.get("ServiceCallInfoV2") is not None:
4981
+ self._ServiceCallInfoV2 = ServiceCallInfoV2()
4982
+ self._ServiceCallInfoV2._deserialize(params.get("ServiceCallInfoV2"))
4968
4983
  self._RequestId = params.get("RequestId")
4969
4984
 
4970
4985
 
@@ -7525,17 +7540,21 @@ class IntranetCallInfo(AbstractModel):
7525
7540
  :param _ServiceEIPInfo: 共享弹性网卡信息
7526
7541
  注意:此字段可能返回 null,表示取不到有效值。
7527
7542
  :type ServiceEIPInfo: list of ServiceEIPInfo
7543
+ :param _DefaultInnerCallInfos: 默认内网调用信息
7544
+ 注意:此字段可能返回 null,表示取不到有效值。
7545
+ :type DefaultInnerCallInfos: list of DefaultInnerCallInfo
7528
7546
  :param _PrivateLinkInfos: 私有连接信息
7529
7547
  注意:此字段可能返回 null,表示取不到有效值。
7530
7548
  :type PrivateLinkInfos: list of PrivateLinkInfo
7531
- :param _DefaultInnerCallInfos: 默认内网调用信息
7549
+ :param _PrivateLinkInfosV2: 基于新网关的私有连接信息
7532
7550
  注意:此字段可能返回 null,表示取不到有效值。
7533
- :type DefaultInnerCallInfos: list of DefaultInnerCallInfo
7551
+ :type PrivateLinkInfosV2: list of PrivateLinkInfo
7534
7552
  """
7535
7553
  self._IngressPrivateLinkInfo = None
7536
7554
  self._ServiceEIPInfo = None
7537
- self._PrivateLinkInfos = None
7538
7555
  self._DefaultInnerCallInfos = None
7556
+ self._PrivateLinkInfos = None
7557
+ self._PrivateLinkInfosV2 = None
7539
7558
 
7540
7559
  @property
7541
7560
  def IngressPrivateLinkInfo(self):
@@ -7553,6 +7572,14 @@ class IntranetCallInfo(AbstractModel):
7553
7572
  def ServiceEIPInfo(self, ServiceEIPInfo):
7554
7573
  self._ServiceEIPInfo = ServiceEIPInfo
7555
7574
 
7575
+ @property
7576
+ def DefaultInnerCallInfos(self):
7577
+ return self._DefaultInnerCallInfos
7578
+
7579
+ @DefaultInnerCallInfos.setter
7580
+ def DefaultInnerCallInfos(self, DefaultInnerCallInfos):
7581
+ self._DefaultInnerCallInfos = DefaultInnerCallInfos
7582
+
7556
7583
  @property
7557
7584
  def PrivateLinkInfos(self):
7558
7585
  return self._PrivateLinkInfos
@@ -7562,12 +7589,12 @@ class IntranetCallInfo(AbstractModel):
7562
7589
  self._PrivateLinkInfos = PrivateLinkInfos
7563
7590
 
7564
7591
  @property
7565
- def DefaultInnerCallInfos(self):
7566
- return self._DefaultInnerCallInfos
7592
+ def PrivateLinkInfosV2(self):
7593
+ return self._PrivateLinkInfosV2
7567
7594
 
7568
- @DefaultInnerCallInfos.setter
7569
- def DefaultInnerCallInfos(self, DefaultInnerCallInfos):
7570
- self._DefaultInnerCallInfos = DefaultInnerCallInfos
7595
+ @PrivateLinkInfosV2.setter
7596
+ def PrivateLinkInfosV2(self, PrivateLinkInfosV2):
7597
+ self._PrivateLinkInfosV2 = PrivateLinkInfosV2
7571
7598
 
7572
7599
 
7573
7600
  def _deserialize(self, params):
@@ -7580,18 +7607,24 @@ class IntranetCallInfo(AbstractModel):
7580
7607
  obj = ServiceEIPInfo()
7581
7608
  obj._deserialize(item)
7582
7609
  self._ServiceEIPInfo.append(obj)
7610
+ if params.get("DefaultInnerCallInfos") is not None:
7611
+ self._DefaultInnerCallInfos = []
7612
+ for item in params.get("DefaultInnerCallInfos"):
7613
+ obj = DefaultInnerCallInfo()
7614
+ obj._deserialize(item)
7615
+ self._DefaultInnerCallInfos.append(obj)
7583
7616
  if params.get("PrivateLinkInfos") is not None:
7584
7617
  self._PrivateLinkInfos = []
7585
7618
  for item in params.get("PrivateLinkInfos"):
7586
7619
  obj = PrivateLinkInfo()
7587
7620
  obj._deserialize(item)
7588
7621
  self._PrivateLinkInfos.append(obj)
7589
- if params.get("DefaultInnerCallInfos") is not None:
7590
- self._DefaultInnerCallInfos = []
7591
- for item in params.get("DefaultInnerCallInfos"):
7592
- obj = DefaultInnerCallInfo()
7622
+ if params.get("PrivateLinkInfosV2") is not None:
7623
+ self._PrivateLinkInfosV2 = []
7624
+ for item in params.get("PrivateLinkInfosV2"):
7625
+ obj = PrivateLinkInfo()
7593
7626
  obj._deserialize(item)
7594
- self._DefaultInnerCallInfos.append(obj)
7627
+ self._PrivateLinkInfosV2.append(obj)
7595
7628
  memeber_set = set(params.keys())
7596
7629
  for name, value in vars(self).items():
7597
7630
  property_name = name[1:]
@@ -12114,6 +12147,79 @@ class ServiceCallInfo(AbstractModel):
12114
12147
 
12115
12148
 
12116
12149
 
12150
+ class ServiceCallInfoV2(AbstractModel):
12151
+ """V2版本的服务调用信息
12152
+
12153
+ """
12154
+
12155
+ def __init__(self):
12156
+ r"""
12157
+ :param _ServiceGroupId: 服务组id
12158
+ 注意:此字段可能返回 null,表示取不到有效值。
12159
+ :type ServiceGroupId: str
12160
+ :param _InternetEndpoint: 服务的公网调用地址
12161
+ 注意:此字段可能返回 null,表示取不到有效值。
12162
+ :type InternetEndpoint: str
12163
+ :param _AuthorizationEnable: 鉴权是否开启
12164
+ 注意:此字段可能返回 null,表示取不到有效值。
12165
+ :type AuthorizationEnable: bool
12166
+ :param _AuthToken: 鉴权token,仅当AuthorizationEnable为true时有效
12167
+ 注意:此字段可能返回 null,表示取不到有效值。
12168
+ :type AuthToken: str
12169
+ """
12170
+ self._ServiceGroupId = None
12171
+ self._InternetEndpoint = None
12172
+ self._AuthorizationEnable = None
12173
+ self._AuthToken = None
12174
+
12175
+ @property
12176
+ def ServiceGroupId(self):
12177
+ return self._ServiceGroupId
12178
+
12179
+ @ServiceGroupId.setter
12180
+ def ServiceGroupId(self, ServiceGroupId):
12181
+ self._ServiceGroupId = ServiceGroupId
12182
+
12183
+ @property
12184
+ def InternetEndpoint(self):
12185
+ return self._InternetEndpoint
12186
+
12187
+ @InternetEndpoint.setter
12188
+ def InternetEndpoint(self, InternetEndpoint):
12189
+ self._InternetEndpoint = InternetEndpoint
12190
+
12191
+ @property
12192
+ def AuthorizationEnable(self):
12193
+ return self._AuthorizationEnable
12194
+
12195
+ @AuthorizationEnable.setter
12196
+ def AuthorizationEnable(self, AuthorizationEnable):
12197
+ self._AuthorizationEnable = AuthorizationEnable
12198
+
12199
+ @property
12200
+ def AuthToken(self):
12201
+ return self._AuthToken
12202
+
12203
+ @AuthToken.setter
12204
+ def AuthToken(self, AuthToken):
12205
+ self._AuthToken = AuthToken
12206
+
12207
+
12208
+ def _deserialize(self, params):
12209
+ self._ServiceGroupId = params.get("ServiceGroupId")
12210
+ self._InternetEndpoint = params.get("InternetEndpoint")
12211
+ self._AuthorizationEnable = params.get("AuthorizationEnable")
12212
+ self._AuthToken = params.get("AuthToken")
12213
+ memeber_set = set(params.keys())
12214
+ for name, value in vars(self).items():
12215
+ property_name = name[1:]
12216
+ if property_name in memeber_set:
12217
+ memeber_set.remove(property_name)
12218
+ if len(memeber_set) > 0:
12219
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12220
+
12221
+
12222
+
12117
12223
  class ServiceEIP(AbstractModel):
12118
12224
  """服务共享弹性网卡设置
12119
12225
 
@@ -224,6 +224,58 @@ class AuthorizedTransferResponse(AbstractModel):
224
224
  self._RequestId = params.get("RequestId")
225
225
 
226
226
 
227
+ class Chain(AbstractModel):
228
+ """上链数据
229
+
230
+ """
231
+
232
+ def __init__(self):
233
+ r"""
234
+ :param _Code: 码url
235
+ 注意:此字段可能返回 null,表示取不到有效值。
236
+ :type Code: str
237
+ :param _Data: 上链数据
238
+ 注意:此字段可能返回 null,表示取不到有效值。
239
+ :type Data: list of ChainValue
240
+ """
241
+ self._Code = None
242
+ self._Data = None
243
+
244
+ @property
245
+ def Code(self):
246
+ return self._Code
247
+
248
+ @Code.setter
249
+ def Code(self, Code):
250
+ self._Code = Code
251
+
252
+ @property
253
+ def Data(self):
254
+ return self._Data
255
+
256
+ @Data.setter
257
+ def Data(self, Data):
258
+ self._Data = Data
259
+
260
+
261
+ def _deserialize(self, params):
262
+ self._Code = params.get("Code")
263
+ if params.get("Data") is not None:
264
+ self._Data = []
265
+ for item in params.get("Data"):
266
+ obj = ChainValue()
267
+ obj._deserialize(item)
268
+ self._Data.append(obj)
269
+ memeber_set = set(params.keys())
270
+ for name, value in vars(self).items():
271
+ property_name = name[1:]
272
+ if property_name in memeber_set:
273
+ memeber_set.remove(property_name)
274
+ if len(memeber_set) > 0:
275
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
276
+
277
+
278
+
227
279
  class ChainData(AbstractModel):
228
280
  """上链数据
229
281
 
@@ -284,6 +336,66 @@ class ChainData(AbstractModel):
284
336
 
285
337
 
286
338
 
339
+ class ChainValue(AbstractModel):
340
+ """上链数据 key-value
341
+
342
+ """
343
+
344
+ def __init__(self):
345
+ r"""
346
+ :param _Label: 标题名字
347
+ 注意:此字段可能返回 null,表示取不到有效值。
348
+ :type Label: str
349
+ :param _Type: 类型,文字:"text",图片:"image"
350
+ 注意:此字段可能返回 null,表示取不到有效值。
351
+ :type Type: str
352
+ :param _Value: 值,文字类型:"abc",图片类型:""/images/img.png"
353
+ 注意:此字段可能返回 null,表示取不到有效值。
354
+ :type Value: str
355
+ """
356
+ self._Label = None
357
+ self._Type = None
358
+ self._Value = None
359
+
360
+ @property
361
+ def Label(self):
362
+ return self._Label
363
+
364
+ @Label.setter
365
+ def Label(self, Label):
366
+ self._Label = Label
367
+
368
+ @property
369
+ def Type(self):
370
+ return self._Type
371
+
372
+ @Type.setter
373
+ def Type(self, Type):
374
+ self._Type = Type
375
+
376
+ @property
377
+ def Value(self):
378
+ return self._Value
379
+
380
+ @Value.setter
381
+ def Value(self, Value):
382
+ self._Value = Value
383
+
384
+
385
+ def _deserialize(self, params):
386
+ self._Label = params.get("Label")
387
+ self._Type = params.get("Type")
388
+ self._Value = params.get("Value")
389
+ memeber_set = set(params.keys())
390
+ for name, value in vars(self).items():
391
+ property_name = name[1:]
392
+ if property_name in memeber_set:
393
+ memeber_set.remove(property_name)
394
+ if len(memeber_set) > 0:
395
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
396
+
397
+
398
+
287
399
  class CodeBatch(AbstractModel):
288
400
  """批次
289
401
 
@@ -1171,6 +1283,81 @@ class CorpQuota(AbstractModel):
1171
1283
 
1172
1284
 
1173
1285
 
1286
+ class CreateChainBatchRequest(AbstractModel):
1287
+ """CreateChainBatch请求参数结构体
1288
+
1289
+ """
1290
+
1291
+ def __init__(self):
1292
+ r"""
1293
+ :param _CorpId: 企业ID
1294
+ :type CorpId: int
1295
+ :param _ChainList: 溯源ID
1296
+ :type ChainList: list of Chain
1297
+ """
1298
+ self._CorpId = None
1299
+ self._ChainList = None
1300
+
1301
+ @property
1302
+ def CorpId(self):
1303
+ return self._CorpId
1304
+
1305
+ @CorpId.setter
1306
+ def CorpId(self, CorpId):
1307
+ self._CorpId = CorpId
1308
+
1309
+ @property
1310
+ def ChainList(self):
1311
+ return self._ChainList
1312
+
1313
+ @ChainList.setter
1314
+ def ChainList(self, ChainList):
1315
+ self._ChainList = ChainList
1316
+
1317
+
1318
+ def _deserialize(self, params):
1319
+ self._CorpId = params.get("CorpId")
1320
+ if params.get("ChainList") is not None:
1321
+ self._ChainList = []
1322
+ for item in params.get("ChainList"):
1323
+ obj = Chain()
1324
+ obj._deserialize(item)
1325
+ self._ChainList.append(obj)
1326
+ memeber_set = set(params.keys())
1327
+ for name, value in vars(self).items():
1328
+ property_name = name[1:]
1329
+ if property_name in memeber_set:
1330
+ memeber_set.remove(property_name)
1331
+ if len(memeber_set) > 0:
1332
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1333
+
1334
+
1335
+
1336
+ class CreateChainBatchResponse(AbstractModel):
1337
+ """CreateChainBatch返回参数结构体
1338
+
1339
+ """
1340
+
1341
+ def __init__(self):
1342
+ r"""
1343
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1344
+ :type RequestId: str
1345
+ """
1346
+ self._RequestId = None
1347
+
1348
+ @property
1349
+ def RequestId(self):
1350
+ return self._RequestId
1351
+
1352
+ @RequestId.setter
1353
+ def RequestId(self, RequestId):
1354
+ self._RequestId = RequestId
1355
+
1356
+
1357
+ def _deserialize(self, params):
1358
+ self._RequestId = params.get("RequestId")
1359
+
1360
+
1174
1361
  class CreateCodeBatchRequest(AbstractModel):
1175
1362
  """CreateCodeBatch请求参数结构体
1176
1363
 
@@ -49,6 +49,29 @@ class TrpClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CreateChainBatch(self, request):
53
+ """批量上链接口
54
+
55
+ :param request: Request instance for CreateChainBatch.
56
+ :type request: :class:`tencentcloud.trp.v20210515.models.CreateChainBatchRequest`
57
+ :rtype: :class:`tencentcloud.trp.v20210515.models.CreateChainBatchResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("CreateChainBatch", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.CreateChainBatchResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
52
75
  def CreateCodeBatch(self, request):
53
76
  """新增批次
54
77