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: //lib/google-cloud-sdk/lib/surface/components/__pycache__/restore.cpython-312.pyc
�

��	����dZddlmZddlmZddlmZddlmZddlmZejejdd�	�ejGd
�dej����Z
y)
zCThe command to restore a backup of a Google Cloud CLI installation.�)�absolute_import)�division)�unicode_literals)�base)�utilFaStarting with release 473.0.0, the Google Cloud CLI updates in place instead of making a backup copy of the installation directory when running `gcloud components update`, `install`, and `remove` commands (this reduces the time taken by those operations). Consequently, this command has no backup to restore in those cases. Instead, to restore your installation to a previous version, run `gcloud components update --version=<previous_version>`, or install the previous version directly from https://cloud.google.com/sdk/docs/install.)�
is_removed�warningc�&�eZdZdZed��Zd�Zy)�Restorea�Restore the Google Cloud CLI installation to its state before a reinstall.

  This is an undo operation, which restores the Google Cloud CLI installation on
  the local workstation to the state it was in just before the most recent
  `{parent_command} reinstall` command. A `restore` command does not undo a
  previous `restore` command.

  ## EXAMPLES
  To restore the Google Cloud CLI installation to its state before reinstalling,
  run:

    $ {command}
  c��y)N�)�_s �!lib/surface/components/restore.py�ArgszRestore.Args9s���c�N�tj|�}|j�y)zRuns the restore command.N)r�GetUpdateManagerr)�self�args�update_managers   r�RunzRestore.Run=s���*�*�4�0�N����rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrrr
rrrrs ��"��	��	�rrN)r�
__future__rrr�googlecloudsdk.callioper�%googlecloudsdk.command_lib.componentsr�Hidden�	Deprecate�UniverseCompatible�
SilentCommandrr
rr�<module>r$sj�� J�&��'�(�6���������	6�
�����d� � ���
�
� r