Reference documentation and code samples for the Google Cloud Dataproc V1 Client class GkeNodePoolConfig.
The configuration of a GKE NodePool used by a Dataproc-on-GKE cluster.
Generated from protobuf message google.cloud.dataproc.v1.GkeNodePoolConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ config |
Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodeConfig
Optional. The node pool configuration. |
↳ locations |
array
Optional. The list of Compute Engine zones where NodePool's nodes will be located. Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location. |
↳ autoscaling |
Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodePoolAutoscalingConfig
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present. |
getConfig
Optional. The node pool configuration.
Generated from protobuf field .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodeConfig|null |
hasConfig
clearConfig
setConfig
Optional. The node pool configuration.
Generated from protobuf field .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodeConfig
|
Returns | |
---|---|
Type | Description |
$this |
getLocations
Optional. The list of Compute Engine zones where NodePool's nodes will be located.
Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
Generated from protobuf field repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLocations
Optional. The list of Compute Engine zones where NodePool's nodes will be located.
Note: Currently, only one zone may be specified. If a location is not specified during NodePool creation, Dataproc will choose a location.
Generated from protobuf field repeated string locations = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getAutoscaling
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
Generated from protobuf field .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodePoolAutoscalingConfig|null |
hasAutoscaling
clearAutoscaling
setAutoscaling
Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled only when a valid configuration is present.
Generated from protobuf field .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig autoscaling = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodePoolAutoscalingConfig
|
Returns | |
---|---|
Type | Description |
$this |