Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class SlurmNodeDetails.
Slurm-specific details for a Node.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.SlurmNodeDetails
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ states |
string[]
Output only. Raw state flags directly from Slurm. |
↳ reason |
string
Output only. User-readable reason for the current state. |
↳ partitions |
string[]
Output only. Slurm partitions this node belongs to. |
↳ nodeset |
string
Output only. The ID of the nodeset this node belongs to. |
↳ comment |
string
Output only. System comments from Slurm. |
getStates
Output only. Raw state flags directly from Slurm.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setStates
Output only. Raw state flags directly from Slurm.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReason
Output only. User-readable reason for the current state.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReason
Output only. User-readable reason for the current state.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPartitions
Output only. Slurm partitions this node belongs to.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setPartitions
Output only. Slurm partitions this node belongs to.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNodeset
Output only. The ID of the nodeset this node belongs to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNodeset
Output only. The ID of the nodeset this node belongs to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComment
Output only. System comments from Slurm.
| Returns | |
|---|---|
| Type | Description |
string |
|
setComment
Output only. System comments from Slurm.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|