
    
                        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"                  5       " S S\R$                  5      5       r\R                  " \R                   R(                  \R                   R*                  5       " S S\5      5       rg)z2Command to get a Persistent Resource in Vertex AI.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flags)
validationc                   F    \ rS rSrSr\R                  r\S 5       r	S r
Srg)
DescribeGA     Get detailed information about a PersistentResource with a given id.

## EXAMPLES

To get the persistent resource with the PersistentResource id ``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
    AddPersistentResourceResourceArg)parsers    /lib/surface/ai/persistent_resources/describe.pyArgsDescribeGA.Args+   s    	**6=A    c                    UR                   R                  R                  5       nUR                  5       S   n[        R
                  " U5        [        R                  " U R                  US9   [        R                  " U R                  S9R                  UR                  5       5      nUsS S S 5        $ ! , (       d  f       g = f)NlocationsId)versionregion)r   )CONCEPTSpersistent_resourceParseAsDictr   ValidateRegionr	   AiplatformEndpointOverrides_api_versionr   PersistentResourcesClientGetRelativeName)selfargspersistent_resource_refr   responses        r   RunDescribeGA.Run/   s    "mm??EEG$++-m<Ff%		2	2!!&
 11###0023  
 
 
s   -=B44
C N)__name__
__module____qualname____firstlineno____doc__r   
GA_VERSIONr!   staticmethodr   r)   __static_attributes__r+   r   r   r   r      s-     %%,B Br   r   c                   0    \ rS rSrSr\R                  rSrg)DescribePreGA=   r   r+   N)	r,   r-   r.   r/   r0   r   BETA_VERSIONr!   r3   r+   r   r   r5   r5   =   s     '',r   r5   N)r0   
__future__r   r   r   .googlecloudsdk.api_lib.ai.persistent_resourcesr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   2googlecloudsdk.command_lib.ai.persistent_resourcesr
   r   ReleaseTracksReleaseTrackGADescribeCommandr   ALPHABETAr5   r+   r   r   <module>rC      s    9 &  ' A ( 3 7 D I D%%(()%%  *> D%%++T->->-C-CD(J ( E(r   