
    	                         d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
  ej                  ej                  j                  ej                  j                  ej                  j                         G d d	ej                                Zy
)z1recommender API recommendations Describe command.    )absolute_import)division)unicode_literals)recommendation)base)flagsc                   &    e Zd ZdZed        Zd Zy)Describeak  Describe a recommendation for a Cloud project.

     Describe a recommendation. This currently supports the following parent
     entities: project, billing account, folder, and organization.

     ## EXAMPLES
     To describe a recommendation:

      $ {command} RECOMMENDATION_ID --project=${PROJECT} --location=${LOCATION}
      --recommender=${RECOMMENDER}
  c                     t        j                  |        | j                  dt        d       | j                  dddd       | j                  d	d
dd       y)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.
    RECOMMENDATIONzRecommendation to describe)typehelpz
--locationLOCATIONTLocation)metavarrequiredr   z--recommenderRECOMMENDERz"Recommender of the recommendationsN)r   AddParentFlagsToParseradd_argumentstr)parsers    3lib/surface/recommender/recommendations/describe.pyArgszDescribe.Args)   sl     
  (
)  
 j4j  J
1	  3    c                     t        j                  | j                               }t        j                  |      }|j                  |      S )zRun 'gcloud recommender recommendations describe'.

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

    Returns:
      The result recommendations to describe
    )r   CreateClientReleaseTrackr   GetRecommendationNameGet)selfargsclientnames       r   RunzDescribe.Run?   s<     (():):)<=F&&t,D::dr   N)__name__
__module____qualname____doc__staticmethodr   r$    r   r   r
   r
      s     
 3 3*r   r
   N)r(   
__future__r   r   r   "googlecloudsdk.api_lib.recommenderr   googlecloudsdk.callioper   &googlecloudsdk.command_lib.recommenderr   ReleaseTracksr   ALPHABETAGACommandr
   r*   r   r   <module>r4      ss    8 &  ' = ( 8 D%%++T->->-C-C%%((*/t|| /*/r   