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.



751
752
753
754
# File 'lib/v20170320/models.rb', line 751

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

Instance Attribute Details

#AggregationFieldObject

Parameters:

  • AggregationField:

    聚合维度

  • Buckets:

    聚合桶的结果集



749
750
751
# File 'lib/v20170320/models.rb', line 749

def AggregationField
  @AggregationField
end

#BucketsObject

Parameters:

  • AggregationField:

    聚合维度

  • Buckets:

    聚合桶的结果集



749
750
751
# File 'lib/v20170320/models.rb', line 749

def Buckets
  @Buckets
end

Instance Method Details

#deserialize(params) ⇒ Object



756
757
758
759
760
761
762
763
764
765
766
# File 'lib/v20170320/models.rb', line 756

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