Skip to content

Commit 11dce0e

Browse files
1 parent a29beb1 commit 11dce0e

6 files changed

Lines changed: 24 additions & 18 deletions

File tree

src/HypercomputeCluster.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
* Service definition for HypercomputeCluster (v1).
2424
*
2525
* <p>
26-
</p>
26+
* The Cluster Director API allows you to deploy, manage, and monitor clusters
27+
* that run AI, ML, or HPC workloads.</p>
2728
*
2829
* <p>
2930
* For more information about this service, see the API

src/HypercomputeCluster/NewSpotInstancesConfig.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
class NewSpotInstancesConfig extends \Google\Model
2121
{
2222
/**
23-
* Unspecified termination action
23+
* Not set.
2424
*/
2525
public const TERMINATION_ACTION_TERMINATION_ACTION_UNSPECIFIED = 'TERMINATION_ACTION_UNSPECIFIED';
2626
/**
27-
* Stop the instance
27+
* Compute Engine stops the Spot VM on preemption.
2828
*/
2929
public const TERMINATION_ACTION_STOP = 'STOP';
3030
/**
31-
* Delete the instance
31+
* Compute Engine deletes the Spot VM on preemption.
3232
*/
3333
public const TERMINATION_ACTION_DELETE = 'DELETE';
3434
/**
@@ -40,7 +40,8 @@ class NewSpotInstancesConfig extends \Google\Model
4040
*/
4141
public $machineType;
4242
/**
43-
* Optional. Specifies the termination action of the instance
43+
* Optional. Termination action for the instance. If not specified, Compute
44+
* Engine sets the termination action to DELETE.
4445
*
4546
* @var string
4647
*/
@@ -73,7 +74,8 @@ public function getMachineType()
7374
return $this->machineType;
7475
}
7576
/**
76-
* Optional. Specifies the termination action of the instance
77+
* Optional. Termination action for the instance. If not specified, Compute
78+
* Engine sets the termination action to DELETE.
7779
*
7880
* Accepted values: TERMINATION_ACTION_UNSPECIFIED, STOP, DELETE
7981
*

src/HypercomputeCluster/Resource/ProjectsLocations.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@ public function get($name, $optParams = [])
4545
return $this->call('get', [$params], Location::class);
4646
}
4747
/**
48-
* Lists information about the supported locations for this service.
48+
* Lists information about the supported locations for this service. This method
49+
* can be called in two ways: * **List all public locations:** Use the path `GET
50+
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51+
* /v1/projects/{project_id}/locations`. This may include public locations as
52+
* well as private or other locations specifically visible to the project.
4953
* (locations.listProjectsLocations)
5054
*
5155
* @param string $name The resource that owns the locations collection, if

src/HypercomputeCluster/SlurmNodeSet.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class SlurmNodeSet extends \Google\Collection
2222
protected $collection_key = 'storageConfigs';
2323
/**
2424
* Optional. ID of the compute resource on which this nodeset will run. Must
25-
* match a key in the cluster's
26-
* [compute_resources](Cluster.compute_resources).
25+
* match a key in the cluster's compute_resources.
2726
*
2827
* @var string
2928
*/
@@ -62,8 +61,7 @@ class SlurmNodeSet extends \Google\Collection
6261

6362
/**
6463
* Optional. ID of the compute resource on which this nodeset will run. Must
65-
* match a key in the cluster's
66-
* [compute_resources](Cluster.compute_resources).
64+
* match a key in the cluster's compute_resources.
6765
*
6866
* @param string $computeId
6967
*/

src/HypercomputeCluster/SlurmOrchestrator.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ public function getLoginNodes()
108108
return $this->loginNodes;
109109
}
110110
/**
111-
* Required. Configuration of Slurm nodesets, which define groups of compute
112-
* resources that can be used by Slurm. At least one compute node is required.
111+
* Optional. Compute resource configuration for the Slurm nodesets in your
112+
* cluster. If not specified, the cluster won't create any nodes.
113113
*
114114
* @param SlurmNodeSet[] $nodeSets
115115
*/
@@ -125,9 +125,10 @@ public function getNodeSets()
125125
return $this->nodeSets;
126126
}
127127
/**
128-
* Required. Configuration of Slurm partitions, which group one or more
129-
* nodesets. Acts as a queue against which jobs can be submitted. At least one
130-
* partition is required.
128+
* Optional. Configuration for the Slurm partitions in your cluster. Each
129+
* partition can contain one or more nodesets, and you can submit separate
130+
* jobs on each partition. If you don't specify at least one partition in your
131+
* cluster, you can't submit jobs to the cluster.
131132
*
132133
* @param SlurmPartition[] $partitions
133134
*/

src/HypercomputeCluster/StorageConfig.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class StorageConfig extends \Google\Model
2121
{
2222
/**
2323
* Required. ID of the storage resource to mount, which must match a key in
24-
* the cluster's [storage_resources](Cluster.storage_resources).
24+
* the cluster's storage_resources.
2525
*
2626
* @var string
2727
*/
@@ -36,7 +36,7 @@ class StorageConfig extends \Google\Model
3636

3737
/**
3838
* Required. ID of the storage resource to mount, which must match a key in
39-
* the cluster's [storage_resources](Cluster.storage_resources).
39+
* the cluster's storage_resources.
4040
*
4141
* @param string $id
4242
*/

0 commit comments

Comments
 (0)