23 lines
923 B
YAML
23 lines
923 B
YAML
- release_tracks: [ALPHA, GA]
|
|
help_text:
|
|
brief: |
|
|
Get the IAM policy for a Dataplex task resource.
|
|
description: |
|
|
Displays the IAM policy associated with a Dataplex task resource.
|
|
If formatted as JSON, the output can be edited and used as
|
|
a policy file for *set-iam-policy*. The output includes an "etag"
|
|
field identifying the version emitted and allowing detection of
|
|
concurrent policy updates.
|
|
examples: |
|
|
To print the IAM policy for Dataplex lake `test-task` within lake `test-lake` in location
|
|
`us-central1`, run:
|
|
|
|
$ {command} test-task --location=us-central1 --lake=test-lake
|
|
request:
|
|
collection: dataplex.projects.locations.lakes.tasks
|
|
arguments:
|
|
resource:
|
|
help_text: |
|
|
Arguments and flags that define the Dataplex Task IAM policy you want to retrieve.
|
|
spec: !REF googlecloudsdk.command_lib.dataplex.resources:task
|