HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/lib/google-cloud-sdk/lib/surface/logging/links/__pycache__/describe.cpython-312.pyc
�

���	���dZddlmZddlmZddlmZddlmZddlmZddlm	Z	dd	d
�Z
Gd�de	j�Ze
e_
y
)z#'logging buckets describe' command.�)�absolute_import)�division)�unicode_literals)�util)�arg_parsers)�basez9
        Display information about a linked dataset.
    z|
     To describe a linked dataset in a project, run:

        $ {command} my-link --bucket=my-bucket --location=global
    )�DESCRIPTION�EXAMPLESc�&�eZdZdZed��Zd�Zy)�Describez+Display information about a linked dataset.c���|jdd��tj|d�tj|dd�|jddt	j
dd	�d
��y)
z Register flags for this command.�LINK_IDz%Id of the linked dataset to describe.)�helpzlinked dataset to describeTzLocation of the bucket.z--bucketz.+zmust be non-emptyzID of bucket)�required�typerN)�add_argumentr�
AddParentArgs�AddBucketLocationArgr�RegexpValidator)�parsers �%lib/surface/logging/links/describe.py�Argsz
Describe.Args(si�����	�(O��P����v�;�<����f�d�,E�F�
�����
�
(�
(��0C�
D�
�	��c�B�tj�jjtj�jtjtjtj|�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 linked dataset
    �buckets�links)�name)
r�	GetClient� projects_locations_buckets_links�Get�GetMessages�.LoggingProjectsLocationsBucketsLinksGetRequest�CreateResourceName�GetBucketLocationFromArgs�bucketr)�self�argss  r�RunzDescribe.Run5s���>�>��<�<�@�@�����I�I��(�(��'�'��2�2�4�8�)�T�[�[�������	J�	
�
�
rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr(�rrrr%s��3��
��
�rrN)r,�
__future__rrr�googlecloudsdk.api_lib.loggingr�googlecloudsdk.callioperr�
DETAILED_HELP�DescribeCommandr�
detailed_helpr.rr�<module>r5sJ��*�&��'�/�/�(���		�
�$�t�#�#�$�N'��r