Compute V1 Client - Class CapacityHistoryRequestInstancePropertiesScheduling (2.14.1)

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 \ V1

Methods

__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