
                         ,   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  \R                  " \R                  R                  \R                  R                   \R                  R"                  5       " S	 S
\R$                  5      5       rg)z1`gcloud certificate-manager maps delete` command.    )certificate_maps)base)flags)resource_args)util)log)
console_ioc                   .    \ rS rSrSr\S 5       rS rSrg)Delete   zDelete a certificate map.

Delete a certificate map resource.

## EXAMPLES

To delete the certificate map with name simple-map, run:

  $ {command} simple-map
c                 ^    [         R                  " U S5        [        R                  " U 5        g )Nz	to delete)r   AddCertificateMapResourceArgr   AddAsyncFlagToParser)parsers    .lib/surface/certificate_manager/maps/delete.pyArgsDelete.Args)   s     ..v{C	v&    c                    [         R                  " 5       nUR                  R                  R	                  5       n[
        R                  " SR                  UR                  5      SSS9  UR                  U5      n[        R                  " XAR                  S9n[        R                  " UR                  5       SUR                  S9  U$ )Nz,You are about to delete certificate map '{}'T)throw_if_unattendedcancel_on_no)is_asyncmap)r   CertificateMapClientCONCEPTSr   Parser	   PromptContinueformatcertificateMapsIdr   r   WaitForOperationasync_r   DeletedResourceName)selfargsclientmap_refresponses        r   Run
Delete.Run.   s    224Fmm%%'G8??%%	' 	 }}W%H$$XDHDOr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r)   __static_attributes__r+   r   r   r   r      s     	 ' 'r   r   N)r0   *googlecloudsdk.api_lib.certificate_managerr   googlecloudsdk.callioper   .googlecloudsdk.command_lib.certificate_managerr   r   r   googlecloudsdk.corer   googlecloudsdk.core.consoler	   ReleaseTracksReleaseTrackALPHABETAGADeleteCommandr   r+   r   r   <module>r>      sy    8 H ( @ H ? # 2 D%%++T->->-C-C%%((*T *r   