# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::ListConsumerGroupsResponse (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::ListConsumerGroupsResponse.

Response for ListConsumerGroups.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #consumer_groups

    def consumer_groups() -> ::Array<::Google::Cloud::ManagedKafka::V1::ConsumerGroup>

**Returns**

- (::Array\<[::Google::Cloud::ManagedKafka::V1::ConsumerGroup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-ConsumerGroup)\>) --- The list of consumer group in the requested parent. The order of the consumer groups is unspecified.

### #consumer_groups=

    def consumer_groups=(value) -> ::Array<::Google::Cloud::ManagedKafka::V1::ConsumerGroup>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ManagedKafka::V1::ConsumerGroup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-ConsumerGroup)\>) --- The list of consumer group in the requested parent. The order of the consumer groups is unspecified.
**Returns**

- (::Array\<[::Google::Cloud::ManagedKafka::V1::ConsumerGroup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-ConsumerGroup)\>) --- The list of consumer group in the requested parent. The order of the consumer groups is unspecified.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
**Returns**

- (::String) --- A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.