
    	                         d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddd	Zej                   ej                  ej                  j                  ej                  j                          G d
 dej"                                      Zee_        y)z8Describe command for Colab Enterprise Runtime Templates.    )runtime_templates)util)base)endpoint_util)flagszD
        Describe a Colab Enterprise notebook runtime template.
    z
        To describe a runtime template with id 'my-runtime-template' in region 'us-central1', run:

        $ {command} my-runtime-template --region=us-central1
    )DESCRIPTIONEXAMPLESc                   &    e Zd ZdZed        Zd Zy)DescribezDescribe a runtime template.c                 .    t        j                  |        y)z Register flags for this command.N)r   AddDescribeRuntimeTemplateFlags)parsers    /lib/surface/colab/runtime_templates/describe.pyArgszDescribe.Args*   s     
))&1    c                    | j                         }t        j                  | j                               }|j                  j                  j                         }|j                         d   }t        j                  d|      5  t        j                  |      }|j                  }|j                  t        j                  ||            cddd       S # 1 sw Y   yxY w)z9This is what gets called when the user runs this command.locationsIdBETA)versionregionN)ReleaseTrackr   GetMessagesCONCEPTSruntime_templateParseAsDictr   AiplatformEndpointOverrides	GetClient+projects_locations_notebookRuntimeTemplatesGetruntime_templates_utilCreateRuntimeTemplateGetRequest)selfargsrelease_trackmessagesruntime_template_refr   
api_clientruntime_templates_services           r   RunzDescribe.Run/   s    %%'M 1 1 34H==99??A!((*=9F		2	2v
 >>-0j

@
@   '**
 
@
@H
 
 
s   ACCN)__name__
__module____qualname____doc__staticmethodr   r*    r   r   r   r   %   s     %2 2r   r   N)r.   'googlecloudsdk.api_lib.colab_enterpriser   r!   r   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   +googlecloudsdk.command_lib.colab_enterpriser   _DETAILED_HELPDefaultUniverseOnlyReleaseTracksr   GAr   DescribeCommandr   detailed_helpr0   r   r   <module>r;      s     ? _ 8 ( 7 =		 D%%(($*;*;*@*@At##  B : ( r   