ó
    €Ï•  ã                   óz   • S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJ	r	   " S S	\	R                  5      rg
)zdelete command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úscm)Úservices_util)Úbasec                   ó.   • \ rS rSrSr\S 5       rS rSrg)ÚDeleteé   aC  Delete a quota override for a consumer.

This command deletes a quota override for a consumer. The supported consumers
are projects, folders, and organizations. The override ID can be found from
list command output.

## EXAMPLES

To delete a quota override for a project with project number, run:

  $ {command} --service=example.googleapis.com --consumer=projects/12321
    --metric=example.googleapis.com/default_requests
    --unit=1/min/{project}

To delete a quota override for a project with project ID, run:

  $ {command} --service=example.googleapis.com --consumer=projects/hello
    --metric=example.googleapis.com/default_requests
    --unit=1/min/{project}

To delete a quota override for an organization, run:

  $ {command} --service=example.googleapis.com --consumer=organizations/555
    --metric=example.googleapis.com/default_requests
    --unit=1/min/{project}

To force the deletion of a quota override, run:

  $ {command} --service=example.googleapis.com --consumer=projects/12321
    --metric=example.googleapis.com/default_requests
    --unit=1/min/{project} --force
c                 óÒ   • U R                  SSSS9  U R                  SSSS9  U R                  SSSS9  U R                  S	SS
S9  U R                  SSSS9  U R                  SSSSS9  g)zÝArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go on
    the command line after this command. Positional arguments are allowed.
z	--serviceTz+The service to delete a quota override for.)ÚrequiredÚhelpz
--consumerz,The consumer to delete a quota override for.z--metricz*The metric to delete a quota override for.z--unitz4The unit of a metric to delete a quota override for.z--override-idz1The override ID of the override previous created.z--forceÚ
store_trueFz`Force override deletion even if the change results in a substantial decrease in available quota.)ÚactionÚdefaultr   N)Úadd_argument)Úparsers    Ú%lib/surface/endpoints/quota/delete.pyÚArgsÚDelete.Args<   s½   € ð ×ÑØØØ:ð ñ <ð ×ÑØØØ;ð ñ =ð ×ÑØØØ9ð ñ ;ð ×ÑØØØCð ñ Eð ×ÑØØØ@ð ñ Bð ×ÑØØØð3ð	 ò 4ó    c                 ó`  • [         R                  " UR                  UR                  UR                  UR
                  UR                  UR                  5      nUR                  (       a  g[        R                  " UR                  [         R                  5      n[        R                  " U5        g)zŒRun 'endpoints quota delete'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
    with.

Returns:
  Nothing.
N)r   ÚDeleteQuotaOverrideCallÚserviceÚconsumerÚmetricÚunitÚoverride_idÚforceÚdoner   ÚWaitOperationÚnameÚGetOperationÚPrintOperation)ÚselfÚargsÚops      r   ÚRunÚ
Delete.Run_   sp   € ô 
×	$Ò	$ T§\¡\°4·=±=À$Ç+Á+Ø%)§Y¡Y°×0@Ñ0@À$Ç*Á*ó
N€Bà	‡w‡wØÜ	×	$Ò	$ R§W¡W¬c×.>Ñ.>Ó	?€BÜ× Ò  Õ$r   © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ústaticmethodr   r(   Ú__static_attributes__r*   r   r   r
   r
      s"   † ñðB ñ 4ó ð 4õD%r   r
   N)r/   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.servicesr   r   Úgooglecloudsdk.callioper   ÚSilentCommandr
   r*   r   r   Ú<module>r6      s0   ðñ å &Ý Ý 'å /Ý 9Ý (ôT%ˆT×Ñõ T%r   