Google Cloud Dataproc V1 Client - Class NodeGroup (3.14.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class NodeGroup.

Dataproc Node Group.

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

Generated from protobuf message google.cloud.dataproc.v1.NodeGroup

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

The Node group resource name .

↳ roles
array

Required. Node group roles.

↳ node_group_config
Google\Cloud\Dataproc\V1\InstanceGroupConfig

Optional. The node group instance group configuration.

↳ labels
array| Google\Protobuf\Internal\MapField

Optional. Node group labels. * Label keysmust consist of from 1 to 63 characters and conform to RFC 1035 . * Label valuescan 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.

getName

The Node group resource name .

Returns
Type
Description
string

setName

The Node group resource name .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRoles

Required. Node group roles.

Returns
Type
Description

setRoles

Required. Node group roles.

Parameter
Name
Description
var
int[]
Returns
Type
Description
$this

getNodeGroupConfig

Optional. The node group instance group configuration.

Returns
Type
Description

hasNodeGroupConfig

clearNodeGroupConfig

setNodeGroupConfig

Optional. The node group instance group configuration.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Optional. Node group labels.

  • Label keysmust consist of from 1 to 63 characters and conform to RFC 1035 .
  • Label valuescan 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.
Returns
Type
Description

setLabels

Optional. Node group labels.

  • Label keysmust consist of from 1 to 63 characters and conform to RFC 1035 .
  • Label valuescan 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.
Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: