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.
data
array
Optional. Data for populating the Message object.
↳ machine_type
↳ preemptible
↳ 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
array< Google\Cloud\Dataproc\V1\GkeNodePoolConfig\GkeNodePoolAcceleratorConfig
>
Optional. A list of hardware accelerators to attach to each node.
↳ 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 .
Generated from protobuf field string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
string
setMachineType
Optional. The name of a Compute Engine machine type .
Generated from protobuf field string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getPreemptible
Optional. Whether the nodes are created as preemptible VM instances .
Generated from protobuf field bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
bool
setPreemptible
Optional. Whether the nodes are created as preemptible VM instances .
Generated from protobuf field bool preemptible = 10 [(.google.api.field_behavior) = OPTIONAL];
var
bool
$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 ).
Generated from protobuf field int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
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 ).
Generated from protobuf field int32 local_ssd_count = 7 [(.google.api.field_behavior) = OPTIONAL];
var
int
$this
getAccelerators
Optional. A list of hardware accelerators to attach to each node.
Generated from protobuf field repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\RepeatedField
setAccelerators
Optional. A list of hardware accelerators to attach to each node.
Generated from protobuf field repeated .google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
$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".
Generated from protobuf field string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
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".
Generated from protobuf field string min_cpu_platform = 13 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this