Compute V1 Client - Class InstanceGroupManagersScopedList (1.22.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_group_managers array<InstanceGroupManager>

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

↳ warning 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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstanceGroupManagers

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

Parameter
Name Description
var array<InstanceGroupManager>
Returns
Type Description
$this

getWarning

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

Returns
Type Description
Warning|null

hasWarning

clearWarning

setWarning

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

Parameter
Name Description
var Warning
Returns
Type Description
$this