REST Resource: projects.regions.clusters.nodeGroups

Resource: NodeGroup

Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource.

JSON representation
{
 "name": string,
 "roles": [
 enum (Role )
 ],
 "nodeGroupConfig": {
 object (InstanceGroupConfig )
 },
 "labels": {
 string: string,
 ...
 }
}
Fields
name

string

The Node group resource name.

roles[]

enum (Role )

Required. Node group roles.

nodeGroupConfig

object (InstanceGroupConfig )

Optional. The node group instance group configuration.

labels

map (key: string, value: string)

Optional. Node group labels.

  • Label keys must consist of from 1 to 63 characters and conform to RFC 1035.
  • Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035.
  • The node group must have no more than 32 labels.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Role

Node pool roles.

Enums
ROLE_UNSPECIFIED Required unspecified role.
DRIVER Job drivers run on the node pool.

Methods

get

Gets the resource representation for a node group in a cluster.

resize

Resizes a node group in a cluster.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年06月20日 UTC.