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: //lib/google-cloud-sdk/lib/surface/trace/sinks/__pycache__/describe.cpython-312.pyc
�

��X���dZddlmZddlmZddlmZddlmZddlmZddd	�Z	Gd
�dej�Ze	e_y)
z'trace sinks describe' command.�)�absolute_import)�division)�unicode_literals)�util)�basez0
        Displays information about a sink.
    z#/

        $ {command} my-sink
    )�DESCRIPTION�EXAMPLESc�&�eZdZdZed��Zd�Zy)�Describez"Displays information about a sink.c��|jdd��|jdd��|jjd�y)z Register flags for this command.�	sink_namez!The name of the sink to describe.)�helpz	--projectzUDescribe a sink associated with this project. This will override the default project.N)�add_argument�display_info�AddCacheUpdater)�parsers �#lib/surface/trace/sinks/describe.py�Argsz
Describe.Args&sI������*M��N�
����3��4����'�'��-�c�:�tj|j|j�j	�}tj
�jjtj�j|���}tj|�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 sink with its destination.
    )�name)r�GetTraceSinkResourcer
�project�RelativeName�	GetClient�projects_traceSinks�Get�GetMessages�&CloudtraceProjectsTraceSinksGetRequest�FormatTraceSink)�self�args�sink_resource_name�result_sinks    r�RunzDescribe.Run0s|���2�2�4�>�>�37�<�<�A�AM�����.�.�"�6�6�:�:�����A�A�#�	B�	%�&�K�����,�,rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr%�rrrr#s��*��.��.�-rrN)
r)�
__future__rrr�googlecloudsdk.api_lib.tracer�googlecloudsdk.callioper�
DETAILED_HELP�DescribeCommandr�
detailed_helpr+rr�<module>r2sF��&�&��'�-�(���	�
�-�t�#�#�-�>'��r