Class: Google::Apis::ComputeBeta::InstanceGroupsScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstanceGroupsScopedList

Returns a new instance of InstanceGroupsScopedList.



12898
12899
12900
# File 'generated/google/apis/compute_beta/classes.rb', line 12898

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

Instance Attribute Details

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

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



12890
12891
12892
# File 'generated/google/apis/compute_beta/classes.rb', line 12890

def instance_groups
  @instance_groups
end

#warningGoogle::Apis::ComputeBeta::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



12896
12897
12898
# File 'generated/google/apis/compute_beta/classes.rb', line 12896

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12903
12904
12905
12906
# File 'generated/google/apis/compute_beta/classes.rb', line 12903

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