Class: TencentCloud::Ckafka::V20190819::CosParam

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

Overview

Cos Datahub 任务接入参数

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AggregateBatchSizeObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def AggregateBatchSize
  @AggregateBatchSize
end

#AggregateIntervalObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def AggregateInterval
  @AggregateInterval
end

#BucketNameObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def BucketName
  @BucketName
end

#DirectoryTimeFormatObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def DirectoryTimeFormat
  @DirectoryTimeFormat
end

#FormatOutputTypeObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def FormatOutputType
  @FormatOutputType
end

#ObjectKeyObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def ObjectKey
  @ObjectKey
end

#ObjectKeyPrefixObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



1332
1333
1334
# File 'lib/v20190819/models.rb', line 1332

def ObjectKeyPrefix
  @ObjectKeyPrefix
end

#RegionObject

Parameters:

  • BucketName:

    cos 存储桶名称

  • Region:

    地域代码

  • ObjectKey:

    对象名称

  • AggregateBatchSize:

    汇聚消息量的大小(单位:MB)

  • AggregateInterval:

    汇聚的时间间隔(单位:小时)

  • FormatOutputType:

    消息汇聚后的文件格式(支持csv, json)

  • ObjectKeyPrefix:

    转储的对象目录前缀

  • DirectoryTimeFormat:

    根据strptime 时间格式化的分区格式



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