Class: TencentCloud::Cfs::V20190719::BucketInfo

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

Overview

对象存储桶

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, region = nil) ⇒ BucketInfo

Returns a new instance of BucketInfo.



374
375
376
377
# File 'lib/v20190719/models.rb', line 374

def initialize(name=nil, region=nil)
  @Name = name
  @Region = region
end

Instance Attribute Details

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    桶名称

  • Region:

    桶所在地域



372
373
374
# File 'lib/v20190719/models.rb', line 372

def Name
  @Name
end

#RegionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    桶名称

  • Region:

    桶所在地域



372
373
374
# File 'lib/v20190719/models.rb', line 372

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



379
380
381
382
# File 'lib/v20190719/models.rb', line 379

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