File: //snap/google-cloud-cli/current/lib/surface/dataplex/content/get_iam_policy.yaml
- release_tracks: [ALPHA, GA]
help_text:
brief: |
Retrieve the IAM policy for a Dataplex Content.
description: |
Get a Dataplex Content Iam Policy based on project_id, location, lake_id, and contents_id.
examples: |
To get the IAM policy of a Dataplex Content `test-content` in project `test-project` under loaction `us-central1` inside lake `test-lake`, run:
$ {command} test-content --project=test-project --location=us-central1 --lake=test-lake
request:
collection: dataplex.projects.locations.lakes.contentitems
arguments:
resource:
help_text: |
Arguments and flags that define the Dataplex contents IAM policy you want to retrieve.
spec: !REF googlecloudsdk.command_lib.dataplex.resources:content