
                             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
 ddl	mZ  G d	 d
ej                        Zy)z1Command to show metadata for a specified project.    )absolute_import)division)unicode_literals)billing_client)base)flags)utilsc                   2    e Zd ZdZddddZed        Zd Zy)	Describez$Show metadata for a billing account.a            This command shows info for a billing account, given its ID.

          This call can fail for the following reasons:

          * The account specified does not exist.
          * The active user does not have permission to access the given
            account.
          z          To see details for billing account `0X0X0X-0X0X0X-0X0X0X`, run:

              $ {command} 0X0X0X-0X0X0X-0X0X0X
          z          This command uses the *cloudbilling/v1* API. The full documentation
          for this API can be found at:
          https://cloud.google.com/billing/v1/getting-started
          )DESCRIPTIONEXAMPLESzAPI REFERENCEc                 J    t        j                         j                  |        y N)r   GetAccountIdArgumentAddToParser)parsers    (lib/surface/billing/accounts/describe.pyArgszDescribe.Args5   s    	 ,,V4    c                     t        j                         }t        j                  |j                        }|j                  |      S r   )r   AccountsClientr	   ParseAccount
account_idGet)selfargsclientaccount_refs       r   RunzDescribe.Run9   s3    **,F$$T__5K::k""r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r   r      s4    ,
-, 5 5#r   r   N)r#   
__future__r   r   r   googlecloudsdk.api_lib.billingr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.billingr   r	   DescribeCommandr   r&   r   r   <module>r,      s1     8 &  ' 9 ( 4 4 #t##  #r   