Class: Google::Apis::ComputeBeta::InstanceGroupManagersScopedList

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) ⇒ InstanceGroupManagersScopedList

Returns a new instance of InstanceGroupManagersScopedList



8616
8617
8618
# File 'generated/google/apis/compute_beta/classes.rb', line 8616

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

Instance Attribute Details

#instance_group_managersArray<Google::Apis::ComputeBeta::InstanceGroupManager>

[Output Only] The list of managed instance groups that are contained in the specified project and zone. Corresponds to the JSON property instanceGroupManagers



8608
8609
8610
# File 'generated/google/apis/compute_beta/classes.rb', line 8608

def instance_group_managers
  @instance_group_managers
end

#warningGoogle::Apis::ComputeBeta::InstanceGroupManagersScopedList::Warning

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



8614
8615
8616
# File 'generated/google/apis/compute_beta/classes.rb', line 8614

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8621
8622
8623
8624
# File 'generated/google/apis/compute_beta/classes.rb', line 8621

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