
                             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	lmZ d
 Zd Zd Zd Zd Zd ZdZdZdj-                  e      Zy)z#Common flags for projects commands.    )absolute_import)division)unicode_literals)arg_parsers)base)concepts)
completers)concept_parsersc                 n    t        j                  ddt        j                  dj	                  |             S )Nid
PROJECT_IDz#ID for the project you want to {0}.metavar	completerhelpr   Argumentr	   ProjectCompleterformatverbs    0lib/googlecloudsdk/command_lib/projects/flags.pyGetProjectFlagr      s0    	
++077=	
? ?    c                 n    t        j                  ddt        j                  dj	                  |             S )Nr   PROJECT_ID_OR_NUMBERz-ID or number for the project you want to {0}.r   r   r   s    r   GetProjectIDNumberFlagr   %   s2    	
$++:AA$G	
I Ir   c           
      z    t        j                  ddt        j                         dddj	                  |             S )Nz--recommendBOOLEAN_VALUEFzIf true, checks Active Assist recommendation for the risk level of {}, and issues a warning in the prompt. Optional flag is set to false by default. For details see https://cloud.google.com/recommender/docs/change-risk-recommendations)r   typedefaultrequiredr   )r   r   r   
ArgBooleanr   )actions    r   GetRecommendFlagr%   -   s;    	!!#9 	v
 r   c                  0    t        j                  dd      S )N
project_idzThe project id.)name	help_text)r    ResourceParameterAttributeConfig r   r   ProjectAttributeConfigr,   =   s    		2	2!
# #r   c                  B    t        j                  ddt                     S )Nzcloudresourcemanager.projectsproject)resource_name	projectId)r   ResourceSpecr,   r+   r   r   GetProjectResourceSpecr2   C   s!    			%&(
 r   c                 v    t         j                  j                  dt               dj	                  |       d      S )Nr'   z"ID for the project you want to {}.T)r"   )r
   ConceptParserForResourcer2   r   r   s    r   GetProjectResourceArgr6   K   s:    		&	&	2	2*11$7	 
3 
 r   zIhttps://cloud.google.com/resource-manager/docs/creating-managing-projectszSee https://support.google.com/cloud/answer/6251787 for information on creating or deleting projects from the Google Cloud Platform Console.z2See {0} for information on shutting down projects.N)__doc__
__future__r   r   r   googlecloudsdk.callioper   r    googlecloudsdk.calliope.conceptsr   +googlecloudsdk.command_lib.resource_managerr	   (googlecloudsdk.command_lib.util.conceptsr
   r   r   r%   r,   r2   r6   SHUT_DOWN_PROJECTS_URL!CREATE_DELETE_IN_CONSOLE_SEE_ALSOr   SHUT_DOWN_PROJECTSr+   r   r   <module>r@      sk     * &  ' / ( 5 B D?I # e L " Kv45 r   