
                         v   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r	S r
S	 r\R                  " \R                  R                  5       " S
 S\R                  5      5       r\R                  " \R                  R"                  \R                  R$                  5       " S S\R                  5      5       rg)z$ai-platform models describe command.    )models)base)endpoint_util)flags)region_utilz	ml.modelsc                     [         R                  " 5       R                  U 5        [         R                  " SS9R                  U 5        g )NT)include_global)r   GetModelNameAddToParserGetRegionArgparsers    *lib/surface/ai_platform/models/describe.py_AddDescribeArgsr      s2    ""6*D)55f=    c                     [         R                  " U 5      n[        R                  " US9   [        R
                  " 5       R                  U R                  5      sS S S 5        $ ! , (       d  f       g = f)N)region)r   	GetRegionr   MlEndpointOverridesr   ModelsClientGetmodel)argsr   s     r   _Runr   !   sG      &&((7 $$TZZ0 877s   .A##
A1c                   .    \ rS rSrSr\S 5       rS rSrg)Describe)   Describe an existing AI Platform model.

Describe an existing AI Platform model.

If you would like to see all versions of a model, use
`gcloud ai-platform versions list`.
c                     [        U 5        g Nr   r   s    r   ArgsDescribe.Args3   
    Vr   c                     [        U5      $ r    r   selfr   s     r   RunDescribe.Run7       :r    N	__name__
__module____qualname____firstlineno____doc__staticmethodr"   r)   __static_attributes__r,   r   r   r   r   )          r   r   c                   .    \ rS rSrSr\S 5       rS rSrg)DescribeBeta;   r   c                     [        U 5        g r    r!   r   s    r   r"   DescribeBeta.ArgsE   r$   r   c                     [        U5      $ r    r&   r'   s     r   r)   DescribeBeta.RunI   r+   r   r,   Nr-   r,   r   r   r7   r7   ;   r5   r   r7   N)r2    googlecloudsdk.api_lib.ml_enginer   googlecloudsdk.callioper   $googlecloudsdk.command_lib.ml_enginer   r   r   _COLLECTIONr   r   ReleaseTracksReleaseTrackGADescribeCommandr   BETAALPHAr7   r,   r   r   <module>rG      s    + 4 ( > 6 < >
1 D%%(()t##  *" D%%**D,=,=,C,CD4''  Er   