| Modifier and Type | Class and Description | 
|---|---|
| class  | Compute.Reservations.AggregatedList | 
| class  | Compute.Reservations.Delete | 
| class  | Compute.Reservations.Get | 
| class  | Compute.Reservations.GetIamPolicy | 
| class  | Compute.Reservations.Insert | 
| class  | Compute.Reservations.List | 
| class  | Compute.Reservations.Resize | 
| class  | Compute.Reservations.SetIamPolicy | 
| class  | Compute.Reservations.TestIamPermissions | 
| class  | Compute.Reservations.Update | 
| Constructor and Description | 
|---|
| Reservations() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Reservations.AggregatedList | aggregatedList(String project)Retrieves an aggregated list of reservations. | 
| Compute.Reservations.Delete | delete(String project,
      String zone,
      String reservation)Deletes the specified reservation. | 
| Compute.Reservations.Get | get(String project,
   String zone,
   String reservation)Retrieves information about the specified reservation. | 
| Compute.Reservations.GetIamPolicy | getIamPolicy(String project,
            String zone,
            String resource)Gets the access control policy for a resource. | 
| Compute.Reservations.Insert | insert(String project,
      String zone,
      Reservation content)Creates a new reservation. | 
| Compute.Reservations.List | list(String project,
    String zone)A list of all the reservations that have been configured for the specified project in specified
 zone. | 
| Compute.Reservations.Resize | resize(String project,
      String zone,
      String reservation,
      ReservationsResizeRequest content)Resizes the reservation (applicable to standalone reservations only). | 
| Compute.Reservations.SetIamPolicy | setIamPolicy(String project,
            String zone,
            String resource,
            ZoneSetPolicyRequest content)Sets the access control policy on the specified resource. | 
| Compute.Reservations.TestIamPermissions | testIamPermissions(String project,
                  String zone,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
| Compute.Reservations.Update | update(String project,
      String zone,
      String reservation,
      Reservation content)Update share settings of the reservation. | 
public Compute.Reservations.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Reservations.Delete delete(String project, String zone, String reservation) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.reservation - Name of the reservation to delete.IOExceptionpublic Compute.Reservations.Get get(String project, String zone, String reservation) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.reservation - Name of the reservation to retrieve.IOExceptionpublic Compute.Reservations.GetIamPolicy getIamPolicy(String project, String zone, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.Reservations.Insert insert(String project, String zone, Reservation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.content - the ReservationIOExceptionpublic Compute.Reservations.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.IOExceptionpublic Compute.Reservations.Resize resize(String project, String zone, String reservation, ReservationsResizeRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.reservation - Name of the reservation to update.content - the ReservationsResizeRequestIOExceptionpublic Compute.Reservations.SetIamPolicy setIamPolicy(String project, String zone, String resource, ZoneSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.content - the ZoneSetPolicyRequestIOExceptionpublic Compute.Reservations.TestIamPermissions testIamPermissions(String project, String zone, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionpublic Compute.Reservations.Update update(String project, String zone, String reservation, Reservation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.reservation - Name of the reservation to update.content - the ReservationIOExceptionCopyright © 2011–2022 Google. All rights reserved.