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

Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::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)