tencentcloud-sdk-python-cls 3.0.1164__tar.gz → 3.0.1179__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 (16) hide show
  1. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/cls_client.py +3 -3
  5. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/models.py +270 -11
  6. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cls-3.0.1179/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cls-3.0.1164/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1164 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1164
3
+ Version: 3.0.1179
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
@@ -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.0.1164"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1179"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cls SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1164'
17
+ __version__ = '3.0.1179'
@@ -1477,7 +1477,7 @@ class ClsClient(AbstractClient):
1477
1477
 
1478
1478
 
1479
1479
  def DescribePartitions(self, request):
1480
- """本接口用于获取主题分区列表。
1480
+ """该接口已废弃,如需获取分区数量,请使用DescribeTopics接口。
1481
1481
 
1482
1482
  :param request: Request instance for DescribePartitions.
1483
1483
  :type request: :class:`tencentcloud.cls.v20201016.models.DescribePartitionsRequest`
@@ -1615,7 +1615,7 @@ class ClsClient(AbstractClient):
1615
1615
 
1616
1616
 
1617
1617
  def MergePartition(self, request):
1618
- """本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
1618
+ """该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
1619
1619
 
1620
1620
  :param request: Request instance for MergePartition.
1621
1621
  :type request: :class:`tencentcloud.cls.v20201016.models.MergePartitionRequest`
@@ -2216,7 +2216,7 @@ class ClsClient(AbstractClient):
2216
2216
 
2217
2217
 
2218
2218
  def SplitPartition(self, request):
2219
- """本接口用于分裂主题分区
2219
+ """该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
2220
2220
 
2221
2221
  :param request: Request instance for SplitPartition.
2222
2222
  :type request: :class:`tencentcloud.cls.v20201016.models.SplitPartitionRequest`
@@ -919,6 +919,15 @@ class AlarmTargetInfo(AbstractModel):
919
919
  :type StartTimeOffset: int
920
920
  :param _EndTimeOffset: 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
921
921
  :type EndTimeOffset: int
922
+ :param _SyntaxRule: 检索语法规则,默认值为0。
923
+ 0:Lucene语法,1:CQL语法。
924
+ 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
925
+ 注意:此字段可能返回 null,表示取不到有效值。
926
+ :type SyntaxRule: int
927
+ :param _BizType: 主题类型。
928
+ 0: 日志主题,1: 指标主题
929
+ 注意:此字段可能返回 null,表示取不到有效值。
930
+ :type BizType: int
922
931
  """
923
932
  self._LogsetId = None
924
933
  self._LogsetName = None
@@ -928,6 +937,8 @@ class AlarmTargetInfo(AbstractModel):
928
937
  self._Number = None
929
938
  self._StartTimeOffset = None
930
939
  self._EndTimeOffset = None
940
+ self._SyntaxRule = None
941
+ self._BizType = None
931
942
 
932
943
  @property
933
944
  def LogsetId(self):
@@ -993,6 +1004,22 @@ class AlarmTargetInfo(AbstractModel):
993
1004
  def EndTimeOffset(self, EndTimeOffset):
994
1005
  self._EndTimeOffset = EndTimeOffset
995
1006
 
1007
+ @property
1008
+ def SyntaxRule(self):
1009
+ return self._SyntaxRule
1010
+
1011
+ @SyntaxRule.setter
1012
+ def SyntaxRule(self, SyntaxRule):
1013
+ self._SyntaxRule = SyntaxRule
1014
+
1015
+ @property
1016
+ def BizType(self):
1017
+ return self._BizType
1018
+
1019
+ @BizType.setter
1020
+ def BizType(self, BizType):
1021
+ self._BizType = BizType
1022
+
996
1023
 
997
1024
  def _deserialize(self, params):
998
1025
  self._LogsetId = params.get("LogsetId")
@@ -1003,6 +1030,8 @@ class AlarmTargetInfo(AbstractModel):
1003
1030
  self._Number = params.get("Number")
1004
1031
  self._StartTimeOffset = params.get("StartTimeOffset")
1005
1032
  self._EndTimeOffset = params.get("EndTimeOffset")
1033
+ self._SyntaxRule = params.get("SyntaxRule")
1034
+ self._BizType = params.get("BizType")
1006
1035
  memeber_set = set(params.keys())
1007
1036
  for name, value in vars(self).items():
1008
1037
  property_name = name[1:]
@@ -1403,6 +1432,56 @@ class AnalysisDimensional(AbstractModel):
1403
1432
 
1404
1433
 
1405
1434
 
1435
+ class AnonymousInfo(AbstractModel):
1436
+ """免鉴权信息
1437
+
1438
+ """
1439
+
1440
+ def __init__(self):
1441
+ r"""
1442
+ :param _Operations: 操作列表,支持trackLog(JS/HTTP上传日志 )和realtimeProducer(kafka协议上传日志)
1443
+ :type Operations: list of str
1444
+ :param _Conditions: 条件列表
1445
+ :type Conditions: list of ConditionInfo
1446
+ """
1447
+ self._Operations = None
1448
+ self._Conditions = None
1449
+
1450
+ @property
1451
+ def Operations(self):
1452
+ return self._Operations
1453
+
1454
+ @Operations.setter
1455
+ def Operations(self, Operations):
1456
+ self._Operations = Operations
1457
+
1458
+ @property
1459
+ def Conditions(self):
1460
+ return self._Conditions
1461
+
1462
+ @Conditions.setter
1463
+ def Conditions(self, Conditions):
1464
+ self._Conditions = Conditions
1465
+
1466
+
1467
+ def _deserialize(self, params):
1468
+ self._Operations = params.get("Operations")
1469
+ if params.get("Conditions") is not None:
1470
+ self._Conditions = []
1471
+ for item in params.get("Conditions"):
1472
+ obj = ConditionInfo()
1473
+ obj._deserialize(item)
1474
+ self._Conditions.append(obj)
1475
+ memeber_set = set(params.keys())
1476
+ for name, value in vars(self).items():
1477
+ property_name = name[1:]
1478
+ if property_name in memeber_set:
1479
+ memeber_set.remove(property_name)
1480
+ if len(memeber_set) > 0:
1481
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1482
+
1483
+
1484
+
1406
1485
  class ApplyConfigToMachineGroupRequest(AbstractModel):
1407
1486
  """ApplyConfigToMachineGroup请求参数结构体
1408
1487
 
@@ -2091,6 +2170,63 @@ class CompressInfo(AbstractModel):
2091
2170
 
2092
2171
 
2093
2172
 
2173
+ class ConditionInfo(AbstractModel):
2174
+ """免鉴权条件信息
2175
+
2176
+ """
2177
+
2178
+ def __init__(self):
2179
+ r"""
2180
+ :param _Attributes: 条件属性,目前只支持VpcID
2181
+ :type Attributes: str
2182
+ :param _Rule: 条件规则,1:等于,2:不等于
2183
+ :type Rule: int
2184
+ :param _ConditionValue: 对应条件属性的值
2185
+ :type ConditionValue: str
2186
+ """
2187
+ self._Attributes = None
2188
+ self._Rule = None
2189
+ self._ConditionValue = None
2190
+
2191
+ @property
2192
+ def Attributes(self):
2193
+ return self._Attributes
2194
+
2195
+ @Attributes.setter
2196
+ def Attributes(self, Attributes):
2197
+ self._Attributes = Attributes
2198
+
2199
+ @property
2200
+ def Rule(self):
2201
+ return self._Rule
2202
+
2203
+ @Rule.setter
2204
+ def Rule(self, Rule):
2205
+ self._Rule = Rule
2206
+
2207
+ @property
2208
+ def ConditionValue(self):
2209
+ return self._ConditionValue
2210
+
2211
+ @ConditionValue.setter
2212
+ def ConditionValue(self, ConditionValue):
2213
+ self._ConditionValue = ConditionValue
2214
+
2215
+
2216
+ def _deserialize(self, params):
2217
+ self._Attributes = params.get("Attributes")
2218
+ self._Rule = params.get("Rule")
2219
+ self._ConditionValue = params.get("ConditionValue")
2220
+ memeber_set = set(params.keys())
2221
+ for name, value in vars(self).items():
2222
+ property_name = name[1:]
2223
+ if property_name in memeber_set:
2224
+ memeber_set.remove(property_name)
2225
+ if len(memeber_set) > 0:
2226
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2227
+
2228
+
2229
+
2094
2230
  class ConfigExtraInfo(AbstractModel):
2095
2231
  """特殊采集规则配置信息
2096
2232
 
@@ -3545,7 +3681,7 @@ class CreateAlarmRequest(AbstractModel):
3545
3681
  :type AlarmTargets: list of AlarmTarget
3546
3682
  :param _MonitorTime: 监控任务运行时间点。
3547
3683
  :type MonitorTime: :class:`tencentcloud.cls.v20201016.models.MonitorTime`
3548
- :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10
3684
+ :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000
3549
3685
  :type TriggerCount: int
3550
3686
  :param _AlarmPeriod: 告警重复的周期,单位是分钟。取值范围是0~1440。
3551
3687
  :type AlarmPeriod: int
@@ -5147,6 +5283,8 @@ class CreateExportRequest(AbstractModel):
5147
5283
  :param _SyntaxRule: 语法规则, 默认值为0。
5148
5284
  0:Lucene语法,1:CQL语法。
5149
5285
  :type SyntaxRule: int
5286
+ :param _DerivedFields: 导出字段
5287
+ :type DerivedFields: list of str
5150
5288
  """
5151
5289
  self._TopicId = None
5152
5290
  self._Count = None
@@ -5156,6 +5294,7 @@ class CreateExportRequest(AbstractModel):
5156
5294
  self._Order = None
5157
5295
  self._Format = None
5158
5296
  self._SyntaxRule = None
5297
+ self._DerivedFields = None
5159
5298
 
5160
5299
  @property
5161
5300
  def TopicId(self):
@@ -5221,6 +5360,14 @@ class CreateExportRequest(AbstractModel):
5221
5360
  def SyntaxRule(self, SyntaxRule):
5222
5361
  self._SyntaxRule = SyntaxRule
5223
5362
 
5363
+ @property
5364
+ def DerivedFields(self):
5365
+ return self._DerivedFields
5366
+
5367
+ @DerivedFields.setter
5368
+ def DerivedFields(self, DerivedFields):
5369
+ self._DerivedFields = DerivedFields
5370
+
5224
5371
 
5225
5372
  def _deserialize(self, params):
5226
5373
  self._TopicId = params.get("TopicId")
@@ -5231,6 +5378,7 @@ class CreateExportRequest(AbstractModel):
5231
5378
  self._Order = params.get("Order")
5232
5379
  self._Format = params.get("Format")
5233
5380
  self._SyntaxRule = params.get("SyntaxRule")
5381
+ self._DerivedFields = params.get("DerivedFields")
5234
5382
  memeber_set = set(params.keys())
5235
5383
  for name, value in vars(self).items():
5236
5384
  property_name = name[1:]
@@ -6363,6 +6511,8 @@ class CreateTopicRequest(AbstractModel):
6363
6511
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
6364
6512
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
6365
6513
  :type IsWebTracking: bool
6514
+ :param _Extends: 日志主题扩展信息
6515
+ :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
6366
6516
  """
6367
6517
  self._LogsetId = None
6368
6518
  self._TopicName = None
@@ -6375,6 +6525,7 @@ class CreateTopicRequest(AbstractModel):
6375
6525
  self._Describes = None
6376
6526
  self._HotPeriod = None
6377
6527
  self._IsWebTracking = None
6528
+ self._Extends = None
6378
6529
 
6379
6530
  @property
6380
6531
  def LogsetId(self):
@@ -6464,6 +6615,14 @@ class CreateTopicRequest(AbstractModel):
6464
6615
  def IsWebTracking(self, IsWebTracking):
6465
6616
  self._IsWebTracking = IsWebTracking
6466
6617
 
6618
+ @property
6619
+ def Extends(self):
6620
+ return self._Extends
6621
+
6622
+ @Extends.setter
6623
+ def Extends(self, Extends):
6624
+ self._Extends = Extends
6625
+
6467
6626
 
6468
6627
  def _deserialize(self, params):
6469
6628
  self._LogsetId = params.get("LogsetId")
@@ -6482,6 +6641,9 @@ class CreateTopicRequest(AbstractModel):
6482
6641
  self._Describes = params.get("Describes")
6483
6642
  self._HotPeriod = params.get("HotPeriod")
6484
6643
  self._IsWebTracking = params.get("IsWebTracking")
6644
+ if params.get("Extends") is not None:
6645
+ self._Extends = TopicExtendInfo()
6646
+ self._Extends._deserialize(params.get("Extends"))
6485
6647
  memeber_set = set(params.keys())
6486
6648
  for name, value in vars(self).items():
6487
6649
  property_name = name[1:]
@@ -11606,22 +11768,28 @@ class DescribeTopicsRequest(AbstractModel):
11606
11768
 
11607
11769
  def __init__(self):
11608
11770
  r"""
11609
- :param _Filters: <li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,例如tag:exampleKey。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。
11771
+ :param _Filters: <ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
11772
+ <li>logsetName 按照【日志集名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
11773
+ <li>topicId 按照【日志主题ID】进行过滤。类型:String。必选:否</li>
11774
+ <li>logsetId 按照【日志集ID】进行过滤,可通过调用 DescribeLogsets 查询已创建的日志集列表或登录控制台进行查看;也可以调用 CreateLogset 创建新的日志集。类型:String。必选:否</li>
11775
+ <li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li>
11776
+ <li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li>
11777
+ <li>storageType 按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
11778
+ 注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。
11610
11779
  :type Filters: list of Filter
11611
11780
  :param _Offset: 分页的偏移量,默认值为0。
11612
11781
  :type Offset: int
11613
11782
  :param _Limit: 分页单页限制数目,默认值为20,最大值100。
11614
11783
  :type Limit: int
11615
11784
  :param _PreciseSearch: 控制Filters相关字段是否为精确匹配。
11616
- - 0: 默认值,topicName和logsetName模糊匹配
11617
- - 1: topicName精确匹配
11618
- - 2: logsetName精确匹配
11619
- - 3: topicName和logsetName都精确匹配
11785
+ <ul><li>0: 默认值,topicName logsetName 模糊匹配</li>
11786
+ <li>1: topicName 精确匹配</li>
11787
+ <li>2: logsetName精确匹配</li>
11788
+ <li>3: topicName 和logsetName 都精确匹配</li></ul>
11620
11789
  :type PreciseSearch: int
11621
11790
  :param _BizType: 主题类型
11622
- - 0:日志主题,默认值
11623
- - 1:指标主题
11624
-
11791
+ <ul><li>0:日志主题,默认值</li>
11792
+ <li>1:指标主题</li></ul>
11625
11793
  :type BizType: int
11626
11794
  """
11627
11795
  self._Filters = None
@@ -11931,6 +12099,9 @@ class ExportInfo(AbstractModel):
11931
12099
  :param _SyntaxRule: 语法规则。 默认值为0。
11932
12100
  0:Lucene语法,1:CQL语法。
11933
12101
  :type SyntaxRule: int
12102
+ :param _DerivedFields: 导出字段
12103
+ 注意:此字段可能返回 null,表示取不到有效值。
12104
+ :type DerivedFields: list of str
11934
12105
  """
11935
12106
  self._TopicId = None
11936
12107
  self._ExportId = None
@@ -11946,6 +12117,7 @@ class ExportInfo(AbstractModel):
11946
12117
  self._CosPath = None
11947
12118
  self._CreateTime = None
11948
12119
  self._SyntaxRule = None
12120
+ self._DerivedFields = None
11949
12121
 
11950
12122
  @property
11951
12123
  def TopicId(self):
@@ -12059,6 +12231,14 @@ class ExportInfo(AbstractModel):
12059
12231
  def SyntaxRule(self, SyntaxRule):
12060
12232
  self._SyntaxRule = SyntaxRule
12061
12233
 
12234
+ @property
12235
+ def DerivedFields(self):
12236
+ return self._DerivedFields
12237
+
12238
+ @DerivedFields.setter
12239
+ def DerivedFields(self, DerivedFields):
12240
+ self._DerivedFields = DerivedFields
12241
+
12062
12242
 
12063
12243
  def _deserialize(self, params):
12064
12244
  self._TopicId = params.get("TopicId")
@@ -12075,6 +12255,7 @@ class ExportInfo(AbstractModel):
12075
12255
  self._CosPath = params.get("CosPath")
12076
12256
  self._CreateTime = params.get("CreateTime")
12077
12257
  self._SyntaxRule = params.get("SyntaxRule")
12258
+ self._DerivedFields = params.get("DerivedFields")
12078
12259
  memeber_set = set(params.keys())
12079
12260
  for name, value in vars(self).items():
12080
12261
  property_name = name[1:]
@@ -15029,7 +15210,7 @@ class ModifyAlarmRequest(AbstractModel):
15029
15210
  注意:
15030
15211
  - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
15031
15212
  :type MultiConditions: list of MultiCondition
15032
- :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10
15213
+ :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000
15033
15214
  :type TriggerCount: int
15034
15215
  :param _AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
15035
15216
  :type AlarmPeriod: int
@@ -17503,6 +17684,10 @@ class ModifyTopicRequest(AbstractModel):
17503
17684
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
17504
17685
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
17505
17686
  :type IsWebTracking: bool
17687
+ :param _Extends: 日志主题扩展信息
17688
+ :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
17689
+ :param _PartitionCount: 日志主题分区数量
17690
+ :type PartitionCount: int
17506
17691
  """
17507
17692
  self._TopicId = None
17508
17693
  self._TopicName = None
@@ -17514,6 +17699,8 @@ class ModifyTopicRequest(AbstractModel):
17514
17699
  self._Describes = None
17515
17700
  self._HotPeriod = None
17516
17701
  self._IsWebTracking = None
17702
+ self._Extends = None
17703
+ self._PartitionCount = None
17517
17704
 
17518
17705
  @property
17519
17706
  def TopicId(self):
@@ -17595,6 +17782,22 @@ class ModifyTopicRequest(AbstractModel):
17595
17782
  def IsWebTracking(self, IsWebTracking):
17596
17783
  self._IsWebTracking = IsWebTracking
17597
17784
 
17785
+ @property
17786
+ def Extends(self):
17787
+ return self._Extends
17788
+
17789
+ @Extends.setter
17790
+ def Extends(self, Extends):
17791
+ self._Extends = Extends
17792
+
17793
+ @property
17794
+ def PartitionCount(self):
17795
+ return self._PartitionCount
17796
+
17797
+ @PartitionCount.setter
17798
+ def PartitionCount(self, PartitionCount):
17799
+ self._PartitionCount = PartitionCount
17800
+
17598
17801
 
17599
17802
  def _deserialize(self, params):
17600
17803
  self._TopicId = params.get("TopicId")
@@ -17612,6 +17815,10 @@ class ModifyTopicRequest(AbstractModel):
17612
17815
  self._Describes = params.get("Describes")
17613
17816
  self._HotPeriod = params.get("HotPeriod")
17614
17817
  self._IsWebTracking = params.get("IsWebTracking")
17818
+ if params.get("Extends") is not None:
17819
+ self._Extends = TopicExtendInfo()
17820
+ self._Extends._deserialize(params.get("Extends"))
17821
+ self._PartitionCount = params.get("PartitionCount")
17615
17822
  memeber_set = set(params.keys())
17616
17823
  for name, value in vars(self).items():
17617
17824
  property_name = name[1:]
@@ -17654,12 +17861,13 @@ class MonitorTime(AbstractModel):
17654
17861
 
17655
17862
  def __init__(self):
17656
17863
  r"""
17657
- :param _Type: 执行周期, 可选值:PeriodFixed
17864
+ :param _Type: 执行周期, 可选值:`Period`、`Fixed`。
17658
17865
 
17659
17866
  - Period:固定频率
17660
17867
  - Fixed:固定时间
17661
17868
  :type Type: str
17662
17869
  :param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
17870
+ 当type为`Period`,`Fixed`时,time字段生效。
17663
17871
  :type Time: int
17664
17872
  """
17665
17873
  self._Type = None
@@ -20867,6 +21075,42 @@ class Tag(AbstractModel):
20867
21075
 
20868
21076
 
20869
21077
 
21078
+ class TopicExtendInfo(AbstractModel):
21079
+ """日志主题扩展信息
21080
+
21081
+ """
21082
+
21083
+ def __init__(self):
21084
+ r"""
21085
+ :param _AnonymousAccess: 日志主题免鉴权配置信息
21086
+ 注意:此字段可能返回 null,表示取不到有效值。
21087
+ :type AnonymousAccess: :class:`tencentcloud.cls.v20201016.models.AnonymousInfo`
21088
+ """
21089
+ self._AnonymousAccess = None
21090
+
21091
+ @property
21092
+ def AnonymousAccess(self):
21093
+ return self._AnonymousAccess
21094
+
21095
+ @AnonymousAccess.setter
21096
+ def AnonymousAccess(self, AnonymousAccess):
21097
+ self._AnonymousAccess = AnonymousAccess
21098
+
21099
+
21100
+ def _deserialize(self, params):
21101
+ if params.get("AnonymousAccess") is not None:
21102
+ self._AnonymousAccess = AnonymousInfo()
21103
+ self._AnonymousAccess._deserialize(params.get("AnonymousAccess"))
21104
+ memeber_set = set(params.keys())
21105
+ for name, value in vars(self).items():
21106
+ property_name = name[1:]
21107
+ if property_name in memeber_set:
21108
+ memeber_set.remove(property_name)
21109
+ if len(memeber_set) > 0:
21110
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21111
+
21112
+
21113
+
20870
21114
  class TopicIdAndRegion(AbstractModel):
20871
21115
  """仪表盘 topic与地域信息
20872
21116
 
@@ -20996,6 +21240,9 @@ HotPeriod=0为没有开启日志沉降。
20996
21240
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
20997
21241
  注意:此字段可能返回 null,表示取不到有效值。
20998
21242
  :type IsWebTracking: bool
21243
+ :param _Extends: 日志主题扩展信息
21244
+ 注意:此字段可能返回 null,表示取不到有效值。
21245
+ :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
20999
21246
  """
21000
21247
  self._LogsetId = None
21001
21248
  self._TopicId = None
@@ -21015,6 +21262,7 @@ HotPeriod=0为没有开启日志沉降。
21015
21262
  self._HotPeriod = None
21016
21263
  self._BizType = None
21017
21264
  self._IsWebTracking = None
21265
+ self._Extends = None
21018
21266
 
21019
21267
  @property
21020
21268
  def LogsetId(self):
@@ -21160,6 +21408,14 @@ HotPeriod=0为没有开启日志沉降。
21160
21408
  def IsWebTracking(self, IsWebTracking):
21161
21409
  self._IsWebTracking = IsWebTracking
21162
21410
 
21411
+ @property
21412
+ def Extends(self):
21413
+ return self._Extends
21414
+
21415
+ @Extends.setter
21416
+ def Extends(self, Extends):
21417
+ self._Extends = Extends
21418
+
21163
21419
 
21164
21420
  def _deserialize(self, params):
21165
21421
  self._LogsetId = params.get("LogsetId")
@@ -21185,6 +21441,9 @@ HotPeriod=0为没有开启日志沉降。
21185
21441
  self._HotPeriod = params.get("HotPeriod")
21186
21442
  self._BizType = params.get("BizType")
21187
21443
  self._IsWebTracking = params.get("IsWebTracking")
21444
+ if params.get("Extends") is not None:
21445
+ self._Extends = TopicExtendInfo()
21446
+ self._Extends._deserialize(params.get("Extends"))
21188
21447
  memeber_set = set(params.keys())
21189
21448
  for name, value in vars(self).items():
21190
21449
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1164
3
+ Version: 3.0.1179
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1179
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1164