
    _
                         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  \R                   " S	 S
\R                  5      5       rg)z*Command to show a specified investigation.    )absolute_import)division)unicode_literals)args)util)base)cloud_assistc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   a  Show metadata for an investigation.

Shows metadata for an investigation given a valid investigation ID.

This command can fail for the following reasons:
* The investigation specified does not exist.
* The active account does not have permission to access the given
investigation.

## EXAMPLES

The following command prints metadata for an investigation with the ID
`example-foo-bar-1`:

  $ {command} example-foo-bar-1
c                 v    [         R                  " U SS9  U R                  SSSSS9  U R                  SSSS	S9  g )
Nzto describe)verbz--detailF
store_truez0Include extra information in the default output.)requiredactionhelpz--rawz_Return the full, unaltered API response instead of the version formatted for human consumption.)gca_argsAddInvestigationResourceArgadd_argument)parsers    :lib/surface/gemini/cloud_assist/investigations/describe.pyArgsDescribe.Args/   sT    ((mD
?	   0      c                    UR                  S5      (       d1  UR                  (       d   UR                  (       a  SUl        OSUl        UR                  R
                  R                  5       nUR                  (       a$  [        R                  " UR                  5       5      $ [        R                  " [        R                  " UR                  5       5      5      $ )Nformatz(value(investigation_markdown_detailed())z%value(investigation_markdown_short()))IsSpecifiedrawdetailr   CONCEPTSinvestigationParsegca_utilGetInvestigationRelativeNamer	   ReformatInvestigation)selfr   investigation_refs      r   RunDescribe.RunB   s    H%%dhh	@=3399;xx&&'8'E'E'GHH--!!"3"@"@"BC r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r)   __static_attributes__r+   r   r   r   r      s     "  $r   r   N)r0   
__future__r   r   r   *googlecloudsdk.api_lib.gemini_cloud_assistr   r   r   r#   googlecloudsdk.callioper   !googlecloudsdk.command_lib.geminir	   DefaultUniverseOnlyDescribeCommandr   r+   r   r   <module>r9      sF     1 &  ' G G ( : 3t## 3 3r   