lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.840 vs lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.841

- old
+ new

@@ -2463,22 +2463,25 @@ # @param Format: 日志导出数据格式。json,csv,默认为json # @type Format: String # @param SyntaxRule: 语法规则, 默认值为0。 # 0:Lucene语法,1:CQL语法。 # @type SyntaxRule: Integer + # @param DerivedFields: 导出字段 + # @type DerivedFields: Array - attr_accessor :TopicId, :Count, :Query, :From, :To, :Order, :Format, :SyntaxRule + attr_accessor :TopicId, :Count, :Query, :From, :To, :Order, :Format, :SyntaxRule, :DerivedFields - def initialize(topicid=nil, count=nil, query=nil, from=nil, to=nil, order=nil, format=nil, syntaxrule=nil) + def initialize(topicid=nil, count=nil, query=nil, from=nil, to=nil, order=nil, format=nil, syntaxrule=nil, derivedfields=nil) @TopicId = topicid @Count = count @Query = query @From = from @To = to @Order = order @Format = format @SyntaxRule = syntaxrule + @DerivedFields = derivedfields end def deserialize(params) @TopicId = params['TopicId'] @Count = params['Count'] @@ -2486,10 +2489,11 @@ @From = params['From'] @To = params['To'] @Order = params['Order'] @Format = params['Format'] @SyntaxRule = params['SyntaxRule'] + @DerivedFields = params['DerivedFields'] end end # CreateExport返回参数结构体 class CreateExportResponse < TencentCloud::Common::AbstractModel @@ -5917,14 +5921,17 @@ # @param CreateTime: 日志导出创建时间 # @type CreateTime: String # @param SyntaxRule: 语法规则。 默认值为0。 # 0:Lucene语法,1:CQL语法。 # @type SyntaxRule: Integer + # @param DerivedFields: 导出字段 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type DerivedFields: Array - attr_accessor :TopicId, :ExportId, :Query, :FileName, :FileSize, :Order, :Format, :Count, :Status, :From, :To, :CosPath, :CreateTime, :SyntaxRule + attr_accessor :TopicId, :ExportId, :Query, :FileName, :FileSize, :Order, :Format, :Count, :Status, :From, :To, :CosPath, :CreateTime, :SyntaxRule, :DerivedFields - def initialize(topicid=nil, exportid=nil, query=nil, filename=nil, filesize=nil, order=nil, format=nil, count=nil, status=nil, from=nil, to=nil, cospath=nil, createtime=nil, syntaxrule=nil) + def initialize(topicid=nil, exportid=nil, query=nil, filename=nil, filesize=nil, order=nil, format=nil, count=nil, status=nil, from=nil, to=nil, cospath=nil, createtime=nil, syntaxrule=nil, derivedfields=nil) @TopicId = topicid @ExportId = exportid @Query = query @FileName = filename @FileSize = filesize @@ -5935,10 +5942,11 @@ @From = from @To = to @CosPath = cospath @CreateTime = createtime @SyntaxRule = syntaxrule + @DerivedFields = derivedfields end def deserialize(params) @TopicId = params['TopicId'] @ExportId = params['ExportId'] @@ -5952,9 +5960,10 @@ @From = params['From'] @To = params['To'] @CosPath = params['CosPath'] @CreateTime = params['CreateTime'] @SyntaxRule = params['SyntaxRule'] + @DerivedFields = params['DerivedFields'] end end # 日志提取规则 class ExtractRuleInfo < TencentCloud::Common::AbstractModel