Class: Google::Apis::DataprocV1beta2::ManagedGroupConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::ManagedGroupConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/representations.rb
Overview
Specifies the resources used to actively manage an instance group.
Instance Attribute Summary collapse
-
#instance_group_manager_name ⇒ String
Output only.
-
#instance_template_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedGroupConfig
constructor
A new instance of ManagedGroupConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedGroupConfig
Returns a new instance of ManagedGroupConfig.
2211 2212 2213 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_group_manager_name ⇒ String
Output only. The name of the Instance Group Manager for this group.
Corresponds to the JSON property instanceGroupManagerName
2203 2204 2205 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2203 def instance_group_manager_name @instance_group_manager_name end |
#instance_template_name ⇒ String
Output only. The name of the Instance Template used for the Managed Instance
Group.
Corresponds to the JSON property instanceTemplateName
2209 2210 2211 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2209 def instance_template_name @instance_template_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2216 2217 2218 2219 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2216 def update!(**args) @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name) @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name) end |