Reference documentation and code samples for the Google Cloud Memorystore for Redis V1BETA1 API module Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Paths.
Path helper methods for the CloudRedisCluster API.
Methods
#backup_collection_path
def backup_collection_path(project:, location:, backup_collection:) -> ::String
Create a fully-qualified BackupCollection resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupCollections/{backup_collection}
- project (String)
- location (String)
- backup_collection (String)
- (::String)
- (::ArgumentError)
#backup_path
def backup_path(project:, location:, backup_collection:, backup:) -> ::String
Create a fully-qualified Backup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupCollections/{backup_collection}/backups/{backup}
- project (String)
- location (String)
- backup_collection (String)
- backup (String)
- (::String)
- (::ArgumentError)
#certificate_authority_path
def certificate_authority_path(project:, location:, cluster:) -> ::String
Create a fully-qualified CertificateAuthority resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority
- project (String)
- location (String)
- cluster (String)
- (::String)
- (::ArgumentError)
#cluster_path
def cluster_path(project:, location:, cluster:) -> ::String
Create a fully-qualified Cluster resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/clusters/{cluster}
- project (String)
- location (String)
- cluster (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String
Create a fully-qualified CryptoKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- (::String)
- (::ArgumentError)
#crypto_key_version_path
def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -> ::String
Create a fully-qualified CryptoKeyVersion resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- crypto_key_version (String)
- (::String)
- (::ArgumentError)
#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)
#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)