| Modifier and Type | Class and Description |
|---|---|
class |
Compute.ReservationBlocks.Get |
class |
Compute.ReservationBlocks.GetIamPolicy |
class |
Compute.ReservationBlocks.List |
class |
Compute.ReservationBlocks.PerformMaintenance |
class |
Compute.ReservationBlocks.SetIamPolicy |
class |
Compute.ReservationBlocks.TestIamPermissions |
| Constructor and Description |
|---|
ReservationBlocks() |
| Modifier and Type | Method and Description |
|---|---|
Compute.ReservationBlocks.Get |
get(String project,
String zone,
String reservation,
String reservationBlock)
Retrieves information about the specified reservation block.
|
Compute.ReservationBlocks.GetIamPolicy |
getIamPolicy(String project,
String zone,
String parentResource,
String resource)
Gets the access control policy for a resource.
|
Compute.ReservationBlocks.List |
list(String project,
String zone,
String reservation)
Retrieves a list of reservation blocks under a single reservation.
|
Compute.ReservationBlocks.PerformMaintenance |
performMaintenance(String project,
String zone,
String reservation,
String reservationBlock,
ReservationsBlocksPerformMaintenanceRequest content)
Allows customers to perform maintenance on a reservation block
Create a request for the method "reservationBlocks.performMaintenance".
|
Compute.ReservationBlocks.SetIamPolicy |
setIamPolicy(String project,
String zone,
String parentResource,
String resource,
ZoneSetNestedPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.ReservationBlocks.TestIamPermissions |
testIamPermissions(String project,
String zone,
String parentResource,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.ReservationBlocks.Get get(String project, String zone, String reservation, String reservationBlock) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone for this request. Zone name should conform to RFC1035.reservation - The name of the reservation.
Name should conform to RFC1035 or be a resource ID.reservationBlock - The name of the reservation block.
Name should conform to RFC1035 or be a resource ID.IOExceptionpublic Compute.ReservationBlocks.GetIamPolicy getIamPolicy(String project, String zone, String parentResource, 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.parentResource - Name or id of parent resource of the resource for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.ReservationBlocks.List list(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. Zone name should conform to RFC1035.reservation - The name of the reservation.
Name should conform to RFC1035 or be a resource ID.IOExceptionpublic Compute.ReservationBlocks.PerformMaintenance performMaintenance(String project, String zone, String reservation, String reservationBlock, ReservationsBlocksPerformMaintenanceRequest 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. Zone name should conform to RFC1035.reservation - The name of the reservation.
Name should conform to RFC1035 or be a resource ID.reservationBlock - The name of the reservation block.
Name should conform to RFC1035 or be a resource ID.content - the ReservationsBlocksPerformMaintenanceRequestIOExceptionpublic Compute.ReservationBlocks.SetIamPolicy setIamPolicy(String project, String zone, String parentResource, String resource, ZoneSetNestedPolicyRequest 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.parentResource - Name or id of parent resource of the resource for this request.resource - Name or id of the resource for this request.content - the ZoneSetNestedPolicyRequestIOExceptionpublic Compute.ReservationBlocks.TestIamPermissions testIamPermissions(String project, String zone, String parentResource, 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.parentResource - Name or id of parent resource of the resource for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.