ó
    €Ï–	  ã                   óž   • 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  SSK	J
r
  SSKJr  S	S
S.r " S S\R                  5      r\\l        g)z'logging sinks delete' command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úutil)Úbase)Úlog)Ú
console_ioa  /
        Deletes a sink and halts the export of traces associated with that sink.
        Deleting a sink does not affect traces already exported through
        the deleted sink, and will not affect other sinks that are exporting
        the same traces.
    z#/

        $ {command} my-sink
    )ÚDESCRIPTIONÚEXAMPLESc                   ó.   • \ rS rSrSr\S 5       rS rSrg)ÚDeleteé*   zDeletes a sink.c                 óz   • U R                  SSS9  U R                  SSS9  U R                  R                  S5        g)z Register flags for this command.Ú	sink_namezThe name of the sink to delete.)Úhelpz	--projectzSDelete a sink associated with this project. This will override the default project.N)Úadd_argumentÚdisplay_infoÚAddCacheUpdater)Úparsers    Ú!lib/surface/trace/sinks/delete.pyÚArgsÚDelete.Args-   sI   € ð ×Ñ˜Ð*KÐÑLØ
×ÑØð3ð ñ 4ð ×Ñ×'Ñ'¨Õ-ó    c                 óˆ  • [         R                  " SUR                  -  SSS9  [        R                  " UR                  UR
                  5      nUR                  5       n[        R                  " 5       R                  R                  [        R                  " 5       R                  US95        [        R                  " U5        g)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.
zReally delete sink [%s]?TF)Úcancel_on_noÚdefault)ÚnameN)r	   ÚPromptContinuer   r   ÚGetTraceSinkResourceÚprojectÚRelativeNameÚ	GetClientÚprojects_traceSinksr   ÚGetMessagesÚ)CloudtraceProjectsTraceSinksDeleteRequestr   ÚDeletedResource)ÚselfÚargsÚsink_refÚsink_resource_names       r   ÚRunÚ
Delete.Run7   sš   € ô ×ÒØ" T§^¡^Ñ3ØØòô
 ×(Ò(¨¯©¸¿¹ÓF€Hà!×.Ñ.Ó0Ðä‡N‚NÓ×(Ñ(×/Ñ/Ü×ÒÓ×DÑDØ#ð 	Eð 	%ô&ô ×Ò˜Õ!r   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r+   Ú__static_attributes__r-   r   r   r   r   *   s   † Ùàñ.ó ð.õ"r   r   N)r2   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.tracer   Úgooglecloudsdk.callioper   Úgooglecloudsdk.corer   Úgooglecloudsdk.core.consoler	   ÚDETAILED_HELPÚDeleteCommandr   Údetailed_helpr-   r   r   Ú<module>r=      sM   ðñ &å &Ý Ý 'å -Ý (Ý #Ý 2ð	ð	ñ€ô !"ˆT×Ñô !"ðH %€Õ r   