File: //lib/google-cloud-sdk/lib/surface/projects/__pycache__/create.cpython-312.pyc
�
�� � �� � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd l
mZ dd
lmZ ddlmZ ddlmZ ddlmZ dd
lmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m!Z! dZ"ejF ejH ejJ jL ejJ jN ejJ jP � G d� dejR � � � Z*y)z Command to create a new project.� )�absolute_import)�division)�unicode_literals)�
exceptions)�projects_api)�
projects_util)�
operations)�
enable_api)�apis)�arg_parsers)�base)�flags)�util)�labels_util)�log)�
properties)�
console_ioz�Project IDs are immutable and can be set only during project creation. They must start with a lowercase letter and can have lowercase ASCII letters, digits or hyphens. Project IDs must be between 6 and 30 characters.c �B � e Zd ZdZdej
iZed� � Zd� Z y)�Createa Create a new project.
Creates a new project with the given project ID. By default, projects are not
created under a parent resource. To do so, use either the `--organization` or
`--folder` flag.
## EXAMPLES
The following command creates a project with ID `example-foo-bar-1`, name
`Happy project` and label `type=happy`:
$ {command} example-foo-bar-1 --name="Happy project" --labels=type=happy
By default, projects are not created under a parent resource. The following
command creates a project with ID `example-2` with parent `folders/12345`:
$ {command} example-2 --folder=12345
The following command creates a project with ID `example-3` with parent
`organizations/2048`:
$ {command} example-3 --organization=2048
## SEE ALSO
{see_also}
�see_alsoc � � t j | � t j � rt j
dt � }nt j
dt � }| j dd|ddj t � �� | j dd �
� | j ddt j j j j � d
k( rdndt j dd�� �� | j dddd�� t j � j! | � t j"