Class: TencentCloud::Cdn::V20180606::SummarizedData

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

Overview

明细数据的汇总值,各指标根据其特性不同拥有不同汇总方式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ SummarizedData

Returns a new instance of SummarizedData.



13211
13212
13213
13214
# File 'lib/v20180606/models.rb', line 13211

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

sum:累加求和 max:最大值,带宽模式下,采用 5 分钟粒度汇总数据,计算峰值带宽 avg:平均值

Parameters:

  • Name:

    汇总方式,存在以下几种:

  • Value:

    汇总后的数据值



13209
13210
13211
# File 'lib/v20180606/models.rb', line 13209

def Name
  @Name
end

#ValueObject

sum:累加求和 max:最大值,带宽模式下,采用 5 分钟粒度汇总数据,计算峰值带宽 avg:平均值

Parameters:

  • Name:

    汇总方式,存在以下几种:

  • Value:

    汇总后的数据值



13209
13210
13211
# File 'lib/v20180606/models.rb', line 13209

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



13216
13217
13218
13219
# File 'lib/v20180606/models.rb', line 13216

def deserialize(params)
  @Name = params['Name']
  @Value = params['Value']
end