Class: Google::Apis::ComputeV1::InstanceGroupsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstanceGroupsScopedList
- 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_groups ⇒ Array<Google::Apis::ComputeV1::InstanceGroup>
[Output Only] The list of instance groups that are contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstanceGroupsScopedList
Returns a new instance of InstanceGroupsScopedList
8660 8661 8662 |
# File 'generated/google/apis/compute_v1/classes.rb', line 8660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_groups ⇒ Array<Google::Apis::ComputeV1::InstanceGroup>
[Output Only] The list of instance groups that are contained in this scope.
Corresponds to the JSON property instanceGroups
8652 8653 8654 |
# File 'generated/google/apis/compute_v1/classes.rb', line 8652 def instance_groups @instance_groups end |
#warning ⇒ Google::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
8658 8659 8660 |
# File 'generated/google/apis/compute_v1/classes.rb', line 8658 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8665 8666 8667 8668 |
# File 'generated/google/apis/compute_v1/classes.rb', line 8665 def update!(**args) @instance_groups = args[:instance_groups] if args.key?(:instance_groups) @warning = args[:warning] if args.key?(:warning) end |