
    k                        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	d
Z ej                  ej                  j                  ej                  j                        ej                    G d dej"                                      Zy)z+Command to describe the specified pipeline.    )absolute_import)division)unicode_literals)	pipelines)base)flagsz{description}z         To describe the pipeline `my-pipeline` in location `us-central1`, run:

          $ {command} my-pipeline --location=us-central1
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)DescribezDescribe an Eventarc pipeline.c                 4    t        j                  |dd       y )NzPipeline to describe.T)required)r   AddPipelineResourceArg)clsparsers     *lib/surface/eventarc/pipelines/describe.pyArgszDescribe.Args*   s    	  )@4P    c                     t        j                         }|j                  j                  j	                         }|j                  |      S )N)r   PipelineClientV1CONCEPTSpipelineParseGet)selfargsclientpipeline_refs       r   RunzDescribe.Run.   s7    '')F==))//1L::l##r   N)	__name__
__module____qualname____doc___DETAILED_HELPdetailed_helpclassmethodr   r    r   r   r   r   #   s%     ' -Q Q$r   r   N)r#   
__future__r   r   r   googlecloudsdk.api_lib.eventarcr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.eventarcr   r$   ReleaseTracksReleaseTrackBETAGADefaultUniverseOnlyDescribeCommandr   r'   r   r   <module>r2      s    2 &  ' 5 ( 5 # D%%**D,=,=,@,@A$t## $  B$r   