
    T                         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)z.Command for deleting access approval settings.    )absolute_import)division)unicode_literalsN)settings)base)parentc                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)DeletezDelete Access Approval settings.

  Delete the Access Approval settings associated with a project, a folder, or
  organization.
  EXAMPLESz        To delete the settings for the current project use

          $ {command}

        To delete the settings for folder f1 use

          $ {command} --folder=f1
        c                 .    t        j                  |        y)zAdd command-specific args.N)r   Args)parsers    .lib/surface/access_approval/settings/delete.pyr   zDelete.Args0   s     KK    c                 ^    t        j                  |      }t        j                  d|z        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.
    z%s/accessApprovalSettings)name)r   	GetParentr   r
   )selfargsps      r   Runz
Delete.Run5   s)     	A??!<q!@BBr   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r
   r
      s@     
(//  -  Cr   r
   )r   
__future__r   r   r   r   &googlecloudsdk.api_lib.access_approvalr   googlecloudsdk.callioper   *googlecloudsdk.command_lib.access_approvalr   UpdateCommandr
   r    r   r   <module>r&      s3    5 &  '  ; ( =$CT $Cr   