Class: Google::Apis::ComputeV1::InstanceGroupsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstanceGroupsScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#instance_groups ⇒ Array<Google::Apis::ComputeV1::InstanceGroup>
Output only.
-
#warning ⇒ Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning
Output only.
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.
22288 22289 22290 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22288 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_groups ⇒ Array<Google::Apis::ComputeV1::InstanceGroup>
Output only. [Output Only] The list ofinstance
groups that are contained in this scope.
Corresponds to the JSON property instanceGroups
22280 22281 22282 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22280 def instance_groups @instance_groups end |
#warning ⇒ Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning
Output only. [Output Only] An informational warning that replaces the list of
instance groups when the list is empty.
Corresponds to the JSON property warning
22286 22287 22288 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22286 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22293 22294 22295 22296 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22293 def update!(**args) @instance_groups = args[:instance_groups] if args.key?(:instance_groups) @warning = args[:warning] if args.key?(:warning) end |