Skip to main content

@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 Swamp

How well-documented and verifiable this extension is.

100%

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

ArgumentTypeDescription
config?objectConfiguration information for an environment.
labels?recordOptional. 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?stringIdentifier. 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?enumThe current state of the environment.
storageConfig?objectThe configuration for data storage in the environment.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a environments
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a environments
ArgumentTypeDescription
identifierstringThe name of the environments
updateUpdate environments attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the environments
ArgumentTypeDescription
identifierstringThe name of the environments
syncSync environments state from GCP
check_upgradecheck upgrade
ArgumentTypeDescription
imageVersion?any
database_failoverdatabase failover
execute_airflow_commandexecute airflow command
ArgumentTypeDescription
command?any
parameters?any
subcommand?any
fetch_database_propertiesfetch database properties
load_snapshotload snapshot
ArgumentTypeDescription
skipAirflowOverridesSetting?any
skipEnvironmentVariablesSetting?any
skipGcsDataCopying?any
skipPypiPackagesInstallation?any
snapshotPath?any
poll_airflow_commandpoll airflow command
ArgumentTypeDescription
executionId?any
nextLineNumber?any
pod?any
podNamespace?any
restart_web_serverrestart web server
save_snapshotsave snapshot
ArgumentTypeDescription
snapshotLocation?any
stop_airflow_commandstop airflow command
ArgumentTypeDescription
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

ArgumentTypeDescription
data?recordOptional. 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?stringIdentifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}"
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a userWorkloadsConfigMaps
getGet a userWorkloadsConfigMaps
ArgumentTypeDescription
identifierstringThe name of the userWorkloadsConfigMaps
updateUpdate userWorkloadsConfigMaps attributes
deleteDelete the userWorkloadsConfigMaps
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
data?recordOptional. 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?stringIdentifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a userWorkloadsSecrets
getGet a userWorkloadsSecrets
ArgumentTypeDescription
identifierstringThe name of the userWorkloadsSecrets
updateUpdate userWorkloadsSecrets attributes
deleteDelete the userWorkloadsSecrets
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a workloads
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a imageVersions
ArgumentTypeDescription
identifierstringThe name of the imageVersions
syncSync imageVersions state from GCP

Resources

state(infinite)— ImageVersion information