
                         D   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"                  \R                   R$                  \R                   R&                  5       " S S\R(                  5      5       rg)z8Command to get a hyperparameter tuning job in Vertex AI.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)
validation)flagsc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   zGet detail information about the hyperparameter tuning 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   AddHptuningJobResourceArg)parsers    )lib/surface/ai/hp_tuning_jobs/describe.pyArgsDescribe.Args*   s    	##FM:    c                    UR                   R                  R                  5       nUR                  5       S   n[        R
                  " U[        R                  S9  U R                  5       [        R                  R                  :X  a  [        R                  O[        R                  n[        R                  " XCS9   [        R                   " US9R#                  UR%                  5       5      nUsS S S 5        $ ! , (       d  f       g = f)NlocationsId)available_regions)versionregion)r   )CONCEPTShptuning_jobParseAsDictr
   ValidateRegionr   SUPPORTED_TRAINING_REGIONSReleaseTrackr   GA
GA_VERSIONBETA_VERSIONr	   AiplatformEndpointOverridesr   HpTuningJobsClientGetRelativeName)selfargshptuning_job_refr   r   responses         r   RunDescribe.Run.   s    }}11779$$&}5F)"F"FH '+&7&7 '					'i""#,#9#9 		2	2
(**7;??

'
'
)+h	
( 
( 
(s   ;3C88
D N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r-   __static_attributes__r/   r   r   r   r      s      ; ;r   r   N)r4   
__future__r   r   r   (googlecloudsdk.api_lib.ai.hp_tuning_jobsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   r
   ,googlecloudsdk.command_lib.ai.hp_tuning_jobsr   ReleaseTracksr!   r"   BETAALPHADescribeCommandr   r/   r   r   <module>r@      s|    ? &  ' ; ( 3 7 4 > D%%(($*;*;*@*@%%++-t## -r   