File: //snap/google-cloud-cli/current/lib/surface/pam/check_onboarding_status.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: Check Privileged Access Manager (PAM) onboarding status for a resource.
    description: Check Privileged Access Manager (PAM) onboarding status for a project/organization/folder location.
    examples: |
      The following command checks the PAM onboarding status for a project named `sample-project`
      and in location `global`:
      $ {command} --project=sample-project --location=global
      The following command checks the PAM onboarding status for a folder with ID ``FOLDER_ID'' and
      in location `global`:
      $ {command} --folder=FOLDER_ID --location=global
      The following command checks the PAM onboarding status for 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
    GA:
      api_version: v1
    method: checkOnboardingStatus
    collection:
    - privilegedaccessmanager.projects.locations
    - privilegedaccessmanager.folders.locations
    - privilegedaccessmanager.organizations.locations
  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 onboarding status is to be checked.