Reference documentation and code samples for the Memorystore V1 API module Google::Cloud::Memorystore::V1::Memorystore::Paths.
Path helper methods for the Memorystore API.
Methods
#forwarding_rule_path
def forwarding_rule_path(project:, region:, forwarding_rule:) -> ::String
Create a fully-qualified ForwardingRule resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
- project (String)
- region (String)
- forwarding_rule (String)
- (::String)
- (::ArgumentError)
#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}
- project (String)
- location (String)
- instance (String)
- (::String)
- (::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}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#network_path
def network_path(project:, network:) -> ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
projects/{project}/global/networks/{network}
- project (String)
- network (String)
- (::String)
- (::ArgumentError)
#service_attachment_path
def service_attachment_path(project:, region:, service_attachment:) -> ::String
Create a fully-qualified ServiceAttachment resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}
- project (String)
- region (String)
- service_attachment (String)
- (::String)
- (::ArgumentError)