Class: TencentCloud::Cdb::V20170320::AggregationCondition

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, offset = nil, limit = nil) ⇒ AggregationCondition

Returns a new instance of AggregationCondition.



369
370
371
372
373
# File 'lib/v20170320/models.rb', line 369

def initialize(aggregationfield=nil, offset=nil, limit=nil)
  @AggregationField = aggregationfield
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#AggregationFieldObject

Parameters:

  • AggregationField:

    聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。

  • Offset:

    偏移量。

  • Limit:

    该聚合字段下要返回聚合桶的数量,最大100。



367
368
369
# File 'lib/v20170320/models.rb', line 367

def AggregationField
  @AggregationField
end

#LimitObject

Parameters:

  • AggregationField:

    聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。

  • Offset:

    偏移量。

  • Limit:

    该聚合字段下要返回聚合桶的数量,最大100。



367
368
369
# File 'lib/v20170320/models.rb', line 367

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • AggregationField:

    聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。

  • Offset:

    偏移量。

  • Limit:

    该聚合字段下要返回聚合桶的数量,最大100。



367
368
369
# File 'lib/v20170320/models.rb', line 367

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



375
376
377
378
379
# File 'lib/v20170320/models.rb', line 375

def deserialize(params)
  @AggregationField = params['AggregationField']
  @Offset = params['Offset']
  @Limit = params['Limit']
end