
    	                        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
 r\R                  " \R                  R                   \R                  R"                  5       " S S\R$                  5      5       rg)z.Command to get a Tensorboard run in Vertex AI.    )absolute_import)division)unicode_literals)client)base)	constants)endpoint_util)flagsc                    U R                   R                  R                  5       nUR                  5       S   n[        R
                  " XS9   [        R                  " US9R                  U5      nUsS S S 5        $ ! , (       d  f       g = f)NlocationsId)versionregion)r   )	CONCEPTStensorboard_runParseAsDictr	   AiplatformEndpointOverridesr   TensorboardRunsClientGet)argsr   tensorboard_run_refr   responses        +lib/surface/ai/tensorboard_runs/describe.py_Runr      ss    55;;=%%'6&00&++01 	& & &s   %A;;
B	c                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	DescribeBeta&   zLGet detailed Tensorboard run information about the given Tensorboard run id.EXAMPLESa            To describe a Tensorboard Run `my-tensorboard-run` in Tensorboard `12345`, Tensorboard Experiment `my-tensorboard-experiment`, region `us-central1`, and project `my-project`:

              $ {command} projects/my-project/locations/us-central1/tensorboards/12345/experiments/my-tensorboard-experiment/runs/my-tensorboard-run

          Or with flags:

              $ {command} my-tensorboard-run --tensorboard-id=12345 --tensorboard-experiment-id=my-tensorboard-experiment
          c                 2    [         R                  " U S5        g )Nzto describe)r
   AddTensorboardRunResourceArg)parsers    r   ArgsDescribeBeta.Args7   s    	&&v}=    c                 6    [        U[        R                  5      $ )N)r   r   BETA_VERSION)selfr   s     r   RunDescribeBeta.Run;   s    i,,--r$    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr"   r(   __static_attributes__r*   r$   r   r   r   &   s/    T - > >.r$   r   N)r/   
__future__r   r   r   *googlecloudsdk.api_lib.ai.tensorboard_runsr   googlecloudsdk.callioper   googlecloudsdk.command_lib.air   r	   r
   r   ReleaseTracksReleaseTrackBETAALPHADescribeCommandr   r*   r$   r   <module>r<      sn    5 &  ' = ( 3 7 / D%%**D,=,=,C,CD.4'' . E.r$   