403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/google-cloud-sdk/lib/surface/colab/runtimes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/colab/runtimes/__pycache__/create.cpython-311.pyc
�

�����dZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZdd	d
�Z
ejejejjejj��Gd�dej������Ze
e_d
S)z-Create command for Colab Enterprise Runtimes.�)�
operations)�runtimes)�util)�base)�
endpoint_util)�flagsze
        Create a notebook runtime that can be used to run code from your notebook (IPYNB file).
    a�
        To create a runtime in region 'us-central1' with the display name 'my-runtime' and template with id 'my-template', run:

        $ {command} --region=us-central1 --display-name=my-runtime --runtime-template=my-template

        To create a runtime for user 'USER@DOMAIN.COM', run:

        $ {command} --runtime-user=USER@DOMAIN.COM --region=us-central1 --display-name=my-runtime --runtime-template=my-template
    )�DESCRIPTION�EXAMPLESc�.�eZdZdZed���Zd�ZdS)�CreatezCreate a notebook runtime.c�.�tj|��dS)z Register flags for this command.N)r�AddCreateRuntimeFlags)�parsers �$lib/surface/colab/runtimes/create.py�ArgszCreate.Args/s��
���'�'�'�'�'�c
��|���}tj|�����}|jj���}|���d}tjd|���5tj	|��}|j
}|�tj
||����}tjtj|���|tj|j��tj|��dddtj|���d��	��cd
d
d
��S#1swxYwYd
S)z9This is what gets called when the user runs this command.�locationsId�BETA)�version�region)�client�runtime�createzCreating a runtime for z...)�operations_client�op�op_ref�asynchronous�kind�
log_method�messageN)�ReleaseTrackr�GetMessages�CONCEPTSr�Parse�AsDictr�AiplatformEndpointOverrides�	GetClient�#projects_locations_notebookRuntimes�Assign�
runtimes_util�!CreateRuntimeAssignRequestMessage�WaitForOpMayber�OperationsClient�ParseRuntimeOperation�name�GetAsyncConfig�"GetRuntimeUserFromArgsOrProperties)	�self�args�
release_track�messages�
region_refr�
api_client�runtimes_service�	operations	         r�Runz
Create.Run4s����%�%�'�'�M���� 1� 1� 3� 3�4�4�H���%�+�+�-�-�J�
�
�
�
 �
 ��
/�F�	�	2��v�
�
�
����>�-�0�0�j�#�G��"�)�)�
�
9�$��
I�
I���i��
 �&�7�z�J�J�J�
��4�Y�^�D�D��*�4�0�0���N��B�4�H�H�N�N�N������������������������s�	B0E�E
�
E
N)�__name__�
__module__�__qualname__�__doc__�staticmethodrr;�rrrr*sD������#�"��(�(��<�(�����rrN)r?�googlecloudsdk.api_lib.air�'googlecloudsdk.api_lib.colab_enterpriserr+r�googlecloudsdk.callioper�googlecloudsdk.command_lib.air�+googlecloudsdk.command_lib.colab_enterpriser�_DETAILED_HELP�DefaultUniverseOnly�
ReleaseTracksr"�GAr�
CreateCommandr�
detailed_helprArr�<module>rMs�� 4�3�0�0�0�0�0�0�M�M�M�M�M�M�8�8�8�8�8�8�(�(�(�(�(�(�7�7�7�7�7�7�=�=�=�=�=�=���	
�
�� �����D�%�(�$�*;�*@�A�A�"�"�"�"�"�T�
�"�"�B�A���"�J&����r

Youez - 2016 - github.com/yon3zu
LinuXploit