Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class CloudRedis.
Configures and manages Cloud Memorystore for Redis instances
Google Cloud Memorystore for Redis v1
The redis.googleapis.com service implements the Google Cloud Memorystore
for Redis API and defines the following resource model for managing Redis
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 Redis instances, named: /instances/*
As such, Redis instances are resources of the form:
/projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note that location_id must be referring to a GCP region; for example:
public static void BindService(ServiceBinderBase serviceBinder, CloudRedis.CloudRedisBase 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the Google Cloud Memorystore for Redis v1 API, specifically the \u003ccode\u003eCloudRedis\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCloudRedis\u003c/code\u003e documentation is 3.5.0, and it provides links to documentation for versions ranging from 2.2.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudRedis\u003c/code\u003e manages Redis instances within cloud projects and locations, using a resource model formatted as \u003ccode\u003e/projects/{project_id}/locations/{location_id}/instances/{instance_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudRedis\u003c/code\u003e class offers methods like \u003ccode\u003eBindService\u003c/code\u003e to create service definitions and bind service methods for server-side logic.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the CloudRedis API is \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e and it can be found in the assembly \u003ccode\u003eGoogle.Cloud.Redis.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class CloudRedis (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.CloudRedis)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.CloudRedis)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.CloudRedis)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.CloudRedis)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.CloudRedis)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.CloudRedis)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.CloudRedis)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.CloudRedis)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.CloudRedis)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.CloudRedis) \n\n public static class CloudRedis\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class CloudRedis.\n\nConfigures and manages Cloud Memorystore for Redis instances\n\nGoogle Cloud Memorystore for Redis v1\n\nThe `redis.googleapis.com` service implements the Google Cloud Memorystore\nfor Redis API and defines the following resource model for managing Redis\ninstances:\n\n- The service works with a collection of cloud projects, named: `/projects/*`\n- Each project has a collection of available locations, named: `/locations/*`\n- Each location has a collection of Redis instances, named: `/instances/*`\n- As such, Redis instances are resources of the form: `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`\n\nNote that location_id must be referring to a GCP `region`; for example:\n\n- `projects/redpepper-1290/locations/us-central1/instances/my-redis` \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CloudRedis \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll\n\nMethods\n-------\n\n### BindService(CloudRedisBase)\n\n public static ServerServiceDefinition BindService(CloudRedis.CloudRedisBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, CloudRedisBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, CloudRedis.CloudRedisBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]