Reference documentation and code samples for the Google Cloud Memorystore for Redis v1beta1 API class CloudRedis.
Configures and manages Cloud Memorystore for Redis instances
Google Cloud Memorystore for Redis v1beta1
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"]],[["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\u003eThe \u003ccode\u003eCloudRedis\u003c/code\u003e class, part of the Google Cloud Memorystore for Redis v1beta1 API, is used to configure and manage Redis instances within Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eRedis instances are structured hierarchically under projects and locations, specifically within GCP regions, following the format \u003ccode\u003e/projects/{project_id}/locations/{location_id}/instances/{instance_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eCloudRedis\u003c/code\u003e can be used to create service definitions with the method \u003ccode\u003eBindService\u003c/code\u003e, which is designed to register logic for the server-side.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available, with the latest being version 3.0.0-beta05, and this class inherits from the \u003ccode\u003eobject\u003c/code\u003e class in .NET.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1beta1 API - Class CloudRedis (3.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1Beta1/latest/Google.Cloud.Redis.V1Beta1.CloudRedis)\n- [3.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Redis.V1Beta1/3.0.0-beta04/Google.Cloud.Redis.V1Beta1.CloudRedis)\n- [2.0.0-beta09](/dotnet/docs/reference/Google.Cloud.Redis.V1Beta1/2.0.0-beta09/Google.Cloud.Redis.V1Beta1.CloudRedis) \n\n public static class CloudRedis\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1beta1 API class CloudRedis.\n\nConfigures and manages Cloud Memorystore for Redis instances\n\nGoogle Cloud Memorystore for Redis v1beta1\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.V1Beta1](/dotnet/docs/reference/Google.Cloud.Redis.V1Beta1/latest/Google.Cloud.Redis.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1Beta1.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."]]