
    %	                        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  SS
KJr  \R                  " \R                   R"                  5       " S S\R$                  5      5       r\R                  " \R                   R(                  \R                   R*                  5       " S S\5      5       rg)z)Command to get a custom job in Vertex AI.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flags)
validationc                   F    \ rS rSrSr\R                  r\S 5       r	S r
Srg)
DescribeGA   Get 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
c                 2    [         R                  " U S5        g )Nzto describe)r
   AddCustomJobResourceArg)parsers    &lib/surface/ai/custom_jobs/describe.pyArgsDescribeGA.Args+   s    	!!&-8    c                    UR                   R                  R                  5       nUR                  5       S   n[        R
                  " U5        [        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
custom_jobParseAsDictr   ValidateRegionr	   AiplatformEndpointOverrides_api_versionr   CustomJobsClientGetRelativeName)selfargscustom_job_refr   responses        r   RunDescribeGA.Run/   s    ]]--335N""$]3Ff%		2	2!!&
2((1B1BCGG

%
%
')h	
2 
2 
2s   -=B44
C N)__name__
__module____qualname____firstlineno____doc__r   
GA_VERSIONr!   staticmethodr   r)   __static_attributes__r+   r   r   r   r      s+     %%,9 9	r   r   c                   0    \ rS rSrSr\R                  rSrg)DescribePreGA;   r   r+   N)	r,   r-   r.   r/   r0   r   BETA_VERSIONr!   r3   r+   r   r   r5   r5   ;   s     '',r   r5   N)r0   
__future__r   r   r   %googlecloudsdk.api_lib.ai.custom_jobsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   )googlecloudsdk.command_lib.ai.custom_jobsr
   r   ReleaseTracksReleaseTrackGADescribeCommandr   BETAALPHAr5   r+   r   r   <module>rC      s    0 &  ' 8 ( 3 7 ; @ D%%(()%%  *: D%%**D,=,=,C,CD(J ( E(r   