@swamp/gcp/composer
v2026.04.23.1
Google Cloud composer infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudcomposercloudinfrastructure
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/composer@swamp/gcp/composer/environmentsv2026.04.23.1environments.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| config? | object | Configuration information for an environment. |
| labels? | record | Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size. |
| name? | string | Identifier. The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. |
| state? | enum | The current state of the environment. |
| storageConfig? | object | The configuration for data storage in the environment. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a environments
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a environments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the environments |
updateUpdate environments attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the environments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the environments |
syncSync environments state from GCP
check_upgradecheck upgrade
| Argument | Type | Description |
|---|---|---|
| imageVersion? | any |
database_failoverdatabase failover
execute_airflow_commandexecute airflow command
| Argument | Type | Description |
|---|---|---|
| command? | any | |
| parameters? | any | |
| subcommand? | any |
fetch_database_propertiesfetch database properties
load_snapshotload snapshot
| Argument | Type | Description |
|---|---|---|
| skipAirflowOverridesSetting? | any | |
| skipEnvironmentVariablesSetting? | any | |
| skipGcsDataCopying? | any | |
| skipPypiPackagesInstallation? | any | |
| snapshotPath? | any |
poll_airflow_commandpoll airflow command
| Argument | Type | Description |
|---|---|---|
| executionId? | any | |
| nextLineNumber? | any | |
| pod? | any | |
| podNamespace? | any |
restart_web_serverrestart web server
save_snapshotsave snapshot
| Argument | Type | Description |
|---|---|---|
| snapshotLocation? | any |
stop_airflow_commandstop airflow command
| Argument | Type | Description |
|---|---|---|
| executionId? | any | |
| force? | any | |
| pod? | any | |
| podNamespace? | any |
Resources
state(infinite)— An environment for running orchestration tasks.
@swamp/gcp/composer/environments-userworkloadsconfigmapsv2026.04.23.1environments_userworkloadsconfigmaps.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| data? | record | Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ Example: { "example_key": "example_value", "another_key": "another_value" } |
| name? | string | Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a userWorkloadsConfigMaps
getGet a userWorkloadsConfigMaps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the userWorkloadsConfigMaps |
updateUpdate userWorkloadsConfigMaps attributes
deleteDelete the userWorkloadsConfigMaps
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the userWorkloadsConfigMaps |
syncSync userWorkloadsConfigMaps state from GCP
Resources
state(infinite)— User workloads ConfigMap used by Airflow tasks that run with Kubernetes execu...
@swamp/gcp/composer/environments-userworkloadssecretsv2026.04.23.1environments_userworkloadssecrets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| data? | record | Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" } |
| name? | string | Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a userWorkloadsSecrets
getGet a userWorkloadsSecrets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the userWorkloadsSecrets |
updateUpdate userWorkloadsSecrets attributes
deleteDelete the userWorkloadsSecrets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the userWorkloadsSecrets |
syncSync userWorkloadsSecrets state from GCP
Resources
state(infinite)— User workloads Secret used by Airflow tasks that run with Kubernetes executor...
@swamp/gcp/composer/environments-workloadsv2026.04.23.1environments_workloads.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 workloads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the workloads |
syncSync workloads state from GCP
Resources
state(infinite)— Information about a single workload.
@swamp/gcp/composer/imageversionsv2026.04.23.1imageversions.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 imageVersions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the imageVersions |
syncSync imageVersions state from GCP
Resources
state(infinite)— ImageVersion information
2026.04.03.349.8 KBApr 3, 2026
Google Cloud composer infrastructure models
Release Notes
- Updated: environments, environments_userworkloadsconfigmaps, environments_userworkloadssecrets, environments_workloads, imageversions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcomposercloudinfrastructure
2026.04.03.149.3 KBApr 3, 2026
Google Cloud composer infrastructure models
Release Notes
- Updated: environments, environments_userworkloadsconfigmaps, environments_userworkloadssecrets, environments_workloads, imageversions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcomposercloudinfrastructure
2026.04.02.249.4 KBApr 2, 2026
Google Cloud composer infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcomposercloudinfrastructure
2026.03.27.150.9 KBMar 27, 2026
Google Cloud composer infrastructure models
Release Notes
- Added: environments, environments_userworkloadsconfigmaps, environments_userworkloadssecrets, environments_workloads, imageversions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudcomposercloudinfrastructure