@swamp/gcp/redis
v2026.04.23.1
Google Cloud redis infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudrediscloudinfrastructure
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/redislocations.tsv2026.04.23.1
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
get_shared_regional_certificate_authorityget shared regional certificate authority
backupcollections.tsv2026.04.23.1
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 backupCollections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the backupCollections |
syncSync backupCollections state from GCP
clusters_tokenauthusers.tsv2026.04.23.1
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 tokenAuthUsers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tokenAuthUsers |
deleteDelete the tokenAuthUsers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tokenAuthUsers |
syncSync tokenAuthUsers state from GCP
add_auth_tokenadd auth token
| Argument | Type | Description |
|---|---|---|
| authToken? | any |
clusters.tsv2026.04.23.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| aclPolicy? | string | Optional. The ACL policy to be applied to the cluster. |
| asyncClusterEndpointsDeletionEnabled? | boolean | Optional. If true, cluster endpoints that are created and registered by customers can be deleted asynchronously. That is, such a cluster endpoint can be de-registered before the forwarding rules in the cluster endpoint are deleted. |
| authorizationMode? | enum | Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. |
| automatedBackupConfig? | object | Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored. |
| clusterEndpoints? | array | Output only. The IP allocated on the consumer network for the PSC forwarding rule. |
| crossClusterReplicationConfig? | object | Output only. The role of the cluster in cross cluster replication. |
| deletionProtectionEnabled? | boolean | Optional. The delete operation will fail when the value is set to true. |
| encryptionInfo? | object | Output only. Type of encryption. |
| gcsSource? | object | Optional. URIs of the Cloud Storage objects to import. Example: gs://bucket1/object1, gs://bucket2/folder2/object2 |
| kmsKey? | string | Optional. The KMS key used to encrypt the at-rest data of the cluster. |
| labels? | record | Optional. Labels to represent user-provided metadata. |
| maintenancePolicy? | object | Output only. The time when the policy was created i.e. Maintenance Window or Deny Period was assigned. |
| maintenanceSchedule? | object | Output only. The end time of any upcoming scheduled maintenance for this instance. |
| maintenanceVersion? | string | Optional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field. |
| managedBackupSource? | object | Optional. Example: //redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup} A shorter version (without the prefix) of the backup name is also supported, like projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id} In this case, it assumes the backup is under redis.googleapis.com. |
| name? | string | Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` |
| nodeType? | enum | Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node. |
| persistenceConfig? | object | Optional. fsync configuration. |
| pscConfigs? | array | Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}. |
| redisConfigs? | record | Optional. Key/Value pairs of customer overrides for mutable Redis Configs |
| replicaCount? | number | Optional. The number of replica nodes per shard. |
| rotateServerCertificate? | boolean | Optional. Input only. Rotate the server certificates. |
| serverCaMode? | enum | Optional. Server CA mode for the cluster. |
| serverCaPool? | string | Optional. Customer-managed CA pool for the cluster. Only applicable for BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA. Format: "projects/{project}/locations/{region}/caPools/{ca_pool}". |
| shardCount? | number | Optional. Number of shards for the Redis cluster. |
| simulateMaintenanceEvent? | boolean | Optional. Input only. Simulate a maintenance event. |
| stateInfo? | object | Target node type for redis cluster. |
| transitEncryptionMode? | enum | Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. |
| zoneDistributionConfig? | object | Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified. |
| clusterId? | string | Required. The logical name of the Redis cluster in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location |
| requestId? | string | Optional. Idempotent request UUID. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a clusters
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a clusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the clusters |
updateUpdate clusters attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the clusters
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the clusters |
syncSync clusters state from GCP
add_token_auth_useradd token auth user
| Argument | Type | Description |
|---|---|---|
| tokenAuthUser? | any |
backupbackup
| Argument | Type | Description |
|---|---|---|
| backupId? | any | |
| ttl? | any |
get_certificate_authorityget certificate authority
reschedule_cluster_maintenancereschedule cluster maintenance
| Argument | Type | Description |
|---|---|---|
| rescheduleType? | any | |
| scheduleTime? | any |
instances.tsv2026.04.23.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| alternativeLocationId? | string | Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service. |
| authEnabled? | boolean | Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to "true" AUTH is enabled on the instance. Default value is "false" meaning AUTH is disabled. |
| authorizedNetwork? | string | Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used. |
| availableMaintenanceVersions? | array | Optional. The available maintenance versions that an instance could update to. |
| connectMode? | enum | Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING. |
| customerManagedKey? | string | Optional. The KMS key reference that the customer provides when trying to create the instance. |
| displayName? | string | An arbitrary and optional user-provided name for the instance. |
| labels? | record | Resource labels to represent user provided metadata |
| locationId? | string | Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone from the specified region for the instance. For standard tier, additional nodes will be added across multiple zones for protection against zonal failures. If specified, at least one node will be provisioned in this zone. |
| maintenancePolicy? | object | Output only. The time when the policy was created. |
| maintenanceSchedule? | object | If the scheduled maintenance can be rescheduled, default is true. |
| maintenanceVersion? | string | Optional. The self service update maintenance version. The version is date based such as "20210712_00_00". |
| memorySizeGb? | number | Required. Redis memory size in GiB. |
| name? | string | Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to location_id and alternative_location_id fields for more details. |
| persistenceConfig? | object | Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. |
| readReplicasMode? | enum | Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. |
| redisConfigs? | record | Optional. Redis configuration parameters, according to [Redis configuration](https://redis.io/docs/latest/operate/oss_and_stack/management/config/). Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries |
| redisVersion? | string | Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility |
| replicaCount? | number | Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0. |
| reservedIpRange? | string | Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28. |
| secondaryIpRange? | string | Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or "auto". |
| suspensionReasons? | array | Optional. reasons that causes instance in "SUSPENDED" state. |
| tags? | record | Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing" |
| tier? | enum | Required. The service tier of the instance. |
| transitEncryptionMode? | enum | Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance. |
| instanceId? | string | Required. The logical name of the Redis instance in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project / location |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a instances
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
updateUpdate instances attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the instances
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instances |
syncSync instances state from GCP
exportexport
| Argument | Type | Description |
|---|---|---|
| outputConfig? | any |
failoverfailover
| Argument | Type | Description |
|---|---|---|
| dataProtectionMode? | any |
get_auth_stringget auth string
importimport
| Argument | Type | Description |
|---|---|---|
| inputConfig? | any |
reschedule_maintenancereschedule maintenance
| Argument | Type | Description |
|---|---|---|
| rescheduleType? | any | |
| scheduleTime? | any |
upgradeupgrade
| Argument | Type | Description |
|---|---|---|
| redisVersion? | any |
clusters_tokenauthusers_authtokens.tsv2026.04.23.1
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 authTokens
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authTokens |
deleteDelete the authTokens
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the authTokens |
syncSync authTokens state from GCP
aclpolicies.tsv2026.04.23.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | Identifier. Full resource path of the ACL policy. |
| rules? | array | Required. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/ |
| aclPolicyId? | string | Required. The logical name of the ACL Policy in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location |
| requestId? | string | Optional. Idempotent request UUID.. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a aclPolicies
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a aclPolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the aclPolicies |
updateUpdate aclPolicies attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the aclPolicies
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the aclPolicies |
syncSync aclPolicies state from GCP
backupcollections_backups.tsv2026.04.23.1
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 backups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the backups |
deleteDelete the backups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the backups |
syncSync backups state from GCP
exportexport
| Argument | Type | Description |
|---|---|---|
| gcsBucket? | any |
2026.04.11.152.6 KBApr 11, 2026
Google Cloud redis infrastructure models
Release Notes
- Updated: clusters
Changelog
Models
~methods: +export, -create, -update, -add_token_auth_user, -backup, -get_certificate_authority, -reschedule_cluster_maintenance
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudrediscloudinfrastructure
2026.04.04.152.5 KBApr 4, 2026
Google Cloud redis infrastructure models
Release Notes
- Updated: clusters
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudrediscloudinfrastructure
2026.04.03.352.6 KBApr 3, 2026
Google Cloud redis infrastructure models
Release Notes
- Updated: locations, aclpolicies, backupcollections, backupcollections_backups, clusters, clusters_tokenauthusers, clusters_tokenauthusers_authtokens, instances
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudrediscloudinfrastructure
2026.04.03.151.3 KBApr 3, 2026
Google Cloud redis infrastructure models
Release Notes
- Added: clusters_tokenauthusers, clusters_tokenauthusers_authtokens
- Updated: locations, aclpolicies, backupcollections, backupcollections_backups, clusters, instances
Changelog
Models
~methods: +add_token_auth_user
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudrediscloudinfrastructure
2026.04.02.250.4 KBApr 2, 2026
Google Cloud redis infrastructure models
Changelog
Models
~methods: +create, +update, +delete, +backup, +get_certificate_authority, +reschedule_cluster_maintenance
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudrediscloudinfrastructure
2026.03.27.149.3 KBMar 27, 2026
Google Cloud redis infrastructure models
Release Notes
- Added: locations, aclpolicies, backupcollections, backupcollections_backups, clusters, instances
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudrediscloudinfrastructure