Compute V1 Client - Class NodeTypesScopedList (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ node_types array<Google\Cloud\Compute\V1\NodeType>

[Output Only] A list of node types contained in this scope.

↳ warning Google\Cloud\Compute\V1\Warning

[Output Only] An informational warning that appears when the node types list is empty.

getNodeTypes

[Output Only] A list of node types contained in this scope.

Generated from protobuf field repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodeTypes

[Output Only] A list of node types contained in this scope.

Generated from protobuf field repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\NodeType>
Returns
TypeDescription
$this

getWarning

[Output Only] An informational warning that appears when the node types list is empty.

Generated from protobuf field optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Google\Cloud\Compute\V1\Warning|null

hasWarning

clearWarning

setWarning

[Output Only] An informational warning that appears when the node types list is empty.

Generated from protobuf field optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
NameDescription
var Google\Cloud\Compute\V1\Warning
Returns
TypeDescription
$this