| 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/views/__pycache__/ |
Upload File : |
�
��* � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd d
�Z
e j G d� de j � � � � Z
e
e
_ d
S )z#'logging buckets describe' command.� )�absolute_import)�division)�unicode_literals)�util)�arg_parsers)�basez4
Displays information about a log view.
zr
To describe a view in a project, run:
$ {command} my-view --bucket=my-bucket --location=global
)�DESCRIPTION�EXAMPLESc �. � e Zd ZdZed� � � Zd� ZdS )�Describez!Display information about a view.c �� � | � dd�� � t j | d� � t j | dd� � | � ddt j dd � � d
�� � dS )
z Register flags for this command.�VIEW_IDzId of the view to describe.)�helpzview to describeTzLocation of the bucket.z--bucketz.+zmust be non-emptyzID of bucket)�required�typer N)�add_argumentr �
AddParentArgs�AddBucketLocationArgr �RegexpValidator)�parsers �%lib/surface/logging/views/describe.py�Argsz
Describe.Args) s� � � ��� �(E��F�F�F���v�1�2�2�2���f�d�,E�F�F�F�
�����
�
(��0C�
D�
D�
� � � � � � � c �* � t j � � j � t j � � � t j t j t j |� � d|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 view
�buckets�views)�name)
r � GetClient� projects_locations_buckets_views�Get�GetMessages�.LoggingProjectsLocationsBucketsViewsGetRequest�CreateResourceName�GetBucketLocationFromArgs�bucketr )�self�argss r �RunzDescribe.Run5 s� � � �>���<�@�@�����I�I��(��'��2�4�8�8�)��K�!� !�")�4�<�9� 9� J� :� :�;� ;� ;r N)�__name__�
__module__�__qualname__�__doc__�staticmethodr r( � r r r r % sB � � � � � �)�)�� � � �<� �;� ;� ;� ;� ;r r N)r, �
__future__r r r �googlecloudsdk.api_lib.loggingr �googlecloudsdk.callioper r �
DETAILED_HELP�UniverseCompatible�DescribeCommandr �
detailed_helpr. r r �<module>r6 s� �� *� )� &� &� &� &� &� &� � � � � � � '� '� '� '� '� '� /� /� /� /� /� /� /� /� /� /� /� /� (� (� (� (� (� (��� � �
� ��;� ;� ;� ;� ;�t�#� ;� ;� ��;�B '�� � � r