Google Cloud Memorystore for Memcached API - Module Google::Cloud::Memcache::V1beta2::CloudMemcache::Paths (v0.9.1)

Reference documentation and code samples for the Google Cloud Memorystore for Memcached API module Google::Cloud::Memcache::V1beta2::CloudMemcache::Paths.

Path helper methods for the CloudMemcache API.

Methods

#instance_path

def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

Parameters
  • project (String)
  • location (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)