@swamp/gcp/batch
v2026.04.23.1
Google Cloud batch infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudbatchcloudinfrastructure
Contents
Quality score
Verified by SwampHow well-documented and verifiable this extension is.
Grade A
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
Install
$ swamp extension pull @swamp/gcp/batch@swamp/gcp/batch/jobsv2026.04.23.1jobs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| allocationPolicy? | object | A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job. |
| labels? | record | Custom labels to apply to the job and any Cloud Logging [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple `labels` fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels |
| logsPolicy? | object | LogsPolicy describes if and how a job's logs are preserved. Logs include information that is automatically written by the Batch service agent and any information that you configured the job's runnables to write to the `stdout` or `stderr` streams. |
| notifications? | array | Notification configurations. |
| priority | string | |
| status? | object | Job status. |
| taskGroups? | array | Required. TaskGroups in the Job. Only one TaskGroup is supported now. |
| jobId? | string | ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be \ |
| requestId? | string | Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID w |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a jobs
getGet a jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
deleteDelete the jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
syncSync jobs state from GCP
cancelcancel
| Argument | Type | Description |
|---|---|---|
| requestId? | any |
Resources
state(infinite)— The Cloud Batch Job description.
@swamp/gcp/batch/jobs-taskgroups-tasksv2026.04.23.1jobs_taskgroups_tasks.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
syncSync tasks state from GCP
Resources
state(infinite)— A Cloud Batch task.
@swamp/gcp/batch/locationsv2026.04.23.1locations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
syncSync locations state from GCP
Resources
state(infinite)— A resource that represents a Google Cloud location.
2026.04.04.149.8 KBApr 4, 2026
Google Cloud batch infrastructure models
Release Notes
- Updated: jobs
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbatchcloudinfrastructure
2026.04.03.358.6 KBApr 3, 2026
Google Cloud batch infrastructure models
Release Notes
- Updated: locations, jobs, jobs_taskgroups_tasks
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbatchcloudinfrastructure
2026.04.03.158.3 KBApr 3, 2026
Google Cloud batch infrastructure models
Release Notes
- Updated: locations, jobs, jobs_taskgroups_tasks
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbatchcloudinfrastructure
2026.04.02.258.3 KBApr 2, 2026
Google Cloud batch infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbatchcloudinfrastructure
2026.03.27.158.8 KBMar 27, 2026
Google Cloud batch infrastructure models
Release Notes
- Added: locations, jobs, jobs_taskgroups_tasks
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudbatchcloudinfrastructure