tencentcloud-sdk-python 3.0.1457__py2.py3-none-any.whl → 3.0.1458__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 (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +15 -0
  3. tencentcloud/asr/v20190614/models.py +4 -2
  4. tencentcloud/bh/v20230418/models.py +15 -0
  5. tencentcloud/ccc/v20200210/ccc_client.py +46 -0
  6. tencentcloud/ccc/v20200210/models.py +927 -53
  7. tencentcloud/cdwpg/v20201230/models.py +30 -0
  8. tencentcloud/ckafka/v20190819/models.py +98 -90
  9. tencentcloud/csip/v20221121/models.py +79 -4
  10. tencentcloud/dlc/v20210125/models.py +619 -0
  11. tencentcloud/dnspod/v20210323/models.py +15 -0
  12. tencentcloud/es/v20180416/errorcodes.py +6 -0
  13. tencentcloud/gs/v20191118/gs_client.py +23 -0
  14. tencentcloud/gs/v20191118/models.py +64 -0
  15. tencentcloud/ioa/v20220601/models.py +6 -6
  16. tencentcloud/iotexplorer/v20190423/models.py +240 -0
  17. tencentcloud/lke/v20231130/models.py +66 -4
  18. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  19. tencentcloud/mongodb/v20190725/models.py +79 -0
  20. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  21. tencentcloud/ocr/v20181119/models.py +4 -4
  22. tencentcloud/ocr/v20181119/ocr_client.py +33 -16
  23. tencentcloud/omics/v20221128/errorcodes.py +9 -0
  24. tencentcloud/omics/v20221128/models.py +300 -11
  25. tencentcloud/redis/v20180412/models.py +193 -50
  26. tencentcloud/redis/v20180412/redis_client.py +1 -1
  27. tencentcloud/tcaplusdb/v20190823/models.py +30 -0
  28. tencentcloud/tione/v20211111/models.py +85 -0
  29. tencentcloud/trtc/v20190722/models.py +157 -0
  30. tencentcloud/vdb/v20230616/models.py +2 -0
  31. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  32. tencentcloud/vpc/v20170312/models.py +45 -0
  33. {tencentcloud_sdk_python-3.0.1457.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1457.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/RECORD +37 -37
  35. {tencentcloud_sdk_python-3.0.1457.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1457.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1457.dist-info → tencentcloud_sdk_python-3.0.1458.dist-info}/top_level.txt +0 -0
@@ -3437,6 +3437,72 @@ class NFOption(AbstractModel):
3437
3437
 
3438
3438
 
3439
3439
 
3440
+ class NotificationType(AbstractModel):
3441
+ """通知类型
3442
+
3443
+ """
3444
+
3445
+ def __init__(self):
3446
+ r"""
3447
+ :param _StationMessage: 腾讯健康组学平台站点信息。
3448
+ :type StationMessage: bool
3449
+ :param _Email: 邮箱列表。
3450
+ :type Email: list of str
3451
+ :param _CurrentUserEmail: 当前用户邮箱。
3452
+ :type CurrentUserEmail: bool
3453
+ """
3454
+ self._StationMessage = None
3455
+ self._Email = None
3456
+ self._CurrentUserEmail = None
3457
+
3458
+ @property
3459
+ def StationMessage(self):
3460
+ """腾讯健康组学平台站点信息。
3461
+ :rtype: bool
3462
+ """
3463
+ return self._StationMessage
3464
+
3465
+ @StationMessage.setter
3466
+ def StationMessage(self, StationMessage):
3467
+ self._StationMessage = StationMessage
3468
+
3469
+ @property
3470
+ def Email(self):
3471
+ """邮箱列表。
3472
+ :rtype: list of str
3473
+ """
3474
+ return self._Email
3475
+
3476
+ @Email.setter
3477
+ def Email(self, Email):
3478
+ self._Email = Email
3479
+
3480
+ @property
3481
+ def CurrentUserEmail(self):
3482
+ """当前用户邮箱。
3483
+ :rtype: bool
3484
+ """
3485
+ return self._CurrentUserEmail
3486
+
3487
+ @CurrentUserEmail.setter
3488
+ def CurrentUserEmail(self, CurrentUserEmail):
3489
+ self._CurrentUserEmail = CurrentUserEmail
3490
+
3491
+
3492
+ def _deserialize(self, params):
3493
+ self._StationMessage = params.get("StationMessage")
3494
+ self._Email = params.get("Email")
3495
+ self._CurrentUserEmail = params.get("CurrentUserEmail")
3496
+ memeber_set = set(params.keys())
3497
+ for name, value in vars(self).items():
3498
+ property_name = name[1:]
3499
+ if property_name in memeber_set:
3500
+ memeber_set.remove(property_name)
3501
+ if len(memeber_set) > 0:
3502
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3503
+
3504
+
3505
+
3440
3506
  class ResourceIds(AbstractModel):
3441
3507
  """云资源ID。
3442
3508
 
@@ -4137,6 +4203,14 @@ class RunApplicationRequest(AbstractModel):
4137
4203
  :type AccessMode: str
4138
4204
  :param _VolumeIds: 缓存卷ID,不填使用默认缓存卷,暂时仅支持Nextflow。
4139
4205
  :type VolumeIds: list of str
4206
+ :param _ResultNotification: 是否开启结果通知。
4207
+ :type ResultNotification: bool
4208
+ :param _TimeoutNotification: 是否开启超时通知。
4209
+ :type TimeoutNotification: bool
4210
+ :param _TimeoutNotificationMinutes: 任务超时通知时间(单位:分钟),支持5到2880分钟。
4211
+ :type TimeoutNotificationMinutes: int
4212
+ :param _EmailForNotification: 接受通知邮件地址列表。
4213
+ :type EmailForNotification: list of str
4140
4214
  """
4141
4215
  self._ApplicationId = None
4142
4216
  self._Name = None
@@ -4154,6 +4228,10 @@ class RunApplicationRequest(AbstractModel):
4154
4228
  self._WorkDir = None
4155
4229
  self._AccessMode = None
4156
4230
  self._VolumeIds = None
4231
+ self._ResultNotification = None
4232
+ self._TimeoutNotification = None
4233
+ self._TimeoutNotificationMinutes = None
4234
+ self._EmailForNotification = None
4157
4235
 
4158
4236
  @property
4159
4237
  def ApplicationId(self):
@@ -4333,6 +4411,50 @@ class RunApplicationRequest(AbstractModel):
4333
4411
  def VolumeIds(self, VolumeIds):
4334
4412
  self._VolumeIds = VolumeIds
4335
4413
 
4414
+ @property
4415
+ def ResultNotification(self):
4416
+ """是否开启结果通知。
4417
+ :rtype: bool
4418
+ """
4419
+ return self._ResultNotification
4420
+
4421
+ @ResultNotification.setter
4422
+ def ResultNotification(self, ResultNotification):
4423
+ self._ResultNotification = ResultNotification
4424
+
4425
+ @property
4426
+ def TimeoutNotification(self):
4427
+ """是否开启超时通知。
4428
+ :rtype: bool
4429
+ """
4430
+ return self._TimeoutNotification
4431
+
4432
+ @TimeoutNotification.setter
4433
+ def TimeoutNotification(self, TimeoutNotification):
4434
+ self._TimeoutNotification = TimeoutNotification
4435
+
4436
+ @property
4437
+ def TimeoutNotificationMinutes(self):
4438
+ """任务超时通知时间(单位:分钟),支持5到2880分钟。
4439
+ :rtype: int
4440
+ """
4441
+ return self._TimeoutNotificationMinutes
4442
+
4443
+ @TimeoutNotificationMinutes.setter
4444
+ def TimeoutNotificationMinutes(self, TimeoutNotificationMinutes):
4445
+ self._TimeoutNotificationMinutes = TimeoutNotificationMinutes
4446
+
4447
+ @property
4448
+ def EmailForNotification(self):
4449
+ """接受通知邮件地址列表。
4450
+ :rtype: list of str
4451
+ """
4452
+ return self._EmailForNotification
4453
+
4454
+ @EmailForNotification.setter
4455
+ def EmailForNotification(self, EmailForNotification):
4456
+ self._EmailForNotification = EmailForNotification
4457
+
4336
4458
 
4337
4459
  def _deserialize(self, params):
4338
4460
  self._ApplicationId = params.get("ApplicationId")
@@ -4355,6 +4477,10 @@ class RunApplicationRequest(AbstractModel):
4355
4477
  self._WorkDir = params.get("WorkDir")
4356
4478
  self._AccessMode = params.get("AccessMode")
4357
4479
  self._VolumeIds = params.get("VolumeIds")
4480
+ self._ResultNotification = params.get("ResultNotification")
4481
+ self._TimeoutNotification = params.get("TimeoutNotification")
4482
+ self._TimeoutNotificationMinutes = params.get("TimeoutNotificationMinutes")
4483
+ self._EmailForNotification = params.get("EmailForNotification")
4358
4484
  memeber_set = set(params.keys())
4359
4485
  for name, value in vars(self).items():
4360
4486
  property_name = name[1:]
@@ -4476,8 +4602,8 @@ class RunGroup(AbstractModel):
4476
4602
  :type ExecutionTime: :class:`tencentcloud.omics.v20221128.models.ExecutionTime`
4477
4603
  :param _ErrorMessage: 错误信息。
4478
4604
  :type ErrorMessage: str
4479
- :param _ResultNotify: 运行结果通知方式。
4480
- :type ResultNotify: str
4605
+ :param _Notification: 任务批次通知。
4606
+ :type Notification: :class:`tencentcloud.omics.v20221128.models.RunGroupNotification`
4481
4607
  :param _CreateTime: 创建时间。
4482
4608
  :type CreateTime: str
4483
4609
  :param _UpdateTime: 更新时间。
@@ -4486,6 +4612,8 @@ class RunGroup(AbstractModel):
4486
4612
  :type Creator: str
4487
4613
  :param _CreatorId: 创建者ID。
4488
4614
  :type CreatorId: str
4615
+ :param _ResultNotify: 运行结果通知方式。
4616
+ :type ResultNotify: str
4489
4617
  """
4490
4618
  self._RunGroupId = None
4491
4619
  self._ProjectId = None
@@ -4514,11 +4642,12 @@ class RunGroup(AbstractModel):
4514
4642
  self._RunStatusCounts = None
4515
4643
  self._ExecutionTime = None
4516
4644
  self._ErrorMessage = None
4517
- self._ResultNotify = None
4645
+ self._Notification = None
4518
4646
  self._CreateTime = None
4519
4647
  self._UpdateTime = None
4520
4648
  self._Creator = None
4521
4649
  self._CreatorId = None
4650
+ self._ResultNotify = None
4522
4651
 
4523
4652
  @property
4524
4653
  def RunGroupId(self):
@@ -4825,15 +4954,15 @@ class RunGroup(AbstractModel):
4825
4954
  self._ErrorMessage = ErrorMessage
4826
4955
 
4827
4956
  @property
4828
- def ResultNotify(self):
4829
- """运行结果通知方式。
4830
- :rtype: str
4957
+ def Notification(self):
4958
+ """任务批次通知。
4959
+ :rtype: :class:`tencentcloud.omics.v20221128.models.RunGroupNotification`
4831
4960
  """
4832
- return self._ResultNotify
4961
+ return self._Notification
4833
4962
 
4834
- @ResultNotify.setter
4835
- def ResultNotify(self, ResultNotify):
4836
- self._ResultNotify = ResultNotify
4963
+ @Notification.setter
4964
+ def Notification(self, Notification):
4965
+ self._Notification = Notification
4837
4966
 
4838
4967
  @property
4839
4968
  def CreateTime(self):
@@ -4879,6 +5008,17 @@ class RunGroup(AbstractModel):
4879
5008
  def CreatorId(self, CreatorId):
4880
5009
  self._CreatorId = CreatorId
4881
5010
 
5011
+ @property
5012
+ def ResultNotify(self):
5013
+ """运行结果通知方式。
5014
+ :rtype: str
5015
+ """
5016
+ return self._ResultNotify
5017
+
5018
+ @ResultNotify.setter
5019
+ def ResultNotify(self, ResultNotify):
5020
+ self._ResultNotify = ResultNotify
5021
+
4882
5022
 
4883
5023
  def _deserialize(self, params):
4884
5024
  self._RunGroupId = params.get("RunGroupId")
@@ -4926,11 +5066,160 @@ class RunGroup(AbstractModel):
4926
5066
  self._ExecutionTime = ExecutionTime()
4927
5067
  self._ExecutionTime._deserialize(params.get("ExecutionTime"))
4928
5068
  self._ErrorMessage = params.get("ErrorMessage")
4929
- self._ResultNotify = params.get("ResultNotify")
5069
+ if params.get("Notification") is not None:
5070
+ self._Notification = RunGroupNotification()
5071
+ self._Notification._deserialize(params.get("Notification"))
4930
5072
  self._CreateTime = params.get("CreateTime")
4931
5073
  self._UpdateTime = params.get("UpdateTime")
4932
5074
  self._Creator = params.get("Creator")
4933
5075
  self._CreatorId = params.get("CreatorId")
5076
+ self._ResultNotify = params.get("ResultNotify")
5077
+ memeber_set = set(params.keys())
5078
+ for name, value in vars(self).items():
5079
+ property_name = name[1:]
5080
+ if property_name in memeber_set:
5081
+ memeber_set.remove(property_name)
5082
+ if len(memeber_set) > 0:
5083
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5084
+
5085
+
5086
+
5087
+ class RunGroupNotification(AbstractModel):
5088
+ """任务批次通知。
5089
+
5090
+ """
5091
+
5092
+ def __init__(self):
5093
+ r"""
5094
+ :param _ResultNotification: 结果通知。
5095
+ :type ResultNotification: :class:`tencentcloud.omics.v20221128.models.RunGroupResultNotification`
5096
+ :param _TimeoutNotification: 超时通知。
5097
+ :type TimeoutNotification: :class:`tencentcloud.omics.v20221128.models.RunGroupTimeoutNotification`
5098
+ """
5099
+ self._ResultNotification = None
5100
+ self._TimeoutNotification = None
5101
+
5102
+ @property
5103
+ def ResultNotification(self):
5104
+ """结果通知。
5105
+ :rtype: :class:`tencentcloud.omics.v20221128.models.RunGroupResultNotification`
5106
+ """
5107
+ return self._ResultNotification
5108
+
5109
+ @ResultNotification.setter
5110
+ def ResultNotification(self, ResultNotification):
5111
+ self._ResultNotification = ResultNotification
5112
+
5113
+ @property
5114
+ def TimeoutNotification(self):
5115
+ """超时通知。
5116
+ :rtype: :class:`tencentcloud.omics.v20221128.models.RunGroupTimeoutNotification`
5117
+ """
5118
+ return self._TimeoutNotification
5119
+
5120
+ @TimeoutNotification.setter
5121
+ def TimeoutNotification(self, TimeoutNotification):
5122
+ self._TimeoutNotification = TimeoutNotification
5123
+
5124
+
5125
+ def _deserialize(self, params):
5126
+ if params.get("ResultNotification") is not None:
5127
+ self._ResultNotification = RunGroupResultNotification()
5128
+ self._ResultNotification._deserialize(params.get("ResultNotification"))
5129
+ if params.get("TimeoutNotification") is not None:
5130
+ self._TimeoutNotification = RunGroupTimeoutNotification()
5131
+ self._TimeoutNotification._deserialize(params.get("TimeoutNotification"))
5132
+ memeber_set = set(params.keys())
5133
+ for name, value in vars(self).items():
5134
+ property_name = name[1:]
5135
+ if property_name in memeber_set:
5136
+ memeber_set.remove(property_name)
5137
+ if len(memeber_set) > 0:
5138
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5139
+
5140
+
5141
+
5142
+ class RunGroupResultNotification(AbstractModel):
5143
+ """任务批次结果通知
5144
+
5145
+ """
5146
+
5147
+ def __init__(self):
5148
+ r"""
5149
+ :param _NotificationType: 通知类型。
5150
+ :type NotificationType: :class:`tencentcloud.omics.v20221128.models.NotificationType`
5151
+ """
5152
+ self._NotificationType = None
5153
+
5154
+ @property
5155
+ def NotificationType(self):
5156
+ """通知类型。
5157
+ :rtype: :class:`tencentcloud.omics.v20221128.models.NotificationType`
5158
+ """
5159
+ return self._NotificationType
5160
+
5161
+ @NotificationType.setter
5162
+ def NotificationType(self, NotificationType):
5163
+ self._NotificationType = NotificationType
5164
+
5165
+
5166
+ def _deserialize(self, params):
5167
+ if params.get("NotificationType") is not None:
5168
+ self._NotificationType = NotificationType()
5169
+ self._NotificationType._deserialize(params.get("NotificationType"))
5170
+ memeber_set = set(params.keys())
5171
+ for name, value in vars(self).items():
5172
+ property_name = name[1:]
5173
+ if property_name in memeber_set:
5174
+ memeber_set.remove(property_name)
5175
+ if len(memeber_set) > 0:
5176
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5177
+
5178
+
5179
+
5180
+ class RunGroupTimeoutNotification(AbstractModel):
5181
+ """任务批次超时通知。
5182
+
5183
+ """
5184
+
5185
+ def __init__(self):
5186
+ r"""
5187
+ :param _TimeoutMinutes: 任务批次超时时间,单位分钟。
5188
+ :type TimeoutMinutes: int
5189
+ :param _NotificationType: 通知类型。
5190
+ :type NotificationType: :class:`tencentcloud.omics.v20221128.models.NotificationType`
5191
+ """
5192
+ self._TimeoutMinutes = None
5193
+ self._NotificationType = None
5194
+
5195
+ @property
5196
+ def TimeoutMinutes(self):
5197
+ """任务批次超时时间,单位分钟。
5198
+ :rtype: int
5199
+ """
5200
+ return self._TimeoutMinutes
5201
+
5202
+ @TimeoutMinutes.setter
5203
+ def TimeoutMinutes(self, TimeoutMinutes):
5204
+ self._TimeoutMinutes = TimeoutMinutes
5205
+
5206
+ @property
5207
+ def NotificationType(self):
5208
+ """通知类型。
5209
+ :rtype: :class:`tencentcloud.omics.v20221128.models.NotificationType`
5210
+ """
5211
+ return self._NotificationType
5212
+
5213
+ @NotificationType.setter
5214
+ def NotificationType(self, NotificationType):
5215
+ self._NotificationType = NotificationType
5216
+
5217
+
5218
+ def _deserialize(self, params):
5219
+ self._TimeoutMinutes = params.get("TimeoutMinutes")
5220
+ if params.get("NotificationType") is not None:
5221
+ self._NotificationType = NotificationType()
5222
+ self._NotificationType._deserialize(params.get("NotificationType"))
4934
5223
  memeber_set = set(params.keys())
4935
5224
  for name, value in vars(self).items():
4936
5225
  property_name = name[1:]