o
    E
                     @   sf   d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z
 ddlmZ dd
dZd	S )z%utilities to define common arguments.    )absolute_import)division)unicode_literals)actions)base)
completers)
propertiesNc              
   C   sb   |r|}ndj tjjjtjjjd}| rd| |f}tj	dddtj
dgtjttjjj|dS )	a$  Creates project argument.

  Args:
    help_text_to_prepend: str, help text to prepend to the generic --project
      help text.
    help_text_to_overwrite: str, help text to overwrite the generic --project
      help text.

  Returns:
    calliope.base.Argument, The argument for project.
  aQ  The Google Cloud project ID to use for this invocation. If
omitted, then the current project is assumed; the current project can
be listed using `gcloud config list --format='text(core.project)'`
and can be set using `gcloud config set project PROJECTID`.

`--project` and its fallback `{core_project}` property play two roles
in the invocation. It specifies the project of the resource to
operate on. It also specifies the project for API enablement check,
quota, and billing. To specify a different project for quota and
billing, use `--billing-project` or `{billing_project}` property.
    )core_projectbilling_projectz

z	--project
PROJECT_IDprojectz--application)metavardestcategorysuggestion_aliases	completeractionhelp)formatr   VALUEScorer   billingquota_projectjoinr   ArgumentCOMMONLY_USED_FLAGSresource_manager_completersProjectCompleterr   StoreProperty)help_text_to_prependhelp_text_to_overwrite	help_text r"   M/tmp/google-cloud-sdk/lib/googlecloudsdk/command_lib/util/args/common_args.pyProjectArgument   s&   r$   )NN)__doc__
__future__r   r   r   googlecloudsdk.callioper   r   +googlecloudsdk.command_lib.resource_managerr   r   googlecloudsdk.corer   r$   r"   r"   r"   r#   <module>   s   