- help_text:
    brief: Stop a Cloud TPU.
    description: |
      Stop a Cloud TPU.
    examples: |
      The following command stops a TPU with ID `my-tpu` in zone `us-central1-b`:

        $ {command} my-tpu --zone=us-central1-b

  request:
    collection: tpu.projects.locations.nodes
    api_version: v1
    method: stop
    modify_request_hooks:
    - googlecloudsdk.command_lib.compute.tpus.util:StopRequestHook

  async:
    collection: tpu.projects.locations.operations
    api_version: v1
    extract_resource_result: false

  arguments:
    resource:
      help_text: The Cloud TPU to stop.
      spec: !REF googlecloudsdk.command_lib.compute.tpus.resources:tpu
