Cloud SQL Admin V1 API - Module Google::Cloud::Sql::V1::BlueGreenDeploymentsService::Paths (v0.5.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::BlueGreenDeploymentsService::Paths.

Path helper methods for the BlueGreenDeploymentsService API.

Methods

#blue_green_deployment_path

def blue_green_deployment_path(project:, location:, blue_green_deployment:) -> ::String

Create a fully-qualified BlueGreenDeployment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

Parameters
  • project (String)
  • location (String)
  • blue_green_deployment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instance_path

def instance_path(project:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}

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