# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::ConsumerTopicMetadata (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::ConsumerTopicMetadata.

Metadata for a consumer group corresponding to a specific topic.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #partitions

    def partitions() -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}

**Returns**

- (::Google::Protobuf::Map{::Integer =\> ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}) --- Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.

### #partitions=

    def partitions=(value) -> ::Google::Protobuf::Map{::Integer => ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}

**Parameter**

- **value** (::Google::Protobuf::Map{::Integer =\> ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}) --- Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
**Returns**

- (::Google::Protobuf::Map{::Integer =\> ::Google::Cloud::ManagedKafka::V1::ConsumerPartitionMetadata}) --- Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.