Google Cloud Dataproc V1 Client - Class GkeNodeConfig (3.3.0)

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

Parameters that describe cluster nodes.

Generated from protobuf message google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ machine_type
string

Optional. The name of a Compute Engine machine type .

↳ preemptible
bool

Optional. Whether the nodes are created as preemptible VM instances .

↳ local_ssd_count
int

Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs ).

↳ accelerators
↳ min_cpu_platform
string

Optional. Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".

getMachineType

Optional. The name of a Compute Engine machine type .

Returns
Type
Description
string

setMachineType

Optional. The name of a Compute Engine machine type .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPreemptible

Optional. Whether the nodes are created as preemptible VM instances .

Returns
Type
Description
bool

setPreemptible

Optional. Whether the nodes are created as preemptible VM instances .

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getLocalSsdCount

Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs ).

Returns
Type
Description
int

setLocalSsdCount

Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs ).

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getAccelerators

Optional. A list of hardware accelerators to attach to each node.

Returns
Type
Description

setAccelerators

Optional. A list of hardware accelerators to attach to each node.

Returns
Type
Description
$this

getMinCpuPlatform

Optional. Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".

Returns
Type
Description
string

setMinCpuPlatform

Optional. Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: