Class: TencentCloud::Ams::V20200608::FileOutput

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

Overview

Cos FileOutput

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket = nil, region = nil, objectprefix = nil) ⇒ FileOutput

Returns a new instance of FileOutput.



880
881
882
883
884
# File 'lib/v20200608/models.rb', line 880

def initialize(bucket=nil, region=nil, objectprefix=nil)
  @Bucket = bucket
  @Region = region
  @ObjectPrefix = objectprefix
end

Instance Attribute Details

#BucketObject

Parameters:

  • Bucket:

    存储的Bucket

  • Region:

    Cos Region

  • ObjectPrefix:

    对象前缀



878
879
880
# File 'lib/v20200608/models.rb', line 878

def Bucket
  @Bucket
end

#ObjectPrefixObject

Parameters:

  • Bucket:

    存储的Bucket

  • Region:

    Cos Region

  • ObjectPrefix:

    对象前缀



878
879
880
# File 'lib/v20200608/models.rb', line 878

def ObjectPrefix
  @ObjectPrefix
end

#RegionObject

Parameters:

  • Bucket:

    存储的Bucket

  • Region:

    Cos Region

  • ObjectPrefix:

    对象前缀



878
879
880
# File 'lib/v20200608/models.rb', line 878

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



886
887
888
889
890
# File 'lib/v20200608/models.rb', line 886

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