@swamp/gcp/run
v2026.04.23.1
Google Cloud run infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudruncloudinfrastructure
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/run@swamp/gcp/run/instancesv2026.04.23.1instances.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| annotations? | record | |
| binaryAuthorization? | object | Settings for Binary Authorization feature. |
| client? | string | Arbitrary identifier for the API client. |
| clientVersion? | string | Arbitrary version identifier for the API client. |
| containers? | array | Required. Holds the single container that defines the unit of execution for this Instance. |
| description? | string | User-provided description of the Instance. This field currently has a 512-character limit. |
| encryptionKey? | string | A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek |
| encryptionKeyRevocationAction? | enum | The action to take if the encryption key is revoked. |
| encryptionKeyShutdownDuration? | string | If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour. |
| gpuZonalRedundancyDisabled? | boolean | Optional. True if GPU zonal redundancy is disabled on this instance. |
| iapEnabled? | boolean | Optional. IAP settings on the Instance. |
| ingress? | enum | Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. |
| invokerIamDisabled? | boolean | Optional. Disables IAM permission check for run.routes.invoke for callers of this Instance. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check. |
| labels? | record | |
| launchStage? | enum | The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. |
| name? | string | The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id. Format: projects/{project}/locations/{location}/instances/{instance_id} |
| nodeSelector? | object | Hardware constraints configuration. |
| serviceAccount? | string | |
| terminalCondition? | object | Defines a status condition for a resource. |
| timeout? | string | Optional. Duration the instance may be active before the system will shut it down. |
| volumes? | array | A list of Volumes to make available to containers. |
| vpcAccess? | object | VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. |
| instanceId? | string | Optional. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}. If not provided, the server will generate a unique `instance_id`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a instances
getGet a instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
updateUpdate instances attributes
deleteDelete the instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
syncSync instances state from GCP
startstart
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| validateOnly? | any |
stopstop
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| validateOnly? | any |
Resources
state(infinite)— A Cloud Run Instance represents a single group of containers running in a reg...
@swamp/gcp/run/jobsv2026.04.23.1jobs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| annotations? | record | Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, lim |
| binaryAuthorization? | object | Settings for Binary Authorization feature. |
| client? | string | Arbitrary identifier for the API client. |
| clientVersion? | string | Arbitrary version identifier for the API client. |
| labels? | record | Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `se |
| latestCreatedExecution? | object | Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status. |
| launchStage? | enum | The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. |
| name? | string | The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job} |
| runExecutionToken? | string | A unique string used as a suffix for creating a new execution. The Job will become ready when the execution is successfully completed. The sum of job name and token length must be fewer than 63 characters. |
| startExecutionToken? | string | A unique string used as a suffix creating a new execution. The Job will become ready when the execution is successfully started. The sum of job name and token length must be fewer than 63 characters. |
| template? | object | ExecutionTemplate describes the data an execution should have when created from a template. |
| terminalCondition? | object | Defines a status condition for a resource. |
| jobId? | string | Optional. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}. If not provided, the server will generate a unique `job_id`. |
| 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 |
updateUpdate jobs attributes
deleteDelete the jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
syncSync jobs state from GCP
runrun
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| overrides? | any | |
| validateOnly? | any |
Resources
state(infinite)— Job represents the configuration of a single job, which references a containe...
@swamp/gcp/run/jobs-executionsv2026.04.23.1jobs_executions.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 executions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the executions |
deleteDelete the executions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the executions |
syncSync executions state from GCP
cancelcancel
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| validateOnly? | any |
export_statusexport status
Resources
state(infinite)— Execution represents the configuration of a single execution. A execution an ...
@swamp/gcp/run/jobs-executions-tasksv2026.04.23.1jobs_executions_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)— Task represents a single run of a container to completion.
@swamp/gcp/run/servicesv2026.04.23.1services.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| annotations? | record | Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' na |
| binaryAuthorization? | object | Settings for Binary Authorization feature. |
| buildConfig? | object | Describes the Build step of the function that builds a container from the given source. |
| client? | string | Arbitrary identifier for the API client. |
| clientVersion? | string | Arbitrary version identifier for the API client. |
| customAudiences? | array | One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences. |
| defaultUriDisabled? | boolean | Optional. Disables public resolution of the default URI of this service. |
| description? | string | User-provided description of the Service. This field currently has a 512-character limit. |
| iapEnabled? | boolean | Optional. IAP settings on the Service. |
| ingress? | enum | Optional. Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. |
| invokerIamDisabled? | boolean | Optional. Disables IAM permission check for run.routes.invoke for callers of this service. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check. |
| labels? | record | Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis |
| launchStage? | enum | Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA o |
| multiRegionSettings? | object | Settings for multi-region deployment. |
| name? | string | Identifier. The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id} |
| scaling? | object | Scaling settings applied at the service level rather than at the revision level. |
| template? | object | RevisionTemplate describes the data a revision should have when created from a template. |
| terminalCondition? | object | Defines a status condition for a resource. |
| traffic? | array | Optional. Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision. |
| serviceId? | string | Optional. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}. If not provided, the server will generate a unique `service_id`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a services
getGet a services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
updateUpdate services attributes
deleteDelete the services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
syncSync services state from GCP
Resources
state(infinite)— Service acts as a top-level container that manages a set of configurations an...
@swamp/gcp/run/services-revisionsv2026.04.23.1services_revisions.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 revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
deleteDelete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
syncSync revisions state from GCP
export_statusexport status
Resources
state(infinite)— A Revision is an immutable snapshot of code and configuration. A Revision ref...
@swamp/gcp/run/workerpoolsv2026.04.23.1workerpools.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| annotations? | record | Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 WorkerPool. This field follows Kubernetes annotations' |
| binaryAuthorization? | object | Settings for Binary Authorization feature. |
| client? | string | Arbitrary identifier for the API client. |
| clientVersion? | string | Arbitrary version identifier for the API client. |
| description? | string | User-provided description of the WorkerPool. This field currently has a 512-character limit. |
| instanceSplits? | array | Optional. Specifies how to distribute instances over a collection of Revisions belonging to the WorkerPool. If instance split is empty or not provided, defaults to 100% instances assigned to the latest `Ready` Revision. |
| labels? | record | Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis |
| launchStage? | enum | Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA o |
| name? | string | The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, this field is ignored, and instead composed from CreateWorkerPoolRequest.parent and CreateWorkerPoolRequest.worker_id. Format: `projects/{project}/locations/{location}/workerPools/{worker_id}` |
| scaling? | object | Worker pool scaling settings. |
| template? | object | WorkerPoolRevisionTemplate describes the data a worker pool revision should have when created from a template. |
| terminalCondition? | object | Defines a status condition for a resource. |
| workerPoolId? | string | Optional. The unique identifier for the WorkerPool. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the worker pool becomes `{parent}/workerPools/{worker_pool_id}`. If not provided, the server will generate a unique `worker_pool_id`. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a workerPools
getGet a workerPools
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workerPools |
updateUpdate workerPools attributes
deleteDelete the workerPools
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workerPools |
syncSync workerPools state from GCP
Resources
state(infinite)— WorkerPool acts as a top-level container that manages a set of configurations...
@swamp/gcp/run/workerpools-revisionsv2026.04.23.1workerpools_revisions.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 revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
deleteDelete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
syncSync revisions state from GCP
Resources
state(infinite)— A Revision is an immutable snapshot of code and configuration. A Revision ref...
2026.04.11.1153.0 KBApr 11, 2026
Google Cloud run infrastructure models
Release Notes
- Updated: instances, services, workerpools
Changelog
Models
~instancesmethods: +update
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudruncloudinfrastructure
2026.04.04.1149.6 KBApr 4, 2026
Google Cloud run infrastructure models
Release Notes
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudruncloudinfrastructure
2026.04.03.3166.5 KBApr 3, 2026
Google Cloud run infrastructure models
Release Notes
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudruncloudinfrastructure
2026.04.03.1165.8 KBApr 3, 2026
Google Cloud run infrastructure models
Release Notes
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudruncloudinfrastructure
2026.04.02.2165.8 KBApr 2, 2026
Google Cloud run infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudruncloudinfrastructure
2026.03.27.1168.4 KBMar 27, 2026
Google Cloud run infrastructure models
Release Notes
- Added: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudruncloudinfrastructure