Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::FlexibleInstanceGroupConfig (v1.18.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::FlexibleInstanceGroupConfig.

The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boot_disk_size_gb

def boot_disk_size_gb() -> ::Integer
Returns
  • (::Integer) — Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.

#boot_disk_size_gb=

def boot_disk_size_gb=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.
Returns
  • (::Integer) — Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.

#core_count

def core_count() -> ::Integer
Returns
  • (::Integer) — Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.

#core_count=

def core_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.
Returns
  • (::Integer) — Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.

#hardware_class

def hardware_class() -> ::Google::Cloud::Dataproc::V1::FlexibleInstanceGroupConfig::HardwareClass
Returns

#hardware_class=

def hardware_class=(value) -> ::Google::Cloud::Dataproc::V1::FlexibleInstanceGroupConfig::HardwareClass
Parameter
Returns

#num_instances

def num_instances() -> ::Integer
Returns
  • (::Integer) — Optional. The number of VM instances requested.

    For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.

#num_instances=

def num_instances=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of VM instances requested.

    For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.

Returns
  • (::Integer) — Optional. The number of VM instances requested.

    For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.