tencentcloud-sdk-python-cls 3.1.111__tar.gz → 3.1.124__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.111 → tencentcloud_sdk_python_cls-3.1.124}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/models.py +148 -210
  5. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cls-3.1.124/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cls-3.1.111/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/cls_client.py +0 -0
  13. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cls-3.1.111 → tencentcloud_sdk_python_cls-3.1.124}/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.111
3
+ Version: 3.1.124
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.111
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.124
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.111,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.124,<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.111'
17
+ __version__ = '3.1.124'
@@ -32387,6 +32387,105 @@ class InstanceData(AbstractModel):
32387
32387
 
32388
32388
 
32389
32389
 
32390
+ class JsonExpandInfo(AbstractModel):
32391
+ r"""**JsonExpandInfo 数据结构描述**:
32392
+ ```
32393
+ JSON嵌套展开配置
32394
+ ```
32395
+
32396
+ **各字段描述**:
32397
+
32398
+ | 字段 | 描述 |
32399
+ |------|------|
32400
+ | Switch | 是否开启JSON嵌套展开 |
32401
+ | Fields | 待展开的JSON字段列表,1~3个 |
32402
+ | DropOriginal | 展开后是否丢弃原始字段,默认true |
32403
+ | ConflictPolicy | 字段冲突策略,keep_outer:保留外层(默认),keep_inner:保留内层 |
32404
+
32405
+ **LogRechargeRuleInfo 新增字段**:
32406
+
32407
+ | 字段 | 描述 |
32408
+ |------|------|
32409
+ | JsonExpand | JSON嵌套展开配置,仅RechargeType为json_log时生效 |
32410
+
32411
+ """
32412
+
32413
+ def __init__(self):
32414
+ r"""
32415
+ :param _Switch: <p>是否开启JSON嵌套展开功能。开启后将对指定JSON字段进行扁平化展开处理</p><p>默认值:无(必选参数)</p>
32416
+ :type Switch: bool
32417
+ :param _Fields: <p>待展开的JSON字段名列表,支持1~3个字段,字段名不可为空串且不可重复 </p><p>入参限制:1. 字段数量:1~3个2. 每个字段名长度不超过128个字符3. 字段名不可为空字符串4. 字段名之间不可重复</p><p>默认值:无(必选参数)</p><p>取值参考:取值:message;描述:示例字段名</p><p>示例:[&quot;message&quot;, &quot;data&quot;, &quot;content&quot;]</p>
32418
+ :type Fields: list of str
32419
+ :param _DropOriginal: <p>展开后是否丢弃原始的嵌套字段。true: 丢弃原始字段只保留展开后的平铺字段; false: 保留原始字段同时增加展开后的平铺字段</p><p>枚举值:</p><ul><li>true / false: 丢弃原字段 / 保留原字段</li></ul><p>默认值:true</p><p>非必选,不传时默认为true</p>
32420
+ :type DropOriginal: bool
32421
+ :param _ConflictPolicy: <p>展开后的字段与已有字段发生冲突时的处理策略</p><p>枚举值:</p><ul><li>keep_outer / keep_inner: 保留外层(已存在)字段 / 保留内层(新展开)字段</li></ul><p>默认值:keep_outer</p><p>非必选,不传时默认为keep_outer</p>
32422
+ :type ConflictPolicy: str
32423
+ """
32424
+ self._Switch = None
32425
+ self._Fields = None
32426
+ self._DropOriginal = None
32427
+ self._ConflictPolicy = None
32428
+
32429
+ @property
32430
+ def Switch(self):
32431
+ r"""<p>是否开启JSON嵌套展开功能。开启后将对指定JSON字段进行扁平化展开处理</p><p>默认值:无(必选参数)</p>
32432
+ :rtype: bool
32433
+ """
32434
+ return self._Switch
32435
+
32436
+ @Switch.setter
32437
+ def Switch(self, Switch):
32438
+ self._Switch = Switch
32439
+
32440
+ @property
32441
+ def Fields(self):
32442
+ r"""<p>待展开的JSON字段名列表,支持1~3个字段,字段名不可为空串且不可重复 </p><p>入参限制:1. 字段数量:1~3个2. 每个字段名长度不超过128个字符3. 字段名不可为空字符串4. 字段名之间不可重复</p><p>默认值:无(必选参数)</p><p>取值参考:取值:message;描述:示例字段名</p><p>示例:[&quot;message&quot;, &quot;data&quot;, &quot;content&quot;]</p>
32443
+ :rtype: list of str
32444
+ """
32445
+ return self._Fields
32446
+
32447
+ @Fields.setter
32448
+ def Fields(self, Fields):
32449
+ self._Fields = Fields
32450
+
32451
+ @property
32452
+ def DropOriginal(self):
32453
+ r"""<p>展开后是否丢弃原始的嵌套字段。true: 丢弃原始字段只保留展开后的平铺字段; false: 保留原始字段同时增加展开后的平铺字段</p><p>枚举值:</p><ul><li>true / false: 丢弃原字段 / 保留原字段</li></ul><p>默认值:true</p><p>非必选,不传时默认为true</p>
32454
+ :rtype: bool
32455
+ """
32456
+ return self._DropOriginal
32457
+
32458
+ @DropOriginal.setter
32459
+ def DropOriginal(self, DropOriginal):
32460
+ self._DropOriginal = DropOriginal
32461
+
32462
+ @property
32463
+ def ConflictPolicy(self):
32464
+ r"""<p>展开后的字段与已有字段发生冲突时的处理策略</p><p>枚举值:</p><ul><li>keep_outer / keep_inner: 保留外层(已存在)字段 / 保留内层(新展开)字段</li></ul><p>默认值:keep_outer</p><p>非必选,不传时默认为keep_outer</p>
32465
+ :rtype: str
32466
+ """
32467
+ return self._ConflictPolicy
32468
+
32469
+ @ConflictPolicy.setter
32470
+ def ConflictPolicy(self, ConflictPolicy):
32471
+ self._ConflictPolicy = ConflictPolicy
32472
+
32473
+
32474
+ def _deserialize(self, params):
32475
+ self._Switch = params.get("Switch")
32476
+ self._Fields = params.get("Fields")
32477
+ self._DropOriginal = params.get("DropOriginal")
32478
+ self._ConflictPolicy = params.get("ConflictPolicy")
32479
+ memeber_set = set(params.keys())
32480
+ for name, value in vars(self).items():
32481
+ property_name = name[1:]
32482
+ if property_name in memeber_set:
32483
+ memeber_set.remove(property_name)
32484
+ if len(memeber_set) > 0:
32485
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
32486
+
32487
+
32488
+
32390
32489
  class JsonInfo(AbstractModel):
32391
32490
  r"""JSON类型描述
32392
32491
 
@@ -33668,127 +33767,40 @@ class LogRechargeRuleInfo(AbstractModel):
33668
33767
 
33669
33768
  def __init__(self):
33670
33769
  r"""
33671
- :param _RechargeType: 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则
33770
+ :param _RechargeType: <p>导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则</p>
33672
33771
  :type RechargeType: str
33673
- :param _EncodingFormat: 解析编码格式,0: UTF-8(默认值),1: GBK
33772
+ :param _EncodingFormat: <p>解析编码格式,0: UTF-8(默认值),1: GBK</p>
33674
33773
  :type EncodingFormat: int
33675
- :param _DefaultTimeSwitch: 使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true
33774
+ :param _DefaultTimeSwitch: <p>使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true</p>
33676
33775
  :type DefaultTimeSwitch: bool
33677
- :param _LogRegex: 整条日志匹配规则,只有RechargeType为fullregex_log时有效
33776
+ :param _LogRegex: <p>整条日志匹配规则,只有RechargeType为fullregex_log时有效</p>
33678
33777
  :type LogRegex: str
33679
- :param _UnMatchLogSwitch: 解析失败日志是否上传,true表示上传,false表示不上传
33778
+ :param _UnMatchLogSwitch: <p>解析失败日志是否上传,true表示上传,false表示不上传</p>
33680
33779
  :type UnMatchLogSwitch: bool
33681
- :param _UnMatchLogKey: 解析失败日志的键名称
33780
+ :param _UnMatchLogKey: <p>解析失败日志的键名称</p>
33682
33781
  :type UnMatchLogKey: str
33683
- :param _UnMatchLogTimeSrc: 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳
33782
+ :param _UnMatchLogTimeSrc: <p>解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
33684
33783
  :type UnMatchLogTimeSrc: int
33685
- :param _DefaultTimeSrc: 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳
33784
+ :param _DefaultTimeSrc: <p>默认时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
33686
33785
  :type DefaultTimeSrc: int
33687
- :param _TimeKey: 时间字段,日志中代表时间的字段名。
33688
-
33689
- - 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `json_log` JSON-文件日志 或 `fullregex_log` 单行完全正则-文件日志时, TimeKey不能为空。
33786
+ :param _TimeKey: <p>时间字段,日志中代表时间的字段名。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>json_log</code> JSON-文件日志 或 <code>fullregex_log</code> 单行完全正则-文件日志时, TimeKey不能为空。</li></ul>
33690
33787
  :type TimeKey: str
33691
- :param _TimeRegex: 时间提取正则表达式。
33692
- - 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `minimalist_log` 单行全文-文件日志时, TimeRegex不能为空。
33693
- - 仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。
33694
- 例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
33695
-
33788
+ :param _TimeRegex: <p>时间提取正则表达式。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>minimalist_log</code> 单行全文-文件日志时, TimeRegex不能为空。</li><li>仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。<br> 例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d</li></ul>
33696
33789
  :type TimeRegex: str
33697
- :param _TimeFormat: 时间字段格式。
33698
- - 当DefaultTimeSwitch为false时, TimeFormat不能为空。
33790
+ :param _TimeFormat: <p>时间字段格式。</p><ul><li>当DefaultTimeSwitch为false时, TimeFormat不能为空。</li></ul>
33699
33791
  :type TimeFormat: str
33700
- :param _TimeZone: 时间字段时区。
33701
- - 当DefaultTimeSwitch为false时, TimeZone不能为空。
33702
- - 时区格式规则
33703
- ​前缀​:使用 GMT 或 UTC 作为时区基准
33704
- ​偏移量​:
33705
- - `-` 表示西时区(比基准时间晚)
33706
- - `+` 表示东时区(比基准时间早)
33707
- - 格式为 ±HH:MM(小时:分钟)
33708
-
33709
- - 当前支持:
33710
- ```
33711
- "GMT-12:00"
33712
- "GMT-11:00"
33713
- "GMT-10:00"
33714
- "GMT-09:30"
33715
- "GMT-09:00"
33716
- "GMT-08:00"
33717
- "GMT-07:00"
33718
- "GMT-06:00"
33719
- "GMT-05:00"
33720
- "GMT-04:00"
33721
- "GMT-03:30"
33722
- "GMT-03:00"
33723
- "GMT-02:00"
33724
- "GMT-01:00"
33725
- "GMT+00:00"
33726
- "GMT+01:00"
33727
- "GMT+02:00"
33728
- "GMT+03:30"
33729
- "GMT+04:00"
33730
- "GMT+04:30"
33731
- "GMT+05:00"
33732
- "GMT+05:30"
33733
- "GMT+05:45"
33734
- "GMT+06:00"
33735
- "GMT+06:30"
33736
- "GMT+07:00"
33737
- "GMT+08:00"
33738
- "GMT+09:00"
33739
- "GMT+09:30"
33740
- "GMT+10:00"
33741
- "GMT+10:30"
33742
- "GMT+11:00"
33743
- "GMT+11:30"
33744
- "GMT+12:00"
33745
- "GMT+12:45"
33746
- "GMT+13:00"
33747
- "GMT+14:00"
33748
- "UTC-11:00"
33749
- "UTC-10:00"
33750
- "UTC-09:00"
33751
- "UTC-08:00"
33752
- "UTC-12:00"
33753
- "UTC-07:00"
33754
- "UTC-06:00"
33755
- "UTC-05:00"
33756
- "UTC-04:30"
33757
- "UTC-04:00"
33758
- "UTC-03:30"
33759
- "UTC-03:00"
33760
- "UTC-02:00"
33761
- "UTC-01:00"
33762
- "UTC+00:00"
33763
- "UTC+01:00"
33764
- "UTC+02:00"
33765
- "UTC+03:00"
33766
- "UTC+03:30"
33767
- "UTC+04:00"
33768
- "UTC+04:30"
33769
- "UTC+05:00"
33770
- "UTC+05:45"
33771
- "UTC+06:00"
33772
- "UTC+06:30"
33773
- "UTC+07:00"
33774
- "UTC+08:00"
33775
- "UTC+09:00"
33776
- "UTC+09:30"
33777
- "UTC+10:00"
33778
- "UTC+11:00"
33779
- "UTC+12:00"
33780
- "UTC+13:00"
33781
- ```
33792
+ :param _TimeZone: <p>时间字段时区。</p><ul><li><p>当DefaultTimeSwitch为false时, TimeZone不能为空。</p></li><li><p>时区格式规则<br>前缀:使用 GMT 或 UTC 作为时区基准<br>偏移量:</p><ul><li><code>-</code> 表示西时区(比基准时间晚)</li><li><code>+</code> 表示东时区(比基准时间早)</li><li>格式为 ±HH:MM(小时:分钟)</li></ul></li><li><p>当前支持:<br><pre><code>&quot;GMT-12:00&quot; &quot;GMT-11:00&quot; &quot;GMT-10:00&quot; &quot;GMT-09:30&quot; &quot;GMT-09:00&quot; &quot;GMT-08:00&quot; &quot;GMT-07:00&quot; &quot;GMT-06:00&quot; &quot;GMT-05:00&quot; &quot;GMT-04:00&quot; &quot;GMT-03:30&quot; &quot;GMT-03:00&quot; &quot;GMT-02:00&quot; &quot;GMT-01:00&quot; &quot;GMT+00:00&quot;&quot;GMT+01:00&quot;&quot;GMT+02:00&quot;&quot;GMT+03:30&quot;&quot;GMT+04:00&quot;&quot;GMT+04:30&quot;&quot;GMT+05:00&quot;&quot;GMT+05:30&quot;&quot;GMT+05:45&quot;&quot;GMT+06:00&quot;&quot;GMT+06:30&quot;&quot;GMT+07:00&quot;&quot;GMT+08:00&quot;&quot;GMT+09:00&quot;&quot;GMT+09:30&quot;&quot;GMT+10:00&quot;&quot;GMT+10:30&quot;&quot;GMT+11:00&quot;&quot;GMT+11:30&quot;&quot;GMT+12:00&quot;&quot;GMT+12:45&quot;&quot;GMT+13:00&quot;&quot;GMT+14:00&quot;&quot;UTC-11:00&quot;&quot;UTC-10:00&quot;&quot;UTC-09:00&quot;&quot;UTC-08:00&quot;&quot;UTC-12:00&quot;&quot;UTC-07:00&quot;&quot;UTC-06:00&quot;&quot;UTC-05:00&quot;&quot;UTC-04:30&quot;&quot;UTC-04:00&quot;&quot;UTC-03:30&quot;&quot;UTC-03:00&quot;&quot;UTC-02:00&quot;&quot;UTC-01:00&quot;&quot;UTC+00:00&quot;&quot;UTC+01:00&quot;&quot;UTC+02:00&quot;&quot;UTC+03:00&quot;&quot;UTC+03:30&quot;&quot;UTC+04:00&quot;&quot;UTC+04:30&quot;&quot;UTC+05:00&quot;&quot;UTC+05:45&quot;&quot;UTC+06:00&quot;&quot;UTC+06:30&quot;&quot;UTC+07:00&quot;&quot;UTC+08:00&quot;&quot;UTC+09:00&quot;&quot;UTC+09:30&quot;&quot;UTC+10:00&quot;&quot;UTC+11:00&quot;&quot;UTC+12:00&quot;&quot;UTC+13:00&quot;</code></pre></p></li></ul>
33782
33793
  :type TimeZone: str
33783
- :param _Metadata: 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp
33794
+ :param _Metadata: <p>元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp</p>
33784
33795
  :type Metadata: list of str
33785
- :param _Keys: 日志Key列表,RechargeType为full_regex_log、delimiter_log时必填
33796
+ :param _Keys: <p>日志Key列表,RechargeType为full_regex_log、delimiter_log时必填</p>
33786
33797
  :type Keys: list of str
33787
- :param _ParseArray: json解析模式,开启首层数据解析
33798
+ :param _ParseArray: <p>json解析模式,开启首层数据解析</p>
33788
33799
  :type ParseArray: bool
33789
- :param _Delimiter: 分隔符解析模式-分隔符
33790
- 当解析格式为分隔符提取时,该字段必填
33800
+ :param _Delimiter: <p>分隔符解析模式-分隔符<br>当解析格式为分隔符提取时,该字段必填</p>
33791
33801
  :type Delimiter: str
33802
+ :param _JsonExpand: <p>JSON嵌套展开配置。仅RechargeType为json_log时生效,不传表示不开启。</p>
33803
+ :type JsonExpand: :class:`tencentcloud.cls.v20201016.models.JsonExpandInfo`
33792
33804
  """
33793
33805
  self._RechargeType = None
33794
33806
  self._EncodingFormat = None
@@ -33806,10 +33818,11 @@ class LogRechargeRuleInfo(AbstractModel):
33806
33818
  self._Keys = None
33807
33819
  self._ParseArray = None
33808
33820
  self._Delimiter = None
33821
+ self._JsonExpand = None
33809
33822
 
33810
33823
  @property
33811
33824
  def RechargeType(self):
33812
- r"""导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则
33825
+ r"""<p>导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则</p>
33813
33826
  :rtype: str
33814
33827
  """
33815
33828
  return self._RechargeType
@@ -33820,7 +33833,7 @@ class LogRechargeRuleInfo(AbstractModel):
33820
33833
 
33821
33834
  @property
33822
33835
  def EncodingFormat(self):
33823
- r"""解析编码格式,0: UTF-8(默认值),1: GBK
33836
+ r"""<p>解析编码格式,0: UTF-8(默认值),1: GBK</p>
33824
33837
  :rtype: int
33825
33838
  """
33826
33839
  return self._EncodingFormat
@@ -33831,7 +33844,7 @@ class LogRechargeRuleInfo(AbstractModel):
33831
33844
 
33832
33845
  @property
33833
33846
  def DefaultTimeSwitch(self):
33834
- r"""使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true
33847
+ r"""<p>使用默认时间状态。true:开启后将使用系统当前时间或 Kafka 消息时间戳作为日志时间戳;false:关闭将使用日志中的时间字段作为日志时间戳。 默认:true</p>
33835
33848
  :rtype: bool
33836
33849
  """
33837
33850
  return self._DefaultTimeSwitch
@@ -33842,7 +33855,7 @@ class LogRechargeRuleInfo(AbstractModel):
33842
33855
 
33843
33856
  @property
33844
33857
  def LogRegex(self):
33845
- r"""整条日志匹配规则,只有RechargeType为fullregex_log时有效
33858
+ r"""<p>整条日志匹配规则,只有RechargeType为fullregex_log时有效</p>
33846
33859
  :rtype: str
33847
33860
  """
33848
33861
  return self._LogRegex
@@ -33853,7 +33866,7 @@ class LogRechargeRuleInfo(AbstractModel):
33853
33866
 
33854
33867
  @property
33855
33868
  def UnMatchLogSwitch(self):
33856
- r"""解析失败日志是否上传,true表示上传,false表示不上传
33869
+ r"""<p>解析失败日志是否上传,true表示上传,false表示不上传</p>
33857
33870
  :rtype: bool
33858
33871
  """
33859
33872
  return self._UnMatchLogSwitch
@@ -33864,7 +33877,7 @@ class LogRechargeRuleInfo(AbstractModel):
33864
33877
 
33865
33878
  @property
33866
33879
  def UnMatchLogKey(self):
33867
- r"""解析失败日志的键名称
33880
+ r"""<p>解析失败日志的键名称</p>
33868
33881
  :rtype: str
33869
33882
  """
33870
33883
  return self._UnMatchLogKey
@@ -33875,7 +33888,7 @@ class LogRechargeRuleInfo(AbstractModel):
33875
33888
 
33876
33889
  @property
33877
33890
  def UnMatchLogTimeSrc(self):
33878
- r"""解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳
33891
+ r"""<p>解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
33879
33892
  :rtype: int
33880
33893
  """
33881
33894
  return self._UnMatchLogTimeSrc
@@ -33886,7 +33899,7 @@ class LogRechargeRuleInfo(AbstractModel):
33886
33899
 
33887
33900
  @property
33888
33901
  def DefaultTimeSrc(self):
33889
- r"""默认时间来源,0: 系统当前时间,1: Kafka消息时间戳
33902
+ r"""<p>默认时间来源,0: 系统当前时间,1: Kafka消息时间戳</p>
33890
33903
  :rtype: int
33891
33904
  """
33892
33905
  return self._DefaultTimeSrc
@@ -33897,9 +33910,7 @@ class LogRechargeRuleInfo(AbstractModel):
33897
33910
 
33898
33911
  @property
33899
33912
  def TimeKey(self):
33900
- r"""时间字段,日志中代表时间的字段名。
33901
-
33902
- - 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `json_log` JSON-文件日志 或 `fullregex_log` 单行完全正则-文件日志时, TimeKey不能为空。
33913
+ r"""<p>时间字段,日志中代表时间的字段名。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>json_log</code> JSON-文件日志 或 <code>fullregex_log</code> 单行完全正则-文件日志时, TimeKey不能为空。</li></ul>
33903
33914
  :rtype: str
33904
33915
  """
33905
33916
  return self._TimeKey
@@ -33910,11 +33921,7 @@ class LogRechargeRuleInfo(AbstractModel):
33910
33921
 
33911
33922
  @property
33912
33923
  def TimeRegex(self):
33913
- r"""时间提取正则表达式。
33914
- - 当DefaultTimeSwitch为false,且RechargeType数据提取模式为 `minimalist_log` 单行全文-文件日志时, TimeRegex不能为空。
33915
- - 仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。
33916
- 例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d
33917
-
33924
+ r"""<p>时间提取正则表达式。</p><ul><li>当DefaultTimeSwitch为false,且RechargeType数据提取模式为 <code>minimalist_log</code> 单行全文-文件日志时, TimeRegex不能为空。</li><li>仅需输入日志中代表时间的字段的正则表达式即可;若匹配到多个字段,将使用第一个。<br> 例:日志原文为:message with time 2022-08-08 14:20:20,则您可以设置提取时间正则为\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d</li></ul>
33918
33925
  :rtype: str
33919
33926
  """
33920
33927
  return self._TimeRegex
@@ -33925,8 +33932,7 @@ class LogRechargeRuleInfo(AbstractModel):
33925
33932
 
33926
33933
  @property
33927
33934
  def TimeFormat(self):
33928
- r"""时间字段格式。
33929
- - 当DefaultTimeSwitch为false时, TimeFormat不能为空。
33935
+ r"""<p>时间字段格式。</p><ul><li>当DefaultTimeSwitch为false时, TimeFormat不能为空。</li></ul>
33930
33936
  :rtype: str
33931
33937
  """
33932
33938
  return self._TimeFormat
@@ -33937,88 +33943,7 @@ class LogRechargeRuleInfo(AbstractModel):
33937
33943
 
33938
33944
  @property
33939
33945
  def TimeZone(self):
33940
- r"""时间字段时区。
33941
- - 当DefaultTimeSwitch为false时, TimeZone不能为空。
33942
- - 时区格式规则
33943
- ​前缀​:使用 GMT 或 UTC 作为时区基准
33944
- ​偏移量​:
33945
- - `-` 表示西时区(比基准时间晚)
33946
- - `+` 表示东时区(比基准时间早)
33947
- - 格式为 ±HH:MM(小时:分钟)
33948
-
33949
- - 当前支持:
33950
- ```
33951
- "GMT-12:00"
33952
- "GMT-11:00"
33953
- "GMT-10:00"
33954
- "GMT-09:30"
33955
- "GMT-09:00"
33956
- "GMT-08:00"
33957
- "GMT-07:00"
33958
- "GMT-06:00"
33959
- "GMT-05:00"
33960
- "GMT-04:00"
33961
- "GMT-03:30"
33962
- "GMT-03:00"
33963
- "GMT-02:00"
33964
- "GMT-01:00"
33965
- "GMT+00:00"
33966
- "GMT+01:00"
33967
- "GMT+02:00"
33968
- "GMT+03:30"
33969
- "GMT+04:00"
33970
- "GMT+04:30"
33971
- "GMT+05:00"
33972
- "GMT+05:30"
33973
- "GMT+05:45"
33974
- "GMT+06:00"
33975
- "GMT+06:30"
33976
- "GMT+07:00"
33977
- "GMT+08:00"
33978
- "GMT+09:00"
33979
- "GMT+09:30"
33980
- "GMT+10:00"
33981
- "GMT+10:30"
33982
- "GMT+11:00"
33983
- "GMT+11:30"
33984
- "GMT+12:00"
33985
- "GMT+12:45"
33986
- "GMT+13:00"
33987
- "GMT+14:00"
33988
- "UTC-11:00"
33989
- "UTC-10:00"
33990
- "UTC-09:00"
33991
- "UTC-08:00"
33992
- "UTC-12:00"
33993
- "UTC-07:00"
33994
- "UTC-06:00"
33995
- "UTC-05:00"
33996
- "UTC-04:30"
33997
- "UTC-04:00"
33998
- "UTC-03:30"
33999
- "UTC-03:00"
34000
- "UTC-02:00"
34001
- "UTC-01:00"
34002
- "UTC+00:00"
34003
- "UTC+01:00"
34004
- "UTC+02:00"
34005
- "UTC+03:00"
34006
- "UTC+03:30"
34007
- "UTC+04:00"
34008
- "UTC+04:30"
34009
- "UTC+05:00"
34010
- "UTC+05:45"
34011
- "UTC+06:00"
34012
- "UTC+06:30"
34013
- "UTC+07:00"
34014
- "UTC+08:00"
34015
- "UTC+09:00"
34016
- "UTC+09:30"
34017
- "UTC+10:00"
34018
- "UTC+11:00"
34019
- "UTC+12:00"
34020
- "UTC+13:00"
34021
- ```
33946
+ r"""<p>时间字段时区。</p><ul><li><p>当DefaultTimeSwitch为false时, TimeZone不能为空。</p></li><li><p>时区格式规则<br>前缀:使用 GMT 或 UTC 作为时区基准<br>偏移量:</p><ul><li><code>-</code> 表示西时区(比基准时间晚)</li><li><code>+</code> 表示东时区(比基准时间早)</li><li>格式为 ±HH:MM(小时:分钟)</li></ul></li><li><p>当前支持:<br><pre><code>&quot;GMT-12:00&quot; &quot;GMT-11:00&quot; &quot;GMT-10:00&quot; &quot;GMT-09:30&quot; &quot;GMT-09:00&quot; &quot;GMT-08:00&quot; &quot;GMT-07:00&quot; &quot;GMT-06:00&quot; &quot;GMT-05:00&quot; &quot;GMT-04:00&quot; &quot;GMT-03:30&quot; &quot;GMT-03:00&quot; &quot;GMT-02:00&quot; &quot;GMT-01:00&quot; &quot;GMT+00:00&quot;&quot;GMT+01:00&quot;&quot;GMT+02:00&quot;&quot;GMT+03:30&quot;&quot;GMT+04:00&quot;&quot;GMT+04:30&quot;&quot;GMT+05:00&quot;&quot;GMT+05:30&quot;&quot;GMT+05:45&quot;&quot;GMT+06:00&quot;&quot;GMT+06:30&quot;&quot;GMT+07:00&quot;&quot;GMT+08:00&quot;&quot;GMT+09:00&quot;&quot;GMT+09:30&quot;&quot;GMT+10:00&quot;&quot;GMT+10:30&quot;&quot;GMT+11:00&quot;&quot;GMT+11:30&quot;&quot;GMT+12:00&quot;&quot;GMT+12:45&quot;&quot;GMT+13:00&quot;&quot;GMT+14:00&quot;&quot;UTC-11:00&quot;&quot;UTC-10:00&quot;&quot;UTC-09:00&quot;&quot;UTC-08:00&quot;&quot;UTC-12:00&quot;&quot;UTC-07:00&quot;&quot;UTC-06:00&quot;&quot;UTC-05:00&quot;&quot;UTC-04:30&quot;&quot;UTC-04:00&quot;&quot;UTC-03:30&quot;&quot;UTC-03:00&quot;&quot;UTC-02:00&quot;&quot;UTC-01:00&quot;&quot;UTC+00:00&quot;&quot;UTC+01:00&quot;&quot;UTC+02:00&quot;&quot;UTC+03:00&quot;&quot;UTC+03:30&quot;&quot;UTC+04:00&quot;&quot;UTC+04:30&quot;&quot;UTC+05:00&quot;&quot;UTC+05:45&quot;&quot;UTC+06:00&quot;&quot;UTC+06:30&quot;&quot;UTC+07:00&quot;&quot;UTC+08:00&quot;&quot;UTC+09:00&quot;&quot;UTC+09:30&quot;&quot;UTC+10:00&quot;&quot;UTC+11:00&quot;&quot;UTC+12:00&quot;&quot;UTC+13:00&quot;</code></pre></p></li></ul>
34022
33947
  :rtype: str
34023
33948
  """
34024
33949
  return self._TimeZone
@@ -34029,7 +33954,7 @@ class LogRechargeRuleInfo(AbstractModel):
34029
33954
 
34030
33955
  @property
34031
33956
  def Metadata(self):
34032
- r"""元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp
33957
+ r"""<p>元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp</p>
34033
33958
  :rtype: list of str
34034
33959
  """
34035
33960
  return self._Metadata
@@ -34040,7 +33965,7 @@ class LogRechargeRuleInfo(AbstractModel):
34040
33965
 
34041
33966
  @property
34042
33967
  def Keys(self):
34043
- r"""日志Key列表,RechargeType为full_regex_log、delimiter_log时必填
33968
+ r"""<p>日志Key列表,RechargeType为full_regex_log、delimiter_log时必填</p>
34044
33969
  :rtype: list of str
34045
33970
  """
34046
33971
  return self._Keys
@@ -34051,7 +33976,7 @@ class LogRechargeRuleInfo(AbstractModel):
34051
33976
 
34052
33977
  @property
34053
33978
  def ParseArray(self):
34054
- r"""json解析模式,开启首层数据解析
33979
+ r"""<p>json解析模式,开启首层数据解析</p>
34055
33980
  :rtype: bool
34056
33981
  """
34057
33982
  return self._ParseArray
@@ -34062,8 +33987,7 @@ class LogRechargeRuleInfo(AbstractModel):
34062
33987
 
34063
33988
  @property
34064
33989
  def Delimiter(self):
34065
- r"""分隔符解析模式-分隔符
34066
- 当解析格式为分隔符提取时,该字段必填
33990
+ r"""<p>分隔符解析模式-分隔符<br>当解析格式为分隔符提取时,该字段必填</p>
34067
33991
  :rtype: str
34068
33992
  """
34069
33993
  return self._Delimiter
@@ -34072,6 +33996,17 @@ class LogRechargeRuleInfo(AbstractModel):
34072
33996
  def Delimiter(self, Delimiter):
34073
33997
  self._Delimiter = Delimiter
34074
33998
 
33999
+ @property
34000
+ def JsonExpand(self):
34001
+ r"""<p>JSON嵌套展开配置。仅RechargeType为json_log时生效,不传表示不开启。</p>
34002
+ :rtype: :class:`tencentcloud.cls.v20201016.models.JsonExpandInfo`
34003
+ """
34004
+ return self._JsonExpand
34005
+
34006
+ @JsonExpand.setter
34007
+ def JsonExpand(self, JsonExpand):
34008
+ self._JsonExpand = JsonExpand
34009
+
34075
34010
 
34076
34011
  def _deserialize(self, params):
34077
34012
  self._RechargeType = params.get("RechargeType")
@@ -34090,6 +34025,9 @@ class LogRechargeRuleInfo(AbstractModel):
34090
34025
  self._Keys = params.get("Keys")
34091
34026
  self._ParseArray = params.get("ParseArray")
34092
34027
  self._Delimiter = params.get("Delimiter")
34028
+ if params.get("JsonExpand") is not None:
34029
+ self._JsonExpand = JsonExpandInfo()
34030
+ self._JsonExpand._deserialize(params.get("JsonExpand"))
34093
34031
  memeber_set = set(params.keys())
34094
34032
  for name, value in vars(self).items():
34095
34033
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.111
3
+ Version: 3.1.124
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.111
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.124
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.124
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.111