38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
- release_tracks: [ALPHA, GA]
|
|
help_text:
|
|
brief: |
|
|
List Dataplex asset resources.
|
|
description: |
|
|
List Dataplex asset resource under a specific project. location, lake, and zone.
|
|
examples: |
|
|
To list all Dataplex asset resources within zone `test-zone` in lake `test-lake` in location
|
|
`us-central`, run:
|
|
|
|
$ {command} --location=us-central1 --lake=test-lake --zone=test-zone
|
|
request:
|
|
ALPHA:
|
|
api_version: v1
|
|
collection: dataplex.projects.locations.lakes.zones.assets
|
|
arguments:
|
|
resource:
|
|
help_text: |
|
|
Arguments and flags that define the Dataplex asset you want to list.
|
|
spec: !REF googlecloudsdk.command_lib.dataplex.resources:zone
|
|
|
|
response:
|
|
id_field: name
|
|
output:
|
|
format: |
|
|
table(
|
|
name.basename():label=NAME,
|
|
displayName:label=DISPLAY_NAME,
|
|
state:label=ASSET_STATUS,
|
|
discoverySpec.enabled:label=DISCOVERY_ENABLED,
|
|
discoveryStatus.state:label=DISCOVERY_STATUS,
|
|
resourceSpec.name:label=RESOURCE_NAME,
|
|
resourceSpec.type:label=RESOURCE_TYPE,
|
|
resourceStatus.state:label=RESOURCE_STATE,
|
|
securityStatus.state:label=SECURITY_STATUS,
|
|
labels:label=LABELS
|
|
)
|