
    :                        S 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                  R                  \R                  R                  5       " S	 S
\R                  5      5       5       r\	\l        g)z%'workbench instances update' command.    )	instances)util)base)flagsz+
        Updates a workbench instance.
    a  
    To update machine type for an instance, run:

        $ {command} example-instance --machine-type=n1-standard-8 --location=us-central1-a

    To update labels for an instance, run:

        $ {command} example-instance --labels=k1=v1,k2=v2 --location=us-central1-a
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Update)   zUpdates a workbench instance.c                 0    [         R                  " U 5        g)z Register flags for this command.N)r   AddUpdateInstanceFlags)parsers    )lib/surface/workbench/instances/update.pyArgsUpdate.Args.   s     
  (    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)ReleaseTrackr   	GetClientGetMessagesprojects_locations_instancesPatchinstance_utilCreateInstanceUpdateRequest	HandleLROOperationTypeUPDATE)selfargsrelease_trackclientmessagesinstance_service	operations          r   Run
Update.Run3   s    %%'M^^M*F.H:: &&11$ACI""$2299; ;r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r&   __static_attributes__r(   r   r   r
   r
   )   s     &) );r   r
   N)r-    googlecloudsdk.api_lib.workbenchr   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.workbenchr   DETAILED_HELPDefaultUniverseOnlyReleaseTracksr   GABETACommandr
   detailed_helpr(   r   r   <module>r:      s    , H 1 ( 6		$ D%%(($*;*;*@*@A;T\\ ; B ;, % r   