
    	                        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 ddl
mZ dd	d
Z ej                  ej                  j                  ej                  j                          G d dej"                               Zy)z4Recommender API recommender config Describe command.    )absolute_import)division)unicode_literals)base)recommender_config)flagsz{description}z        To describe a recommender configuration, run:

          $ {command} ${RECOMMENDER} --project=${PROJECT} --location=${LOCATION}
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)DescribezDescribe a recommender configuration.

      Describe a recommender configuration based on a given entity (project,
      organization, billing account), location, and recommender.
  c                     t        j                  | t        j                  j                  t        j                  j
                  t        j                  j                  g       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.
    N)r   AddRecommenderFlagsToParser	reco_base
EntityTypePROJECTORGANIZATIONBILLING_ACCOUNT)parsers    6lib/surface/recommender/recommender_config/describe.pyArgszDescribe.Args0   sE     
%%f$$i&:&:&G&G,,/     c                     t        j                  | j                               }t        j                  |      }|j                  |      S )zRuns 'gcloud recommender recommender-config describe'.

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

    Returns:
      The result recommender config to describe.
    )r   CreateClientReleaseTrackr   GetRecommenderConfigNameGet)selfargsclientconfigs       r   RunzDescribe.Run=   s<      ,,T->->-@AF++D1F::fr   N)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpstaticmethodr   r!    r   r   r   r   &   s%    
 !-
 
r   r   N)r%   
__future__r   r   r   "googlecloudsdk.api_lib.recommenderr   r   r   googlecloudsdk.calliope&googlecloudsdk.command_lib.recommenderr   r&   ReleaseTracksr   BETAGADescribeCommandr   r)   r   r   <module>r2      s{    ; &  ' @ A ( 8 				 D%%**%%((* t##  * r   