Class: TencentCloud::Dbbrain::V20210527::DescribeIndexRecommendAggregationSlowLogsResponse

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

Overview

DescribeIndexRecommendAggregationSlowLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aggregation = nil, requestid = nil) ⇒ DescribeIndexRecommendAggregationSlowLogsResponse

Returns a new instance of DescribeIndexRecommendAggregationSlowLogsResponse.



2851
2852
2853
2854
# File 'lib/v20210527/models.rb', line 2851

def initialize(aggregation=nil, requestid=nil)
  @Aggregation = aggregation
  @RequestId = requestid
end

Instance Attribute Details

#AggregationObject

Parameters:

  • Aggregation:

    查询实例慢查询聚合结果。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2849
2850
2851
# File 'lib/v20210527/models.rb', line 2849

def Aggregation
  @Aggregation
end

#RequestIdObject

Parameters:

  • Aggregation:

    查询实例慢查询聚合结果。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2849
2850
2851
# File 'lib/v20210527/models.rb', line 2849

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2856
2857
2858
2859
2860
2861
2862
# File 'lib/v20210527/models.rb', line 2856

def deserialize(params)
  unless params['Aggregation'].nil?
    @Aggregation = Aggregation.new
    @Aggregation.deserialize(params['Aggregation'])
  end
  @RequestId = params['RequestId']
end