Class: TencentCloud::Billing::V20180709::DescribeDosageCosDetailByDateRequest

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

Overview

DescribeDosageCosDetailByDate请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(startdate = nil, enddate = nil, bucketname = nil) ⇒ DescribeDosageCosDetailByDateRequest

Returns a new instance of DescribeDosageCosDetailByDateRequest.



9020
9021
9022
9023
9024
# File 'lib/v20180709/models.rb', line 9020

def initialize(startdate=nil, enddate=nil, bucketname=nil)
  @StartDate = startdate
  @EndDate = enddate
  @BucketName = bucketname
end

Instance Attribute Details

#BucketNameObject

Parameters:

  • StartDate:

    查询用量开始时间,格式为yyyy-mm-dd,例如:2020-09-01

  • EndDate:

    查询用量结束时间,格式为yyyy-mm-dd,例如:2020-09-30(与开始时间同月,不支持跨月查询)

  • BucketName:

    COS 存储桶名称,可通过Get Service 接口是用来获取请求者名下的所有存储空间列表(Bucket list)cloud.tencent.com/document/product/436/8291



9018
9019
9020
# File 'lib/v20180709/models.rb', line 9018

def BucketName
  @BucketName
end

#EndDateObject

Parameters:

  • StartDate:

    查询用量开始时间,格式为yyyy-mm-dd,例如:2020-09-01

  • EndDate:

    查询用量结束时间,格式为yyyy-mm-dd,例如:2020-09-30(与开始时间同月,不支持跨月查询)

  • BucketName:

    COS 存储桶名称,可通过Get Service 接口是用来获取请求者名下的所有存储空间列表(Bucket list)cloud.tencent.com/document/product/436/8291



9018
9019
9020
# File 'lib/v20180709/models.rb', line 9018

def EndDate
  @EndDate
end

#StartDateObject

Parameters:

  • StartDate:

    查询用量开始时间,格式为yyyy-mm-dd,例如:2020-09-01

  • EndDate:

    查询用量结束时间,格式为yyyy-mm-dd,例如:2020-09-30(与开始时间同月,不支持跨月查询)

  • BucketName:

    COS 存储桶名称,可通过Get Service 接口是用来获取请求者名下的所有存储空间列表(Bucket list)cloud.tencent.com/document/product/436/8291



9018
9019
9020
# File 'lib/v20180709/models.rb', line 9018

def StartDate
  @StartDate
end

Instance Method Details

#deserialize(params) ⇒ Object



9026
9027
9028
9029
9030
# File 'lib/v20180709/models.rb', line 9026

def deserialize(params)
  @StartDate = params['StartDate']
  @EndDate = params['EndDate']
  @BucketName = params['BucketName']
end