Optional. The list of Compute Enginezoneswhere node pool nodes associated with a Dataproc on GKE virtual cluster will be located.Note:All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region. If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.
Optional. The list of Compute Enginezoneswhere
node pool nodes associated with a Dataproc on GKE virtual cluster
will be located.
Note:All node pools associated with a virtual cluster
must be located in the same region as the virtual cluster, and they must
be located in the same zone within that region.
If a location is not specified during node pool creation, Dataproc on GKE
will choose the zone.
Optional. The list of Compute Enginezoneswhere
node pool nodes associated with a Dataproc on GKE virtual cluster
will be located.
Note:All node pools associated with a virtual cluster
must be located in the same region as the virtual cluster, and they must
be located in the same zone within that region.
If a location is not specified during node pool creation, Dataproc on GKE
will choose the zone.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getAutoscaling
Optional. The autoscaler configuration for this node pool. The autoscaler
is enabled only when a valid configuration is present.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc V1 Client - Class GkeNodePoolConfig (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.GkeNodePoolConfig)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.GkeNodePoolConfig)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.GkeNodePoolConfig)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.GkeNodePoolConfig)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.GkeNodePoolConfig)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.GkeNodePoolConfig)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.GkeNodePoolConfig)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.GkeNodePoolConfig)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.GkeNodePoolConfig)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.GkeNodePoolConfig)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.GkeNodePoolConfig)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.GkeNodePoolConfig)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.GkeNodePoolConfig)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.GkeNodePoolConfig)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.GkeNodePoolConfig)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.GkeNodePoolConfig)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.GkeNodePoolConfig)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.GkeNodePoolConfig)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.GkeNodePoolConfig) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class GkeNodePoolConfig.\n\nThe configuration of a GKE node pool used by a [Dataproc-on-GKE\ncluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).\n\nGenerated from protobuf message `google.cloud.dataproc.v1.GkeNodePoolConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getConfig\n\nOptional. The node pool configuration.\n\n### hasConfig\n\n### clearConfig\n\n### setConfig\n\nOptional. The node pool configuration.\n\n### getLocations\n\nOptional. The list of Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) where\nnode pool nodes associated with a Dataproc on GKE virtual cluster\nwill be located.\n\n**Note:** All node pools associated with a virtual cluster\nmust be located in the same region as the virtual cluster, and they must\nbe located in the same zone within that region.\nIf a location is not specified during node pool creation, Dataproc on GKE\nwill choose the zone.\n\n### setLocations\n\nOptional. The list of Compute Engine\n[zones](https://cloud.google.com/compute/docs/zones#available) where\nnode pool nodes associated with a Dataproc on GKE virtual cluster\nwill be located.\n\n**Note:** All node pools associated with a virtual cluster\nmust be located in the same region as the virtual cluster, and they must\nbe located in the same zone within that region.\nIf a location is not specified during node pool creation, Dataproc on GKE\nwill choose the zone.\n\n### getAutoscaling\n\nOptional. The autoscaler configuration for this node pool. The autoscaler\nis enabled only when a valid configuration is present.\n\n### hasAutoscaling\n\n### clearAutoscaling\n\n### setAutoscaling\n\nOptional. The autoscaler configuration for this node pool. The autoscaler\nis enabled only when a valid configuration is present."]]