Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ComputeInstanceSlurmNodeSet.
When set in a SlurmNodeSet, indicates that the nodeset should be backed by Compute Engine VM instances.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ComputeInstanceSlurmNodeSet
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ startup_script |
string
Optional. Startup script to be run on each VM instance in the nodeset. Max 256KB. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Optional. Labels that should be applied to each VM instance in the nodeset. |
↳ boot_disk |
BootDisk
Optional. Boot disk for the compute instance |
getStartupScript
Optional. Startup script to be run on each VM instance in the nodeset. Max 256KB.
| Returns | |
|---|---|
| Type | Description |
string |
|
setStartupScript
Optional. Startup script to be run on each VM instance in the nodeset. Max 256KB.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Optional.
Labels that should be applied to each VM instance in the nodeset.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Optional.
Labels that should be applied to each VM instance in the nodeset.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBootDisk
Optional. Boot disk for the compute instance
| Returns | |
|---|---|
| Type | Description |
BootDisk|null |
|
hasBootDisk
clearBootDisk
setBootDisk
Optional. Boot disk for the compute instance
| Parameter | |
|---|---|
| Name | Description |
var |
BootDisk
|
| Returns | |
|---|---|
| Type | Description |
$this |
|