
    A	                     j   S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSK	Jr  SS	KJr  \R                  " \R                  R                   5      \R"                   " S
 S\R$                  5      5       5       r\R                  " \R                  R(                  5       " S S\5      5       rg)z1Command to get a serverless ray job in Vertex AI.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flagsc                   F    \ rS rSrSr\R                  r\S 5       r	S r
Srg)
DescribeGA   zGet detailed information about the servless ray job by given id.

## EXAMPLES

To get a job ``123'' under project ``example'' in region
``us-central1'', run:

  $ {command} 123 --project=example --region=us-central1
c                 2    [         R                  " U S5        g )Nzto describe)r
   AddServerlessRayJobResourceArg)parsers    "lib/surface/ai/ray/job/describe.pyArgsDescribeGA.Args+   s    	((?    c                 ^   UR                   R                  R                  5       nUR                  5       S   n[        R
                  " U R                  US9   [        R                  " U R                  S9R                  UR                  5       5      nUsS S S 5        $ ! , (       d  f       g = f)NlocationsId)versionregion)r   )CONCEPTSserverless_ray_jobParseAsDictr	   AiplatformEndpointOverrides_api_versionr   ServerlessRayJobsClientGetRelativeName)selfargsserverless_ray_job_refr   responses        r   RunDescribeGA.Run/   s    !]]==CCE#**,];F		2	2!!&
2//8I8IJNN
 
-
-
/h 
2 
2 
2s   =B
B, N)__name__
__module____qualname____firstlineno____doc__r   
GA_VERSIONr   staticmethodr   r&   __static_attributes__r(   r   r   r   r      s-     %%,@ @
r   r   c                   0    \ rS rSrSr\R                  rSrg)DescribePreGA<   zGet detailed information about the custom job by given id.

## EXAMPLES

To get a job ``123'' under project ``example'' in region
``us-central1'', run:

  $ {command} 123 --project=example --region=us-central1
r(   N)	r)   r*   r+   r,   r-   r   BETA_VERSIONr   r0   r(   r   r   r2   r2   <   s     '',r   r2   N)r-   
__future__r   r   r   -googlecloudsdk.api_lib.ai.serverless_ray_jobsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   1googlecloudsdk.command_lib.ai.serverless_ray_jobsr
   ReleaseTracksReleaseTrackGAUniverseCompatibleDescribeCommandr   BETAr2   r(   r   r   <module>r@      s    8 &  ' @ ( 3 7 C D%%(()%%   *< D%%**+(J ( ,(r   