Class: TencentCloud::Ckafka::V20190819::CosParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::CosParam
- Defined in:
- lib/v20190819/models.rb
Overview
Cos Datahub 任务接入参数
Instance Attribute Summary collapse
- #AggregateBatchSize ⇒ Object
- #AggregateInterval ⇒ Object
- #BucketName ⇒ Object
- #DirectoryTimeFormat ⇒ Object
- #FormatOutputType ⇒ Object
- #ObjectKey ⇒ Object
- #ObjectKeyPrefix ⇒ Object
- #Region ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bucketname = nil, region = nil, objectkey = nil, aggregatebatchsize = nil, aggregateinterval = nil, formatoutputtype = nil, objectkeyprefix = nil, directorytimeformat = nil) ⇒ CosParam
constructor
A new instance of CosParam.
Constructor Details
#initialize(bucketname = nil, region = nil, objectkey = nil, aggregatebatchsize = nil, aggregateinterval = nil, formatoutputtype = nil, objectkeyprefix = nil, directorytimeformat = nil) ⇒ CosParam
Returns a new instance of CosParam.
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 |
# File 'lib/v20190819/models.rb', line 1334 def initialize(bucketname=nil, region=nil, objectkey=nil, aggregatebatchsize=nil, aggregateinterval=nil, formatoutputtype=nil, objectkeyprefix=nil, directorytimeformat=nil) @BucketName = bucketname @Region = region @ObjectKey = objectkey @AggregateBatchSize = aggregatebatchsize @AggregateInterval = aggregateinterval @FormatOutputType = formatoutputtype @ObjectKeyPrefix = objectkeyprefix @DirectoryTimeFormat = directorytimeformat end |
Instance Attribute Details
#AggregateBatchSize ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def AggregateBatchSize @AggregateBatchSize end |
#AggregateInterval ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def AggregateInterval @AggregateInterval end |
#BucketName ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def BucketName @BucketName end |
#DirectoryTimeFormat ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def DirectoryTimeFormat @DirectoryTimeFormat end |
#FormatOutputType ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def FormatOutputType @FormatOutputType end |
#ObjectKey ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def ObjectKey @ObjectKey end |
#ObjectKeyPrefix ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def ObjectKeyPrefix @ObjectKeyPrefix end |
#Region ⇒ Object
1332 1333 1334 |
# File 'lib/v20190819/models.rb', line 1332 def Region @Region end |
Instance Method Details
#deserialize(params) ⇒ Object
1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 |
# File 'lib/v20190819/models.rb', line 1345 def deserialize(params) @BucketName = params['BucketName'] @Region = params['Region'] @ObjectKey = params['ObjectKey'] @AggregateBatchSize = params['AggregateBatchSize'] @AggregateInterval = params['AggregateInterval'] @FormatOutputType = params['FormatOutputType'] @ObjectKeyPrefix = params['ObjectKeyPrefix'] @DirectoryTimeFormat = params['DirectoryTimeFormat'] end |