Google Cloud Memorystore for Redis V1BETA1 API - Module Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Paths (v0.3.0)

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}

Parameters
  • project (String)
  • location (String)
  • backup_collection (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • backup_collection (String)
  • backup (String)
Returns
  • (::String)
Raises
  • (::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

Parameters
  • project (String)
  • location (String)
  • cluster (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • cluster (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (String)
  • crypto_key_version (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • region (String)
  • forwarding_rule (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)

#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}

Parameters
  • project (String)
  • network (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • region (String)
  • service_attachment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)