Google Cloud Memorystore for Memcached V1 API - Module Google::Cloud::Memcache::V1::CloudMemcache::Paths (v2.1.0)

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

Path helper methods for the CloudMemcache API.

Methods

#instance_path

definstance_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

deflocation_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)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.