class Google::Apis::ComputeV1::InstanceGroupsListInstancesRequest

Attributes

instance_state[RW]

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. Corresponds to the JSON property `instanceState` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 13872
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 13877
def update!(**args)
  @instance_state = args[:instance_state] if args.key?(:instance_state)
end