Class: TencentCloud::Ams::V20200608::BucketInfo

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

Overview

文件桶信息 参考腾讯云存储相关说明 cloud.tencent.com/document/product/436/44352

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket = nil, region = nil, object = nil) ⇒ BucketInfo

Returns a new instance of BucketInfo.



334
335
336
337
338
# File 'lib/v20200608/models.rb', line 334

def initialize(bucket=nil, region=nil, object=nil)
  @Bucket = bucket
  @Region = region
  @Object = object
end

Instance Attribute Details

#BucketObject

Parameters:

  • Bucket:

    腾讯云对象存储,存储桶名称

  • Region:

    地域

  • Object:

    对象Key



332
333
334
# File 'lib/v20200608/models.rb', line 332

def Bucket
  @Bucket
end

#ObjectObject

Parameters:

  • Bucket:

    腾讯云对象存储,存储桶名称

  • Region:

    地域

  • Object:

    对象Key



332
333
334
# File 'lib/v20200608/models.rb', line 332

def Object
  @Object
end

#RegionObject

Parameters:

  • Bucket:

    腾讯云对象存储,存储桶名称

  • Region:

    地域

  • Object:

    对象Key



332
333
334
# File 'lib/v20200608/models.rb', line 332

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



340
341
342
343
344
# File 'lib/v20200608/models.rb', line 340

def deserialize(params)
  @Bucket = params['Bucket']
  @Region = params['Region']
  @Object = params['Object']
end