
    ^
                        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)z@`gcloud access-context-manager perimeters dry-run drop` command.    )absolute_import)division)unicode_literals)zones)base)
perimeters)policiesc                   *    e Zd ZdZdZed        Zd Zy)DropPerimeterDryRunz0Resets the dry-run state of a Service Perimeter.v1c                 X    t        j                  | d       | j                  ddd       y )Nzto resetz--async
store_truezZReturn 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/drop.pyArgszDropPerimeterDryRun.Args    s0    fj1
%  &    c                     t        j                  | j                        }|j                  j                  j                         }t        j                  ||       |j                  |d      S )N)versionF)use_explicit_dry_run_spec)		zones_apiClient_API_VERSIONCONCEPTS	perimeterParser	   ValidateAccessPolicyArg	UnsetSpec)selfargsclientperimeter_refs       r   RunzDropPerimeterDryRun.Run)   sV    d&7&78FMM++113M$$]D9MUKKr   N)__name__
__module____qualname____doc__r   staticmethodr   r&    r   r   r   r      s"    8,& &Lr   r   c                       e Zd ZdZdZy)DropPerimeterDryRunAlphaz=Resets the dry-run mode configuration of a Service Perimeter.v1alphaN)r'   r(   r)   r*   r   r,   r   r   r.   r.   0   s
    E,r   r.   z<Reset the dry-run mode configuration of a Service Perimeter.zRemoves the explicit dry-run mode configuration for a Service Perimeter. After this operation, the effective dry-run mode configuration is implicitly inherited from the enforcement mode configuration. No audit logs will be generated in this state.z\To reset the dry-run mode configuration for a Service Perimeter:

  $ {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    G &  ' J ( F D D%%**D,=,=,@,@AL$,, L BL( D%%++,2  - 	G
I

& *7  &$1  !r   