Compute V1 Client - Class NodeTemplateNodeTypeFlexibility (1.19.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cpus string
↳ local_ssd string
↳ memory string

getCpus

Generated from protobuf field optional string cpus = 3060683;

Returns
Type Description
string

hasCpus

clearCpus

setCpus

Generated from protobuf field optional string cpus = 3060683;

Parameter
Name Description
var string
Returns
Type Description
$this

getLocalSsd

Generated from protobuf field optional string local_ssd = 405741360;

Returns
Type Description
string

hasLocalSsd

clearLocalSsd

setLocalSsd

Generated from protobuf field optional string local_ssd = 405741360;

Parameter
Name Description
var string
Returns
Type Description
$this

getMemory

Generated from protobuf field optional string memory = 532856065;

Returns
Type Description
string

hasMemory

clearMemory

setMemory

Generated from protobuf field optional string memory = 532856065;

Parameter
Name Description
var string
Returns
Type Description
$this