tencentcloud-sdk-python 3.0.1424__py2.py3-none-any.whl → 3.0.1425__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 (32) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +2 -2
  3. tencentcloud/batch/v20170312/errorcodes.py +3 -0
  4. tencentcloud/cbs/v20170312/errorcodes.py +3 -0
  5. tencentcloud/cfg/v20210820/models.py +15 -0
  6. tencentcloud/cfs/v20190719/models.py +90 -0
  7. tencentcloud/csip/v20221121/models.py +32 -2
  8. tencentcloud/eb/v20210416/models.py +8 -8
  9. tencentcloud/ess/v20201111/models.py +2 -2
  10. tencentcloud/iai/v20180301/iai_client.py +0 -1
  11. tencentcloud/iai/v20180301/models.py +168 -126
  12. tencentcloud/igtm/v20231024/models.py +10 -144
  13. tencentcloud/ims/v20201229/errorcodes.py +3 -0
  14. tencentcloud/lighthouse/v20200324/models.py +15 -0
  15. tencentcloud/lke/v20231130/models.py +4 -4
  16. tencentcloud/lkeap/v20240522/models.py +6 -58
  17. tencentcloud/scf/v20180416/errorcodes.py +93 -0
  18. tencentcloud/tcbr/v20220217/models.py +15 -0
  19. tencentcloud/tke/v20180525/models.py +95 -0
  20. tencentcloud/trtc/v20190722/models.py +2583 -725
  21. tencentcloud/trtc/v20190722/trtc_client.py +194 -0
  22. tencentcloud/tsf/v20180326/errorcodes.py +1 -1
  23. tencentcloud/tts/v20190823/tts_client.py +1 -1
  24. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  25. tencentcloud/wedata/v20210820/errorcodes.py +12 -0
  26. tencentcloud/wedata/v20210820/models.py +865 -2
  27. tencentcloud/wedata/v20210820/wedata_client.py +161 -0
  28. {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/METADATA +1 -1
  29. {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/RECORD +32 -32
  30. {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/LICENSE +0 -0
  31. {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/WHEEL +0 -0
  32. {tencentcloud_sdk_python-3.0.1424.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1424'
17
+ __version__ = '3.0.1425'
@@ -3151,7 +3151,7 @@ class SubmitGlamPicJobRequest(AbstractModel):
3151
3151
  图片限制:模板图中最多出现5张人脸,单边分辨率大于300,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
3152
3152
  :type TemplateUrl: str
3153
3153
  :param _FaceInfos: 用户图 URL 列表,以及模板图中需要替换成用户的人脸框信息。
3154
- 一张美照中可包含1 ~ 5个用户形象。每个用户需上传1 ~ 6张照片,如果图中存在多个人脸将取最大人脸。
3154
+ 一张美照中可包含1 ~ 5个用户形象。每个用户需上传1 ~ 6张照片,仅支持单人照。
3155
3155
  模板图中的人脸数量需要大于等于用户个数。如果不传每个用户在模板图中的人脸框位置,默认按照模板图人脸框从大到小的顺序进行替换。如需自定义顺序,需要依次上传每个用户在模板图中的人脸框位置。
3156
3156
  图片限制:每张图片转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。建议使用单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的用户图。
3157
3157
  :type FaceInfos: list of FaceInfo
@@ -3204,7 +3204,7 @@ x4:4倍超分
3204
3204
  @property
3205
3205
  def FaceInfos(self):
3206
3206
  """用户图 URL 列表,以及模板图中需要替换成用户的人脸框信息。
3207
- 一张美照中可包含1 ~ 5个用户形象。每个用户需上传1 ~ 6张照片,如果图中存在多个人脸将取最大人脸。
3207
+ 一张美照中可包含1 ~ 5个用户形象。每个用户需上传1 ~ 6张照片,仅支持单人照。
3208
3208
  模板图中的人脸数量需要大于等于用户个数。如果不传每个用户在模板图中的人脸框位置,默认按照模板图人脸框从大到小的顺序进行替换。如需自定义顺序,需要依次上传每个用户在模板图中的人脸框位置。
3209
3209
  图片限制:每张图片转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。建议使用单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的用户图。
3210
3210
  :rtype: list of FaceInfo
@@ -152,6 +152,9 @@ INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = 'InvalidParameterValue.RemoteSto
152
152
  # 指定的ResourceType不合法。
153
153
  INVALIDPARAMETERVALUE_RESOURCETYPE = 'InvalidParameterValue.ResourceType'
154
154
 
155
+ # 提交任务时指定的task实例副本参数不符合预期
156
+ INVALIDPARAMETERVALUE_TASKINSTANCENUM = 'InvalidParameterValue.TaskInstanceNum'
157
+
155
158
  # Zone不可用。
156
159
  INVALIDPARAMETERVALUE_UNAVAILABLEZONE = 'InvalidParameterValue.UnavailableZone'
157
160
 
@@ -146,6 +146,9 @@ RESOURCEINSUFFICIENT_OVERQUOTA = 'ResourceInsufficient.OverQuota'
146
146
  # 云盘退还数量已达上限,不能再退还。
147
147
  RESOURCEINSUFFICIENT_OVERREFUNDQUOTA = 'ResourceInsufficient.OverRefundQuota'
148
148
 
149
+ # 云硬盘升级服务繁忙,请稍后重试。
150
+ RESOURCEINSUFFICIENT_UPGRADESERVICEBUSY = 'ResourceInsufficient.UpgradeServiceBusy'
151
+
149
152
  # 资源不存在。
150
153
  RESOURCENOTFOUND = 'ResourceNotFound'
151
154
 
@@ -6231,11 +6231,14 @@ class TaskTarget(AbstractModel):
6231
6231
  :type Type: int
6232
6232
  :param _Source: 1:平台 2:用户个人
6233
6233
  :type Source: int
6234
+ :param _TargetStatus: 目标标签是否已被删除
6235
+ :type TargetStatus: int
6234
6236
  """
6235
6237
  self._TargetId = None
6236
6238
  self._TargetDesc = None
6237
6239
  self._Type = None
6238
6240
  self._Source = None
6241
+ self._TargetStatus = None
6239
6242
 
6240
6243
  @property
6241
6244
  def TargetId(self):
@@ -6282,12 +6285,24 @@ class TaskTarget(AbstractModel):
6282
6285
  def Source(self, Source):
6283
6286
  self._Source = Source
6284
6287
 
6288
+ @property
6289
+ def TargetStatus(self):
6290
+ """目标标签是否已被删除
6291
+ :rtype: int
6292
+ """
6293
+ return self._TargetStatus
6294
+
6295
+ @TargetStatus.setter
6296
+ def TargetStatus(self, TargetStatus):
6297
+ self._TargetStatus = TargetStatus
6298
+
6285
6299
 
6286
6300
  def _deserialize(self, params):
6287
6301
  self._TargetId = params.get("TargetId")
6288
6302
  self._TargetDesc = params.get("TargetDesc")
6289
6303
  self._Type = params.get("Type")
6290
6304
  self._Source = params.get("Source")
6305
+ self._TargetStatus = params.get("TargetStatus")
6291
6306
  memeber_set = set(params.keys())
6292
6307
  for name, value in vars(self).items():
6293
6308
  property_name = name[1:]
@@ -4673,6 +4673,57 @@ class DescribeUserQuotaResponse(AbstractModel):
4673
4673
  self._RequestId = params.get("RequestId")
4674
4674
 
4675
4675
 
4676
+ class ExstraPerformanceInfo(AbstractModel):
4677
+ """购买完额外性能之后的值
4678
+
4679
+ """
4680
+
4681
+ def __init__(self):
4682
+ r"""
4683
+ :param _Type: fixed: 最终值固定
4684
+ :type Type: str
4685
+ :param _Performance: 额外购买的CFS性能值,单位MB/s。
4686
+ :type Performance: int
4687
+ """
4688
+ self._Type = None
4689
+ self._Performance = None
4690
+
4691
+ @property
4692
+ def Type(self):
4693
+ """fixed: 最终值固定
4694
+ :rtype: str
4695
+ """
4696
+ return self._Type
4697
+
4698
+ @Type.setter
4699
+ def Type(self, Type):
4700
+ self._Type = Type
4701
+
4702
+ @property
4703
+ def Performance(self):
4704
+ """额外购买的CFS性能值,单位MB/s。
4705
+ :rtype: int
4706
+ """
4707
+ return self._Performance
4708
+
4709
+ @Performance.setter
4710
+ def Performance(self, Performance):
4711
+ self._Performance = Performance
4712
+
4713
+
4714
+ def _deserialize(self, params):
4715
+ self._Type = params.get("Type")
4716
+ self._Performance = params.get("Performance")
4717
+ memeber_set = set(params.keys())
4718
+ for name, value in vars(self).items():
4719
+ property_name = name[1:]
4720
+ if property_name in memeber_set:
4721
+ memeber_set.remove(property_name)
4722
+ if len(memeber_set) > 0:
4723
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4724
+
4725
+
4726
+
4676
4727
  class FileSystemByPolicy(AbstractModel):
4677
4728
  """绑定快照策略的文件系统信息
4678
4729
 
@@ -4978,6 +5029,12 @@ Available:可用
4978
5029
  :type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
4979
5030
  :param _Version: 文件系统版本
4980
5031
  :type Version: str
5032
+ :param _ExstraPerformanceInfo: 额外性能信息
5033
+ 注意:此字段可能返回 null,表示取不到有效值。
5034
+ :type ExstraPerformanceInfo: list of ExstraPerformanceInfo
5035
+ :param _MetaType: basic:标准版元数据类型
5036
+ enhanced:增项版元数据类型
5037
+ :type MetaType: str
4981
5038
  """
4982
5039
  self._CreationTime = None
4983
5040
  self._CreationToken = None
@@ -5005,6 +5062,8 @@ Available:可用
5005
5062
  self._TieringDetail = None
5006
5063
  self._AutoScaleUpRule = None
5007
5064
  self._Version = None
5065
+ self._ExstraPerformanceInfo = None
5066
+ self._MetaType = None
5008
5067
 
5009
5068
  @property
5010
5069
  def CreationTime(self):
@@ -5301,6 +5360,30 @@ Available:可用
5301
5360
  def Version(self, Version):
5302
5361
  self._Version = Version
5303
5362
 
5363
+ @property
5364
+ def ExstraPerformanceInfo(self):
5365
+ """额外性能信息
5366
+ 注意:此字段可能返回 null,表示取不到有效值。
5367
+ :rtype: list of ExstraPerformanceInfo
5368
+ """
5369
+ return self._ExstraPerformanceInfo
5370
+
5371
+ @ExstraPerformanceInfo.setter
5372
+ def ExstraPerformanceInfo(self, ExstraPerformanceInfo):
5373
+ self._ExstraPerformanceInfo = ExstraPerformanceInfo
5374
+
5375
+ @property
5376
+ def MetaType(self):
5377
+ """basic:标准版元数据类型
5378
+ enhanced:增项版元数据类型
5379
+ :rtype: str
5380
+ """
5381
+ return self._MetaType
5382
+
5383
+ @MetaType.setter
5384
+ def MetaType(self, MetaType):
5385
+ self._MetaType = MetaType
5386
+
5304
5387
 
5305
5388
  def _deserialize(self, params):
5306
5389
  self._CreationTime = params.get("CreationTime")
@@ -5340,6 +5423,13 @@ Available:可用
5340
5423
  self._AutoScaleUpRule = AutoScaleUpRule()
5341
5424
  self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
5342
5425
  self._Version = params.get("Version")
5426
+ if params.get("ExstraPerformanceInfo") is not None:
5427
+ self._ExstraPerformanceInfo = []
5428
+ for item in params.get("ExstraPerformanceInfo"):
5429
+ obj = ExstraPerformanceInfo()
5430
+ obj._deserialize(item)
5431
+ self._ExstraPerformanceInfo.append(obj)
5432
+ self._MetaType = params.get("MetaType")
5343
5433
  memeber_set = set(params.keys())
5344
5434
  for name, value in vars(self).items():
5345
5435
  property_name = name[1:]
@@ -10186,11 +10186,14 @@ class CreateAccessKeyCheckTaskRequest(AbstractModel):
10186
10186
  :type AccessKeyList: list of str
10187
10187
  :param _SubUinList: 账号uin列表
10188
10188
  :type SubUinList: list of str
10189
+ :param _RiskRuleIDList: 风险规则id列表
10190
+ :type RiskRuleIDList: list of int
10189
10191
  """
10190
10192
  self._MemberId = None
10191
10193
  self._RiskIDList = None
10192
10194
  self._AccessKeyList = None
10193
10195
  self._SubUinList = None
10196
+ self._RiskRuleIDList = None
10194
10197
 
10195
10198
  @property
10196
10199
  def MemberId(self):
@@ -10236,12 +10239,24 @@ class CreateAccessKeyCheckTaskRequest(AbstractModel):
10236
10239
  def SubUinList(self, SubUinList):
10237
10240
  self._SubUinList = SubUinList
10238
10241
 
10242
+ @property
10243
+ def RiskRuleIDList(self):
10244
+ """风险规则id列表
10245
+ :rtype: list of int
10246
+ """
10247
+ return self._RiskRuleIDList
10248
+
10249
+ @RiskRuleIDList.setter
10250
+ def RiskRuleIDList(self, RiskRuleIDList):
10251
+ self._RiskRuleIDList = RiskRuleIDList
10252
+
10239
10253
 
10240
10254
  def _deserialize(self, params):
10241
10255
  self._MemberId = params.get("MemberId")
10242
10256
  self._RiskIDList = params.get("RiskIDList")
10243
10257
  self._AccessKeyList = params.get("AccessKeyList")
10244
10258
  self._SubUinList = params.get("SubUinList")
10259
+ self._RiskRuleIDList = params.get("RiskRuleIDList")
10245
10260
  memeber_set = set(params.keys())
10246
10261
  for name, value in vars(self).items():
10247
10262
  property_name = name[1:]
@@ -12030,7 +12045,7 @@ class DeleteRiskScanTaskRequest(AbstractModel):
12030
12045
 
12031
12046
  def __init__(self):
12032
12047
  r"""
12033
- :param _TaskIdList: 任务id 列表
12048
+ :param _TaskIdList: 任务id 和目标AppID列表
12034
12049
  :type TaskIdList: list of TaskIdListKey
12035
12050
  :param _MemberId: 集团账号的成员id
12036
12051
  :type MemberId: list of str
@@ -12040,7 +12055,7 @@ class DeleteRiskScanTaskRequest(AbstractModel):
12040
12055
 
12041
12056
  @property
12042
12057
  def TaskIdList(self):
12043
- """任务id 列表
12058
+ """任务id 和目标AppID列表
12044
12059
  :rtype: list of TaskIdListKey
12045
12060
  """
12046
12061
  return self._TaskIdList
@@ -33394,8 +33409,11 @@ class TaskIdListKey(AbstractModel):
33394
33409
  r"""
33395
33410
  :param _TaskId: 任务ID
33396
33411
  :type TaskId: str
33412
+ :param _TargetAppId: APP ID
33413
+ :type TargetAppId: str
33397
33414
  """
33398
33415
  self._TaskId = None
33416
+ self._TargetAppId = None
33399
33417
 
33400
33418
  @property
33401
33419
  def TaskId(self):
@@ -33408,9 +33426,21 @@ class TaskIdListKey(AbstractModel):
33408
33426
  def TaskId(self, TaskId):
33409
33427
  self._TaskId = TaskId
33410
33428
 
33429
+ @property
33430
+ def TargetAppId(self):
33431
+ """APP ID
33432
+ :rtype: str
33433
+ """
33434
+ return self._TargetAppId
33435
+
33436
+ @TargetAppId.setter
33437
+ def TargetAppId(self, TargetAppId):
33438
+ self._TargetAppId = TargetAppId
33439
+
33411
33440
 
33412
33441
  def _deserialize(self, params):
33413
33442
  self._TaskId = params.get("TaskId")
33443
+ self._TargetAppId = params.get("TargetAppId")
33414
33444
  memeber_set = set(params.keys())
33415
33445
  for name, value in vars(self).items():
33416
33446
  property_name = name[1:]
@@ -1033,11 +1033,11 @@ class CreateRuleRequest(AbstractModel):
1033
1033
  :type EventPattern: str
1034
1034
  :param _EventBusId: 事件集ID
1035
1035
  :type EventBusId: str
1036
- :param _RuleName: 事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
1036
+ :param _RuleName: 事件规则名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
1037
1037
  :type RuleName: str
1038
1038
  :param _Enable: 使能开关。
1039
1039
  :type Enable: bool
1040
- :param _Description: 事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符
1040
+ :param _Description: 事件规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
1041
1041
  :type Description: str
1042
1042
  """
1043
1043
  self._EventPattern = None
@@ -1070,7 +1070,7 @@ class CreateRuleRequest(AbstractModel):
1070
1070
 
1071
1071
  @property
1072
1072
  def RuleName(self):
1073
- """事件集名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
1073
+ """事件规则名称,只能包含字母、中文、数字、下划线、连字符,以字母/中文开头,以数字、字母或中文结尾,2~60个字符
1074
1074
  :rtype: str
1075
1075
  """
1076
1076
  return self._RuleName
@@ -1092,7 +1092,7 @@ class CreateRuleRequest(AbstractModel):
1092
1092
 
1093
1093
  @property
1094
1094
  def Description(self):
1095
- """事件集描述,只能包含数字、中英文及常用标点符号,不超过200个字符
1095
+ """事件规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
1096
1096
  :rtype: str
1097
1097
  """
1098
1098
  return self._Description
@@ -3585,7 +3585,7 @@ class ListEventBusesRequest(AbstractModel):
3585
3585
 
3586
3586
  def __init__(self):
3587
3587
  r"""
3588
- :param _OrderBy: 根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
3588
+ :param _OrderBy: 根据哪个字段进行返回结果排序,支持以下字段:created_at(创建时间), updated_at(修改时间)
3589
3589
  :type OrderBy: str
3590
3590
  :param _Limit: 返回数量,默认为20,最大值为100。
3591
3591
  :type Limit: int
@@ -3604,7 +3604,7 @@ class ListEventBusesRequest(AbstractModel):
3604
3604
 
3605
3605
  @property
3606
3606
  def OrderBy(self):
3607
- """根据哪个字段进行返回结果排序,支持以下字段:AddTime(创建时间), ModTime(修改时间)
3607
+ """根据哪个字段进行返回结果排序,支持以下字段:created_at(创建时间), updated_at(修改时间)
3608
3608
  :rtype: str
3609
3609
  """
3610
3610
  return self._OrderBy
@@ -6415,7 +6415,7 @@ class UpdateRuleRequest(AbstractModel):
6415
6415
  :type EventBusId: str
6416
6416
  :param _Enable: 使能开关。
6417
6417
  :type Enable: bool
6418
- :param _Description: 规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
6418
+ :param _Description: 事件规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
6419
6419
  :type Description: str
6420
6420
  :param _EventPattern: 参考:[事件模式](https://cloud.tencent.com/document/product/1359/56084)
6421
6421
  :type EventPattern: str
@@ -6464,7 +6464,7 @@ class UpdateRuleRequest(AbstractModel):
6464
6464
 
6465
6465
  @property
6466
6466
  def Description(self):
6467
- """规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
6467
+ """事件规则描述,只能包含数字、中英文及常用标点符号,不超过200个字符
6468
6468
  :rtype: str
6469
6469
  """
6470
6470
  return self._Description
@@ -21355,7 +21355,7 @@ class DescribeInformationExtractionTaskRequest(AbstractModel):
21355
21355
  :param _Agent: 代理企业和员工的信息。
21356
21356
  在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
21357
21357
  :type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
21358
- :param _TaskId: 批量创建合同智能提取任务接口返回的合同智能提取任务ID
21358
+ :param _TaskId: 合同智能提取任务ID,该参数通过调用接口[批量创建合同智能提取任务接口](https://qian.tencent.com/developers/companyApis/%E5%90%88%E5%90%8C%E6%99%BA%E8%83%BD%E7%9B%B8%E5%85%B3%E6%8E%A5%E5%8F%A3/CreateBatchInformationExtractionTask)获取。
21359
21359
  :type TaskId: str
21360
21360
  """
21361
21361
  self._Operator = None
@@ -21388,7 +21388,7 @@ class DescribeInformationExtractionTaskRequest(AbstractModel):
21388
21388
 
21389
21389
  @property
21390
21390
  def TaskId(self):
21391
- """批量创建合同智能提取任务接口返回的合同智能提取任务ID
21391
+ """合同智能提取任务ID,该参数通过调用接口[批量创建合同智能提取任务接口](https://qian.tencent.com/developers/companyApis/%E5%90%88%E5%90%8C%E6%99%BA%E8%83%BD%E7%9B%B8%E5%85%B3%E6%8E%A5%E5%8F%A3/CreateBatchInformationExtractionTask)获取。
21392
21392
  :rtype: str
21393
21393
  """
21394
21394
  return self._TaskId
@@ -759,7 +759,6 @@ class IaiClient(AbstractClient):
759
759
  >
760
760
  - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
761
761
 
762
-
763
762
  :param request: Request instance for SearchFacesReturnsByGroup.
764
763
  :type request: :class:`tencentcloud.iai.v20180301.models.SearchFacesReturnsByGroupRequest`
765
764
  :rtype: :class:`tencentcloud.iai.v20180301.models.SearchFacesReturnsByGroupResponse`