File: //snap/google-cloud-cli/current/lib/surface/pam/settings/describe.yaml
- release_tracks: [ALPHA, BETA]
help_text:
brief: Show details of Privileged Access Manager (PAM) settings on a resource.
description: Show details of Privileged Access Manager (PAM) settings on a resource.
examples: |
The following command describes settings on a project named `sample-project`, and in location
`global`:
$ {command} --project=sample-project --location=global
The following command describes settings on a folder with ID ``FOLDER_ID'', and in location
`global`:
$ {command} --folder=FOLDER_ID --location=global
The following command describes settings on an organization with ID ``ORGANIZATION_ID'', and
in location `global`:
$ {command} --organization=ORGANIZATION_ID --location=global
request:
ALPHA:
api_version: v1alpha
BETA:
api_version: v1beta
method: getSettings
collection:
- privilegedaccessmanager.projects.locations
- privilegedaccessmanager.folders.locations
- privilegedaccessmanager.organizations.locations
modify_request_hooks:
- googlecloudsdk.command_lib.pam.util:UpdateSettingsResource
arguments:
resource:
arg_name: location
spec: !REF googlecloudsdk.command_lib.pam.resources:location
is_positional: false
help_text: |
The project/organization/folder location for which the settings are to be described.