@swamp/gcp/cloudfunctions
v2026.04.23.1
Google Cloud cloudfunctions infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudcloudfunctionscloudinfrastructure
Contents
Quality score
Verified by SwampHow well-documented and verifiable this extension is.
Grade A
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
Install
$ swamp extension pull @swamp/gcp/cloudfunctions@swamp/gcp/cloudfunctions/functionsv2026.04.23.1functions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| buildConfig? | object | Describes the Build step of the function that builds a container from the given source. |
| description? | string | User-provided description of a function. |
| environment? | enum | Describe whether the function is 1st Gen or 2nd Gen. |
| eventTrigger? | object | Describes EventTrigger, used to request events to be sent from another service. |
| kmsKeyName? | string | Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. |
| labels? | record | Labels associated with this Cloud Function. |
| name? | string | A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` |
| serviceConfig? | object | Describes the Service being deployed. Currently Supported: Cloud Run (fully managed). |
| upgradeInfo? | object | Information related to: * A function's eligibility for 1st Gen to 2nd Gen migration. * Current state of migration for function undergoing migration. |
| functionId? | string | The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a functions
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a functions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the functions |
updateUpdate functions attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the functions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the functions |
syncSync functions state from GCP
abort_function_upgradeabort function upgrade
commit_function_upgradecommit function upgrade
commit_function_upgrade_as_gen2commit function upgrade as gen2
detach_functiondetach function
generate_download_urlgenerate download url
generate_upload_urlgenerate upload url
| Argument | Type | Description |
|---|---|---|
| environment? | any | |
| kmsKeyName? | any |
redirect_function_upgrade_trafficredirect function upgrade traffic
rollback_function_upgrade_trafficrollback function upgrade traffic
setup_function_upgrade_configsetup function upgrade config
| Argument | Type | Description |
|---|---|---|
| buildConfigOverrides? | any | |
| serviceConfigOverrides? | any | |
| triggerServiceAccount? | any |
Resources
state(infinite)— Describes a Cloud Function that contains user computation executed in respons...
@swamp/gcp/cloudfunctions/locationsv2026.04.23.1locations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
syncSync locations state from GCP
Resources
state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/cloudfunctions/runtimesv2026.04.23.1runtimes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a runtimes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the runtimes |
syncSync runtimes state from GCP
Resources
state(infinite)— Describes a runtime and any special information (e.g., deprecation status) re...
2026.04.04.136.4 KBApr 4, 2026
Google Cloud cloudfunctions infrastructure models
Release Notes
- Updated: functions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudfunctionscloudinfrastructure
2026.04.03.336.1 KBApr 3, 2026
Google Cloud cloudfunctions infrastructure models
Release Notes
- Updated: locations, functions, runtimes
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudfunctionscloudinfrastructure
2026.04.03.135.7 KBApr 3, 2026
Google Cloud cloudfunctions infrastructure models
Release Notes
- Updated: locations, functions, runtimes
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudfunctionscloudinfrastructure
2026.04.02.235.7 KBApr 2, 2026
Google Cloud cloudfunctions infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudfunctionscloudinfrastructure
2026.03.27.137.8 KBMar 27, 2026
Google Cloud cloudfunctions infrastructure models
Release Notes
- Added: locations, functions, runtimes
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcloudfunctionscloudinfrastructure