Ë
    €ÏX  ã                   ó†   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddd	œZ	 G d
„ dej                  «      Ze	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                   ó&   — e Zd ZdZed„ «       Zd„ Zy)ÚDescribez"Displays information about a sink.c                 ó†   — | j                  dd¬«       | j                  dd¬«       | j                  j                  d«       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                 ó:  — t        j                  |j                  |j                  «      j	                  «       }t        j
                  «       j                  j                  t        j                  «       j                  |¬«      «      }t        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 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.Run0   s|   € ô ×2Ñ2°4·>±>Ø37·<±<óAßAMÁÃð ä—.‘.Ó"×6Ñ6×:Ñ:Ü×ÑÓ×AÑAØ#ð 	Bó 	%ó&€Kô ×Ñ Ó,Ð,r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr   r%   © r   r   r   r   #   s   „ Ù*àñ.ó ð.ó-r   r   N)r)   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.tracer   Úgooglecloudsdk.callioper   ÚDETAILED_HELPÚDescribeCommandr   Údetailed_helpr+   r   r   Ú<module>r2      sF   ðñ &å &Ý Ý 'å -Ý (ððñ	€ô-ˆt×#Ñ#ô -ð> '€Õ r   