Skip to main content

Gcp/run

@swamp/gcp/runv2026.06.12.1· 1d agoMODELS
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
03Models25
@swamp/gcp/run/authorizeddomainsv2026.06.08.1authorizeddomains.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a authorizeddomains
ArgumentTypeDescription
identifierstringThe name of the authorizeddomains
fn sync()
Sync authorizeddomains state from GCP
fn list(pageSize?: number, maxPages?: number)
List authorizeddomains resources
ArgumentTypeDescription
pageSize?numberMaximum results to return per page.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a configurations
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringNot supported by Cloud Run.
includeUninitialized?booleanNot supported by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of the records that should be returned.
resourceVersion?stringNot supported by Cloud Run.
watch?booleanNot supported by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
apiVersion?stringThe API version for this call such as "domains.cloudrun.com/v1".
metadata?objectgoogle.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec?objectThe desired state of the Domain Mapping.
status?objectThe current state of the Domain Mapping.
dryRun?stringIndicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a domainmappings
fn get(identifier: string)
Get a domainmappings
ArgumentTypeDescription
identifierstringThe name of the domainmappings
fn delete(identifier: string)
Delete the domainmappings
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringAllows 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?booleanNot currently used by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringThe baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
watch?booleanFlag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
annotations?record
binaryAuthorization?objectSettings for Binary Authorization feature.
client?stringArbitrary identifier for the API client.
clientVersion?stringArbitrary version identifier for the API client.
containers?arrayRequired. Holds the single container that defines the unit of execution for this Instance.
defaultUriDisabled?booleanOptional. Disables public resolution of the default URI of this Instance.
description?stringUser-provided description of the Instance. This field currently has a 512-character limit.
encryptionKey?stringA 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?enumThe action to take if the encryption key is revoked.
encryptionKeyShutdownDuration?stringIf encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
gpuZonalRedundancyDisabled?booleanOptional. True if GPU zonal redundancy is disabled on this instance.
iapEnabled?booleanOptional. IAP settings on the Instance.
ingress?enumOptional. 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?booleanOptional. 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?enumThe 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?stringThe 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?objectHardware constraints configuration.
restartPolicy?enumOptional. Restart policy for the Instance.
serviceAccount?string
terminalCondition?objectDefines a status condition for a resource.
volumes?arrayA list of Volumes to make available to containers.
vpcAccess?objectVPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
instanceId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a instances
fn get(identifier: string)
Get a instances
ArgumentTypeDescription
identifierstringThe name of the instances
fn update()
Update instances attributes
fn delete(identifier: string)
Delete the instances
ArgumentTypeDescription
identifierstringThe name of the instances
fn sync()
Sync instances state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List instances resources
ArgumentTypeDescription
pageSize?numberOptional. Maximum number of Instances to return in this call.
showDeleted?booleanOptional. If true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum 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
ArgumentTypeDescription
policy?any
updateMask?any
fn start(etag?: any, validateOnly?: any)
start
ArgumentTypeDescription
etag?any
validateOnly?any
fn stop(etag?: any, validateOnly?: any)
stop
ArgumentTypeDescription
etag?any
validateOnly?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
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

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
annotations?recordUnstructured 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?objectSettings for Binary Authorization feature.
client?stringArbitrary identifier for the API client.
clientVersion?stringArbitrary version identifier for the API client.
labels?recordUnstructured 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?objectReference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.
launchStage?enumThe 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?stringThe fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job}
runExecutionToken?stringA 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?stringA 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?objectExecutionTemplate describes the data an execution should have when created from a template.
terminalCondition?objectDefines a status condition for a resource.
jobId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a jobs
fn get(identifier: string)
Get a jobs
ArgumentTypeDescription
identifierstringThe name of the jobs
fn update()
Update jobs attributes
fn delete(identifier: string)
Delete the jobs
ArgumentTypeDescription
identifierstringThe name of the jobs
fn sync()
Sync jobs state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List jobs resources
ArgumentTypeDescription
pageSize?numberMaximum number of Jobs to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy()
get iam policy
fn run(etag?: any, overrides?: any, validateOnly?: any)
run
ArgumentTypeDescription
etag?any
overrides?any
validateOnly?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a executions
ArgumentTypeDescription
identifierstringThe name of the executions
fn delete(identifier: string)
Delete the executions
ArgumentTypeDescription
identifierstringThe name of the executions
fn sync()
Sync executions state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List executions resources
ArgumentTypeDescription
pageSize?numberMaximum number of Executions to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn cancel(etag?: any, validateOnly?: any)
cancel
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a tasks
ArgumentTypeDescription
identifierstringThe name of the tasks
fn sync()
Sync tasks state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List tasks resources
ArgumentTypeDescription
pageSize?numberMaximum number of Tasks to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync()
Sync locations state from GCP
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
extraLocationTypes?stringOptional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
filter?stringA 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?numberThe maximum number of results to return. If not set, the service selects a default.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a authorizeddomains
ArgumentTypeDescription
identifierstringThe name of the authorizeddomains
fn sync()
Sync authorizeddomains state from GCP
fn list(pageSize?: number, maxPages?: number)
List authorizeddomains resources
ArgumentTypeDescription
pageSize?numberMaximum results to return per page.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a configurations
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringNot supported by Cloud Run.
includeUninitialized?booleanNot supported by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of the records that should be returned.
resourceVersion?stringNot supported by Cloud Run.
watch?booleanNot supported by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
apiVersion?stringThe API version for this call such as "domains.cloudrun.com/v1".
metadata?objectgoogle.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec?objectThe desired state of the Domain Mapping.
status?objectThe current state of the Domain Mapping.
dryRun?stringIndicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the domainmappings
fn delete(identifier: string)
Delete the domainmappings
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringAllows 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?booleanNot currently used by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringThe baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
watch?booleanFlag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a executions
ArgumentTypeDescription
identifierstringThe name of the executions
fn delete(identifier: string)
Delete the executions
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Optional encoded string to continue paging.
fieldSelector?stringOptional. Not supported by Cloud Run.
includeUninitialized?booleanOptional. Not supported by Cloud Run.
labelSelector?stringOptional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of the records that should be returned.
resourceVersion?stringOptional. Not supported by Cloud Run.
watch?booleanOptional. Not supported by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
apiVersion?stringOptional. 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?objectgoogle.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec?objectInstanceSpec describes how the Instance will look.
status?objectInstanceStatus represents the current state of a Instance.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the instances
fn delete(identifier: string)
Delete the instances
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Optional encoded string to continue paging.
fieldSelector?stringOptional. Not supported by Cloud Run.
includeUninitialized?booleanOptional. Not supported by Cloud Run.
labelSelector?stringOptional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringOptional. Not supported by Cloud Run.
watch?booleanOptional. Not supported by Cloud Run.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn replace_instance(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace instance
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
apiVersion?stringOptional. 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?objectgoogle.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec?objectJobSpec describes how the job will look.
status?objectJobStatus represents the current state of a Job.
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the jobs
fn delete(identifier: string)
Delete the jobs
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Optional encoded string to continue paging.
fieldSelector?stringOptional. Not supported by Cloud Run.
includeUninitialized?booleanOptional. Not supported by Cloud Run.
labelSelector?stringOptional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringOptional. Not supported by Cloud Run.
watch?booleanOptional. Not supported by Cloud Run.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn replace_job(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace job
ArgumentTypeDescription
apiVersion?any
kind?any
metadata?any
spec?any
status?any
fn run(overrides?: any)
run
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a revisions
ArgumentTypeDescription
identifierstringThe name of the revisions
fn delete(identifier: string)
Delete the revisions
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringAllows 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?booleanNot currently used by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringThe baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
watch?booleanFlag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a routes
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringAllows 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?booleanNot currently used by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringThe baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
watch?booleanFlag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
apiVersion?stringThe API version for this call. It must be "serving.knative.dev/v1".
metadata?objectgoogle.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec?objectServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s).
dryRun?stringIndicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the services
fn delete(identifier: string)
Delete the services
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringEncoded string to continue paging.
fieldSelector?stringNot supported, and ignored by Cloud Run.
includeUninitialized?booleanNot supported, and ignored by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberThe maximum number of records that should be returned.
resourceVersion?stringNot supported, and ignored by Cloud Run.
watch?booleanNot supported, and ignored by Cloud Run.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn replace_service(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace service
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn get(identifier: string)
Get a tasks
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Optional encoded string to continue paging.
fieldSelector?stringOptional. Not supported by Cloud Run.
includeUninitialized?booleanOptional. Not supported by Cloud Run.
labelSelector?stringOptional. 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?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringOptional. Not supported by Cloud Run.
watch?booleanOptional. Not supported by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
apiVersion?stringThe API version for this call. It must be "run.googleapis.com/v1".
metadata?objectgoogle.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
spec?objectWorkerPoolSpec holds the desired state of the WorkerPool's template and instance splits.
dryRun?stringIndicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
parent?stringThe 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
ArgumentTypeDescription
identifierstringThe name of the workerpools
fn delete(identifier: string)
Delete the workerpools
ArgumentTypeDescription
identifierstringThe name of the workerpools
fn sync()
Sync workerpools state from GCP
fn list(continue?: string, labelSelector?: string, limit?: number, maxPages?: number)
List workerpools resources
ArgumentTypeDescription
continue?stringEncoded string to continue paging.
labelSelector?string=, !=, exists, in, and notIn.
limit?numberThe maximum number of records that should be returned.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn replace_worker_pool(apiVersion?: any, kind?: any, metadata?: any, spec?: any, status?: any)
replace worker pool
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a revisions
ArgumentTypeDescription
identifierstringThe name of the revisions
fn delete(identifier: string)
Delete the revisions
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringAllows 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?booleanNot currently used by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringThe baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
watch?booleanFlag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a routes
ArgumentTypeDescription
identifierstringThe 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
ArgumentTypeDescription
continue?stringOptional. Encoded string to continue paging.
fieldSelector?stringAllows 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?booleanNot currently used by Cloud Run.
labelSelector?stringAllows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
limit?numberOptional. The maximum number of records that should be returned.
resourceVersion?stringThe baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
watch?booleanFlag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
maxPages?numberMaximum 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

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
annotations?recordOptional. 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?objectSettings for Binary Authorization feature.
buildConfig?objectDescribes the Build step of the function that builds a container from the given source.
client?stringArbitrary identifier for the API client.
clientVersion?stringArbitrary version identifier for the API client.
customAudiences?arrayOne 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?booleanOptional. Disables public resolution of the default URI of this service.
description?stringUser-provided description of the Service. This field currently has a 512-character limit.
iapEnabled?booleanOptional. IAP settings on the Service.
ingress?enumOptional. 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?booleanOptional. 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?recordOptional. 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?enumOptional. 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?objectSettings for multi-region deployment.
name?stringIdentifier. 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?objectScaling settings applied at the service level rather than at the revision level.
template?objectRevisionTemplate describes the data a revision should have when created from a template.
terminalCondition?objectDefines a status condition for a resource.
traffic?arrayOptional. 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?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a services
fn get(identifier: string)
Get a services
ArgumentTypeDescription
identifierstringThe name of the services
fn update()
Update services attributes
fn delete(identifier: string)
Delete the services
ArgumentTypeDescription
identifierstringThe name of the services
fn sync()
Sync services state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List services resources
ArgumentTypeDescription
pageSize?numberMaximum number of Services to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum 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
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a revisions
ArgumentTypeDescription
identifierstringThe name of the revisions
fn delete(identifier: string)
Delete the revisions
ArgumentTypeDescription
identifierstringThe name of the revisions
fn sync()
Sync revisions state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List revisions resources
ArgumentTypeDescription
pageSize?numberMaximum number of revisions to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum 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

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
annotations?recordOptional. 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?objectSettings for Binary Authorization feature.
client?stringArbitrary identifier for the API client.
clientVersion?stringArbitrary version identifier for the API client.
description?stringUser-provided description of the WorkerPool. This field currently has a 512-character limit.
instanceSplits?arrayOptional. 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?recordOptional. 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?enumOptional. 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?stringThe 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?objectWorker pool scaling settings.
template?objectWorkerPoolRevisionTemplate describes the data a worker pool revision should have when created from a template.
terminalCondition?objectDefines a status condition for a resource.
workerPoolId?stringOptional. 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?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a workerPools
fn get(identifier: string)
Get a workerPools
ArgumentTypeDescription
identifierstringThe name of the workerPools
fn update()
Update workerPools attributes
fn delete(identifier: string)
Delete the workerPools
ArgumentTypeDescription
identifierstringThe name of the workerPools
fn sync()
Sync workerPools state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List workerPools resources
ArgumentTypeDescription
pageSize?numberMaximum number of WorkerPools to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum 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
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a revisions
ArgumentTypeDescription
identifierstringThe name of the revisions
fn delete(identifier: string)
Delete the revisions
ArgumentTypeDescription
identifierstringThe name of the revisions
fn sync()
Sync revisions state from GCP
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List revisions resources
ArgumentTypeDescription
pageSize?numberMaximum number of revisions to return in this call.
showDeleted?booleanIf true, returns deleted (but unexpired) resources along with active ones.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A Revision is an immutable snapshot of code and configuration. A Revision ref...
04Previous Versions19
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