Class: Google::Apis::DataprocV1beta2::ManagedGroupConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb

Overview

Specifies the resources used to actively manage an instance group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ManagedGroupConfig

Returns a new instance of ManagedGroupConfig.



2014
2015
2016
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2014

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instance_group_manager_nameString

Output only. The name of the Instance Group Manager for this group. Corresponds to the JSON property instanceGroupManagerName

Returns:

  • (String)


2006
2007
2008
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2006

def instance_group_manager_name
  @instance_group_manager_name
end

#instance_template_nameString

Output only. The name of the Instance Template used for the Managed Instance Group. Corresponds to the JSON property instanceTemplateName

Returns:

  • (String)


2012
2013
2014
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2012

def instance_template_name
  @instance_template_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2019
2020
2021
2022
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2019

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