
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      rg)zFUpdate or add a quota project in application default credentials json.    )base)	auth_util)
completersc                   .    \ rS rSrSr\S 5       rS rSrg)SetQuotaProject   ad  Update or add a quota project in application default credentials (ADC).

A quota project is a Google Cloud Project that will be used for billing
and quota limits.

Before running this command, an ADC must already be generated using
$ gcloud auth application-default login.
The quota project defined in the ADC will be used by the Google client
libraries.
The existing application default credentials must have the
`serviceusage.services.use` permission on the given project.

## EXAMPLES

To update the quota project in application default credentials to
`my-quota-project`, run:

  $ {command} my-quota-project
c                 l    [         R                  " SS[        R                  SS9R	                  U 5        g )Nquota_project_idQUOTA_PROJECT_IDzrQuota project ID to add to application default credentials. If a quota project already exists, it will be updated.)metavar	completerhelp)r   Argumentr   ProjectCompleterAddToParser)parsers    9lib/surface/auth/application_default/set_quota_project.pyArgsSetQuotaProject.Args,   s4    MM"-->	?
 @K{@    c                 B    [         R                  " UR                  5      $ )N)r   AddQuotaProjectToADCr
   )selfargss     r   RunSetQuotaProject.Run6   s    ))$*?*?@@r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r   r      s!    (  Ar   r   N)	r"   googlecloudsdk.callioper   googlecloudsdk.command_lib.authr   +googlecloudsdk.command_lib.resource_managerr   SilentCommandr   r   r   r   <module>r)      s*    M ) 5 B Ad((  Ar   