public interface NewReservedInstancesConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getReservation()
public abstract String getReservation() Optional. Immutable. Name of the reservation from which VM instances
should be created, in the format
projects/{project}/zones/{zone}/reservations/{reservation}.
string reservation = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The reservation. |
getReservationBytes()
public abstract ByteString getReservationBytes() Optional. Immutable. Name of the reservation from which VM instances
should be created, in the format
projects/{project}/zones/{zone}/reservations/{reservation}.
string reservation = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reservation. |
getSourceCase()
public abstract NewReservedInstancesConfig.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
NewReservedInstancesConfig.SourceCase |
|
hasReservation()
public abstract boolean hasReservation() Optional. Immutable. Name of the reservation from which VM instances
should be created, in the format
projects/{project}/zones/{zone}/reservations/{reservation}.
string reservation = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reservation field is set. |