- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief: Show details of a Privileged Access Manager (PAM) entitlement.
    description: Show details of a Privileged Access Manager (PAM) entitlement.
    examples: |
      The following command describes an entitlement with a name of `sample-entitlement`, in a
      project named `sample-project`, and in location `global`:

      $ {command} sample-entitlement --project=sample-project --location=global

      The following command describes an entitlement with a name of `sample-entitlement`, in a folder
      with ID ``FOLDER_ID'', and in location `global`:

      $ {command} sample-entitlement --folder=FOLDER_ID --location=global

      The following command describes an entitlement with a name of `sample-entitlement`, in an
      organization with ID ``ORGANIZATION_ID'', and in location `global`:

      $ {command} sample-entitlement --organization=ORGANIZATION_ID --location=global

  request:
    ALPHA:
      api_version: v1alpha
    BETA:
      api_version: v1beta
    GA:
      api_version: v1
    collection:
    - privilegedaccessmanager.projects.locations.entitlements
    - privilegedaccessmanager.folders.locations.entitlements
    - privilegedaccessmanager.organizations.locations.entitlements

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.pam.resources:entitlement
      help_text: |
        Name of the entitlement to describe.
