| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/logging/buckets/__pycache__/ |
Upload File : |
�
�� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddd �Z ej
G d
� dej � � � � Ze e_
dS )
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 �. � e Zd ZdZed� � � Zd� ZdS )�Describez#Display information about a bucket.c � � | � dd�� � t j | d� � t j | dd� � dS )z Register flags for this command.� BUCKET_IDz!The id of the bucket to describe.)�helpzbucket to describeTzLocation of the bucket.N)�add_argumentr �
AddParentArgs�AddBucketLocationArg)�parsers �'lib/surface/logging/buckets/describe.py�Argsz
Describe.Args) sN � � ����*M��N�N�N���v�3�4�4�4���f�d�,E�F�F�F�F�F� c � � t j � � j � t j � � � t j t j |� � d|j � � �� � � � S )z�This 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 �RunzDescribe.Run0 sn � � �>���6�:�:�����D�D��(��.�t�4�4�i��� � � E� !� !�"� "� "r N)�__name__�
__module__�__qualname__�__doc__�staticmethodr r"