
    
                         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K
Jr  SS	KJr  SS
KJr  \R"                  " \R$                  R&                  5       " S S\R(                  5      5       rg)zDelete a certificate template.    )absolute_import)division)unicode_literals)base)request_utils)
operations)resource_args)log)
console_ioc                   .    \ rS rSrSr\S 5       rS rSrg)Delete   zDelete a certificate template.

## EXAMPLES

To delete a certificate template:

  $ {command} my-template --location=us-west1

To delete a certificate template while skipping the confirmation input:

  $ {command} my-template --location=us-west1 --quiet
c                 2    [         R                  " U S5        g )Nz	to delete)r	   +AddCertificateTemplatePositionalResourceArg)parsers    )lib/surface/privateca/templates/delete.pyArgsDelete.Args-   s    ==    c                 j   [         R                  " SS9n[         R                  " SS9nUR                  R                  R                  5       nUR                  5       n[        R                  " SR                  UR                  5       5      SS9(       d   [        R                  R                  S5        g UR                  R                  UR                  U[         R"                  " 5       S95      n[$        R&                  " USSS9  [        R                  R                  S	R                  U5      5        g )
Nv1)api_versionz5You are about to delete the certificate template [{}]T)messagedefaultzAborted by user.)name	requestIdzDeleting Certificate Templatez"Deleted Certificate Template [{}].)privateca_baseGetClientInstanceGetMessagesModuleCONCEPTScertificate_templateParseRelativeNamer   PromptContinueformatr
   statusPrint'projects_locations_certificateTemplatesr   ;PrivatecaProjectsLocationsCertificateTemplatesDeleteRequestr   GenerateRequestIdr   Await)selfargsclientmessagestemplate_reftemplate_name	operations          r   Run
Delete.Run2   s    --$?F//DAH==55;;=L --/M$$GNN%%') 
jj)*>>EE	D	D#557 
E 
9:I 2F JJ,33MBDr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r3   __static_attributes__r5   r   r   r   r      s!      Dr   r   N)r:   
__future__r   r   r    googlecloudsdk.api_lib.privatecar   r   r   googlecloudsdk.calliope$googlecloudsdk.command_lib.privatecar   r	   googlecloudsdk.corer
   googlecloudsdk.core.consoler   ReleaseTracksReleaseTrackGADeleteCommandr   r5   r   r   <module>rG      sc    % &  ' C : ( ; > # 2 D%%(()+DT +D *+Dr   