# Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeClusterConfig (v1.16.0)

1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.26.0 0.25.0 0.24.1 0.23.1 0.22.0 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::GkeClusterConfig.

The cluster's GKE config.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gke_cluster_target

    def gke_cluster_target() -> ::String

**Returns**

- (::String) --- Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

### #gke_cluster_target=

    def gke_cluster_target=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'
**Returns**

- (::String) --- Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'

### #node_pool_target

    def node_pool_target() -> ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget>

**Returns**

- (::Array\<[::Google::Cloud::Dataproc::V1::GkeNodePoolTarget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-GkeNodePoolTarget)\>) --- Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the `DEFAULT` [GkeNodePoolTarget.Role](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-GkeNodePoolTarget-Role "Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role (module)"). If a `GkeNodePoolTarget` is not specified, Dataproc constructs a `DEFAULT` `GkeNodePoolTarget`. Each role can be given to only one `GkeNodePoolTarget`. All node pools must have the same location settings.

### #node_pool_target=

    def node_pool_target=(value) -> ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Dataproc::V1::GkeNodePoolTarget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-GkeNodePoolTarget)\>) --- Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the `DEFAULT` [GkeNodePoolTarget.Role](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-GkeNodePoolTarget-Role "Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role (module)"). If a `GkeNodePoolTarget` is not specified, Dataproc constructs a `DEFAULT` `GkeNodePoolTarget`. Each role can be given to only one `GkeNodePoolTarget`. All node pools must have the same location settings.
**Returns**

- (::Array\<[::Google::Cloud::Dataproc::V1::GkeNodePoolTarget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-GkeNodePoolTarget)\>) --- Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the `DEFAULT` [GkeNodePoolTarget.Role](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-GkeNodePoolTarget-Role "Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role (module)"). If a `GkeNodePoolTarget` is not specified, Dataproc constructs a `DEFAULT` `GkeNodePoolTarget`. Each role can be given to only one `GkeNodePoolTarget`. All node pools must have the same location settings.