Compute V1 Client - Class NodeTemplateNodeTypeFlexibility (1.14.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
NameDescription
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
TypeDescription
string

hasCpus

clearCpus

setCpus

Generated from protobuf field optional string cpus = 3060683;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocalSsd

Generated from protobuf field optional string local_ssd = 405741360;

Returns
TypeDescription
string

hasLocalSsd

clearLocalSsd

setLocalSsd

Generated from protobuf field optional string local_ssd = 405741360;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMemory

Generated from protobuf field optional string memory = 532856065;

Returns
TypeDescription
string

hasMemory

clearMemory

setMemory

Generated from protobuf field optional string memory = 532856065;

Parameter
NameDescription
var string
Returns
TypeDescription
$this