
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  \R                   " S S\R                  5      5       rg	)
z!'logging sinks describe' command.    )absolute_import)division)unicode_literals)util)basec                   .    \ rS rSrSr\S 5       rS rSrg)Describe   zDisplay information about a sink.

Display information about a sink.

## EXAMPLES

To describe a sync 'my-bq-sync':

  $ {command} my-bq-sink
c                 R    U R                  SSS9  [        R                  " U S5        g)z Register flags for this command.	sink_namez!The name of the sink to describe.)helpzsink to describeN)add_argumentr   AddParentArgs)parsers    %lib/surface/logging/sinks/describe.pyArgsDescribe.Args'   s)     *MNv12    c                 L   [         R                  " UR                  U5      n[         R                  " [         R                  " U5      SUR
                  5      n[         R                  " 5       R                  R                  [         R                  " 5       R                  US95      $ )zThis 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.
sinks)sinkName)r   GetSinkReferencer   CreateResourceNameGetParentFromArgssinksId	GetClientprojects_sinksGetGetMessagesLoggingProjectsSinksGetRequest)selfargssink_refsink_resources       r   RunDescribe.Run-   s     $$T^^T:H++D,B,B4,H,3X5E5EGM>>**..99" 	: 	$% %r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r%   __static_attributes__r'   r   r   r	   r	      s     	 3 3
%r   r	   N)r,   
__future__r   r   r   googlecloudsdk.api_lib.loggingr   googlecloudsdk.callioper   UniverseCompatibleDescribeCommandr	   r'   r   r   <module>r4      s@     ( &  ' / ( !%t## !% !%r   