
    k                         S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr   " S	 S
\	R                  5      rg)z4Command for invalidating an access approval request.    )absolute_import)division)unicode_literalsN)requests)base)request_namec                   V    \ rS rSrSrS\R                  " S5      0r\S 5       r	S r
Srg)	
Invalidate   zInvalidate an Access Approval request.

Invalidate an Access Approval request. This will raise an error if the request
does not exist or is not in an approved state.
EXAMPLESz        To invalidate an approval request using its name (e.g. projects/12345/approvalRequests/abc123), run:

          $ {command} projects/12345/approvalRequests/abc123
        c                 0    [         R                  " U 5        g)zAdd command-specific args.N)r   Args)parsers    2lib/surface/access_approval/requests/invalidate.pyr   Invalidate.Args,   s     f    c                 V    [         R                  " [        R                  " U5      5      $ )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   RunInvalidate.Run1   s      |33D9::r    N)__name__
__module____qualname____firstlineno____doc__textwrapdedentdetailed_helpstaticmethodr   r   __static_attributes__r   r   r   r
   r
      s=     
//  -  
;r   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; ;r   