Class: Google::Cloud::Dataproc::V1::InstanceGroupConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::InstanceGroupConfig
- 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
-
#accelerators ⇒ Array<Google::Cloud::Dataproc::V1::AcceleratorConfig>
Optional.
-
#disk_config ⇒ Google::Cloud::Dataproc::V1::DiskConfig
Optional.
-
#image_uri ⇒ String
Output-only.
-
#instance_names ⇒ Array<String>
Optional.
-
#is_preemptible ⇒ true, false
Optional.
-
#machine_type_uri ⇒ String
Optional.
-
#managed_group_config ⇒ Google::Cloud::Dataproc::V1::ManagedGroupConfig
Output-only.
-
#num_instances ⇒ Integer
Optional.
Instance Attribute Details
#accelerators ⇒ Array<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.
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#disk_config ⇒ Google::Cloud::Dataproc::V1::DiskConfig
Returns Optional. Disk option config settings.
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#image_uri ⇒ String
Returns Output-only. The Google Compute Engine image resource used for cluster instances. Inferred from +SoftwareConfig.image_version+.
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#instance_names ⇒ Array<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).
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#is_preemptible ⇒ true, false
Returns Optional. Specifies that this instance group contains preemptible instances.
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#machine_type_uri ⇒ String
Returns Optional. The Google Compute Engine machine type used for cluster instances.
A full URL, partial URI, or short name are valid. Examples:
- +https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2+
- +projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2+
- +n1-standard-2+
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#managed_group_config ⇒ Google::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.
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |
#num_instances ⇒ Integer
Returns Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.
227 |
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/clusters.rb', line 227 class InstanceGroupConfig; end |