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

Response for ListTopics.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #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.

### #topics

    def topics() -> ::Array<::Google::Cloud::ManagedKafka::V1::Topic>

**Returns**

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

### #topics=

    def topics=(value) -> ::Array<::Google::Cloud::ManagedKafka::V1::Topic>

**Parameter**

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

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