| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.Instances.SetScheduling |
Compute.Instances.setScheduling(java.lang.String project,
java.lang.String zone,
java.lang.String instance,
Scheduling content)
Sets an instance's scheduling options.
|
| Constructor and Description |
|---|
Compute.Instances.SetScheduling(java.lang.String project,
java.lang.String zone,
java.lang.String instance,
Scheduling content)
Sets an instance's scheduling options.
|
| Modifier and Type | Method and Description |
|---|---|
Scheduling |
Scheduling.clone() |
Scheduling |
Instance.getScheduling()
Scheduling options for this instance.
|
Scheduling |
InstanceProperties.getScheduling()
Specifies the scheduling options for the instances that are created from this template.
|
Scheduling |
Scheduling.set(java.lang.String fieldName,
java.lang.Object value) |
Scheduling |
Scheduling.setAutomaticRestart(java.lang.Boolean automaticRestart)
Specifies whether the instance should be automatically restarted if it is terminated by Compute
Engine (not terminated by a user).
|
Scheduling |
Scheduling.setOnHostMaintenance(java.lang.String onHostMaintenance)
Defines the maintenance behavior for this instance.
|
Scheduling |
Scheduling.setPreemptible(java.lang.Boolean preemptible)
Whether the instance is preemptible.
|
| Modifier and Type | Method and Description |
|---|---|
Instance |
Instance.setScheduling(Scheduling scheduling)
Scheduling options for this instance.
|
InstanceProperties |
InstanceProperties.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from this template.
|