tencentcloud-sdk-cls 3.0.790 → 3.0.791

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 426f0d637c3331b554cb48be5292a5336914db39
4
- data.tar.gz: 0a87216c4c6fe550ce2abd14f22c9c1b819a0a56
3
+ metadata.gz: fdaf9d07156a0487ed99f93bd358483dc8c3ed66
4
+ data.tar.gz: 37d4cfb8a37ba8e35b12a718a8859b362a3f4a97
5
5
  SHA512:
6
- metadata.gz: 55cc623881fcaa02d3f161f46a20075f67e51dc10a54683773e6feb6411c0652571bf46e5cc6218487e2fe5f50c20ab6b759eb5973876dbc58d9652ab8f4984a
7
- data.tar.gz: bd6a8e550bc97af9744cc3b63d95386695f15359c83256627817c633e65c4e5db15e95b1ff971cc6453134425cdc7da80394ae972a4724af7015724f31d18c28
6
+ metadata.gz: b9e5b0b35083454d9ace086e63e466148fea7303279686f216f1b03af27083b30de8bdeaf2c2b15aa6029edfc9695e7f16886d8030d22b2941351c5d95d2d946
7
+ data.tar.gz: e04a869b0f83818428ab5e2f9a4d9c80431b82726536e83e57fbf30a0b3e141c82740a960f0713d4c3e6990ce271058aa4a02fb0cc4b2f0645e264784b2389ab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.790
1
+ 3.0.791
@@ -2166,9 +2166,10 @@ module TencentCloud
2166
2166
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2167
2167
  end
2168
2168
 
2169
- # 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
2170
-
2171
- # API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
2169
+ # 本接口用于检索分析日志,使用该接口时请注意如下事项:
2170
+ # 1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
2171
+ # 2. 检索语法建议使用CQL语法规则,请使用SyntaxRule参数,将值设置为1。
2172
+ # 3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
2172
2173
 
2173
2174
  # @param request: Request instance for SearchLog.
2174
2175
  # @type request: :class:`Tencentcloud::cls::V20201016::SearchLogRequest`
@@ -9036,71 +9036,66 @@ module TencentCloud
9036
9036
  # 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句
9037
9037
  # 使用*或空字符串可查询所有日志
9038
9038
  # @type Query: String
9039
+ # @param SyntaxRule: 检索语法规则,默认值为0,推荐使用1 (CQL语法)。
9040
+ # 0:Lucene语法,1:CQL语法。
9041
+ # 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
9042
+ # @type SyntaxRule: Integer
9039
9043
  # @param TopicId: - 要检索分析的日志主题ID,仅能指定一个日志主题。
9040
9044
  # - 如需同时检索多个日志主题,请使用Topics参数。
9041
9045
  # @type TopicId: String
9046
+ # @param Topics: - 要检索分析的日志主题列表,最大支持20个日志主题。
9047
+ # - 检索单个日志主题时请使用TopicId。
9048
+ # - 不能同时使用TopicId和Topics。
9049
+ # @type Topics: Array
9042
9050
  # @param Limit: 表示单次查询返回的原始日志条数,默认为100,最大值为1000,获取后续日志需使用Context参数
9043
9051
  # 注意:
9044
9052
  # * 仅当检索分析语句(Query)不包含SQL时有效
9045
9053
  # * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
9046
9054
  # @type Limit: Integer
9055
+ # @param Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
9056
+ # 注意:
9057
+ # * 仅当检索分析语句(Query)不包含SQL时有效
9058
+ # * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
9059
+ # @type Sort: String
9047
9060
  # @param Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
9048
9061
  # 注意:
9049
9062
  # * 透传该参数时,请勿修改除该参数外的其它参数
9050
9063
  # * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
9051
9064
  # * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
9052
9065
  # @type Context: String
9053
- # @param Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
9054
- # 注意:
9055
- # * 仅当检索分析语句(Query)不包含SQL时有效
9056
- # * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
9057
- # @type Sort: String
9058
- # @param UseNewAnalysis: 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
9059
- # 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
9060
- # 两种返回方式在编码格式上有少量区别,建议使用true
9061
- # @type UseNewAnalysis: Boolean
9062
9066
  # @param SamplingRate: 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。
9063
9067
  # 0:自动采样;
9064
9068
  # 0~1:按指定采样率采样,例如0.02;
9065
9069
  # 1:不采样,即精确分析
9066
9070
  # 默认值为1
9067
9071
  # @type SamplingRate: Float
9068
- # @param SyntaxRule: 检索语法规则,默认值为0。
9069
- # 0:Lucene语法,1:CQL语法。
9070
- # 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
9071
- # @type SyntaxRule: Integer
9072
- # @param Topics: - 要检索分析的日志主题列表,最大支持20个日志主题。
9073
- # - 检索单个日志主题时请使用TopicId。
9074
- # - 不能同时使用TopicId和Topics。
9075
- # @type Topics: Array
9072
+ # @param UseNewAnalysis: 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
9073
+ # 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
9074
+ # 两种返回方式在编码格式上有少量区别,建议使用true
9075
+ # @type UseNewAnalysis: Boolean
9076
9076
 
9077
- attr_accessor :From, :To, :Query, :TopicId, :Limit, :Context, :Sort, :UseNewAnalysis, :SamplingRate, :SyntaxRule, :Topics
9077
+ attr_accessor :From, :To, :Query, :SyntaxRule, :TopicId, :Topics, :Limit, :Sort, :Context, :SamplingRate, :UseNewAnalysis
9078
9078
 
9079
- def initialize(from=nil, to=nil, query=nil, topicid=nil, limit=nil, context=nil, sort=nil, usenewanalysis=nil, samplingrate=nil, syntaxrule=nil, topics=nil)
9079
+ def initialize(from=nil, to=nil, query=nil, syntaxrule=nil, topicid=nil, topics=nil, limit=nil, sort=nil, context=nil, samplingrate=nil, usenewanalysis=nil)
9080
9080
  @From = from
9081
9081
  @To = to
9082
9082
  @Query = query
9083
+ @SyntaxRule = syntaxrule
9083
9084
  @TopicId = topicid
9085
+ @Topics = topics
9084
9086
  @Limit = limit
9085
- @Context = context
9086
9087
  @Sort = sort
9087
- @UseNewAnalysis = usenewanalysis
9088
+ @Context = context
9088
9089
  @SamplingRate = samplingrate
9089
- @SyntaxRule = syntaxrule
9090
- @Topics = topics
9090
+ @UseNewAnalysis = usenewanalysis
9091
9091
  end
9092
9092
 
9093
9093
  def deserialize(params)
9094
9094
  @From = params['From']
9095
9095
  @To = params['To']
9096
9096
  @Query = params['Query']
9097
- @TopicId = params['TopicId']
9098
- @Limit = params['Limit']
9099
- @Context = params['Context']
9100
- @Sort = params['Sort']
9101
- @UseNewAnalysis = params['UseNewAnalysis']
9102
- @SamplingRate = params['SamplingRate']
9103
9097
  @SyntaxRule = params['SyntaxRule']
9098
+ @TopicId = params['TopicId']
9104
9099
  unless params['Topics'].nil?
9105
9100
  @Topics = []
9106
9101
  params['Topics'].each do |i|
@@ -9109,6 +9104,11 @@ module TencentCloud
9109
9104
  @Topics << multitopicsearchinformation_tmp
9110
9105
  end
9111
9106
  end
9107
+ @Limit = params['Limit']
9108
+ @Sort = params['Sort']
9109
+ @Context = params['Context']
9110
+ @SamplingRate = params['SamplingRate']
9111
+ @UseNewAnalysis = params['UseNewAnalysis']
9112
9112
  end
9113
9113
  end
9114
9114
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.790
4
+ version: 3.0.791
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud