
                             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
)zHImplementation of gcloud Procurement consumer accounts describe command.    )absolute_import)division)unicode_literals)apis)base)resource_argsc                   &    e Zd ZdZed        Zd Zy)Describez6Returns the Account 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Account to describe.N)r   AddAccountResourceArg)parsers    >lib/surface/commerce_procurement/consumer/accounts/describe.pyArgszDescribe.Args   s     ''0FG    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 Account message.
    )CONCEPTSaccountParser   AccountsGetRelativeName)selfargsaccount_refs      r   RunzDescribe.Run(   s:     --''--/K==[55788r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r
   r
      s      ?H H
9r   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+      sc    O &  ' < ( I D%%++,9t## 9 - 9r   