
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ej                   ej                  ej                  j                         G d d	ej                                      Zy
)zLImplementation of gcloud Procurement consumer entitlements describe command.    )absolute_import)division)unicode_literals)apis)base)resource_argsc                   &    e Zd ZdZed        Zd Zy)Describez:Returns the Entitlement object resulting from the Get API.c                 0    t        j                  | d       y)zrRegister flags for this command.

    Args:
      parser: argparse.ArgumentParser to register arguments with.
    zEntitlement to describe.N)r   AddEntitlementResourceArg)parsers    Blib/surface/commerce_procurement/consumer/entitlements/describe.pyArgszDescribe.Args   s     ++F4NO    c                     |j                   j                  j                         }t        j                  j                  |j                               S )zRuns the command.

    Args:
      args: The arguments that were provided to this command invocation.

    Returns:
      An Entitlement message.
    )CONCEPTSentitlementParser   EntitlementsGetRelativeName)selfargsentitlement_refs      r   RunzDescribe.Run(   s<     mm//557O  !=!=!?@@r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r
   r
      s"     CP P
Ar   r
   N)r   
__future__r   r   r   +googlecloudsdk.api_lib.commerce_procurementr   googlecloudsdk.callioper   /googlecloudsdk.command_lib.commerce_procurementr   HiddenReleaseTracksReleaseTrackALPHADescribeCommandr
   r!   r   r   <module>r+      sf    S &  ' < ( I D%%++,At## A - Ar   