
    P	                        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 d	d
dZ ej                  ej                   j"                        ej$                  ej&                   G d dej(                                             Z ej                  ej                   j,                        ej$                   G d dej(                                      Zy)z!Command to describe the location.    )absolute_import)division)unicode_literals)	locations)utils)base)flagsz{description}a           To describe a specific design center location with the name `my-location` in project `my-project`, run:

          $ {command} my-location --project=my-project

        Or run:

          $ {command} projects/my-project/locations/my-location
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)
DescribeGA"Describe a Design Center location.c                 .    t        j                  |        y Nr	   AddDescribeLocationFlagsparsers    /lib/surface/design_center/locations/describe.pyArgszDescribeGA.Args0       	""6*    c                     t        j                  t        j                  j                        }t        j                  |      }|j                  |j                               S zRun the describe command.)release_track)location)	apisLocationsClientr   ReleaseTrackGAapi_lib_utilsGetLocationRefDescribeRelativeNameselfargsclientlo_refs       r   RunzDescribeGA.Run4   sH    !!0A0A0D0DEF))$/F??F$7$7$9?::r   N	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r*    r   r   r   r   (   s#     + -+ +;r   r   c                   *    e Zd ZdZeZed        Zd Zy)DescribeAlphar   c                 .    t        j                  |        y r   r   r   s    r   r   zDescribeAlpha.ArgsB   r   r   c                     t        j                  t        j                  j                        }t        j                  |      }|j                  |j                               S r   )	r   r   r   r   ALPHAr!   r"   r#   r$   r%   s       r   r*   zDescribeAlpha.RunF   sH    !!0A0A0G0GHF))$/F??F$7$7$9?::r   Nr+   r3   r   r   r5   r5   ;   s#     + -+ +;r   r5   N)r/   
__future__r   r   r   $googlecloudsdk.api_lib.design_centerr   r   r   r!   googlecloudsdk.callioper   (googlecloudsdk.command_lib.design_centerr	   r0   ReleaseTracksr   r    UniverseCompatibleHiddenDescribeCommandr   r8   r5   r3   r   r   <module>rA      s    ( &  ' B G ( : # D%%(();%% ;   *;  D%%++,;D(( ;  -;r   