| Modifier and Type | Class and Description |
|---|---|
class |
Compute.ReservationSlots.Get |
class |
Compute.ReservationSlots.GetVersion |
class |
Compute.ReservationSlots.List |
class |
Compute.ReservationSlots.Update |
| Constructor and Description |
|---|
ReservationSlots() |
| Modifier and Type | Method and Description |
|---|---|
Compute.ReservationSlots.Get |
get(String project,
String zone,
String parentName,
String reservationSlot)
Retrieves information about the specified reservation slot.
|
Compute.ReservationSlots.GetVersion |
getVersion(String project,
String zone,
String parentName,
String reservationSlot,
ReservationSlotsGetVersionRequest content)
Allows customers to get SBOM versions of a reservation slot.
|
Compute.ReservationSlots.List |
list(String project,
String zone,
String parentName)
Retrieves a list of reservation slots under a single reservation.
|
Compute.ReservationSlots.Update |
update(String project,
String zone,
String parentName,
String reservationSlot,
ReservationSlot content)
Update a reservation slot in the specified sub-block.
|
public Compute.ReservationSlots.Get get(String project, String zone, String parentName, String reservationSlot) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - The project ID for this request.zone - The name of the zone for this request, formatted as RFC1035.parentName - The name of the parent reservation and parent block, formatted as
reservations/{reservation_name}/re
servationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}reservationSlot - The name of the reservation slot, formatted as RFC1035 or a resource ID
number.IOExceptionpublic Compute.ReservationSlots.GetVersion getVersion(String project, String zone, String parentName, String reservationSlot, ReservationSlotsGetVersionRequest 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.parentName - The name of the parent reservation and parent block. In the format of
reservations/{reservation_name
}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_n
ame}reservationSlot - The name of the reservation slot.
Name should conform to RFC1035 or be a resource ID.content - the ReservationSlotsGetVersionRequestIOExceptionpublic Compute.ReservationSlots.List list(String project, String zone, String parentName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - The project ID for this request.zone - The name of the zone for this request, formatted as RFC1035.parentName - The name of the parent reservation and parent block, formatted as
reservations/{reservation_name}/re
servationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}IOExceptionpublic Compute.ReservationSlots.Update update(String project, String zone, String parentName, String reservationSlot, ReservationSlot content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - The project ID for this request.zone - The name of the zone for this request, formatted as RFC1035.parentName - The name of the sub-block resource.reservationSlot - The name of the slot resource.content - the ReservationSlotIOExceptionCopyright © 2011–2026 Google. All rights reserved.