Class: Google::Apis::ComputeAlpha::MultiMigPart
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MultiMigPart
- 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
Overview
Part represents a single managed instance group, either as a reference to an existing one or as a structure containing properties necessary to create one. A multi-MIG can contain zero or more parts.
Instance Attribute Summary collapse
-
#instance_group_manager ⇒ String
The URL of a managed instance group that you want to attach to the multi-MIG.
-
#instance_group_manager_properties ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Represents a Managed Instance Group resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultiMigPart
constructor
A new instance of MultiMigPart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultiMigPart
Returns a new instance of MultiMigPart.
29576 29577 29578 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_group_manager ⇒ String
The URL of a managed instance group that you want to attach to the multi-MIG.
Corresponds to the JSON property instanceGroupManager
29565 29566 29567 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29565 def instance_group_manager @instance_group_manager end |
#instance_group_manager_properties ⇒ Google::Apis::ComputeAlpha::InstanceGroupManager
Represents a Managed Instance Group resource. An instance group is a
collection of VM instances that you can manage as a single entity. For more
information, read Instance groups. For zonal Managed Instance Group, use the
instanceGroupManagers resource. For regional Managed Instance Group, use the
regionInstanceGroupManagers resource.
Corresponds to the JSON property instanceGroupManagerProperties
29574 29575 29576 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29574 def instance_group_manager_properties @instance_group_manager_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29581 29582 29583 29584 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29581 def update!(**args) @instance_group_manager = args[:instance_group_manager] if args.key?(:instance_group_manager) @instance_group_manager_properties = args[:instance_group_manager_properties] if args.key?(:instance_group_manager_properties) end |