Reference documentation and code samples for the Compute V1 Client class CapacityHistoryRequestInstancePropertiesScheduling.
Scheduling options.
Generated from protobuf message google.cloud.compute.v1.CapacityHistoryRequestInstancePropertiesScheduling
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ provisioning_model |
string
The provisioning model to get capacity history for. This field must be set to SPOT. For more information, see Compute Engine instances provisioning models. Check the ProvisioningModel enum for the list of possible values. |
getProvisioningModel
The provisioning model to get capacity history for.
This field must be set to SPOT. For more information, see Compute Engine instances provisioning models. Check the ProvisioningModel enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasProvisioningModel
clearProvisioningModel
setProvisioningModel
The provisioning model to get capacity history for.
This field must be set to SPOT. For more information, see Compute Engine instances provisioning models. Check the ProvisioningModel enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|