
    	                        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l	m
Z
 ddl	mZ dd	l	mZ d
diZd Z ej                  ej                   j"                         G d dej$                               Z ej                  ej                   j(                  ej                   j*                         G d dej$                               Zee_        ee_        y)z<Vertex AI model deployment monitoring jobs describe command.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flagsEXAMPLESz
    Describe a model deployment monitoring job `123` of project `example` in region `us-central1`, run:

      $ {command} 123 --project=example --region=us-central1
    c                    | j                   j                  j                         }|j                         d   }t	        j
                  ||      5  t        j                  |      j                  |      cddd       S # 1 sw Y   yxY w)z Run method for describe command.locationsId)region)versionN)	CONCEPTSmonitoring_jobParseAsDictr	   AiplatformEndpointOverridesr   ModelMonitoringJobsClientGet)argsr   model_monitoring_job_refr   s       0lib/surface/ai/model_monitoring_jobs/describe.py_Runr   %   sg    !]]99??A#**,];&00H++56 IHHs   %A>>Bc                   &    e Zd ZdZed        Zd Zy)
DescribeGaPGet detailed model deployment monitoring job information about the given job id.c                 0    t        j                  | d       y Nzto describer
    AddModelMonitoringJobResourceArgparsers    r   ArgszDescribeGa.Args2       	**6=A    c                 6    t        |t        j                        S N)r   r   
GA_VERSIONselfr   s     r   RunzDescribeGa.Run6   s    i**++r&   N__name__
__module____qualname____doc__staticmethodr$   r,    r&   r   r   r   .   s    XB B,r&   r   c                   &    e Zd ZdZed        Zd Zy)Describer   c                 0    t        j                  | d       y r   r    r"   s    r   r$   zDescribe.Args>   r%   r&   c                 6    t        |t        j                        S r(   )r   r   BETA_VERSIONr*   s     r   r,   zDescribe.RunB   s    i,,--r&   Nr-   r3   r&   r   r5   r5   :   s    XB B.r&   r5   N)r1   
__future__r   r   r   /googlecloudsdk.api_lib.ai.model_monitoring_jobsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   r
   DETAILED_HELPr   ReleaseTracksReleaseTrackGADescribeCommandr   ALPHABETAr5   detailed_helpr3   r&   r   <module>rE      s    C &  ' B ( 3 7 / 	7 D%%((),%% , *, D%%++T->->-C-CD.t## . E. ' (
 r&   