
                         J    S r SSKJr  SSKJr   " S S\R
                  5      rg)zCloud vmware Upgrades client.    )
list_pager)utilc                   8   ^  \ rS rSrSrU 4S jrS rS rSrU =r	$ )UpgradesClient   zcloud vmware Upgrades client.c                 `   > [         [        U ]  5         U R                  R                  U l        g )N)superr   __init__client)projects_locations_privateClouds_upgradesservice)self	__class__s    -lib/googlecloudsdk/api_lib/vmware/upgrades.pyr
   UpgradesClient.__init__   s!    	.$(*;;HHDL    c                     U R                   R                  UR                  5       S9nU R                  R	                  U5      $ )N)name)messages<VmwareengineProjectsLocationsPrivateCloudsUpgradesGetRequestRelativeNamer   Get)r   resourcerequests      r   r   UpgradesClient.Get   s?    mmXX""$ Y G <<G$$r   c                     U R                   R                  UR                  5       S9n[        R                  " U R
                  USSS9$ )N)parentpageSizeupgrades)batch_size_attributefield)r   =VmwareengineProjectsLocationsPrivateCloudsUpgradesListRequestr   r   YieldFromListr   )r   private_cloud_resourcer   s      r   ListUpgradesClient.List#   sJ    mmYY%224 Z G ##gJj r   )r   )
__name__
__module____qualname____firstlineno____doc__r
   r   r%   __static_attributes____classcell__)r   s   @r   r   r      s    %I% r   r   N)r+   apitools.base.pyr   googlecloudsdk.api_lib.vmwarer   VmwareClientBaser    r   r   <module>r2      s$    $ ( .T** r   