HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/lib/google-cloud-sdk/lib/surface/projects/__pycache__/undelete.cpython-312.pyc
�

��`���dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
ddl	mZdd	l
mZGd
�dej�Zy)
zCommand to undelete a project.�)�absolute_import)�division)�unicode_literals)�projects_api)�base)�flags)�util)�logc�B�eZdZdZdej
iZed��Zd�Z	y)�Undeletea�Undelete a project.

  Undeletes the project with the given project ID.

  This command can fail for the following reasons:
  * There is no project with the given ID.
  * The active account does not have Owner or Editor permissions for the
    given project.

  ## EXAMPLES

  The following command undeletes the project with the ID `example-foo-bar-1`:

    $ {command} example-foo-bar-1

  ## SEE ALSO

  {see_also}
  �see_alsoc�L�tjd�j|�y)N�undelete)r�GetProjectIDNumberFlag�AddToParser)�parsers � lib/surface/projects/undelete.py�Argsz
Undelete.Args4s��	� � ��,�8�8��@�c��tj|j�}tj|�}tj|d��|S)N�project)�kind)�command_lib_util�ParseProject�idrrr
�RestoredResource)�self�args�project_ref�results    r�RunzUndelete.Run8s;��"�/�/����8�K�
�
"�
"�;�
/�F�����9�5��MrN)
�__name__�
__module__�__qualname__�__doc__r�!CREATE_DELETE_IN_CONSOLE_SEE_ALSO�
detailed_help�staticmethodrr!�rrrrs2���(�u�F�F�G�-��A��A�rrN)r%�
__future__rrr�+googlecloudsdk.api_lib.cloudresourcemanagerr�googlecloudsdk.callioper�#googlecloudsdk.command_lib.projectsrr	r�googlecloudsdk.corer
�
CreateCommandrr)rr�<module>r0s4�� %�&��'�D�(�5�H�#��t�!�!�r