Skip to main content

@swamp/gcp/memcache

v2026.04.23.1

Google Cloud memcache infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudmemcachecloudinfrastructure

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/memcache

@swamp/gcp/memcache/instancesv2026.04.23.1instances.ts

Global Arguments

ArgumentTypeDescription
authorizedNetwork?stringThe full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used.
displayName?stringUser provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
instanceMessages?arrayList of messages that describe the current state of the Memcached instance.
labels?recordResource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
maintenancePolicy?objectMaintenance policy per instance.
maintenanceSchedule?objectUpcoming maintenance schedule.
maintenanceVersion?stringOptional. Last self service update maintenance version triggered by the customer. If it is empty, it means that the maintenance version is not set by the user.
memcacheVersion?enumThe major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version.
name?stringRequired. 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: Memcached instances are managed and addressed at the regional level so `location_id` here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.
nodeConfig?objectConfiguration for a Memcached Node.
nodeCount?numberRequired. Number of nodes in the Memcached instance.
parameters?object
reservedIpRangeId?arrayOptional. Contains the id of allocated IP address ranges associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29.
zones?arrayZones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
instanceId?stringRequired. The logical name of the Memcached instance in the user 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 user project / location. If any of the above are not met, the API raises an invalid argument error.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a instances
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a instances
ArgumentTypeDescription
identifierstringThe name of the instances
updateUpdate instances attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the instances
ArgumentTypeDescription
identifierstringThe name of the instances
syncSync instances state from GCP
apply_parametersapply parameters
ArgumentTypeDescription
applyAll?any
nodeIds?any
get_tagsget tags
reschedule_maintenancereschedule maintenance
ArgumentTypeDescription
rescheduleType?any
scheduleTime?any
set_tagsset tags
ArgumentTypeDescription
etag?any
name?any
requestId?any
tags?any
update_parametersupdate parameters
ArgumentTypeDescription
parameters?any
updateMask?any
upgradeupgrade
ArgumentTypeDescription
memcacheVersion?any

Resources

state(infinite)— A Memorystore for Memcached instance
@swamp/gcp/memcache/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP

Resources

state(infinite)— A resource that represents a Google Cloud location.