
                             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                         G d dej                               Zy)z5Command to run a Pipeline for the Data Pipelines API.    )absolute_import)division)unicode_literals)util)base)flagsz{description}z         To run a Data Pipeline ``PIPELINE_NAME'' of project ``example'' in region ``us-central1'', run:

          $ {command} PIPELINE_NAME --project=example --region=us-central1
        )DESCRIPTIONEXAMPLESc                   *    e Zd ZdZeZed        Zd Zy)DeletezRun Data Pipelines Pipeline.c                 .    t        j                  |        y )N)r   AddStopPipelineFlags)parsers    )lib/surface/datapipelines/pipeline/run.pyArgszDelete.Args+   s    	v&    c                     t        j                         }|j                  j                  j	                         }|j                  |j                               S )zRun the run command.)pipeline)r   PipelinesClientCONCEPTSr   ParseRunRelativeName)selfargsclientpipelines_refs       r   r   z
Delete.Run/   sB    !!#FMM**002M::}99;:<<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.datapipelinesr   googlecloudsdk.callioper   (googlecloudsdk.command_lib.datapipelinesr   r"   ReleaseTracksReleaseTrackBETADescribeCommandr   r%   r   r   <module>r.      sg    < &  ' 5 ( : 				 D%%**+=T!! = ,=r   