
                             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d	Z	ej                   G d
 dej                               Ze	e_        y)z#'logging buckets describe' command.    )absolute_import)division)unicode_literals)util)basez4
        Displays information about a location.
    zU
     To describe a location in a project, run:

        $ {command} my-location
    )DESCRIPTIONEXAMPLESc                   &    e Zd ZdZed        Zd Zy)Describez%Display information about a location.c                 V    | j                  dd       t        j                  | d       y)z Register flags for this command.LOCATION_IDzId of the location to describe.)helpzlocation to describeN)add_argumentr   AddParentArgs)parsers    )lib/surface/logging/locations/describe.pyArgszDescribe.Args*   s)     ,MNv56    c           	         t        j                         j                  j                  t        j                         j                  t        j                  t        j                  |      d|j                                    S )zThis is what gets called when the user runs this command.

    Args:
      args: an argparse namespace. All the arguments that were provided to this
        command invocation.

    Returns:
      The specified location
    	locations)name)	r   	GetClientprojects_locationsGetGetMessages"LoggingProjectsLocationsGetRequestCreateResourceNameGetParentFromArgsr   )selfargss     r   RunzDescribe.Run0   sj     >>..22==((&&t,k4;K;KM 	> 	NO Or   N)__name__
__module____qualname____doc__staticmethodr   r!    r   r   r   r   &   s    -7 7
Or   r   N)r%   
__future__r   r   r   googlecloudsdk.api_lib.loggingr   googlecloudsdk.callioper   DETAILED_HELPUniverseCompatibleDescribeCommandr   detailed_helpr'   r   r   <module>r/      s^    * &  ' / (		 Ot## O O2 ' r   