Class: Google::Cloud::Dataproc::V1::InstanceGroupConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb

Overview

Optional. The config settings for Google Compute Engine resources in an instance group, such as a master or worker group.

Instance Attribute Summary collapse

Instance Attribute Details

#acceleratorsArray<Google::Cloud::Dataproc::V1::AcceleratorConfig>

Returns Optional. The Google Compute Engine accelerator configuration for these instances.

Beta Feature: This feature is still under development. It may be changed before final release.

Returns:

  • (Array<Google::Cloud::Dataproc::V1::AcceleratorConfig>)

    Optional. The Google Compute Engine accelerator configuration for these instances.

    Beta Feature: This feature is still under development. It may be changed before final release.



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#disk_configGoogle::Cloud::Dataproc::V1::DiskConfig

Returns Optional. Disk option config settings.

Returns:



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#image_uriString

Returns Output-only. The Google Compute Engine image resource used for cluster instances. Inferred from +SoftwareConfig.image_version+.

Returns:

  • (String)

    Output-only. The Google Compute Engine image resource used for cluster instances. Inferred from +SoftwareConfig.image_version+.



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#instance_namesArray<String>

Returns Optional. The list of instance names. Cloud Dataproc derives the names from +cluster_name+, +num_instances+, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).

Returns:

  • (Array<String>)

    Optional. The list of instance names. Cloud Dataproc derives the names from +cluster_name+, +num_instances+, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#is_preemptibletrue, false

Returns Optional. Specifies that this instance group contains preemptible instances.

Returns:

  • (true, false)

    Optional. Specifies that this instance group contains preemptible instances.



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#machine_type_uriString

Returns Optional. The Google Compute Engine machine type used for cluster instances.

A full URL, partial URI, or short name are valid. Examples:

Returns:



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#managed_group_configGoogle::Cloud::Dataproc::V1::ManagedGroupConfig

Returns Output-only. The config for Google Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.

Returns:



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end

#num_instancesInteger

Returns Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.

Returns:

  • (Integer)

    Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.



240
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 240

class InstanceGroupConfig; end