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

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

Path helper methods for the SqlInstancesService API.

Methods

#backup_path

def backup_path(project:, backup:) -> ::String
def backup_path(project:, location:, backupvault:, datasource:, backup:) -> ::String

Create a fully-qualified Backup resource string.

Overloads
def backup_path(project:, backup:) -> ::String
The resource will be in the following format:

projects/{project}/backups/{backup}

Parameters
  • project (String)
  • backup (String)
def backup_path(project:, location:, backupvault:, datasource:, backup:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup}

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

#secret_version_path

def secret_version_path(project:, secret:, secret_version:) -> ::String
def secret_version_path(project:, location:, secret:, secret_version:) -> ::String

Create a fully-qualified SecretVersion resource string.

Overloads
def secret_version_path(project:, secret:, secret_version:) -> ::String
The resource will be in the following format:

projects/{project}/secrets/{secret}/versions/{secret_version}

Parameters
  • project (String)
  • secret (String)
  • secret_version (String)
def secret_version_path(project:, location:, secret:, secret_version:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}

Parameters
  • project (String)
  • location (String)
  • secret (String)
  • secret_version (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

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