Module: Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster

Defined in:
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/rest.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/paths.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/client.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/operations.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/credentials.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/rest/client.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/rest/operations.rb,
lib/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/rest/service_stub.rb

Overview

Configures and manages Cloud Memorystore for Redis clusters

Google Cloud Memorystore for Redis Cluster

The redis.googleapis.com service implements the Google Cloud Memorystore for Redis API and defines the following resource model for managing Redis clusters:

  • 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 clusters, named: /clusters/*
  • As such, Redis clusters are resources of the form: /projects/{project_id}/locations/{location_id}/clusters/{instance_id}

Note that location_id must be a GCP region; for example:

  • projects/redpepper-1290/locations/us-central1/clusters/my-redis

To load this service and instantiate a REST client:

require "google/cloud/redis/cluster/v1beta1/cloud_redis_cluster/rest"
client = ::Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Rest::Client.new

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials, Operations