Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cluster Director API Client Library for Java


The Cluster Director API allows you to deploy, manage, and monitor clusters that run AI, ML, or HPC workloads.

This page contains information about getting started with the Cluster Director API
using the Google API Client Library for Java. In addition, you may be interested
Expand All @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-hypercomputecluster</artifactId>
<version>v1-rev20260121-2.0.0</version>
<version>v1-rev20260204-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-hypercomputecluster:v1-rev20260121-2.0.0'
implementation 'com.google.apis:google-api-services-hypercomputecluster:v1-rev20260204-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* Service definition for HypercomputeCluster (v1).
*
* <p>
*
* The Cluster Director API allows you to deploy, manage, and monitor clusters that run AI, ML, or HPC workloads.
* </p>
*
* <p>
Expand Down Expand Up @@ -103,7 +103,7 @@ public class HypercomputeCluster extends com.google.api.client.googleapis.servic
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -313,7 +313,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand All @@ -337,7 +340,10 @@ public class List extends HypercomputeClusterRequest<com.google.api.services.hyp
java.util.regex.Pattern.compile("^projects/[^/]+$");

/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand Down Expand Up @@ -2181,8 +2187,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public final class NewSpotInstancesConfig extends com.google.api.client.json.Gen
private java.lang.String machineType;

/**
* Optional. Specifies the termination action of the instance
* Optional. Termination action for the instance. If not specified, Compute Engine sets the
* termination action to DELETE.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -74,15 +75,17 @@ public NewSpotInstancesConfig setMachineType(java.lang.String machineType) {
}

/**
* Optional. Specifies the termination action of the instance
* Optional. Termination action for the instance. If not specified, Compute Engine sets the
* termination action to DELETE.
* @return value or {@code null} for none
*/
public java.lang.String getTerminationAction() {
return terminationAction;
}

/**
* Optional. Specifies the termination action of the instance
* Optional. Termination action for the instance. If not specified, Compute Engine sets the
* termination action to DELETE.
* @param terminationAction terminationAction or {@code null} for none
*/
public NewSpotInstancesConfig setTerminationAction(java.lang.String terminationAction) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.hypercomputecluster.v1.model;

/**
* Message describing the progress of a cluster mutation long-running operation. operation.
* Message describing the progress of a cluster mutation long-running operation.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cluster Director API. For a detailed explanation see:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public final class SlurmNodeSet extends com.google.api.client.json.GenericJson {

/**
* Optional. ID of the compute resource on which this nodeset will run. Must match a key in the
* cluster's [compute_resources](Cluster.compute_resources).
* cluster's compute_resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -81,7 +81,7 @@ public final class SlurmNodeSet extends com.google.api.client.json.GenericJson {

/**
* Optional. ID of the compute resource on which this nodeset will run. Must match a key in the
* cluster's [compute_resources](Cluster.compute_resources).
* cluster's compute_resources.
* @return value or {@code null} for none
*/
public java.lang.String getComputeId() {
Expand All @@ -90,7 +90,7 @@ public java.lang.String getComputeId() {

/**
* Optional. ID of the compute resource on which this nodeset will run. Must match a key in the
* cluster's [compute_resources](Cluster.compute_resources).
* cluster's compute_resources.
* @param computeId computeId or {@code null} for none
*/
public SlurmNodeSet setComputeId(java.lang.String computeId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public final class SlurmOrchestrator extends com.google.api.client.json.GenericJ
private SlurmLoginNodes loginNodes;

/**
* Required. Configuration of Slurm nodesets, which define groups of compute resources that can be
* used by Slurm. At least one compute node is required.
* Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not
* specified, the cluster won't create any nodes.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -69,8 +69,9 @@ public final class SlurmOrchestrator extends com.google.api.client.json.GenericJ
}

/**
* Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue
* against which jobs can be submitted. At least one partition is required.
* Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain
* one or more nodesets, and you can submit separate jobs on each partition. If you don't specify
* at least one partition in your cluster, you can't submit jobs to the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -142,17 +143,17 @@ public SlurmOrchestrator setLoginNodes(SlurmLoginNodes loginNodes) {
}

/**
* Required. Configuration of Slurm nodesets, which define groups of compute resources that can be
* used by Slurm. At least one compute node is required.
* Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not
* specified, the cluster won't create any nodes.
* @return value or {@code null} for none
*/
public java.util.List<SlurmNodeSet> getNodeSets() {
return nodeSets;
}

/**
* Required. Configuration of Slurm nodesets, which define groups of compute resources that can be
* used by Slurm. At least one compute node is required.
* Optional. Compute resource configuration for the Slurm nodesets in your cluster. If not
* specified, the cluster won't create any nodes.
* @param nodeSets nodeSets or {@code null} for none
*/
public SlurmOrchestrator setNodeSets(java.util.List<SlurmNodeSet> nodeSets) {
Expand All @@ -161,17 +162,19 @@ public SlurmOrchestrator setNodeSets(java.util.List<SlurmNodeSet> nodeSets) {
}

/**
* Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue
* against which jobs can be submitted. At least one partition is required.
* Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain
* one or more nodesets, and you can submit separate jobs on each partition. If you don't specify
* at least one partition in your cluster, you can't submit jobs to the cluster.
* @return value or {@code null} for none
*/
public java.util.List<SlurmPartition> getPartitions() {
return partitions;
}

/**
* Required. Configuration of Slurm partitions, which group one or more nodesets. Acts as a queue
* against which jobs can be submitted. At least one partition is required.
* Optional. Configuration for the Slurm partitions in your cluster. Each partition can contain
* one or more nodesets, and you can submit separate jobs on each partition. If you don't specify
* at least one partition in your cluster, you can't submit jobs to the cluster.
* @param partitions partitions or {@code null} for none
*/
public SlurmOrchestrator setPartitions(java.util.List<SlurmPartition> partitions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public final class StorageConfig extends com.google.api.client.json.GenericJson

/**
* Required. ID of the storage resource to mount, which must match a key in the cluster's
* [storage_resources](Cluster.storage_resources).
* storage_resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -47,7 +47,7 @@ public final class StorageConfig extends com.google.api.client.json.GenericJson

/**
* Required. ID of the storage resource to mount, which must match a key in the cluster's
* [storage_resources](Cluster.storage_resources).
* storage_resources.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
Expand All @@ -56,7 +56,7 @@ public java.lang.String getId() {

/**
* Required. ID of the storage resource to mount, which must match a key in the cluster's
* [storage_resources](Cluster.storage_resources).
* storage_resources.
* @param id id or {@code null} for none
*/
public StorageConfig setId(java.lang.String id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-hypercomputecluster</artifactId>
<version>v1-rev20260121-2.0.0</version>
<name>Cluster Director API v1-rev20260121-2.0.0</name>
<version>v1-rev20260204-2.0.0</version>
<name>Cluster Director API v1-rev20260204-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cluster Director API Client Library for Java


The Cluster Director API allows you to deploy, manage, and monitor clusters that run AI, ML, or HPC workloads.

This page contains information about getting started with the Cluster Director API
using the Google API Client Library for Java. In addition, you may be interested
Expand All @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-hypercomputecluster</artifactId>
<version>v1-rev20260121-2.0.0</version>
<version>v1-rev20260204-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-hypercomputecluster:v1-rev20260121-2.0.0'
implementation 'com.google.apis:google-api-services-hypercomputecluster:v1-rev20260204-2.0.0'
}
```

Expand Down