
                             d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm	Z	 ddl
mZ  G d	 d
e	j                        Zy)z3Command for dismissing and access approval request.    )absolute_import)division)unicode_literalsN)requests)base)request_namec                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)DismisszDismiss an Access Approval request.

  Dismiss an Access Approval request. Note: this does not deny access to the
  resource if another request has been made and approved for the same resource.
  This will raise an error if the request does not exist.
  EXAMPLESz        To dismiss an approval request using its name (e.g. projects/12345/approvalRequests/abc123), run:

          $ {command} projects/12345/approvalRequests/abc123
        c                 .    t        j                  |        y)zAdd command-specific args.N)r   Args)parsers    /lib/surface/access_approval/requests/dismiss.pyr   zDismiss.Args-   s     f    c                 R    t        j                  t        j                  |            S )zThis 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.

    Returns:
      Some value that we want to have printed later.
    )r   r
   r   GetName)selfargss     r   RunzDismiss.Run2   s      L00677r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r
   r
      s?     
(//  -  
8r   r
   )r   
__future__r   r   r   r   &googlecloudsdk.api_lib.access_approvalr   googlecloudsdk.callioper   *googlecloudsdk.command_lib.access_approvalr   Commandr
   r   r   r   <module>r$      s/    : &  '  ; ( C 8dll  8r   