Class: TencentCloud::Ckafka::V20190819::CreateConsumerRequest

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

Overview

CreateConsumer请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, groupname = nil, topicname = nil, topicnamelist = nil) ⇒ CreateConsumerRequest

Returns a new instance of CreateConsumerRequest.



1699
1700
1701
1702
1703
1704
# File 'lib/v20190819/models.rb', line 1699

def initialize(instanceid=nil, groupname=nil, topicname=nil, topicnamelist=nil)
  @InstanceId = instanceid
  @GroupName = groupname
  @TopicName = topicname
  @TopicNameList = topicnamelist
end

Instance Attribute Details

#GroupNameObject

Parameters:

  • ckafka集群实例Id,可通过DescribeInstances接口获取

  • 消费分组名称

  • 主题名,TopicName、TopicNameList 需要显示指定一个存在的主题名

  • 主题名列表



1697
1698
1699
# File 'lib/v20190819/models.rb', line 1697

def GroupName
  @GroupName
end

#InstanceIdObject

Parameters:

  • ckafka集群实例Id,可通过DescribeInstances接口获取

  • 消费分组名称

  • 主题名,TopicName、TopicNameList 需要显示指定一个存在的主题名

  • 主题名列表



1697
1698
1699
# File 'lib/v20190819/models.rb', line 1697

def InstanceId
  @InstanceId
end

#TopicNameObject

Parameters:

  • ckafka集群实例Id,可通过DescribeInstances接口获取

  • 消费分组名称

  • 主题名,TopicName、TopicNameList 需要显示指定一个存在的主题名

  • 主题名列表



1697
1698
1699
# File 'lib/v20190819/models.rb', line 1697

def TopicName
  @TopicName
end

#TopicNameListObject

Parameters:

  • ckafka集群实例Id,可通过DescribeInstances接口获取

  • 消费分组名称

  • 主题名,TopicName、TopicNameList 需要显示指定一个存在的主题名

  • 主题名列表



1697
1698
1699
# File 'lib/v20190819/models.rb', line 1697

def TopicNameList
  @TopicNameList
end

Instance Method Details

#deserialize(params) ⇒ Object



1706
1707
1708
1709
1710
1711
# File 'lib/v20190819/models.rb', line 1706

def deserialize(params)
  @InstanceId = params['InstanceId']
  @GroupName = params['GroupName']
  @TopicName = params['TopicName']
  @TopicNameList = params['TopicNameList']
end