@Generated(value="by gapic-generator-java")
See: Description
| Class | Description |
|---|---|
| CloudRedisClient |
Service Description: Configures and manages Cloud Memorystore for Redis instances
|
| CloudRedisClient.ListInstancesFixedSizeCollection | |
| CloudRedisClient.ListInstancesPage | |
| CloudRedisClient.ListInstancesPagedResponse | |
| CloudRedisSettings |
Settings class to configure an instance of
CloudRedisClient. |
| CloudRedisSettings.Builder |
Builder for CloudRedisSettings.
|
The interfaces provided are listed below, along with usage samples.
======================= CloudRedisClient =======================
Service Description: 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:
Note that location_id must be referring to a GCP `region`; for example:
Sample for CloudRedisClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudRedisClient cloudRedisClient = CloudRedisClient.create()) {
InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
Instance response = cloudRedisClient.getInstance(name);
}
Copyright © 2024 Google LLC. All rights reserved.