ó
    €Ï£  ã                   ó€   • S 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 scopes delete' command.é    )Úutil)Úbase)Úlog)Ú
console_ioc                   ó.   • \ rS rSrSr\S 5       rS rSrg)ÚDeleteé   zVDelete a log scope.

## EXAMPLES

To delete a log scope, run:

  $ {command} my-scope
c                 ó†   • U R                  SSS9  [        R                  " U SSS9  U R                  R	                  S5        g)z Register flags for this command.ÚLOG_SCOPE_IDzID of the log scope to delete.)Úhelpzlog scope to deleteT©Úexclude_billing_accountN)Úadd_argumentr   ÚAddParentArgsÚdisplay_infoÚAddCacheUpdater)Úparsers    Ú$lib/surface/logging/scopes/delete.pyÚArgsÚDelete.Args$   sD   € ð ×Ñ˜Ð-MÐÑNÜ×ÒØÐ%¸tòð ×Ñ×'Ñ'¨Õ-ó    c                 ó¶  • [         R                  " SUR                  -  SS9  [        R                  " 5       R
                  R                  [        R                  " 5       R                  [        R                  " [        R                  " [        R                  " USS9SS5      SUR                  5      S95        [        R                  " UR                  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.
zEReally delete log scope [%s]? (You can not recover it after deletion)T)Úcancel_on_nor   Ú	locationsÚglobalÚ	logScopes)ÚnameN)r   ÚPromptContinuer   r   Ú	GetClientÚprojects_locations_logScopesr   ÚGetMessagesÚ.LoggingProjectsLocationsLogScopesDeleteRequestÚCreateResourceNameÚGetParentFromArgsr   ÚDeletedResource)ÚselfÚargss     r   ÚRunÚ
Delete.Run-   s¶   € ô ×ÒØOØ
×
Ñ
ñ	àòô 	‡N‚NÓ×1Ñ1×8Ñ8Ü×ÒÓ×IÑIÜ×(Ò(Ü×'Ò'Ü×*Ò*¨4ÈÑNØØóð
 Ø×!Ñ!óð 	Jð 
	
ôô ×Ò˜×)Ñ)Õ*r   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r(   Ú__static_attributes__r*   r   r   r   r      s    † ñð ñ.ó ð.õ+r   r   N)r/   Úgooglecloudsdk.api_lib.loggingr   Úgooglecloudsdk.callioper   Úgooglecloudsdk.corer   Úgooglecloudsdk.core.consoler   ÚUniverseCompatibleÚDeleteCommandr   r*   r   r   Ú<module>r8      s?   ðñ  'õ 0Ý (Ý #Ý 2ð ×Ñô-+ˆT×Ñó -+ó ñ-+r   