Class: Google::Apis::ComputeAlpha::InstanceGroupsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceGroupsScopedList
- 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_groups ⇒ Array<Google::Apis::ComputeAlpha::InstanceGroup>
[Output Only] The list of instance groups that are contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::InstanceGroupsScopedList::Warning
[Output Only] An informational warning that replaces the list of instance groups when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupsScopedList
constructor
A new instance of InstanceGroupsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupsScopedList
Returns a new instance of InstanceGroupsScopedList.
17775 17776 17777 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17775 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_groups ⇒ Array<Google::Apis::ComputeAlpha::InstanceGroup>
[Output Only] The list of instance groups that are contained in this scope.
Corresponds to the JSON property instanceGroups
17767 17768 17769 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17767 def instance_groups @instance_groups end |
#warning ⇒ Google::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
17773 17774 17775 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17773 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17780 17781 17782 17783 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 17780 def update!(**args) @instance_groups = args[:instance_groups] if args.key?(:instance_groups) @warning = args[:warning] if args.key?(:warning) end |