Compute V1 Client - Class ManagedInstancePropertiesFromFlexibilityPolicy (1.21.0)

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

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

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 to be used for this instance.

getMachineType

The machine type to be used for this instance.

Returns
Type Description
string

hasMachineType

clearMachineType

setMachineType

The machine type to be used for this instance.

Parameter
Name Description
var string
Returns
Type Description
$this