
                         8   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                   R"                  \
R                   R$                  5       " S S\
R&                  5      5       5       r\\l        g)z%'workbench instances update' command.    )absolute_import)division)unicode_literals)	instances)util)base)flagsz4
        Resizes the workbench instance's disk.
    a   
    To increase the boot disk size for an instance, run:

        $ {command} example-instance --boot-disk-size=200 --location=us-central1-a

    To increase the data disk size for an instance, run:

        $ {command} example-instance --data-disk-size=200 --location=us-central1-a
    )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)Update,   z&Resizes the workbench instance's disk.c                 0    [         R                  " U 5        g)z Register flags for this command.N)r	   AddResizeDiskFlags)parsers    .lib/surface/workbench/instances/resize_disk.pyArgsUpdate.Args1   s     
V$    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
ResizeDiskinstance_utilCreateInstanceResizeDisk	HandleLROOperationTypeUPDATE)selfargsrelease_trackclientmessagesinstance_service	operations          r   Run
Update.Run6   s    %%'M^^M*F.H:: ++..t>@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)r0   
__future__r   r   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    , &  ' G 1 ( 6		$ D%%(($*;*;*@*@A;T\\ ; B ;, % r   