tencentcloud-sdk-python-cls 3.1.189__tar.gz → 3.1.191__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/cls/v20201016/models.py +312 -12
  5. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cls-3.1.191/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cls-3.1.189/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/cls/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/cls/v20201016/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/cls/v20201016/cls_client.py +0 -0
  13. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cls-3.1.189 → tencentcloud_sdk_python_cls-3.1.191}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.189
3
+ Version: 3.1.191
4
4
  Summary: Tencent Cloud Cls SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.191
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cls',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.191,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cls SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.189'
17
+ __version__ = '3.1.191'
@@ -2838,9 +2838,12 @@ class AnonymousLoginInfo(AbstractModel):
2838
2838
  :param _SecretKey: <p>匿名登录账号secretKey</p>
2839
2839
  注意:此字段可能返回 null,表示取不到有效值。
2840
2840
  :type SecretKey: str
2841
+ :param _RoleArn: <p>角色的资源描述,可在<a href="https://console.cloud.tencent.com/cam/role">访问管理</a>,点击角色名获取。<br>普通角色:<br>qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName<br>服务角色:<br>qcs::cam::uin/12345678:role/tencentcloudServiceRole/4611686018427397920、qcs::cam::uin/12345678:role/tencentcloudServiceRoleName/testServiceRoleName</p><p>DataSight将扮演此角色,使用此角色的临时密钥来发起API请求。</p>
2842
+ :type RoleArn: str
2841
2843
  """
2842
2844
  self._SecretId = None
2843
2845
  self._SecretKey = None
2846
+ self._RoleArn = None
2844
2847
 
2845
2848
  @property
2846
2849
  def SecretId(self):
@@ -2866,10 +2869,22 @@ class AnonymousLoginInfo(AbstractModel):
2866
2869
  def SecretKey(self, SecretKey):
2867
2870
  self._SecretKey = SecretKey
2868
2871
 
2872
+ @property
2873
+ def RoleArn(self):
2874
+ r"""<p>角色的资源描述,可在<a href="https://console.cloud.tencent.com/cam/role">访问管理</a>,点击角色名获取。<br>普通角色:<br>qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName<br>服务角色:<br>qcs::cam::uin/12345678:role/tencentcloudServiceRole/4611686018427397920、qcs::cam::uin/12345678:role/tencentcloudServiceRoleName/testServiceRoleName</p><p>DataSight将扮演此角色,使用此角色的临时密钥来发起API请求。</p>
2875
+ :rtype: str
2876
+ """
2877
+ return self._RoleArn
2878
+
2879
+ @RoleArn.setter
2880
+ def RoleArn(self, RoleArn):
2881
+ self._RoleArn = RoleArn
2882
+
2869
2883
 
2870
2884
  def _deserialize(self, params):
2871
2885
  self._SecretId = params.get("SecretId")
2872
2886
  self._SecretKey = params.get("SecretKey")
2887
+ self._RoleArn = params.get("RoleArn")
2873
2888
  memeber_set = set(params.keys())
2874
2889
  for name, value in vars(self).items():
2875
2890
  property_name = name[1:]
@@ -3046,10 +3061,13 @@ class AuthRoleInfo(AbstractModel):
3046
3061
  :param _SecretKey: <p>Auth角色对应权限SecretKey</p>
3047
3062
  注意:此字段可能返回 null,表示取不到有效值。
3048
3063
  :type SecretKey: str
3064
+ :param _RoleArn: <p>角色的资源描述,可在<a href="https://console.cloud.tencent.com/cam/role">访问管理</a>,点击角色名获取。<br>普通角色:<br>qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName<br>服务角色:<br>qcs::cam::uin/12345678:role/tencentcloudServiceRole/4611686018427397920、qcs::cam::uin/12345678:role/tencentcloudServiceRoleName/testServiceRoleName</p><p>DataSight将扮演此角色,使用此角色的临时密钥来发起API请求。</p>
3065
+ :type RoleArn: str
3049
3066
  """
3050
3067
  self._RoleName = None
3051
3068
  self._SecretId = None
3052
3069
  self._SecretKey = None
3070
+ self._RoleArn = None
3053
3071
 
3054
3072
  @property
3055
3073
  def RoleName(self):
@@ -3085,11 +3103,23 @@ class AuthRoleInfo(AbstractModel):
3085
3103
  def SecretKey(self, SecretKey):
3086
3104
  self._SecretKey = SecretKey
3087
3105
 
3106
+ @property
3107
+ def RoleArn(self):
3108
+ r"""<p>角色的资源描述,可在<a href="https://console.cloud.tencent.com/cam/role">访问管理</a>,点击角色名获取。<br>普通角色:<br>qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName<br>服务角色:<br>qcs::cam::uin/12345678:role/tencentcloudServiceRole/4611686018427397920、qcs::cam::uin/12345678:role/tencentcloudServiceRoleName/testServiceRoleName</p><p>DataSight将扮演此角色,使用此角色的临时密钥来发起API请求。</p>
3109
+ :rtype: str
3110
+ """
3111
+ return self._RoleArn
3112
+
3113
+ @RoleArn.setter
3114
+ def RoleArn(self, RoleArn):
3115
+ self._RoleArn = RoleArn
3116
+
3088
3117
 
3089
3118
  def _deserialize(self, params):
3090
3119
  self._RoleName = params.get("RoleName")
3091
3120
  self._SecretId = params.get("SecretId")
3092
3121
  self._SecretKey = params.get("SecretKey")
3122
+ self._RoleArn = params.get("RoleArn")
3093
3123
  memeber_set = set(params.keys())
3094
3124
  for name, value in vars(self).items():
3095
3125
  property_name = name[1:]
@@ -4600,6 +4630,224 @@ class CloudProductLogTaskInfo(AbstractModel):
4600
4630
 
4601
4631
 
4602
4632
 
4633
+ class CloudProductTopicConfig(AbstractModel):
4634
+ r"""云产品投递任务topic配置信息
4635
+
4636
+ """
4637
+
4638
+ def __init__(self):
4639
+ r"""
4640
+ :param _Encryption: <p>加密相关参数。 支持加密地域并且开白用户可以传此参数,其他场景不能传递该参数。</p><p>枚举值:</p><ul><li>0: 不加密</li><li>1: kms-cls 云产品密钥加密</li></ul><p>默认值:0</p>
4641
+ :type Encryption: int
4642
+ :param _PartitionCount: <p>主题分区个数。默认创建1个,最大支持创建10个分区。</p>
4643
+ :type PartitionCount: int
4644
+ :param _AutoSplit: <p>是否开启自动分裂,默认值为true</p>
4645
+ :type AutoSplit: bool
4646
+ :param _MaxSplitPartitions: <p>开启自动分裂后,每个主题能够允许的最大分区数</p><p>默认值:50</p>
4647
+ :type MaxSplitPartitions: int
4648
+ :param _StorageType: <p>日志主题的存储类型,可选值 hot(标准存储),cold(低频存储)。指标主题不支持该配置。</p><p>默认值:hot</p>
4649
+ :type StorageType: str
4650
+ :param _Period: <p>存储时间,单位天。</p><ul><li>日志主题:日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。</li><li>日志主题:日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。</li><li>指标主题:支持1至3600天,值为3640时代表永久保存。</li></ul>
4651
+ :type Period: int
4652
+ :param _HotPeriod: <p>0:日志主题关闭日志沉降。<br>非0:日志主题开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。<br>仅在StorageType为 hot 时生效,指标主题不支持该配置。</p>
4653
+ :type HotPeriod: int
4654
+ :param _BillingMode: <p>计费模式</p><p>枚举值:</p><ul><li>0: 按使用功能计费</li><li>1: 按原始日志量计费(目前仅面向少部分客户支持)</li></ul>
4655
+ :type BillingMode: int
4656
+ :param _Describes: <p>主题描述</p>
4657
+ :type Describes: str
4658
+ :param _IsSourceFrom: <p>开启记录公网来源ip和服务端接收时间</p>
4659
+ :type IsSourceFrom: bool
4660
+ :param _IsWebTracking: <p>免鉴权开关。 false:关闭; true:开启。默认为false。 开启后将支持指定操作匿名访问该日志主题。</p>
4661
+ :type IsWebTracking: bool
4662
+ :param _CustomKmsInfo: <p>用户自定义 KMS 密钥信息;为空则使用默认密钥(别名 KMS-CLS)<br>当参数 Encryption为 1 时有效。</p>
4663
+ :type CustomKmsInfo: :class:`tencentcloud.cls.v20201016.models.CustomKmsInfo`
4664
+ :param _TopicId: <p>主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。</p><ul><li>用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符</li><li>尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。</li><li>如果指定该字段,需保证全地域唯一</li></ul>
4665
+ :type TopicId: str
4666
+ """
4667
+ self._Encryption = None
4668
+ self._PartitionCount = None
4669
+ self._AutoSplit = None
4670
+ self._MaxSplitPartitions = None
4671
+ self._StorageType = None
4672
+ self._Period = None
4673
+ self._HotPeriod = None
4674
+ self._BillingMode = None
4675
+ self._Describes = None
4676
+ self._IsSourceFrom = None
4677
+ self._IsWebTracking = None
4678
+ self._CustomKmsInfo = None
4679
+ self._TopicId = None
4680
+
4681
+ @property
4682
+ def Encryption(self):
4683
+ r"""<p>加密相关参数。 支持加密地域并且开白用户可以传此参数,其他场景不能传递该参数。</p><p>枚举值:</p><ul><li>0: 不加密</li><li>1: kms-cls 云产品密钥加密</li></ul><p>默认值:0</p>
4684
+ :rtype: int
4685
+ """
4686
+ return self._Encryption
4687
+
4688
+ @Encryption.setter
4689
+ def Encryption(self, Encryption):
4690
+ self._Encryption = Encryption
4691
+
4692
+ @property
4693
+ def PartitionCount(self):
4694
+ r"""<p>主题分区个数。默认创建1个,最大支持创建10个分区。</p>
4695
+ :rtype: int
4696
+ """
4697
+ return self._PartitionCount
4698
+
4699
+ @PartitionCount.setter
4700
+ def PartitionCount(self, PartitionCount):
4701
+ self._PartitionCount = PartitionCount
4702
+
4703
+ @property
4704
+ def AutoSplit(self):
4705
+ r"""<p>是否开启自动分裂,默认值为true</p>
4706
+ :rtype: bool
4707
+ """
4708
+ return self._AutoSplit
4709
+
4710
+ @AutoSplit.setter
4711
+ def AutoSplit(self, AutoSplit):
4712
+ self._AutoSplit = AutoSplit
4713
+
4714
+ @property
4715
+ def MaxSplitPartitions(self):
4716
+ r"""<p>开启自动分裂后,每个主题能够允许的最大分区数</p><p>默认值:50</p>
4717
+ :rtype: int
4718
+ """
4719
+ return self._MaxSplitPartitions
4720
+
4721
+ @MaxSplitPartitions.setter
4722
+ def MaxSplitPartitions(self, MaxSplitPartitions):
4723
+ self._MaxSplitPartitions = MaxSplitPartitions
4724
+
4725
+ @property
4726
+ def StorageType(self):
4727
+ r"""<p>日志主题的存储类型,可选值 hot(标准存储),cold(低频存储)。指标主题不支持该配置。</p><p>默认值:hot</p>
4728
+ :rtype: str
4729
+ """
4730
+ return self._StorageType
4731
+
4732
+ @StorageType.setter
4733
+ def StorageType(self, StorageType):
4734
+ self._StorageType = StorageType
4735
+
4736
+ @property
4737
+ def Period(self):
4738
+ r"""<p>存储时间,单位天。</p><ul><li>日志主题:日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。</li><li>日志主题:日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。</li><li>指标主题:支持1至3600天,值为3640时代表永久保存。</li></ul>
4739
+ :rtype: int
4740
+ """
4741
+ return self._Period
4742
+
4743
+ @Period.setter
4744
+ def Period(self, Period):
4745
+ self._Period = Period
4746
+
4747
+ @property
4748
+ def HotPeriod(self):
4749
+ r"""<p>0:日志主题关闭日志沉降。<br>非0:日志主题开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。<br>仅在StorageType为 hot 时生效,指标主题不支持该配置。</p>
4750
+ :rtype: int
4751
+ """
4752
+ return self._HotPeriod
4753
+
4754
+ @HotPeriod.setter
4755
+ def HotPeriod(self, HotPeriod):
4756
+ self._HotPeriod = HotPeriod
4757
+
4758
+ @property
4759
+ def BillingMode(self):
4760
+ r"""<p>计费模式</p><p>枚举值:</p><ul><li>0: 按使用功能计费</li><li>1: 按原始日志量计费(目前仅面向少部分客户支持)</li></ul>
4761
+ :rtype: int
4762
+ """
4763
+ return self._BillingMode
4764
+
4765
+ @BillingMode.setter
4766
+ def BillingMode(self, BillingMode):
4767
+ self._BillingMode = BillingMode
4768
+
4769
+ @property
4770
+ def Describes(self):
4771
+ r"""<p>主题描述</p>
4772
+ :rtype: str
4773
+ """
4774
+ return self._Describes
4775
+
4776
+ @Describes.setter
4777
+ def Describes(self, Describes):
4778
+ self._Describes = Describes
4779
+
4780
+ @property
4781
+ def IsSourceFrom(self):
4782
+ r"""<p>开启记录公网来源ip和服务端接收时间</p>
4783
+ :rtype: bool
4784
+ """
4785
+ return self._IsSourceFrom
4786
+
4787
+ @IsSourceFrom.setter
4788
+ def IsSourceFrom(self, IsSourceFrom):
4789
+ self._IsSourceFrom = IsSourceFrom
4790
+
4791
+ @property
4792
+ def IsWebTracking(self):
4793
+ r"""<p>免鉴权开关。 false:关闭; true:开启。默认为false。 开启后将支持指定操作匿名访问该日志主题。</p>
4794
+ :rtype: bool
4795
+ """
4796
+ return self._IsWebTracking
4797
+
4798
+ @IsWebTracking.setter
4799
+ def IsWebTracking(self, IsWebTracking):
4800
+ self._IsWebTracking = IsWebTracking
4801
+
4802
+ @property
4803
+ def CustomKmsInfo(self):
4804
+ r"""<p>用户自定义 KMS 密钥信息;为空则使用默认密钥(别名 KMS-CLS)<br>当参数 Encryption为 1 时有效。</p>
4805
+ :rtype: :class:`tencentcloud.cls.v20201016.models.CustomKmsInfo`
4806
+ """
4807
+ return self._CustomKmsInfo
4808
+
4809
+ @CustomKmsInfo.setter
4810
+ def CustomKmsInfo(self, CustomKmsInfo):
4811
+ self._CustomKmsInfo = CustomKmsInfo
4812
+
4813
+ @property
4814
+ def TopicId(self):
4815
+ r"""<p>主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。</p><ul><li>用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符</li><li>尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。</li><li>如果指定该字段,需保证全地域唯一</li></ul>
4816
+ :rtype: str
4817
+ """
4818
+ return self._TopicId
4819
+
4820
+ @TopicId.setter
4821
+ def TopicId(self, TopicId):
4822
+ self._TopicId = TopicId
4823
+
4824
+
4825
+ def _deserialize(self, params):
4826
+ self._Encryption = params.get("Encryption")
4827
+ self._PartitionCount = params.get("PartitionCount")
4828
+ self._AutoSplit = params.get("AutoSplit")
4829
+ self._MaxSplitPartitions = params.get("MaxSplitPartitions")
4830
+ self._StorageType = params.get("StorageType")
4831
+ self._Period = params.get("Period")
4832
+ self._HotPeriod = params.get("HotPeriod")
4833
+ self._BillingMode = params.get("BillingMode")
4834
+ self._Describes = params.get("Describes")
4835
+ self._IsSourceFrom = params.get("IsSourceFrom")
4836
+ self._IsWebTracking = params.get("IsWebTracking")
4837
+ if params.get("CustomKmsInfo") is not None:
4838
+ self._CustomKmsInfo = CustomKmsInfo()
4839
+ self._CustomKmsInfo._deserialize(params.get("CustomKmsInfo"))
4840
+ self._TopicId = params.get("TopicId")
4841
+ memeber_set = set(params.keys())
4842
+ for name, value in vars(self).items():
4843
+ property_name = name[1:]
4844
+ if property_name in memeber_set:
4845
+ memeber_set.remove(property_name)
4846
+ if len(memeber_set) > 0:
4847
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4848
+
4849
+
4850
+
4603
4851
  class CollectConfig(AbstractModel):
4604
4852
  r"""采集配置信息
4605
4853
 
@@ -5979,12 +6227,15 @@ class ConsoleAccount(AbstractModel):
5979
6227
  :param _Email: <p>电子邮箱,用于发送验证码</p>
5980
6228
  注意:此字段可能返回 null,表示取不到有效值。
5981
6229
  :type Email: str
6230
+ :param _RoleArn: <p>角色的资源描述,可在<a href="https://console.cloud.tencent.com/cam/role">访问管理</a>,点击角色名获取。<br>普通角色:<br>qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName<br>服务角色:<br>qcs::cam::uin/12345678:role/tencentcloudServiceRole/4611686018427397920、qcs::cam::uin/12345678:role/tencentcloudServiceRoleName/testServiceRoleName</p><p>DataSight将扮演此角色,使用此角色的临时密钥来发起API请求。</p>
6231
+ :type RoleArn: str
5982
6232
  """
5983
6233
  self._UserName = None
5984
6234
  self._Password = None
5985
6235
  self._SecretId = None
5986
6236
  self._SecretKey = None
5987
6237
  self._Email = None
6238
+ self._RoleArn = None
5988
6239
 
5989
6240
  @property
5990
6241
  def UserName(self):
@@ -6046,6 +6297,17 @@ class ConsoleAccount(AbstractModel):
6046
6297
  def Email(self, Email):
6047
6298
  self._Email = Email
6048
6299
 
6300
+ @property
6301
+ def RoleArn(self):
6302
+ r"""<p>角色的资源描述,可在<a href="https://console.cloud.tencent.com/cam/role">访问管理</a>,点击角色名获取。<br>普通角色:<br>qcs::cam::uin/12345678:role/4611686018427397919、qcs::cam::uin/12345678:roleName/testRoleName<br>服务角色:<br>qcs::cam::uin/12345678:role/tencentcloudServiceRole/4611686018427397920、qcs::cam::uin/12345678:role/tencentcloudServiceRoleName/testServiceRoleName</p><p>DataSight将扮演此角色,使用此角色的临时密钥来发起API请求。</p>
6303
+ :rtype: str
6304
+ """
6305
+ return self._RoleArn
6306
+
6307
+ @RoleArn.setter
6308
+ def RoleArn(self, RoleArn):
6309
+ self._RoleArn = RoleArn
6310
+
6049
6311
 
6050
6312
  def _deserialize(self, params):
6051
6313
  self._UserName = params.get("UserName")
@@ -6053,6 +6315,7 @@ class ConsoleAccount(AbstractModel):
6053
6315
  self._SecretId = params.get("SecretId")
6054
6316
  self._SecretKey = params.get("SecretKey")
6055
6317
  self._Email = params.get("Email")
6318
+ self._RoleArn = params.get("RoleArn")
6056
6319
  memeber_set = set(params.keys())
6057
6320
  for name, value in vars(self).items():
6058
6321
  property_name = name[1:]
@@ -7844,10 +8107,13 @@ class CreateAgentApplicationRequest(AbstractModel):
7844
8107
  :type AccessType: str
7845
8108
  :param _LogsetId: <p>日志集Id。通过 <a href="https://cloud.tencent.com/document/product/614/58624">获取日志集列表</a>获取日志集Id。</p>
7846
8109
  :type LogsetId: str
8110
+ :param _Tags: <p>标签描述列表,通过指定该参数可以同时绑定标签到应用创建的主题和日志集。</p>
8111
+ :type Tags: list of Tag
7847
8112
  """
7848
8113
  self._ApplicationName = None
7849
8114
  self._AccessType = None
7850
8115
  self._LogsetId = None
8116
+ self._Tags = None
7851
8117
 
7852
8118
  @property
7853
8119
  def ApplicationName(self):
@@ -7882,11 +8148,28 @@ class CreateAgentApplicationRequest(AbstractModel):
7882
8148
  def LogsetId(self, LogsetId):
7883
8149
  self._LogsetId = LogsetId
7884
8150
 
8151
+ @property
8152
+ def Tags(self):
8153
+ r"""<p>标签描述列表,通过指定该参数可以同时绑定标签到应用创建的主题和日志集。</p>
8154
+ :rtype: list of Tag
8155
+ """
8156
+ return self._Tags
8157
+
8158
+ @Tags.setter
8159
+ def Tags(self, Tags):
8160
+ self._Tags = Tags
8161
+
7885
8162
 
7886
8163
  def _deserialize(self, params):
7887
8164
  self._ApplicationName = params.get("ApplicationName")
7888
8165
  self._AccessType = params.get("AccessType")
7889
8166
  self._LogsetId = params.get("LogsetId")
8167
+ if params.get("Tags") is not None:
8168
+ self._Tags = []
8169
+ for item in params.get("Tags"):
8170
+ obj = Tag()
8171
+ obj._deserialize(item)
8172
+ self._Tags.append(obj)
7890
8173
  memeber_set = set(params.keys())
7891
8174
  for name, value in vars(self).items():
7892
8175
  property_name = name[1:]
@@ -8988,6 +9271,8 @@ class CreateCloudProductLogCollectionRequest(AbstractModel):
8988
9271
  :type TopicId: str
8989
9272
  :param _Tags: <p>标签描述列表,通过指定该参数可以同时绑定标签到相应的主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。</p>
8990
9273
  :type Tags: list of Tag
9274
+ :param _TopicConfig: <p>日志主题信息。当创建云产品投递任务并传递TopicName时,会创建具备这些属性的日志主题。</p>
9275
+ :type TopicConfig: :class:`tencentcloud.cls.v20201016.models.CloudProductTopicConfig`
8991
9276
  """
8992
9277
  self._InstanceId = None
8993
9278
  self._AssumerName = None
@@ -9000,6 +9285,7 @@ class CreateCloudProductLogCollectionRequest(AbstractModel):
9000
9285
  self._LogsetId = None
9001
9286
  self._TopicId = None
9002
9287
  self._Tags = None
9288
+ self._TopicConfig = None
9003
9289
 
9004
9290
  @property
9005
9291
  def InstanceId(self):
@@ -9122,6 +9408,17 @@ class CreateCloudProductLogCollectionRequest(AbstractModel):
9122
9408
  def Tags(self, Tags):
9123
9409
  self._Tags = Tags
9124
9410
 
9411
+ @property
9412
+ def TopicConfig(self):
9413
+ r"""<p>日志主题信息。当创建云产品投递任务并传递TopicName时,会创建具备这些属性的日志主题。</p>
9414
+ :rtype: :class:`tencentcloud.cls.v20201016.models.CloudProductTopicConfig`
9415
+ """
9416
+ return self._TopicConfig
9417
+
9418
+ @TopicConfig.setter
9419
+ def TopicConfig(self, TopicConfig):
9420
+ self._TopicConfig = TopicConfig
9421
+
9125
9422
 
9126
9423
  def _deserialize(self, params):
9127
9424
  self._InstanceId = params.get("InstanceId")
@@ -9140,6 +9437,9 @@ class CreateCloudProductLogCollectionRequest(AbstractModel):
9140
9437
  obj = Tag()
9141
9438
  obj._deserialize(item)
9142
9439
  self._Tags.append(obj)
9440
+ if params.get("TopicConfig") is not None:
9441
+ self._TopicConfig = CloudProductTopicConfig()
9442
+ self._TopicConfig._deserialize(params.get("TopicConfig"))
9143
9443
  memeber_set = set(params.keys())
9144
9444
  for name, value in vars(self).items():
9145
9445
  property_name = name[1:]
@@ -9903,9 +10203,9 @@ class CreateConsoleRequest(AbstractModel):
9903
10203
  :type LoginMode: int
9904
10204
  :param _DomainPrefix: <p>自定义域名前缀</p>
9905
10205
  :type DomainPrefix: str
9906
- :param _Accounts: <p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
10206
+ :param _Accounts: <p>用户账号信息</p><p>“账号密码鉴权”登录方式必传。<br>SecretId + SecretKey 或 RoleArn需要传其中一种。</p>
9907
10207
  :type Accounts: list of ConsoleAccount
9908
- :param _AnonymousLogin: <p>匿名登录账号信息</p><p>“匿名登录”登录方式必传</p>
10208
+ :param _AnonymousLogin: <p>匿名登录账号信息</p><p>“匿名登录”登录方式必传。<br>SecretId + SecretKey 或 RoleArn需要传其中一种。</p>
9909
10209
  :type AnonymousLogin: :class:`tencentcloud.cls.v20201016.models.AnonymousLoginInfo`
9910
10210
  :param _IntranetType: <p>内网类型,默认为0</p>
9911
10211
  :type IntranetType: int
@@ -9915,7 +10215,7 @@ class CreateConsoleRequest(AbstractModel):
9915
10215
  :type VpcId: str
9916
10216
  :param _SubnetId: <p>内网子网SubnetId</p>
9917
10217
  :type SubnetId: str
9918
- :param _AuthRoles: <p>Auth角色信息</p><p>“第三方认证登录”登录方式必传</p>
10218
+ :param _AuthRoles: <p>Auth角色信息</p><p>“第三方认证登录”登录方式必传。<br>SecretId + SecretKey 或 RoleArn需要传其中一种。</p>
9919
10219
  :type AuthRoles: list of AuthRoleInfo
9920
10220
  :param _Tags: <p>标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。</p>
9921
10221
  :type Tags: list of Tag
@@ -9979,7 +10279,7 @@ class CreateConsoleRequest(AbstractModel):
9979
10279
 
9980
10280
  @property
9981
10281
  def Accounts(self):
9982
- r"""<p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
10282
+ r"""<p>用户账号信息</p><p>“账号密码鉴权”登录方式必传。<br>SecretId + SecretKey 或 RoleArn需要传其中一种。</p>
9983
10283
  :rtype: list of ConsoleAccount
9984
10284
  """
9985
10285
  return self._Accounts
@@ -9990,7 +10290,7 @@ class CreateConsoleRequest(AbstractModel):
9990
10290
 
9991
10291
  @property
9992
10292
  def AnonymousLogin(self):
9993
- r"""<p>匿名登录账号信息</p><p>“匿名登录”登录方式必传</p>
10293
+ r"""<p>匿名登录账号信息</p><p>“匿名登录”登录方式必传。<br>SecretId + SecretKey 或 RoleArn需要传其中一种。</p>
9994
10294
  :rtype: :class:`tencentcloud.cls.v20201016.models.AnonymousLoginInfo`
9995
10295
  """
9996
10296
  return self._AnonymousLogin
@@ -10045,7 +10345,7 @@ class CreateConsoleRequest(AbstractModel):
10045
10345
 
10046
10346
  @property
10047
10347
  def AuthRoles(self):
10048
- r"""<p>Auth角色信息</p><p>“第三方认证登录”登录方式必传</p>
10348
+ r"""<p>Auth角色信息</p><p>“第三方认证登录”登录方式必传。<br>SecretId + SecretKey 或 RoleArn需要传其中一种。</p>
10049
10349
  :rtype: list of AuthRoleInfo
10050
10350
  """
10051
10351
  return self._AuthRoles
@@ -43689,9 +43989,9 @@ class ModifyConsoleRequest(AbstractModel):
43689
43989
  :type LoginMode: int
43690
43990
  :param _DomainPrefix: <p>自定义域名前缀</p>
43691
43991
  :type DomainPrefix: str
43692
- :param _Accounts: <p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
43992
+ :param _Accounts: <p>用户账号信息</p><p>“账号密码鉴权”登录方式必传。<br>如果SecretId、SecretKey、RoleArn都不传,表示不修改这部分鉴权信息。</p>
43693
43993
  :type Accounts: list of ConsoleAccount
43694
- :param _AnonymousLogin: <p>匿名登录账号信息</p><p>“匿名登录”登录方式必传</p>
43994
+ :param _AnonymousLogin: <p>匿名登录账号信息</p><p>“匿名登录”登录方式必传。<br>如果SecretId、SecretKey、RoleArn都不传,表示不修改这部分鉴权信息。</p>
43695
43995
  :type AnonymousLogin: :class:`tencentcloud.cls.v20201016.models.AnonymousLoginInfo`
43696
43996
  :param _IntranetType: <p>内网类型,默认为0</p>
43697
43997
  :type IntranetType: int
@@ -43701,7 +44001,7 @@ class ModifyConsoleRequest(AbstractModel):
43701
44001
  :type VpcId: str
43702
44002
  :param _SubnetId: <p>内网子网SubnetId</p>
43703
44003
  :type SubnetId: str
43704
- :param _AuthRoles: <p>Auth用户角色信息</p><p>“第三方认证登录”登录方式必传</p>
44004
+ :param _AuthRoles: <p>Auth用户角色信息</p><p>“第三方认证登录”登录方式必传。<br>如果SecretId、SecretKey、RoleArn都不传,表示不修改这部分鉴权信息。</p>
43705
44005
  :type AuthRoles: list of AuthRoleInfo
43706
44006
  :param _HideParams: <p>自定义隐藏参数</p>
43707
44007
  :type HideParams: list of str
@@ -43774,7 +44074,7 @@ class ModifyConsoleRequest(AbstractModel):
43774
44074
 
43775
44075
  @property
43776
44076
  def Accounts(self):
43777
- r"""<p>用户账号信息</p><p>“账号密码鉴权”登录方式必传</p>
44077
+ r"""<p>用户账号信息</p><p>“账号密码鉴权”登录方式必传。<br>如果SecretId、SecretKey、RoleArn都不传,表示不修改这部分鉴权信息。</p>
43778
44078
  :rtype: list of ConsoleAccount
43779
44079
  """
43780
44080
  return self._Accounts
@@ -43785,7 +44085,7 @@ class ModifyConsoleRequest(AbstractModel):
43785
44085
 
43786
44086
  @property
43787
44087
  def AnonymousLogin(self):
43788
- r"""<p>匿名登录账号信息</p><p>“匿名登录”登录方式必传</p>
44088
+ r"""<p>匿名登录账号信息</p><p>“匿名登录”登录方式必传。<br>如果SecretId、SecretKey、RoleArn都不传,表示不修改这部分鉴权信息。</p>
43789
44089
  :rtype: :class:`tencentcloud.cls.v20201016.models.AnonymousLoginInfo`
43790
44090
  """
43791
44091
  return self._AnonymousLogin
@@ -43840,7 +44140,7 @@ class ModifyConsoleRequest(AbstractModel):
43840
44140
 
43841
44141
  @property
43842
44142
  def AuthRoles(self):
43843
- r"""<p>Auth用户角色信息</p><p>“第三方认证登录”登录方式必传</p>
44143
+ r"""<p>Auth用户角色信息</p><p>“第三方认证登录”登录方式必传。<br>如果SecretId、SecretKey、RoleArn都不传,表示不修改这部分鉴权信息。</p>
43844
44144
  :rtype: list of AuthRoleInfo
43845
44145
  """
43846
44146
  return self._AuthRoles
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.189
3
+ Version: 3.1.191
4
4
  Summary: Tencent Cloud Cls SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.191
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.191
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.189