Class: TencentCloud::Gs::V20191118::COSOptions
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gs::V20191118::COSOptions
- Defined in:
- lib/v20191118/models.rb
Overview
COS协议参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bucket = nil, region = nil) ⇒ COSOptions
constructor
A new instance of COSOptions.
Constructor Details
#initialize(bucket = nil, region = nil) ⇒ COSOptions
Returns a new instance of COSOptions.
741 742 743 744 |
# File 'lib/v20191118/models.rb', line 741 def initialize(bucket=nil, region=nil) @Bucket = bucket @Region = region end |
Instance Attribute Details
#Bucket ⇒ Object
739 740 741 |
# File 'lib/v20191118/models.rb', line 739 def Bucket @Bucket end |
#Region ⇒ Object
739 740 741 |
# File 'lib/v20191118/models.rb', line 739 def Region @Region end |
Instance Method Details
#deserialize(params) ⇒ Object
746 747 748 749 |
# File 'lib/v20191118/models.rb', line 746 def deserialize(params) @Bucket = params['Bucket'] @Region = params['Region'] end |