release_tracks: [ALPHA, BETA, GA]

help_text:
  brief: |
    Restarts a Managed Service for Apache Kafka connector.
  description: |
    Restarts a Managed Service for Apache Kafka connector.

  examples: |
    To restart a connector named myconnector located in us-central1,
    run the following:

      $ {command} myconnector \
          --location=us-central1 \
          --connect-cluster=mycluster

request:
  collection: managedkafka.projects.locations.connectClusters.connectors
  method: restart

arguments:
  resource:
    help_text: Identifies the connector to restart.
    spec: !REF googlecloudsdk.command_lib.managed_kafka.resources:connector
    is_positional: true
