Modifier and Type | Class and Description |
---|---|
class |
Compute.ReservationBlocks.Get |
class |
Compute.ReservationBlocks.List |
class |
Compute.ReservationBlocks.PerformMaintenance |
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.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".
|
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.IOException
public 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.IOException
public 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 ReservationsBlocksPerformMaintenanceRequest
IOException
Copyright © 2011–2025 Google. All rights reserved.