tencentcloud-sdk-python 3.0.1127__py2.py3-none-any.whl → 3.0.1128__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (30) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +4 -11
  3. tencentcloud/aiart/v20221229/models.py +6 -5
  4. tencentcloud/antiddos/v20200309/models.py +13 -0
  5. tencentcloud/cdb/v20170320/cdb_client.py +46 -0
  6. tencentcloud/cdb/v20170320/errorcodes.py +3 -0
  7. tencentcloud/cdb/v20170320/models.py +360 -0
  8. tencentcloud/es/v20180416/models.py +12 -12
  9. tencentcloud/faceid/v20180301/faceid_client.py +1 -1
  10. tencentcloud/faceid/v20180301/models.py +12 -0
  11. tencentcloud/hunyuan/v20230901/hunyuan_client.py +8 -8
  12. tencentcloud/hunyuan/v20230901/models.py +121 -30
  13. tencentcloud/lke/__init__.py +0 -0
  14. tencentcloud/lke/v20231130/__init__.py +0 -0
  15. tencentcloud/lke/v20231130/errorcodes.py +30 -0
  16. tencentcloud/lke/v20231130/lke_client.py +1751 -0
  17. tencentcloud/lke/v20231130/models.py +13358 -0
  18. tencentcloud/mna/v20210119/errorcodes.py +12 -0
  19. tencentcloud/mna/v20210119/models.py +301 -5
  20. tencentcloud/redis/v20180412/models.py +1 -1
  21. tencentcloud/sms/v20210111/models.py +1 -0
  22. tencentcloud/tione/v20211111/models.py +48 -1
  23. tencentcloud/trtc/v20190722/models.py +72 -1
  24. tencentcloud/wedata/v20210820/models.py +345 -2088
  25. tencentcloud/wedata/v20210820/wedata_client.py +0 -253
  26. {tencentcloud_sdk_python-3.0.1127.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/METADATA +1 -1
  27. {tencentcloud_sdk_python-3.0.1127.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/RECORD +30 -25
  28. {tencentcloud_sdk_python-3.0.1127.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/LICENSE +0 -0
  29. {tencentcloud_sdk_python-3.0.1127.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/WHEEL +0 -0
  30. {tencentcloud_sdk_python-3.0.1127.dist-info → tencentcloud_sdk_python-3.0.1128.dist-info}/top_level.txt +0 -0
@@ -4009,7 +4009,7 @@ POSTPAID_BY_HOUR 按量计费
4009
4009
  :type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
4010
4010
  :param _CodePackagePath: COS代码包路径
4011
4011
  :type CodePackagePath: :class:`tencentcloud.tione.v20211111.models.CosPathInfo`
4012
- :param _StartCmdInfo: 启动命令信息,默认为sh start.sh
4012
+ :param _StartCmdInfo: 任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数
4013
4013
  :type StartCmdInfo: :class:`tencentcloud.tione.v20211111.models.StartCmdInfo`
4014
4014
  :param _TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
4015
4015
  :type TrainingMode: str
@@ -4035,6 +4035,8 @@ POSTPAID_BY_HOUR 按量计费
4035
4035
  :type CallbackUrl: str
4036
4036
  :param _PreTrainModel: 太极预训练模型ID
4037
4037
  :type PreTrainModel: :class:`tencentcloud.tione.v20211111.models.PreTrainModel`
4038
+ :param _EncodedStartCmdInfo: 编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效
4039
+ :type EncodedStartCmdInfo: :class:`tencentcloud.tione.v20211111.models.EncodedStartCmdInfo`
4038
4040
  """
4039
4041
  self._Name = None
4040
4042
  self._ChargeType = None
@@ -4059,6 +4061,7 @@ POSTPAID_BY_HOUR 按量计费
4059
4061
  self._DataSource = None
4060
4062
  self._CallbackUrl = None
4061
4063
  self._PreTrainModel = None
4064
+ self._EncodedStartCmdInfo = None
4062
4065
 
4063
4066
  @property
4064
4067
  def Name(self):
@@ -4244,6 +4247,14 @@ POSTPAID_BY_HOUR 按量计费
4244
4247
  def PreTrainModel(self, PreTrainModel):
4245
4248
  self._PreTrainModel = PreTrainModel
4246
4249
 
4250
+ @property
4251
+ def EncodedStartCmdInfo(self):
4252
+ return self._EncodedStartCmdInfo
4253
+
4254
+ @EncodedStartCmdInfo.setter
4255
+ def EncodedStartCmdInfo(self, EncodedStartCmdInfo):
4256
+ self._EncodedStartCmdInfo = EncodedStartCmdInfo
4257
+
4247
4258
 
4248
4259
  def _deserialize(self, params):
4249
4260
  self._Name = params.get("Name")
@@ -4296,6 +4307,9 @@ POSTPAID_BY_HOUR 按量计费
4296
4307
  if params.get("PreTrainModel") is not None:
4297
4308
  self._PreTrainModel = PreTrainModel()
4298
4309
  self._PreTrainModel._deserialize(params.get("PreTrainModel"))
4310
+ if params.get("EncodedStartCmdInfo") is not None:
4311
+ self._EncodedStartCmdInfo = EncodedStartCmdInfo()
4312
+ self._EncodedStartCmdInfo._deserialize(params.get("EncodedStartCmdInfo"))
4299
4313
  memeber_set = set(params.keys())
4300
4314
  for name, value in vars(self).items():
4301
4315
  property_name = name[1:]
@@ -11265,6 +11279,39 @@ class DetectionLabelInfo(AbstractModel):
11265
11279
 
11266
11280
 
11267
11281
 
11282
+ class EncodedStartCmdInfo(AbstractModel):
11283
+ """编码后的启动命令信息
11284
+
11285
+ """
11286
+
11287
+ def __init__(self):
11288
+ r"""
11289
+ :param _StartCmdInfo: 任务的启动命令,以base64格式输入,注意转换时需要完整输入{"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""}
11290
+ :type StartCmdInfo: str
11291
+ """
11292
+ self._StartCmdInfo = None
11293
+
11294
+ @property
11295
+ def StartCmdInfo(self):
11296
+ return self._StartCmdInfo
11297
+
11298
+ @StartCmdInfo.setter
11299
+ def StartCmdInfo(self, StartCmdInfo):
11300
+ self._StartCmdInfo = StartCmdInfo
11301
+
11302
+
11303
+ def _deserialize(self, params):
11304
+ self._StartCmdInfo = params.get("StartCmdInfo")
11305
+ memeber_set = set(params.keys())
11306
+ for name, value in vars(self).items():
11307
+ property_name = name[1:]
11308
+ if property_name in memeber_set:
11309
+ memeber_set.remove(property_name)
11310
+ if len(memeber_set) > 0:
11311
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11312
+
11313
+
11314
+
11268
11315
  class EngineVersion(AbstractModel):
11269
11316
  """引擎版本
11270
11317
 
@@ -4706,6 +4706,63 @@ class McuAudioParams(AbstractModel):
4706
4706
 
4707
4707
 
4708
4708
 
4709
+ class McuBackgroundCustomRender(AbstractModel):
4710
+ """混流自定义渲染参数
4711
+
4712
+ """
4713
+
4714
+ def __init__(self):
4715
+ r"""
4716
+ :param _Width: 自定义渲染画面的宽度,单位为像素值,需大于0,且不能超过子布局的宽。
4717
+ :type Width: int
4718
+ :param _Height: 自定义渲染画面的高度,单位为像素值,需大于0,且不能超过子布局的高。
4719
+ :type Height: int
4720
+ :param _Radius: 自定义渲染画面的圆角半径,单位为像素值,不能超过渲染画面Width和Height最小值的一半,不指定默认为0,表示直角。
4721
+ :type Radius: int
4722
+ """
4723
+ self._Width = None
4724
+ self._Height = None
4725
+ self._Radius = None
4726
+
4727
+ @property
4728
+ def Width(self):
4729
+ return self._Width
4730
+
4731
+ @Width.setter
4732
+ def Width(self, Width):
4733
+ self._Width = Width
4734
+
4735
+ @property
4736
+ def Height(self):
4737
+ return self._Height
4738
+
4739
+ @Height.setter
4740
+ def Height(self, Height):
4741
+ self._Height = Height
4742
+
4743
+ @property
4744
+ def Radius(self):
4745
+ return self._Radius
4746
+
4747
+ @Radius.setter
4748
+ def Radius(self, Radius):
4749
+ self._Radius = Radius
4750
+
4751
+
4752
+ def _deserialize(self, params):
4753
+ self._Width = params.get("Width")
4754
+ self._Height = params.get("Height")
4755
+ self._Radius = params.get("Radius")
4756
+ memeber_set = set(params.keys())
4757
+ for name, value in vars(self).items():
4758
+ property_name = name[1:]
4759
+ if property_name in memeber_set:
4760
+ memeber_set.remove(property_name)
4761
+ if len(memeber_set) > 0:
4762
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4763
+
4764
+
4765
+
4709
4766
  class McuCustomCrop(AbstractModel):
4710
4767
  """混流自定义裁剪参数
4711
4768
 
@@ -4879,11 +4936,13 @@ class McuLayout(AbstractModel):
4879
4936
  :type BackgroundImageUrl: str
4880
4937
  :param _CustomCrop: 客户自定义裁剪,针对原始输入流裁剪
4881
4938
  :type CustomCrop: :class:`tencentcloud.trtc.v20190722.models.McuCustomCrop`
4882
- :param _BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩。不填默认为3。
4939
+ :param _BackgroundRenderMode: 子背景图在输出时的显示模式:0为裁剪,1为缩放并显示背景,2为缩放并显示黑底,3为变比例伸缩,4为自定义渲染。不填默认为3。
4883
4940
  :type BackgroundRenderMode: int
4884
4941
  :param _TransparentUrl: 子画面的透明模版url,指向一张包含透明通道的模板图片。填写该参数,后台混流时会提取该模板图片的透明通道,将其缩放作为目标画面的透明通道,再和其他画面进行混合。您可以通过透明模版实现目标画面的半透明效果和任意形状裁剪(如圆角、星形、心形等)。 支持png格式。图片大小限制不超过5MB。
4885
4942
  注:1,模板图片宽高比应接近目标画面宽高比,以避免缩放适配目标画面时出现模板效果变形;2,透明模版只有RenderMode为0(裁剪)时才生效;3,您需要确保图片链接的可访问性,后台单次下载超时时间为10秒,最多重试3次,若最终图片下载失败,透明模版将不会生效。
4886
4943
  :type TransparentUrl: str
4944
+ :param _BackgroundCustomRender: 子背景图的自定义渲染参数,当BackgroundRenderMode为4时必须配置。
4945
+ :type BackgroundCustomRender: :class:`tencentcloud.trtc.v20190722.models.McuBackgroundCustomRender`
4887
4946
  """
4888
4947
  self._UserMediaStream = None
4889
4948
  self._ImageWidth = None
@@ -4897,6 +4956,7 @@ class McuLayout(AbstractModel):
4897
4956
  self._CustomCrop = None
4898
4957
  self._BackgroundRenderMode = None
4899
4958
  self._TransparentUrl = None
4959
+ self._BackgroundCustomRender = None
4900
4960
 
4901
4961
  @property
4902
4962
  def UserMediaStream(self):
@@ -4994,6 +5054,14 @@ class McuLayout(AbstractModel):
4994
5054
  def TransparentUrl(self, TransparentUrl):
4995
5055
  self._TransparentUrl = TransparentUrl
4996
5056
 
5057
+ @property
5058
+ def BackgroundCustomRender(self):
5059
+ return self._BackgroundCustomRender
5060
+
5061
+ @BackgroundCustomRender.setter
5062
+ def BackgroundCustomRender(self, BackgroundCustomRender):
5063
+ self._BackgroundCustomRender = BackgroundCustomRender
5064
+
4997
5065
 
4998
5066
  def _deserialize(self, params):
4999
5067
  if params.get("UserMediaStream") is not None:
@@ -5012,6 +5080,9 @@ class McuLayout(AbstractModel):
5012
5080
  self._CustomCrop._deserialize(params.get("CustomCrop"))
5013
5081
  self._BackgroundRenderMode = params.get("BackgroundRenderMode")
5014
5082
  self._TransparentUrl = params.get("TransparentUrl")
5083
+ if params.get("BackgroundCustomRender") is not None:
5084
+ self._BackgroundCustomRender = McuBackgroundCustomRender()
5085
+ self._BackgroundCustomRender._deserialize(params.get("BackgroundCustomRender"))
5015
5086
  memeber_set = set(params.keys())
5016
5087
  for name, value in vars(self).items():
5017
5088
  property_name = name[1:]