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/looker/backups/__pycache__/create.cpython-312.pyc
�

������dZddlmZddlmZddlmZddlmZddlm	Z	ddlm
Z
ddd	�Zejejejjejj �Gd
�dej"���Zy)
�%Create a backup of a Looker instance.�)�backups)�utils)�base)�flags)�
properties)�	resourcesz�         To create a backup of an instance with the name my-looker-instance, in
        region us-central1 run:

          $ {command} --instance='my-looker-instance' --region='us-central1'
        )�DESCRIPTION�EXAMPLESc�*�eZdZdZeZed��Zd�Zy)�CreateInstanceBackuprc�V�tj|�|jddd��y)z Register flags for this command.z--regionTz�             The name of the Looker region of the instance. Overrides the
            default looker/region property value for this command invocation.
            )�required�helpN)r�AddInstance�add_argument)�parsers �$lib/surface/looker/backups/create.py�ArgszCreateInstanceBackup.Args*s0��
���f��
��������c�p�tjj|jtj
jjj|jd�tj|j�d��j�}tj||j��S)N)�
projectsId�locationsIdz#looker.projects.locations.instances)�params�api_version�
collection)r	�REGISTRY�Parse�instancer�VALUES�core�project�	GetOrFail�regionr�VERSION_MAP�ReleaseTrack�RelativeNamer�CreateBackup)�self�args�parents   r�RunzCreateInstanceBackup.Run7s���
�
�
�
%�
%��
�
�$�+�+�0�0�8�8�B�B��;�;�
��%�%�d�&7�&7�&9�:�8�&���l�n�������(9�(9�(;�<�<rN)	�__name__�
__module__�__qualname__�__doc__�_DETAILED_HELP�
detailed_help�staticmethodrr,�rrr
r
#s#��.� �-��
��
�=rr
N)r0�googlecloudsdk.api_lib.lookerrr�googlecloudsdk.callioper�!googlecloudsdk.command_lib.lookerr�googlecloudsdk.corerr	r1�UniverseCompatible�
ReleaseTracksr&�ALPHA�GA�
CreateCommandr
r4rr�<module>r>s���,�1�/�(�3�*�)�;�����������D�%�%�+�+�T�->�->�-A�-A�B�=�4�-�-�=�C��=r