Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeClusterConfig (v0.18.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>) — Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. 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>) — Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. 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>) — Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. 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.