File: //usr/lib/google-cloud-sdk/lib/surface/projects/__pycache__/delete.cpython-312.pyc
�
���
� �� � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ dd lm
Z dd
lmZ ddlmZ ddlmZ e
j* G d
� de
j, � � Zy)zCommand to delete a project.� )�absolute_import)�division)�unicode_literals)�projects_api)�smart_guardrails)�base)�flags)�util)�
completers)�log)�
console_ioc �B � e Zd ZdZdej
iZed� � Zd� Z y)�Deletean Delete a project.
Deletes the project with the given project ID.
This command can fail for the following reasons:
* The project specified does not exist.
* The active account does not have IAM role `role/owner` or another IAM role
with the `resourcemanager.projects.delete` permission for the given project.
See [Access control for projects using
IAM](https://cloud.google.com/resource-manager/docs/access-control-proj) for
more information.
## EXAMPLES
The following command deletes the project with the ID `example-foo-bar-1`:
$ {command} example-foo-bar-1
## SEE ALSO
{see_also}
�see_alsoc �< � t j d� j |� | j � t j j
k7 r$t j d� j |� |j j t j � y )N�deletezproject deletion)r �GetProjectIDNumberFlag�AddToParser�ReleaseTrackr �GA�GetRecommendFlag�display_info�AddCacheUpdaterr �ProjectCompleter)�cls�parsers �lib/surface/projects/delete.py�ArgszDelete.Args<