Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeClusterConfig (v0.13.0)

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 NodePools where workloads will be scheduled. At least one node pool must be assigned the 'default' role. Each role can be given to only a single NodePoolTarget. All NodePools must have the same location settings. If a nodePoolTarget is not specified, Dataproc constructs a default nodePoolTarget.

#node_pool_target=

def node_pool_target=(value) -> ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget>
Parameter
  • value (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget>) — Optional. GKE NodePools where workloads will be scheduled. At least one node pool must be assigned the 'default' role. Each role can be given to only a single NodePoolTarget. All NodePools must have the same location settings. If a nodePoolTarget is not specified, Dataproc constructs a default nodePoolTarget.
Returns
  • (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget>) — Optional. GKE NodePools where workloads will be scheduled. At least one node pool must be assigned the 'default' role. Each role can be given to only a single NodePoolTarget. All NodePools must have the same location settings. If a nodePoolTarget is not specified, Dataproc constructs a default nodePoolTarget.