Class: TencentCloud::Cdb::V20170320::AuditLogAggregationResult

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

审计日志分析结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aggregationfield = nil, buckets = nil) ⇒ AuditLogAggregationResult

Returns a new instance of AuditLogAggregationResult.



759
760
761
762
# File 'lib/v20170320/models.rb', line 759

def initialize(aggregationfield=nil, buckets=nil)
  @AggregationField = aggregationfield
  @Buckets = buckets
end

Instance Attribute Details

#AggregationFieldObject

Parameters:

  • AggregationField:

    聚合维度

  • Buckets:

    聚合桶的结果集



757
758
759
# File 'lib/v20170320/models.rb', line 757

def AggregationField
  @AggregationField
end

#BucketsObject

Parameters:

  • AggregationField:

    聚合维度

  • Buckets:

    聚合桶的结果集



757
758
759
# File 'lib/v20170320/models.rb', line 757

def Buckets
  @Buckets
end

Instance Method Details

#deserialize(params) ⇒ Object



764
765
766
767
768
769
770
771
772
773
774
# File 'lib/v20170320/models.rb', line 764

def deserialize(params)
  @AggregationField = params['AggregationField']
  unless params['Buckets'].nil?
    @Buckets = []
    params['Buckets'].each do |i|
      bucket_tmp = Bucket.new
      bucket_tmp.deserialize(i)
      @Buckets << bucket_tmp
    end
  end
end