📁 /snap/google-cloud-cli/current/lib/surface/looker/instances/describe.yaml
- release_tracks: [ALPHA, GA]
help_text: &help_text
brief: |
Show metadata for a Looker instance.
description: |
Show metadata for a Looker instance.
This command can fail for the following reasons:
* The instance specified does not exist.
* The active account does not have permission to access the given
instance.
examples: |
To display the metadata for an instance with the name `my-looker-instance` in the default
region, run:
$ {command} my-looker-instance
To display all fields of the instance metadata, add the `--format=json` flag:
$ {command} my-looker-instance --format=json
arguments: &arguments
resource:
spec: !REF googlecloudsdk.command_lib.looker.resources:instance
help_text: |
Arguments and flags that specify the Looker instance you want
to describe.
request:
collection: looker.projects.locations.instances
ALPHA:
api_version: v1alpha2
GA:
api_version: v1
regional_endpoint_compatibility: SUPPORTED
output:
format: |
table(
name.basename():label=NAME:sort=2,
lookerUri:label=INSTANCE_URL,
lookerVersion:label=VERSION,
releaseChannel.yesno(no="No Channel").sub(RELEASE_CHANNEL_UNSPECIFIED,"No Channel").sub(RAPID,Rapid).sub(REGULAR,Regular).sub(STABLE,Stable):label=RELEASE_CHANNEL,
acceleratedSecurityPatchEnabled:label=ACCELERATED_SECURITY_PATCH_ENABLED,
platformEdition:label=EDITION,
state:label=STATUS,
createTime.date(),
updateTime.date()
)