
                         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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+Vertex AI index endpoints describe command.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flagsc                   4    \ rS rSrSr\S 5       rS rS rSr	g)
DescribeV1   Gets detailed index endpoint information about the given index endpoint id.

## EXAMPLES

Describe an index endpoint `123` of 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
   AddIndexEndpointResourceArg)parsers    *lib/surface/ai/index_endpoints/describe.pyArgsDescribeV1.Args(   s    	%%fm<    c                    UR                   R                  R                  5       nUR                  5       S   n[        R
                  " X$S9   [        R                  " US9R                  U5      sS S S 5        $ ! , (       d  f       g = f)NlocationsId)region)version)	CONCEPTSindex_endpointParseAsDictr	   AiplatformEndpointOverridesr   IndexEndpointsClientGet)selfargsr   index_endpoint_refr   s        r   _RunDescribeV1._Run,   se    55;;=&&(7F		2	27	J((312 
K	J	Js   #A99
Bc                 B    U R                  U[        R                  5      $ N)r$   r   
GA_VERSIONr!   r"   s     r   RunDescribeV1.Run3   s    99T9//00r    N)
__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   r*   __static_attributes__r,   r   r   r   r      s%     = =31r   r   c                       \ rS rSrSrS rSrg)DescribeV1Beta17   r   c                 B    U R                  U[        R                  5      $ r'   )r$   r   BETA_VERSIONr)   s     r   r*   DescribeV1Beta1.RunC   s    99T91122r   r,   N)r-   r.   r/   r0   r1   r*   r3   r,   r   r   r5   r5   7   s    3r   r5   N)r1   
__future__r   r   r   )googlecloudsdk.api_lib.ai.index_endpointsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   r
   ReleaseTracksReleaseTrackGADescribeCommandr   ALPHABETAr5   r,   r   r   <module>rD      s    2 &  ' < ( 3 7 / D%%(()1%% 1 *14 D%%++T->->-C-CD3j 3 E3r   