public class Compute.Reservations
extends java.lang.Object
| 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 |
| Constructor and Description |
|---|
Reservations() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Reservations.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves an aggregated list of reservations.
|
Compute.Reservations.Delete |
delete(java.lang.String project,
java.lang.String zone,
java.lang.String reservation)
Deletes the specified reservation.
|
Compute.Reservations.Get |
get(java.lang.String project,
java.lang.String zone,
java.lang.String reservation)
Retrieves information about the specified reservation.
|
Compute.Reservations.GetIamPolicy |
getIamPolicy(java.lang.String project,
java.lang.String zone,
java.lang.String resource)
Gets the access control policy for a resource.
|
Compute.Reservations.Insert |
insert(java.lang.String project,
java.lang.String zone,
Reservation content)
Creates a new reservation.
|
Compute.Reservations.List |
list(java.lang.String project,
java.lang.String zone)
A list of all the reservations that have been configured for the specified project in specified
zone.
|
Compute.Reservations.Resize |
resize(java.lang.String project,
java.lang.String zone,
java.lang.String reservation,
ReservationsResizeRequest content)
Resizes the reservation (applicable to standalone reservations only).
|
Compute.Reservations.SetIamPolicy |
setIamPolicy(java.lang.String project,
java.lang.String zone,
java.lang.String resource,
ZoneSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.Reservations.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String zone,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.Reservations.AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOExceptionpublic Compute.Reservations.Delete delete(java.lang.String project, java.lang.String zone, java.lang.String reservation) throws java.io.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.java.io.IOExceptionpublic Compute.Reservations.Get get(java.lang.String project, java.lang.String zone, java.lang.String reservation) throws java.io.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.java.io.IOExceptionpublic Compute.Reservations.GetIamPolicy getIamPolicy(java.lang.String project, java.lang.String zone, java.lang.String resource) throws java.io.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.java.io.IOExceptionpublic Compute.Reservations.Insert insert(java.lang.String project, java.lang.String zone, Reservation content) throws java.io.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 Reservationjava.io.IOExceptionpublic Compute.Reservations.List list(java.lang.String project, java.lang.String zone) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request.java.io.IOExceptionpublic Compute.Reservations.Resize resize(java.lang.String project, java.lang.String zone, java.lang.String reservation, ReservationsResizeRequest content) throws java.io.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 ReservationsResizeRequestjava.io.IOExceptionpublic Compute.Reservations.SetIamPolicy setIamPolicy(java.lang.String project, java.lang.String zone, java.lang.String resource, ZoneSetPolicyRequest content) throws java.io.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 ZoneSetPolicyRequestjava.io.IOExceptionpublic Compute.Reservations.TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String zone, java.lang.String resource, TestPermissionsRequest content) throws java.io.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 TestPermissionsRequestjava.io.IOException