Class: TencentCloud::Mps::V20190612::AigcStoreCosParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AigcStoreCosParam
- Defined in:
- lib/v20190612/models.rb
Overview
Aigc结果文件上传COS时,需传入的信息。 需创建并授权LVB_QCSRole角色。
Instance Attribute Summary collapse
-
#CosBucketName ⇒ Object
可选。 示例值:my_file.
-
#CosBucketPath ⇒ Object
可选。 示例值:my_file.
-
#CosBucketRegion ⇒ Object
可选。 示例值:my_file.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cosbucketname = nil, cosbucketregion = nil, cosbucketpath = nil) ⇒ AigcStoreCosParam
constructor
A new instance of AigcStoreCosParam.
Constructor Details
#initialize(cosbucketname = nil, cosbucketregion = nil, cosbucketpath = nil) ⇒ AigcStoreCosParam
Returns a new instance of AigcStoreCosParam.
4991 4992 4993 4994 4995 |
# File 'lib/v20190612/models.rb', line 4991 def initialize(cosbucketname=nil, cosbucketregion=nil, cosbucketpath=nil) @CosBucketName = cosbucketname @CosBucketRegion = cosbucketregion @CosBucketPath = cosbucketpath end |
Instance Attribute Details
#CosBucketName ⇒ Object
可选。 示例值:my_file
4989 4990 4991 |
# File 'lib/v20190612/models.rb', line 4989 def CosBucketName @CosBucketName end |
#CosBucketPath ⇒ Object
可选。 示例值:my_file
4989 4990 4991 |
# File 'lib/v20190612/models.rb', line 4989 def CosBucketPath @CosBucketPath end |
#CosBucketRegion ⇒ Object
可选。 示例值:my_file
4989 4990 4991 |
# File 'lib/v20190612/models.rb', line 4989 def CosBucketRegion @CosBucketRegion end |
Instance Method Details
#deserialize(params) ⇒ Object
4997 4998 4999 5000 5001 |
# File 'lib/v20190612/models.rb', line 4997 def deserialize(params) @CosBucketName = params['CosBucketName'] @CosBucketRegion = params['CosBucketRegion'] @CosBucketPath = params['CosBucketPath'] end |