Gcp/run
@swamp/gcp/runv2026.06.12.1
01README
Google Cloud run infrastructure models
02Release Notes
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions, namespaces_configurations, namespaces_executions, namespaces_instances, namespaces_revisions, namespaces_services, namespaces_tasks, namespaces_workerpools, configurations, revisions
03Models
@swamp/gcp/run/authorizeddomainsv2026.06.08.1authorizeddomains.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a authorizeddomains
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authorizeddomains |
fn sync()
Sync authorizeddomains state from GCP
fn list(pageSize?: number, maxPages?: number)
List authorizeddomains resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum results to return per page. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A domain that a user has been authorized to administer. To authorize use of a...
@swamp/gcp/run/configurationsv2026.06.12.1configurations.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a configurations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the configurations |
fn sync()
Sync configurations state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List configurations resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Not supported by Cloud Run. |
| includeUninitialized? | boolean | Not supported by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of the records that should be returned. |
| resourceVersion? | string | Not supported by Cloud Run. |
| watch? | boolean | Not supported by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Configuration represents the "floating HEAD" of a linear history of Revisions...
@swamp/gcp/run/domainmappingsv2026.06.08.1domainmappings.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. |
| apiVersion? | string | The API version for this call such as "domains.cloudrun.com/v1". |
| metadata? | object | google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
| spec? | object | The desired state of the Domain Mapping. |
| status? | object | The current state of the Domain Mapping. |
| dryRun? | string | Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all` |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a domainmappings
fn get(identifier: string)
Get a domainmappings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the domainmappings |
fn delete(identifier: string)
Delete the domainmappings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the domainmappings |
fn sync()
Sync domainmappings state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List domainmappings resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
| includeUninitialized? | boolean | Not currently used by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
| watch? | boolean | Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Resource to hold the state and status of a user's domain mapping. NOTE: This ...
@swamp/gcp/run/instancesv2026.06.12.1instances.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. |
| 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. |
| defaultUriDisabled? | boolean | Optional. Disables public resolution of the default URI of 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. |
| restartPolicy? | enum | Optional. Restart policy for the Instance. |
| serviceAccount? | string | |
| terminalCondition? | object | Defines a status condition for a resource. |
| 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') |
fn create()
Create a instances
fn get(identifier: string)
Get a instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
fn update()
Update instances attributes
fn delete(identifier: string)
Delete the instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
fn sync()
Sync instances state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List instances resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. Maximum number of Instances to return in this call. |
| showDeleted? | boolean | Optional. If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn start(etag?: any, validateOnly?: any)
start
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| validateOnly? | any |
fn stop(etag?: any, validateOnly?: any)
stop
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| validateOnly? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— A Cloud Run Instance represents a single group of containers running in a reg...
@swamp/gcp/run/jobsv2026.06.12.1jobs.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. |
| 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') |
fn create()
Create a jobs
fn get(identifier: string)
Get a jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
fn update()
Update jobs attributes
fn delete(identifier: string)
Delete the jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
fn sync()
Sync jobs state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List jobs resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of Jobs to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy()
get iam policy
fn run(etag?: any, overrides?: any, validateOnly?: any)
run
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| overrides? | any | |
| validateOnly? | any |
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— Job represents the configuration of a single job, which references a containe...
@swamp/gcp/run/jobs-executionsv2026.06.12.1jobs_executions.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a executions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the executions |
fn delete(identifier: string)
Delete the executions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the executions |
fn sync()
Sync executions state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List executions resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of Executions to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn cancel(etag?: any, validateOnly?: any)
cancel
| Argument | Type | Description |
|---|---|---|
| etag? | any | |
| validateOnly? | any |
fn export_status()
export status
Resources
state(infinite)— Execution represents the configuration of a single execution. A execution an ...
@swamp/gcp/run/jobs-executions-tasksv2026.06.12.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) |
| 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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn sync()
Sync tasks state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List tasks resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of Tasks to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Task represents a single run of a container to completion.
@swamp/gcp/run/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.
@swamp/gcp/run/namespaces-authorizeddomainsv2026.06.08.1namespaces_authorizeddomains.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a authorizeddomains
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authorizeddomains |
fn sync()
Sync authorizeddomains state from GCP
fn list(pageSize?: number, maxPages?: number)
List authorizeddomains resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum results to return per page. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A domain that a user has been authorized to administer. To authorize use of a...
@swamp/gcp/run/namespaces-configurationsv2026.06.12.1namespaces_configurations.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a configurations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the configurations |
fn sync()
Sync configurations state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List configurations resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Not supported by Cloud Run. |
| includeUninitialized? | boolean | Not supported by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of the records that should be returned. |
| resourceVersion? | string | Not supported by Cloud Run. |
| watch? | boolean | Not supported by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Configuration represents the "floating HEAD" of a linear history of Revisions...
@swamp/gcp/run/namespaces-domainmappingsv2026.06.08.1namespaces_domainmappings.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. |
| apiVersion? | string | The API version for this call such as "domains.cloudrun.com/v1". |
| metadata? | object | google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
| spec? | object | The desired state of the Domain Mapping. |
| status? | object | The current state of the Domain Mapping. |
| dryRun? | string | Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all` |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a domainmappings
fn get(identifier: string)
Get a domainmappings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the domainmappings |
fn delete(identifier: string)
Delete the domainmappings
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the domainmappings |
fn sync()
Sync domainmappings state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List domainmappings resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
| includeUninitialized? | boolean | Not currently used by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
| watch? | boolean | Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Resource to hold the state and status of a user's domain mapping. NOTE: This ...
@swamp/gcp/run/namespaces-executionsv2026.06.12.1namespaces_executions.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a executions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the executions |
fn delete(identifier: string)
Delete the executions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the executions |
fn sync()
Sync executions state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List executions resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Optional encoded string to continue paging. |
| fieldSelector? | string | Optional. Not supported by Cloud Run. |
| includeUninitialized? | boolean | Optional. Not supported by Cloud Run. |
| labelSelector? | string | Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of the records that should be returned. |
| resourceVersion? | string | Optional. Not supported by Cloud Run. |
| watch? | boolean | Optional. Not supported by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn cancel()
cancel
Resources
state(infinite)— Execution represents the configuration of a single execution. An execution is...
@swamp/gcp/run/namespaces-instancesv2026.06.12.1namespaces_instances.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. |
| apiVersion? | string | Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. |
| metadata? | object | google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
| spec? | object | InstanceSpec describes how the Instance will look. |
| status? | object | InstanceStatus represents the current state of a Instance. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a instances
fn get(identifier: string)
Get a instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
fn delete(identifier: string)
Delete the instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
fn sync()
Sync instances state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List instances resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Optional encoded string to continue paging. |
| fieldSelector? | string | Optional. Not supported by Cloud Run. |
| includeUninitialized? | boolean | Optional. Not supported by Cloud Run. |
| labelSelector? | string | Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | Optional. Not supported by Cloud Run. |
| watch? | boolean | Optional. Not supported by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn replace_instance(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace instance
| Argument | Type | Description |
|---|---|---|
| apiVersion? | any | |
| kind? | any | |
| metadata? | any | |
| spec? | any | |
| status? | any |
fn start()
start
fn stop()
stop
Resources
state(infinite)— Instance represents the configuration of a single Instance, which references ...
@swamp/gcp/run/namespaces-jobsv2026.06.08.1namespaces_jobs.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. |
| apiVersion? | string | Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. |
| metadata? | object | google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
| spec? | object | JobSpec describes how the job will look. |
| status? | object | JobStatus represents the current state of a Job. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a jobs
fn get(identifier: string)
Get a jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
fn delete(identifier: string)
Delete the jobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobs |
fn sync()
Sync jobs state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List jobs resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Optional encoded string to continue paging. |
| fieldSelector? | string | Optional. Not supported by Cloud Run. |
| includeUninitialized? | boolean | Optional. Not supported by Cloud Run. |
| labelSelector? | string | Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | Optional. Not supported by Cloud Run. |
| watch? | boolean | Optional. Not supported by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn replace_job(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace job
| Argument | Type | Description |
|---|---|---|
| apiVersion? | any | |
| kind? | any | |
| metadata? | any | |
| spec? | any | |
| status? | any |
fn run(overrides?: any)
run
| Argument | Type | Description |
|---|---|---|
| overrides? | any |
Resources
state(infinite)— Job represents the configuration of a single job, which references a containe...
@swamp/gcp/run/namespaces-revisionsv2026.06.12.1namespaces_revisions.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn delete(identifier: string)
Delete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn sync()
Sync revisions state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List revisions resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
| includeUninitialized? | boolean | Not currently used by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
| watch? | boolean | Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Revision is an immutable snapshot of code and configuration. A revision refer...
@swamp/gcp/run/namespaces-routesv2026.06.08.1namespaces_routes.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a routes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the routes |
fn sync()
Sync routes state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List routes resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
| includeUninitialized? | boolean | Not currently used by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
| watch? | boolean | Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Route is responsible for configuring ingress over a collection of Revisions. ...
@swamp/gcp/run/namespaces-servicesv2026.06.12.1namespaces_services.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. |
| apiVersion? | string | The API version for this call. It must be "serving.knative.dev/v1". |
| metadata? | object | google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
| spec? | object | ServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s). |
| dryRun? | string | Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all` |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a services
fn get(identifier: string)
Get a services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
fn delete(identifier: string)
Delete the services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
fn sync()
Sync services state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List services resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Encoded string to continue paging. |
| fieldSelector? | string | Not supported, and ignored by Cloud Run. |
| includeUninitialized? | boolean | Not supported, and ignored by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | The maximum number of records that should be returned. |
| resourceVersion? | string | Not supported, and ignored by Cloud Run. |
| watch? | boolean | Not supported, and ignored by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn replace_service(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace service
| Argument | Type | Description |
|---|---|---|
| apiVersion? | any | |
| kind? | any | |
| metadata? | any | |
| spec? | any | |
| status? | any |
Resources
state(infinite)— Service acts as a top-level container that manages a set of Routes and Config...
@swamp/gcp/run/namespaces-tasksv2026.06.12.1namespaces_tasks.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a tasks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tasks |
fn sync()
Sync tasks state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List tasks resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Optional encoded string to continue paging. |
| fieldSelector? | string | Optional. Not supported by Cloud Run. |
| includeUninitialized? | boolean | Optional. Not supported by Cloud Run. |
| labelSelector? | string | Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. For example, to list all tasks of execution "foo" in succeeded state: `run.googleapis.com/execution=foo,run.googleapis.com/runningState=Succeeded`. Supported states are: * `Pending`: Initial state of all tasks. The task has not yet started but eventually will. * `Running`: Container instances for this task are running or will be running shortly. * `Succeeded`: No more container instances |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | Optional. Not supported by Cloud Run. |
| watch? | boolean | Optional. Not supported by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Task represents a single run of a container to completion.
@swamp/gcp/run/namespaces-workerpoolsv2026.06.12.1namespaces_workerpools.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. |
| apiVersion? | string | The API version for this call. It must be "run.googleapis.com/v1". |
| metadata? | object | google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
| spec? | object | WorkerPoolSpec holds the desired state of the WorkerPool's template and instance splits. |
| dryRun? | string | Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all` |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a workerpools
fn get(identifier: string)
Get a workerpools
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workerpools |
fn delete(identifier: string)
Delete the workerpools
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workerpools |
fn sync()
Sync workerpools state from GCP
fn list(continue?: string, labelSelector?: string, limit?: number, maxPages?: number)
List workerpools resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Encoded string to continue paging. |
| labelSelector? | string | =, !=, exists, in, and notIn. |
| limit? | number | The maximum number of records that should be returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn replace_worker_pool(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace worker pool
| Argument | Type | Description |
|---|---|---|
| apiVersion? | any | |
| kind? | any | |
| metadata? | any | |
| spec? | any | |
| status? | any |
Resources
state(infinite)— WorkerPool acts as a top-level container that manages a set instance splits a...
@swamp/gcp/run/revisionsv2026.06.12.1revisions.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn delete(identifier: string)
Delete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn sync()
Sync revisions state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List revisions resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
| includeUninitialized? | boolean | Not currently used by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
| watch? | boolean | Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Revision is an immutable snapshot of code and configuration. A revision refer...
@swamp/gcp/run/routesv2026.06.08.1routes.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a routes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the routes |
fn sync()
Sync routes state from GCP
fn list(continue?: string, fieldSelector?: string, includeUninitialized?: boolean, labelSelector?: string, limit?: number, resourceVersion?: string, watch?: boolean, maxPages?: number)
List routes resources
| Argument | Type | Description |
|---|---|---|
| continue? | string | Optional. Encoded string to continue paging. |
| fieldSelector? | string | Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
| includeUninitialized? | boolean | Not currently used by Cloud Run. |
| labelSelector? | string | Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
| limit? | number | Optional. The maximum number of records that should be returned. |
| resourceVersion? | string | The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
| watch? | boolean | Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Route is responsible for configuring ingress over a collection of Revisions. ...
@swamp/gcp/run/servicesv2026.06.12.1services.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. |
| 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') |
fn create()
Create a services
fn get(identifier: string)
Get a services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
fn update()
Update services attributes
fn delete(identifier: string)
Delete the services
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the services |
fn sync()
Sync services state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List services resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of Services to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— Service acts as a top-level container that manages a set of configurations an...
@swamp/gcp/run/services-revisionsv2026.06.12.1services_revisions.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn delete(identifier: string)
Delete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn sync()
Sync revisions state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List revisions resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of revisions to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn export_status()
export status
Resources
state(infinite)— A Revision is an immutable snapshot of code and configuration. A Revision ref...
@swamp/gcp/run/workerpoolsv2026.06.12.1workerpools.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. |
| 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') |
fn create()
Create a workerPools
fn get(identifier: string)
Get a workerPools
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workerPools |
fn update()
Update workerPools attributes
fn delete(identifier: string)
Delete the workerPools
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workerPools |
fn sync()
Sync workerPools state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List workerPools resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of WorkerPools to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy()
get iam policy
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
Resources
state(infinite)— WorkerPool acts as a top-level container that manages a set of configurations...
@swamp/gcp/run/workerpools-revisionsv2026.06.12.1workerpools_revisions.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. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn delete(identifier: string)
Delete the revisions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the revisions |
fn sync()
Sync revisions state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List revisions resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Maximum number of revisions to return in this call. |
| showDeleted? | boolean | If true, returns deleted (but unexpired) resources along with active ones. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A Revision is an immutable snapshot of code and configuration. A Revision ref...
04Previous Versions
2026.06.08.2Jun 8, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions, namespaces_authorizeddomains, namespaces_configurations, namespaces_domainmappings, namespaces_executions, namespaces_instances, namespaces_jobs, namespaces_revisions, namespaces_routes, namespaces_services, namespaces_tasks, namespaces_workerpools, authorizeddomains, locations, configurations, domainmappings, revisions, routes
2026.06.07.1Jun 7, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions, namespaces_authorizeddomains, namespaces_configurations, namespaces_domainmappings, namespaces_executions, namespaces_instances, namespaces_jobs, namespaces_revisions, namespaces_routes, namespaces_services, namespaces_tasks, namespaces_workerpools, authorizeddomains, locations, configurations, domainmappings, revisions, routes
2026.06.05.1Jun 5, 2026
- Added: namespaces_authorizeddomains, namespaces_configurations, namespaces_domainmappings, namespaces_executions, namespaces_instances, namespaces_jobs, namespaces_revisions, namespaces_routes, namespaces_services, namespaces_tasks, namespaces_workerpools, authorizeddomains, locations, configurations, domainmappings, revisions, routes
Added 17 models
2026.06.04.1Jun 4, 2026
- Updated: instances
2026.05.27.1May 27, 2026
- Updated: instances
2026.05.26.1May 26, 2026
- Updated: instances, services, workerpools
Modified 1 models
2026.05.25.1May 25, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
Modified 8 models
2026.05.24.1May 24, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
2026.05.21.2May 21, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
2026.05.21.1May 21, 2026
Modified 4 models
2026.05.20.1May 20, 2026
- Updated: instances, services, workerpools
Modified 1 models
2026.05.19.2May 19, 2026
Modified 1 models
2026.05.19.1May 19, 2026
2026.05.18.2May 18, 2026
2026.05.06.1May 6, 2026
- Updated: instances
2026.04.23.1Apr 23, 2026
2026.04.11.1Apr 11, 2026
- Updated: instances, services, workerpools
Modified 1 models
2026.04.04.1Apr 4, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
2026.04.03.3Apr 3, 2026
- Updated: instances, jobs, jobs_executions, jobs_executions_tasks, services, services_revisions, workerpools, workerpools_revisions
05Stats
A
100 / 100
Downloads
14
Archive size
461.2 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