File: //snap/google-cloud-cli/394/lib/surface/managed_kafka/topics/list.yaml
release_tracks: [GA, ALPHA, BETA]
help_text:
brief: |
List all Managed Service for Apache Kafka topics in a given cluster.
description: |
List all Managed Service for Apache Kafka topics in a given cluster.
To specify the maximum number of topics to list, use the --limit flag.
examples: |
To list all topics in a cluster named mycluster located in us-central1,
run the following:
$ {command} mycluster
--location=us-central1
request:
collection: managedkafka.projects.locations.clusters.topics
arguments:
resource:
is_positional: true
help_text: Identifies the cluster which contains all the topics to be listed.
spec: !REF googlecloudsdk.command_lib.managed_kafka.resources:cluster