
    
                     r   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                  j                         G d d	ej                               Z ej                  ej                  j                   ej                  j"                         G d
 dej                               Zy)z)gcloud dns project-info describe command.    )absolute_import)division)unicode_literals)util)base)	resourcesc                   &    e Zd ZdZed        Zd Zy)Describe&  View Cloud DNS related information for a project.

  This command displays Cloud DNS related information for your project including
  quotas for various resources and operations.

  ## EXAMPLES

  To display Cloud DNS related information for your project, run:

    $ {command} my_project_id
  c                 ,    | j                  ddd       y Ndns_project
PROJECT_IDz=The identifier for the project you want DNS related info for.)metavarhelpadd_argumentparsers    (lib/surface/dns/project_info/describe.pyArgszDescribe.Args)       
|L  N    c                     t        j                  d      }t        j                  j	                  |j
                  d      }|j                  j                  |j                  j                  |j                              S )Nv1dns.projects
collectionproject)r   GetApiClientr   REGISTRYParser   projectsGetMESSAGES_MODULEDnsProjectsGetRequestr    )selfargsdnsproject_refs       r   RunzDescribe.Run/   ss    


D
!C$$**^ + 5K <<11'' 	2 	)* *r   N__name__
__module____qualname____doc__staticmethodr   r,    r   r   r
   r
      s"    
 N N
*r   r
   c                   &    e Zd ZdZed        Zd Zy)DescribeBetar   c                 ,    | j                  ddd       y r   r   r   s    r   r   zDescribeBeta.ArgsG   r   r   c                 P   t        j                  | j                               }t        j                  |      }t        j                  |      j                  |j                  d      }|j                  j                  |j                  j                  |j                              S )Nr   r   r   )r   GetApiFromTrackReleaseTrackr!   GetRegistryr#   r   r$   r%   r&   r'   r    )r(   r)   api_versionr*   r+   s        r   r,   zDescribeBeta.RunM   s    &&t'8'8':;K


K
(C"";/55^ 6 5K <<11'' 	2 	)* *r   Nr-   r3   r   r   r5   r5   9   s"    
 N N
*r   r5   N)r1   
__future__r   r   r   googlecloudsdk.api_lib.dnsr   googlecloudsdk.callioper   googlecloudsdk.corer   ReleaseTracksr9   GADescribeCommandr
   BETAALPHAr5   r3   r   r   <module>rE      s     0 &  ' + ( ) D%%(()*t## * **: D%%**D,=,=,C,CD*4'' * E*r   