class Google::Apis::ComputeV1::InstancesScopedList

Attributes

instances[RW]
Output Only

A list of instances contained in this scope.

Corresponds to the JSON property `instances` @return [Array<Google::Apis::ComputeV1::Instance>]

warning[RW]
Output Only

Informational warning which replaces the list of instances when

the list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeV1::InstancesScopedList::Warning]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 15783
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 15788
def update!(**args)
  @instances = args[:instances] if args.key?(:instances)
  @warning = args[:warning] if args.key?(:warning)
end