- release_tracks: [ALPHA, GA] help_text: brief: | Describe an Edge Container zone. description: | Describe an Edge Container zone. examples: | To display the metadata for the zone `us-central1-edge-operator-a`, run: $ {command} us-central1-edge-operator-a arguments: resource: spec: !REF googlecloudsdk.command_lib.edge_cloud.container.resources:zone is_positional: true help_text: | The zone name. request: collection: edgecontainer.projects.locations ALPHA: api_version: v1alpha GA: api_version: v1 # Because the resource argument is a zone, the default list method will # attempt to list '/projects/{project}/locations/{zone}/locations', whereas # the GetLocation API should be called with a region (and then the zone # extracted from the response). This hook replaces 'locations/{zone}' with # 'locations/{region}'. modify_request_hooks: - googlecloudsdk.command_lib.edge_cloud.container.locations:ReplaceResourceZoneWithRegion response: modify_response_hooks: - googlecloudsdk.command_lib.edge_cloud.container.locations:ExtractZoneFromLocation