Compute V1 Client - Class InstanceGroupsListInstancesRequest (1.5.0)

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

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

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.

Generated from protobuf field optional string instance_state = 92223591;

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.

Generated from protobuf field optional string instance_state = 92223591;

Parameter
NameDescription
var string
Returns
TypeDescription
$this