
                              S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSS	.r	\R                   " S
 S\R                  5      5       r\	\l        g)z#'logging buckets describe' command.    )absolute_import)division)unicode_literals)util)basez1
        Display information about a bucket.
    zc
     To describe a bucket in a project, run:

        $ {command} my-bucket --location=global
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Describe%   z#Display information about a bucket.c                     U R                  SSS9  [        R                  " U S5        [        R                  " U SS5        g)z Register flags for this command.	BUCKET_IDz!The id of the bucket to describe.)helpzbucket to describeTzLocation of the bucket.N)add_argumentr   AddParentArgsAddBucketLocationArg)parsers    'lib/surface/logging/buckets/describe.pyArgsDescribe.Args)   s<     *MNv34fd,EF    c           	         [         R                  " 5       R                  R                  [         R                  " 5       R                  [         R                  " [         R                  " U5      SUR                  5      S95      $ )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 bucket.
buckets)name)	r   	GetClientprojects_locations_bucketsGetGetMessages)LoggingProjectsLocationsBucketsGetRequestCreateResourceNameGetBucketLocationFromArgsr   )selfargss     r   RunDescribe.Run0   sf     >>66::DD((..t4i  	E 	!" "r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r   r   %   s    +G G"r   r   N)r+   
__future__r   r   r   googlecloudsdk.api_lib.loggingr   googlecloudsdk.callioper   DETAILED_HELPUniverseCompatibleDescribeCommandr   detailed_helpr&   r   r   <module>r5      s[     * &  ' / (		 "t## " "6 ' r   