Compute V1 Client - Class InstanceGroupsListInstancesRequest (1.18.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_state string

A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state. Check the InstanceState enum for the list of possible values.

getInstanceState

A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.

Check the InstanceState enum for the list of possible values.

Returns
Type Description
string

hasInstanceState

clearInstanceState

setInstanceState

A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.

Check the InstanceState enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this