Module: Google::Cloud::Memcache::V1beta2::CloudMemcache

Defined in:
lib/google/cloud/memcache/v1beta2/cloud_memcache.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/rest.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/paths.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/client.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/operations.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/credentials.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/client.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/operations.rb,
lib/google/cloud/memcache/v1beta2/cloud_memcache/rest/service_stub.rb

Overview

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

To load this service and instantiate a REST client:

require "google/cloud/memcache/v1beta2/cloud_memcache/rest"
client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Rest::Client.new

Defined Under Namespace

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