
    u                     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 indexes 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 information about the given index id.

## EXAMPLES

Describe an index `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
   AddIndexResourceArg)parsers    "lib/surface/ai/indexes/describe.pyArgsDescribeV1.Args'   s    	fm4    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ParseAsDictr	   AiplatformEndpointOverridesr   IndexesClientGet)selfargsr   	index_refr   s        r   _RunDescribeV1._Run+   sa    ##))+I.F		2	27	J!!'266yA 
K	J	Js   #A99
Bc                 B    U R                  U[        R                  5      $ N)r$   r   
GA_VERSIONr!   r"   s     r   RunDescribeV1.Run1   s    99T9//00r    N)
__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   r*   __static_attributes__r,   r   r   r   r      s&     5 5B1r   r   c                       \ rS rSrSrS rSrg)DescribeV1Beta15   r   c                 B    U R                  U[        R                  5      $ r'   )r$   r   BETA_VERSIONr)   s     r   r*   DescribeV1Beta1.Run@   s    99T91122r   r,   N)r-   r.   r/   r0   r1   r*   r3   r,   r   r   r5   r5   5   s    3r   r5   N)r1   
__future__r   r   r   !googlecloudsdk.api_lib.ai.indexesr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   r
   ReleaseTracksReleaseTrackGADescribeCommandr   ALPHABETAr5   r,   r   r   <module>rD      s    * &  ' 4 ( 3 7 / D%%(()1%% 1 *10 D%%++T->->-C-CD3j 3 E3r   