
    @
                        d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ ddl
mZ  e	j                  e	j                  j                  e	j                  j                          G d	 d
e	j"                               Z e	j                  e	j                  j&                         G d de             ZddddZee_        ee_        y)zB`gcloud access-context-manager perimeters dry-run delete` command.    )absolute_import)division)unicode_literals)zones)base)
perimeters)policiesc                   *    e Zd ZdZdZed        Zd Zy)DeletePerimeterDryRun=Marks the Service Perimeter for deletion in the dry-run mode.v1c                 X    t        j                  | d       | j                  ddd       y )Nz	to deletez--async
store_truez^Return immediately, without waiting for the operation in
                progress to complete.)actionhelp)r   AddResourceArgadd_argument)parsers    ?lib/surface/access_context_manager/perimeters/dry_run/delete.pyArgszDeletePerimeterDryRun.Args    s0    fk2
)  *    c                     t        j                  | j                        }|j                  j                  j                         }t        j                  ||       |j                  |d      S )N)versionT)use_explicit_dry_run_spec)		zones_apiClient_API_VERSIONCONCEPTS	perimeterParser	   ValidateAccessPolicyArg	UnsetSpec)selfargsclientperimeter_refs       r   RunzDeletePerimeterDryRun.Run)   sV    d&7&78FMM++113M$$]D9MTJJr   N)__name__
__module____qualname____doc__r   staticmethodr   r'    r   r   r   r      s"    E,* *Kr   r   c                       e Zd ZdZdZy)DeletePerimeterDryRunAlphar   v1alphaN)r(   r)   r*   r+   r   r-   r   r   r/   r/   0   s
    E,r   r/   z:Mark the Service Perimeter as deleted in the dry-run mode.zWhen this command completed successfully, the affected Service Perimeter will be considered to have been deleted in the dry-run mode, but the enforcement mode configuration will be left untouched.zYTo mark the Service Perimeter as deleted in the dry-run mode:

  $ {command} my-perimeter)briefDESCRIPTIONEXAMPLESN)r+   
__future__r   r   r   +googlecloudsdk.api_lib.accesscontextmanagerr   r   googlecloudsdk.callioper   /googlecloudsdk.command_lib.accesscontextmanagerr   r	   ReleaseTracksReleaseTrackBETAGAUpdateCommandr   ALPHAr/   detailed_helpr-   r   r   <module>r?      s    I &  ' J ( F D D%%**D,=,=,@,@AKD.. K BK( D%%++,!6  - 	E
P

& ,9  (&3  #r   