Compute V1 Client - Class CapacityHistoryRequestInstanceProperties (2.14.1)

Reference documentation and code samples for the Compute V1 Client class CapacityHistoryRequestInstanceProperties.

Instance properties for this request.

Generated from protobuf message google.cloud.compute.v1.CapacityHistoryRequestInstanceProperties

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ machine_type string

The machine type for the VM, such as n2-standard-4.

↳ scheduling CapacityHistoryRequestInstancePropertiesScheduling

Specifies the scheduling options.

getMachineType

The machine type for the VM, such as n2-standard-4.

Returns
Type Description
string

hasMachineType

clearMachineType

setMachineType

The machine type for the VM, such as n2-standard-4.

Parameter
Name Description
var string
Returns
Type Description
$this

getScheduling

Specifies the scheduling options.

Returns
Type Description
CapacityHistoryRequestInstancePropertiesScheduling|null

hasScheduling

clearScheduling

setScheduling

Specifies the scheduling options.

Parameter
Name Description
var CapacityHistoryRequestInstancePropertiesScheduling
Returns
Type Description
$this