Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::SqlBackupsService::Paths.
Path helper methods for the SqlBackupsService API.
Extended By
Included In
Methods
#backup_path
def backup_path(project:, backup:) -> ::StringCreate a fully-qualified Backup resource string.
The resource will be in the following format:
projects/{project}/backups/{backup}
- project (String)
- backup (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::StringCreate 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:) -> ::StringCreate 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)
#network_attachment_path
def network_attachment_path(project:, region:, network_attachment:) -> ::StringCreate a fully-qualified NetworkAttachment resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/networkAttachments/{network_attachment}
- project (String)
- region (String)
- network_attachment (String)
- (::String)
- (::ArgumentError)
#project_path
def project_path(project:) -> ::StringCreate a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#service_connection_policy_path
def service_connection_policy_path(project:, region:, service_connection_policy:) -> ::StringCreate a fully-qualified ServiceConnectionPolicy resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/serviceConnectionPolicies/{service_connection_policy}
- project (String)
- region (String)
- service_connection_policy (String)
- (::String)
- (::ArgumentError)