
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSKJr  S	S
S.r\
R                  " \
R                  R                   5       " S S\
R"                  5      5       r\\l        g)z"'notebooks runtimes stop' command.    )absolute_import)division)unicode_literals)runtimes)util)base)flagsz5
        Request for stopping notebook runtimes.
    z]
    To stop a runtime, run:

        $ {command} example-runtime --location=us-central1
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Stop(   zRequest for stopping runtimes.c                 x    [         R                  " U R                  5       5      n[        R                  " X!5        g)z Register flags for this command.N)r   ApiVersionSelectorReleaseTrackr	   AddStopRuntimeFlags)clsparserapi_versions      &lib/surface/notebooks/runtimes/stop.pyArgs	Stop.Args,   s+     ))#*:*:*<=K	k2    c                 <   U R                  5       n[        R                  " U5      n[        R                  " U5      nUR                  nUR                  [        R                  " X5      5      n[        R                  " UUUU[        R                  R                  S9$ )N)operation_type)r   r   	GetClientGetMessagesprojects_locations_runtimesr   runtime_utilCreateRuntimeStopRequest	HandleLROOperationTypeUPDATE)selfargsrelease_trackclientmessagesruntime_service	operations          r   RunStop.Run2   s    %%'M^^M*F.H88O$$--d=?I!!#1188: :r    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r+   __static_attributes__r-   r   r   r   r   (   s    &3 3
:r   r   N)r2   
__future__r   r   r    googlecloudsdk.api_lib.notebooksr   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.notebooksr	   DETAILED_HELPReleaseTracksr   GACommandr   detailed_helpr-   r   r   <module>r>      sp    ) &  ' E 1 ( 6		 D%%(():4<< : *:0 # r   