| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Reservations.Insert | Compute.Reservations. insert(String project,
      String zone,
      Reservation content)Creates a new reservation. | 
| Constructor and Description | 
|---|
| Insert(String project,
      String zone,
      Reservation content)Creates a new reservation. | 
| Modifier and Type | Method and Description | 
|---|---|
| Reservation | Reservation. clone() | 
| Reservation | Reservation. set(String fieldName,
   Object value) | 
| Reservation | Reservation. setCommitment(String commitment)[Output Only] Full or partial URL to a parent commitment. | 
| Reservation | Reservation. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Reservation | Reservation. setDescription(String description)An optional description of this resource. | 
| Reservation | Reservation. setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| Reservation | Reservation. setKind(String kind)[Output Only] Type of the resource. | 
| Reservation | Reservation. setName(String name)The name of the resource, provided by the client when initially creating the resource. | 
| Reservation | Reservation. setSatisfiesPzs(Boolean satisfiesPzs)[Output Only] Reserved for future use. | 
| Reservation | Reservation. setSelfLink(String selfLink)[Output Only] Server-defined fully-qualified URL for this resource. | 
| Reservation | Reservation. setSpecificReservation(AllocationSpecificSKUReservation specificReservation)Reservation for instances with specific machine shapes. | 
| Reservation | Reservation. setSpecificReservationRequired(Boolean specificReservationRequired)Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. | 
| Reservation | Reservation. setStatus(String status)[Output Only] The status of the reservation. | 
| Reservation | Reservation. setZone(String zone)Zone in which the reservation resides. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Reservation> | ReservationList. getItems()[Output Only] A list of Allocation resources. | 
| List<Reservation> | ReservationsScopedList. getReservations()A list of reservations contained in this scope. | 
| List<Reservation> | Commitment. getReservations()List of reservations in this commitment. | 
| Modifier and Type | Method and Description | 
|---|---|
| ReservationList | ReservationList. setItems(List<Reservation> items)[Output Only] A list of Allocation resources. | 
| ReservationsScopedList | ReservationsScopedList. setReservations(List<Reservation> reservations)A list of reservations contained in this scope. | 
| Commitment | Commitment. setReservations(List<Reservation> reservations)List of reservations in this commitment. | 
Copyright © 2011–2021 Google. All rights reserved.