public static class CloudMemcache
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:
projects/my-memcached-project/locations/us-central1/instances/my-memcached
Namespace
Google.Cloud.Memcache.V1Assembly
Google.Cloud.Memcache.V1.dll
Methods
BindService(CloudMemcacheBase)
public static ServerServiceDefinition BindService(CloudMemcache.CloudMemcacheBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
CloudMemcacheCloudMemcacheBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, CloudMemcacheBase)
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.
Parameters | |
---|---|
Name | Description |
serviceBinder |
ServiceBinderBase Service methods will be bound by calling |
serviceImpl |
CloudMemcacheCloudMemcacheBase An object implementing the server-side handling logic. |