Gcp/hypercomputecluster
@swamp/gcp/hypercomputeclusterv2026.06.12.1
01README
Google Cloud hypercomputecluster infrastructure models
02Release Notes
- Updated: clusters
03Models
@swamp/gcp/hypercomputecluster/clustersv2026.06.12.1clusters.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| computeResources? | record | Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters). |
| description? | string | Optional. A description for your cluster. You can use up to 2,048 characters. |
| labels? | record | Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries. |
| name? | string | Identifier. [Relative resource name](https://google.aip.dev/122) of the cluster, in the format `projects/{project}/locations/{location}/clusters/{cluster}`. |
| networkResources? | record | Optional. Network resources available to the cluster. Must contain exactly one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters). |
| orchestrator? | object | The component responsible for scheduling and running workloads on the cluster as well as providing the user interface for interacting with the cluster at runtime. |
| storageResources? | record | Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters). |
| clusterId? | string | Required. ID of the cluster to create. Must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters). |
| requestId? | string | Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a clusters
fn get(identifier: string)
Get a clusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the clusters |
fn update()
Update clusters attributes
fn delete(identifier: string)
Delete the clusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the clusters |
fn sync()
Sync clusters state from GCP
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List clusters resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. [Filter](https://google.aip.dev/160) to apply to the returned results. |
| orderBy? | string | Optional. How to order the resulting clusters. Must be one of the following strings: * `name` * `name desc` * `create_time` * `create_time desc` If not specified, clusters will be returned in an arbitrary order. |
| pageSize? | number | Optional. Maximum number of clusters to return. The service may return fewer than this value. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A collection of virtual machines and connected resources forming a high-perfo...
@swamp/gcp/hypercomputecluster/locationsv2026.06.08.1locations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
fn get(identifier: string)
Get a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
fn sync()
Sync locations state from GCP
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
| Argument | Type | Description |
|---|---|---|
| extraLocationTypes? | string | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter? | string | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). |
| pageSize? | number | The maximum number of results to return. If not set, the service selects a default. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A resource that represents a Google Cloud location.
04Previous Versions
2026.06.08.2Jun 8, 2026
- Updated: locations, clusters
2026.06.07.1Jun 7, 2026
- Updated: locations, clusters
2026.05.26.1May 26, 2026
- Updated: locations, clusters
2026.05.25.1May 25, 2026
- Updated: locations, clusters
Modified 2 models
2026.05.24.1May 24, 2026
- Updated: locations, clusters
2026.05.21.2May 21, 2026
- Updated: locations, clusters
2026.05.21.1May 21, 2026
2026.05.20.1May 20, 2026
- Updated: clusters
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.2May 18, 2026
2026.05.06.1May 6, 2026
- Updated: clusters
2026.05.01.1May 1, 2026
- Updated: clusters
2026.04.23.1Apr 23, 2026
2026.04.09.1Apr 9, 2026
- Updated: clusters
2026.04.04.1Apr 4, 2026
- Updated: clusters
2026.04.03.3Apr 3, 2026
- Updated: locations, clusters
2026.04.03.1Apr 3, 2026
- Updated: locations, clusters
2026.04.02.2Apr 2, 2026
05Stats
A
100 / 100
Downloads
1
Archive size
40.6 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels