
                             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)z6Command to stop a Pipeline for the Data Pipelines API.    )absolute_import)division)unicode_literals)util)base)flagsz{description}z         To stop 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Stop Data Pipelines Pipeline.c                 .    t        j                  |        y )N)r   AddStopPipelineFlags)parsers    *lib/surface/datapipelines/pipeline/stop.pyArgszDelete.Args+   s    	v&    c                     t        j                         }|j                  j                  j	                         }|j                  |j                               S )zRun the stop command.)pipeline)r   PipelinesClientCONCEPTSr   ParseStopRelativeName)selfargsclientpipelines_refs       r   Runz
Delete.Run/   sB    !!#FMM**002M;; : : <;==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   