tencentcloud-sdk-cls 3.0.634 → 3.0.636

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201016/models.rb +105 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 653ce6f067bf38a805027407f11ae36cc98d4b20
4
- data.tar.gz: 3b437b77247e4961105d1b3651cd884fa756ea29
3
+ metadata.gz: 8732c62305e0e419fc2ea2fd3eb45df7b0979d26
4
+ data.tar.gz: b4c889e8b6272f40b874424003c54b300785d178
5
5
  SHA512:
6
- metadata.gz: b487e405a3d6d43f16229d3f68ec5423a9394ce841fe3ad905cb90f159f79d0c8122ad1283f1dde76c534243a00885448c1553018b9cd70327f325b72f25b7e0
7
- data.tar.gz: 2bcb84bfa18120576950558a981729a4094a5de92d34bd6665d01c923ba6dfb15f7557c20a9e200500055b7cf2b66d69a36dd54c7df625aa635466a4d724ba9f
6
+ metadata.gz: e721ec5a4f7bd37d72bb4e9ff0932eab742f8b4d83112c65ac328a7d713b95310f26f59b9e9ee15b7edb5c2306d2ec147106a28865911535a95ae1183dacbf05
7
+ data.tar.gz: 714052ca7ce1a77515e49b860921f9a9e470d1e322dcd0caddc608cfa0533dba01b54e60dbb43ce441000d55e91f09c3049b55c8a40ec702ae80da767b192785
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.634
1
+ 3.0.636
@@ -1701,7 +1701,7 @@ module TencentCloud
1701
1701
  # @type TaskType: Integer
1702
1702
  # @param EnableFlag: 任务启动状态. 默认为1:开启, 2:关闭
1703
1703
  # @type EnableFlag: Integer
1704
- # @param DstResources: 加工任务目的topic_id以及别名
1704
+ # @param DstResources: 加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写
1705
1705
  # @type DstResources: Array
1706
1706
  # @param PreviewLogStatistics: 用于预览加工结果的测试数据
1707
1707
  # @type PreviewLogStatistics: Array
@@ -7734,6 +7734,58 @@ module TencentCloud
7734
7734
  end
7735
7735
  end
7736
7736
 
7737
+ # 多日志主题检索错误信息
7738
+ class SearchLogErrors < TencentCloud::Common::AbstractModel
7739
+ # @param TopicId: 日志主题ID
7740
+ # 注意:此字段可能返回 null,表示取不到有效值。
7741
+ # @type TopicId: String
7742
+ # @param ErrorMsg: 错误信息
7743
+ # 注意:此字段可能返回 null,表示取不到有效值。
7744
+ # @type ErrorMsg: String
7745
+ # @param ErrorCodeStr: 错误码
7746
+ # 注意:此字段可能返回 null,表示取不到有效值。
7747
+ # @type ErrorCodeStr: String
7748
+
7749
+ attr_accessor :TopicId, :ErrorMsg, :ErrorCodeStr
7750
+
7751
+ def initialize(topicid=nil, errormsg=nil, errorcodestr=nil)
7752
+ @TopicId = topicid
7753
+ @ErrorMsg = errormsg
7754
+ @ErrorCodeStr = errorcodestr
7755
+ end
7756
+
7757
+ def deserialize(params)
7758
+ @TopicId = params['TopicId']
7759
+ @ErrorMsg = params['ErrorMsg']
7760
+ @ErrorCodeStr = params['ErrorCodeStr']
7761
+ end
7762
+ end
7763
+
7764
+ # 多日志主题检索topic信息
7765
+ class SearchLogInfos < TencentCloud::Common::AbstractModel
7766
+ # @param TopicId: 日志主题ID
7767
+ # @type TopicId: String
7768
+ # @param Period: 日志存储生命周期
7769
+ # @type Period: Integer
7770
+ # @param Context: 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
7771
+ # 注意:此字段可能返回 null,表示取不到有效值。
7772
+ # @type Context: String
7773
+
7774
+ attr_accessor :TopicId, :Period, :Context
7775
+
7776
+ def initialize(topicid=nil, period=nil, context=nil)
7777
+ @TopicId = topicid
7778
+ @Period = period
7779
+ @Context = context
7780
+ end
7781
+
7782
+ def deserialize(params)
7783
+ @TopicId = params['TopicId']
7784
+ @Period = params['Period']
7785
+ @Context = params['Context']
7786
+ end
7787
+ end
7788
+
7737
7789
  # SearchLog请求参数结构体
7738
7790
  class SearchLogRequest < TencentCloud::Common::AbstractModel
7739
7791
  # @param From: 要检索分析的日志的起始时间,Unix时间戳(毫秒)
@@ -7752,11 +7804,11 @@ module TencentCloud
7752
7804
  # * 仅当检索分析语句(Query)不包含SQL时有效
7753
7805
  # * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
7754
7806
  # @type Limit: Integer
7755
- # @param Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时
7807
+ # @param Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
7756
7808
  # 注意:
7757
7809
  # * 透传该参数时,请勿修改除该参数外的其它参数
7758
- # * 仅当检索分析语句(Query)不包含SQL时有效
7759
- # * SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
7810
+ # * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
7811
+ # * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
7760
7812
  # @type Context: String
7761
7813
  # @param Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
7762
7814
  # 注意:
@@ -7822,7 +7874,9 @@ module TencentCloud
7822
7874
 
7823
7875
  # SearchLog返回参数结构体
7824
7876
  class SearchLogResponse < TencentCloud::Common::AbstractModel
7825
- # @param Context: 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
7877
+ # @param Context: 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时。
7878
+ # 注意:
7879
+ # * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
7826
7880
  # @type Context: String
7827
7881
  # @param ListOver: 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志
7828
7882
  # 注意:仅当检索分析语句(Query)不包含SQL时有效
@@ -7851,12 +7905,15 @@ module TencentCloud
7851
7905
  # @param SamplingRate: 本次统计分析使用的采样率
7852
7906
  # 注意:此字段可能返回 null,表示取不到有效值。
7853
7907
  # @type SamplingRate: Float
7908
+ # @param Topics: 使用多日志主题检索时,各个日志主题的基本信息,例如报错信息。
7909
+ # 注意:此字段可能返回 null,表示取不到有效值。
7910
+ # @type Topics: :class:`Tencentcloud::Cls.v20201016.models.SearchLogTopics`
7854
7911
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7855
7912
  # @type RequestId: String
7856
7913
 
7857
- attr_accessor :Context, :ListOver, :Analysis, :Results, :ColNames, :AnalysisResults, :AnalysisRecords, :Columns, :SamplingRate, :RequestId
7914
+ attr_accessor :Context, :ListOver, :Analysis, :Results, :ColNames, :AnalysisResults, :AnalysisRecords, :Columns, :SamplingRate, :Topics, :RequestId
7858
7915
 
7859
- def initialize(context=nil, listover=nil, analysis=nil, results=nil, colnames=nil, analysisresults=nil, analysisrecords=nil, columns=nil, samplingrate=nil, requestid=nil)
7916
+ def initialize(context=nil, listover=nil, analysis=nil, results=nil, colnames=nil, analysisresults=nil, analysisrecords=nil, columns=nil, samplingrate=nil, topics=nil, requestid=nil)
7860
7917
  @Context = context
7861
7918
  @ListOver = listover
7862
7919
  @Analysis = analysis
@@ -7866,6 +7923,7 @@ module TencentCloud
7866
7923
  @AnalysisRecords = analysisrecords
7867
7924
  @Columns = columns
7868
7925
  @SamplingRate = samplingrate
7926
+ @Topics = topics
7869
7927
  @RequestId = requestid
7870
7928
  end
7871
7929
 
@@ -7900,10 +7958,50 @@ module TencentCloud
7900
7958
  end
7901
7959
  end
7902
7960
  @SamplingRate = params['SamplingRate']
7961
+ unless params['Topics'].nil?
7962
+ @Topics = SearchLogTopics.new
7963
+ @Topics.deserialize(params['Topics'])
7964
+ end
7903
7965
  @RequestId = params['RequestId']
7904
7966
  end
7905
7967
  end
7906
7968
 
7969
+ # 多主题检索返回信息
7970
+ class SearchLogTopics < TencentCloud::Common::AbstractModel
7971
+ # @param Errors: 多日志主题检索对应的错误信息
7972
+ # 注意:此字段可能返回 null,表示取不到有效值。
7973
+ # @type Errors: Array
7974
+ # @param Infos: 多日志主题检索各日志主题信息
7975
+ # 注意:此字段可能返回 null,表示取不到有效值。
7976
+ # @type Infos: Array
7977
+
7978
+ attr_accessor :Errors, :Infos
7979
+
7980
+ def initialize(errors=nil, infos=nil)
7981
+ @Errors = errors
7982
+ @Infos = infos
7983
+ end
7984
+
7985
+ def deserialize(params)
7986
+ unless params['Errors'].nil?
7987
+ @Errors = []
7988
+ params['Errors'].each do |i|
7989
+ searchlogerrors_tmp = SearchLogErrors.new
7990
+ searchlogerrors_tmp.deserialize(i)
7991
+ @Errors << searchlogerrors_tmp
7992
+ end
7993
+ end
7994
+ unless params['Infos'].nil?
7995
+ @Infos = []
7996
+ params['Infos'].each do |i|
7997
+ searchloginfos_tmp = SearchLogInfos.new
7998
+ searchloginfos_tmp.deserialize(i)
7999
+ @Infos << searchloginfos_tmp
8000
+ end
8001
+ end
8002
+ end
8003
+ end
8004
+
7907
8005
  # 投递规则
7908
8006
  class ShipperInfo < TencentCloud::Common::AbstractModel
7909
8007
  # @param ShipperId: 投递规则ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.634
4
+ version: 3.0.636
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-11 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common