Compute V1 Client - Class InstanceGroupManagersScopedList (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_group_managers array<Google\Cloud\Compute\V1\InstanceGroupManager>

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

↳ warning Google\Cloud\Compute\V1\Warning

[Output Only] The warning that replaces the list of managed instance groups when the list is empty.

getInstanceGroupManagers

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

Generated from protobuf field repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstanceGroupManagers

[Output Only] The list of managed instance groups that are contained in the specified project and zone.

Generated from protobuf field repeated .google.cloud.compute.v1.InstanceGroupManager instance_group_managers = 214072592;

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

getWarning

[Output Only] The warning that replaces the list of managed instance groups when the 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] The warning that replaces the list of managed instance groups when the 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