
    	                     >   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
  \R                  \R                  " \R                  R                  \R                  R                  \R                  R                   5       " S S	\R"                  5      5       5       rg
)z*recommender API insights Describe command.    )absolute_import)division)unicode_literals)insight)base)flagsc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Describe   zDescribe an insight.z      Describe an insight. This currently supports the following parent
      entities: project, billing account, folder, and organization.
      z      To describe an insight:

        $ {command} --insight-type=${INSIGHT_TYPE} --project=${PROJECT} --location=${LOCATION}
     )DESCRIPTIONEXAMPLESc                     [         R                  " U 5        U R                  S[        SS9  U R                  SSSSS9  U R                  S	S
SSS9  g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go on
    the command line after this command.
INSIGHTzinsight to describe)typehelpz
--locationLOCATIONTLocation)metavarrequiredr   z--insight-typeINSIGHT_TYPEz!Insight type to describe insightsN)r   AddParentFlagsToParseradd_argumentstr)parsers    ,lib/surface/recommender/insights/describe.pyArgsDescribe.Args-   sl     
  (
"  
 j4j  J
0	  2    c                     [         R                  " U R                  5       5      n[        R                  " U5      nUR                  U5      $ )zRun 'gcloud recommender insights describe'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
    with.

Returns:
  The result insights to describe
)r   CreateClientReleaseTrackr   GetInsightNameGet)selfargsclientnames       r   RunDescribe.RunC   s<     !!$"3"3"56F%D::dr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r(   __static_attributes__r*   r   r   r
   r
      s1    
 
	
- 2 2*r   r
   N)r/   
__future__r   r   r   "googlecloudsdk.api_lib.recommenderr   googlecloudsdk.callioper   &googlecloudsdk.command_lib.recommenderr   DefaultUniverseOnlyReleaseTracksr!   ALPHABETAGACommandr
   r*   r   r   <module>r=      s    1 &  ' 6 ( 8 T..33T5F5F5I5I1t|| 1 1r   