Class: TencentCloud::Ckafka::V20190819::DescribeConsumerGroupRequest

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

Overview

DescribeConsumerGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, groupname = nil, topicname = nil, limit = nil, offset = nil) ⇒ DescribeConsumerGroupRequest

Returns a new instance of DescribeConsumerGroupRequest.



4528
4529
4530
4531
4532
4533
4534
# File 'lib/v20190819/models.rb', line 4528

def initialize(instanceid=nil, groupname=nil, topicname=nil, limit=nil, offset=nil)
  @InstanceId = instanceid
  @GroupName = groupname
  @TopicName = topicname
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#GroupNameObject

Parameters:

  • InstanceId:

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

  • GroupName:

    用户需要查询的group名称。

  • TopicName:

    用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。

  • Limit:

    返回消费组的限制数量,最大支持50

  • Offset:

    消费组列表的起始偏移量



4526
4527
4528
# File 'lib/v20190819/models.rb', line 4526

def GroupName
  @GroupName
end

#InstanceIdObject

Parameters:

  • InstanceId:

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

  • GroupName:

    用户需要查询的group名称。

  • TopicName:

    用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。

  • Limit:

    返回消费组的限制数量,最大支持50

  • Offset:

    消费组列表的起始偏移量



4526
4527
4528
# File 'lib/v20190819/models.rb', line 4526

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • InstanceId:

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

  • GroupName:

    用户需要查询的group名称。

  • TopicName:

    用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。

  • Limit:

    返回消费组的限制数量,最大支持50

  • Offset:

    消费组列表的起始偏移量



4526
4527
4528
# File 'lib/v20190819/models.rb', line 4526

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

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

  • GroupName:

    用户需要查询的group名称。

  • TopicName:

    用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。

  • Limit:

    返回消费组的限制数量,最大支持50

  • Offset:

    消费组列表的起始偏移量



4526
4527
4528
# File 'lib/v20190819/models.rb', line 4526

def Offset
  @Offset
end

#TopicNameObject

Parameters:

  • InstanceId:

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

  • GroupName:

    用户需要查询的group名称。

  • TopicName:

    用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。

  • Limit:

    返回消费组的限制数量,最大支持50

  • Offset:

    消费组列表的起始偏移量



4526
4527
4528
# File 'lib/v20190819/models.rb', line 4526

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



4536
4537
4538
4539
4540
4541
4542
# File 'lib/v20190819/models.rb', line 4536

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