Class: Google::Apis::ComputeAlpha::InstanceGroupsScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.



18340
18341
18342
# File 'lib/google/apis/compute_alpha/classes.rb', line 18340

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

Instance Attribute Details

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

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



18332
18333
18334
# File 'lib/google/apis/compute_alpha/classes.rb', line 18332

def instance_groups
  @instance_groups
end

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



18338
18339
18340
# File 'lib/google/apis/compute_alpha/classes.rb', line 18338

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18345
18346
18347
18348
# File 'lib/google/apis/compute_alpha/classes.rb', line 18345

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