
                             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)	Describez0Show detailed billing information for a project.a            This command shows billing info for a project, given its ID.

          This call can fail for the following reasons:

          * The project specified does not exist.
          * The active user does not have permission to access the given
            project.
          z          To see detailed billing information for a project `my-project`, run:

              $ {command} my-project
          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   GetProjectIdArgumentAddToParser)parsers    (lib/surface/billing/projects/describe.pyArgszDescribe.Args4   s    	 ,,V4    c                     t        j                         }t        j                  |j                        }|j                  |      S r   )r   ProjectsClientr	   ParseProject
project_idGet)selfargsclientproject_refs       r   RunzDescribe.Run8   s3    **,F$$T__5K::k""r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r   r      s4    8
-, 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   