Class: Google::Apis::ComputeBeta::InstanceGroupsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstanceGroupsScopedList
- 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_groups ⇒ Array<Google::Apis::ComputeBeta::InstanceGroup>
[Output Only] The list of instance groups that are contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
14176 14177 14178 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14176 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_groups ⇒ Array<Google::Apis::ComputeBeta::InstanceGroup>
[Output Only] The list of instance groups that are contained in this scope.
Corresponds to the JSON property instanceGroups
14168 14169 14170 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14168 def instance_groups @instance_groups end |
#warning ⇒ Google::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
14174 14175 14176 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14174 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14181 14182 14183 14184 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14181 def update!(**args) @instance_groups = args[:instance_groups] if args.key?(:instance_groups) @warning = args[:warning] if args.key?(:warning) end |