Class: Google::Apis::ComputeV1::InstanceGroupsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceGroupsScopedList

Returns a new instance of InstanceGroupsScopedList.



12956
12957
12958
# File 'generated/google/apis/compute_v1/classes.rb', line 12956

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instance_groupsArray<Google::Apis::ComputeV1::InstanceGroup>

[Output Only] The list of instance groups that are contained in this scope. Corresponds to the JSON property instanceGroups



12948
12949
12950
# File 'generated/google/apis/compute_v1/classes.rb', line 12948

def instance_groups
  @instance_groups
end

#warningGoogle::Apis::ComputeV1::InstanceGroupsScopedList::Warning

[Output Only] An informational warning that replaces the list of instance groups when the list is empty. Corresponds to the JSON property warning



12954
12955
12956
# File 'generated/google/apis/compute_v1/classes.rb', line 12954

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12961
12962
12963
12964
# File 'generated/google/apis/compute_v1/classes.rb', line 12961

def update!(**args)
  @instance_groups = args[:instance_groups] if args.key?(:instance_groups)
  @warning = args[:warning] if args.key?(:warning)
end