Class: TencentCloud::Oceanus::V20190422::ResourceLocParam

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

Overview

资源参数描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket = nil, path = nil, region = nil) ⇒ ResourceLocParam

Returns a new instance of ResourceLocParam.



4759
4760
4761
4762
4763
# File 'lib/v20190422/models.rb', line 4759

def initialize(bucket=nil, path=nil, region=nil)
  @Bucket = bucket
  @Path = path
  @Region = region
end

Instance Attribute Details

#BucketObject

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

Parameters:

  • Bucket:

    资源bucket

  • Path:

    资源路径

  • Region:

    资源所在地域,如果不填,则使用Resource的Region



4757
4758
4759
# File 'lib/v20190422/models.rb', line 4757

def Bucket
  @Bucket
end

#PathObject

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

Parameters:

  • Bucket:

    资源bucket

  • Path:

    资源路径

  • Region:

    资源所在地域,如果不填,则使用Resource的Region



4757
4758
4759
# File 'lib/v20190422/models.rb', line 4757

def Path
  @Path
end

#RegionObject

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

Parameters:

  • Bucket:

    资源bucket

  • Path:

    资源路径

  • Region:

    资源所在地域,如果不填,则使用Resource的Region



4757
4758
4759
# File 'lib/v20190422/models.rb', line 4757

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



4765
4766
4767
4768
4769
# File 'lib/v20190422/models.rb', line 4765

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