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 \ V1Methods
__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 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. |
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 |
Google\Protobuf\Internal\RepeatedField |
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 |
Google\Cloud\Dataproc\V1\InstanceGroupConfig|null |
hasNodeGroupConfig
clearNodeGroupConfig
setNodeGroupConfig
Optional. The node group instance group configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\InstanceGroupConfig
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Optional. Node group labels.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Optional. Node group labels.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |