@Generated(value="by GAPIC") @BetaApi public final class Reservation extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Reservation.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCommitment()
[OutputOnly] Full or partial URL to a parent commitment.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Reservation |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
AllocationSpecificSKUReservation |
getSpecificReservation()
Reservation for instances with specific machine shapes.
|
Boolean |
getSpecificReservationRequired()
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
String |
getStatus()
[Output Only] The status of the reservation.
|
String |
getZone()
Zone in which the reservation resides.
|
int |
hashCode() |
static Reservation.Builder |
newBuilder() |
static Reservation.Builder |
newBuilder(Reservation prototype) |
Reservation.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getCommitment()
public String getCreationTimestamp()
public String getDescription()
public String getId()
public String getKind()
public String getName()
public String getSelfLink()
public AllocationSpecificSKUReservation getSpecificReservation()
public Boolean getSpecificReservationRequired()
public String getStatus()
public String getZone()
public static Reservation.Builder newBuilder()
public static Reservation.Builder newBuilder(Reservation prototype)
public Reservation.Builder toBuilder()
public static Reservation getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.