Compute V1 Client - Class InstanceGroupsListInstancesRequest (1.9.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this