40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
- release_tracks: [ALPHA, GA]
|
|
help_text:
|
|
brief: |
|
|
List Dataplex lake resources under a project.
|
|
description: |
|
|
List all Dataplex lake resource under a specific project and location.
|
|
examples: |
|
|
To list all Dataplex lake resources in location `us-central`, run:
|
|
|
|
$ {command} --project=test-project --location=us-central1
|
|
|
|
To list all Dataplex lakes in all locations, run:
|
|
|
|
$ {command} --project=test-project --location=-
|
|
|
|
request:
|
|
ALPHA:
|
|
api_version: v1
|
|
collection: dataplex.projects.locations.lakes
|
|
arguments:
|
|
resource:
|
|
help_text: |
|
|
Arguments and flags that define the Dataplex lake you want to list.
|
|
spec: !REF googlecloudsdk.command_lib.dataplex.resources:location
|
|
|
|
response:
|
|
id_field: name
|
|
output:
|
|
format: |
|
|
table(
|
|
name.basename():label=NAME,
|
|
displayName:label=DISPLAY_NAME,
|
|
state:label=LAKE_STATUS,
|
|
metastoreStatus.state:label=METASTORE_STATUS,
|
|
metastore.service.basename():label=METASTORE,
|
|
securityStatus.state:label=SECURITY_STATUS,
|
|
assetStatus.activeAssets:label=ACTIVE_ASSETS,
|
|
labels:label=LABELS
|
|
)
|