Reference documentation and code samples for the Cloud Memorystore for Memcached v1 API class CloudMemcache.
Configures and manages Cloud Memorystore for Memcached instances.
The memcache.googleapis.com service implements the Google Cloud Memorystore
for Memcached API and defines the following resource model for managing
Memorystore Memcached (also called Memcached below) instances:
The service works with a collection of cloud projects, named: /projects/*
Each project has a collection of available locations, named: /locations/*
Each location has a collection of Memcached instances, named:
/instances/*
As such, Memcached instances are resources of the form:
/projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note that location_id must be a GCP region; for example:
public static void BindService(ServiceBinderBase serviceBinder, CloudMemcache.CloudMemcacheBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the Cloud Memorystore for Memcached v1 API class, \u003ccode\u003eCloudMemcache\u003c/code\u003e, which is used to manage Memcached instances within Google Cloud projects.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports different versions, from 1.0.0 to the latest 2.5.0, with version 2.3.0 being the current focus of this page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudMemcache\u003c/code\u003e instances are organized hierarchically within cloud projects, locations (GCP regions), and specific instance IDs, following the format: \u003ccode\u003e/projects/{project_id}/locations/{location_id}/instances/{instance_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudMemcache\u003c/code\u003e class allows for binding service definitions to a server using methods such as \u003ccode\u003eBindService(CloudMemcacheBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, CloudMemcacheBase)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe Class \u003ccode\u003eCloudMemcache\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e class and belongs to the namespace \u003ccode\u003eGoogle.Cloud.Memcache.V1\u003c/code\u003e, and is located within the \u003ccode\u003eGoogle.Cloud.Memcache.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]