Cloud SQL Admin V1BETA4 API - Module Google::Cloud::Sql::V1beta4::SqlBackupsService::Paths (v0.3.0)

Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API module Google::Cloud::Sql::V1beta4::SqlBackupsService::Paths.

Path helper methods for the SqlBackupsService API.

Methods

#backup_path

def backup_path(project:, backup:) -> ::String

Create a fully-qualified Backup resource string.

The resource will be in the following format:

projects/{project}/backups/{backup}

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

#network_attachment_path

def network_attachment_path(project:, region:, network_attachment:) -> ::String

Create a fully-qualified NetworkAttachment resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/networkAttachments/{network_attachment}

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)

#service_connection_policy_path

def service_connection_policy_path(project:, region:, service_connection_policy:) -> ::String

Create a fully-qualified ServiceConnectionPolicy resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/serviceConnectionPolicies/{service_connection_policy}

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