Cloud Spanner Instance Admin V1 API - Module Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Paths (v0.12.0)

Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API module Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Paths.

Path helper methods for the InstanceAdmin API.

Methods

#instance_config_path

def instance_config_path(project:, instance_config:) -> ::String

Create a fully-qualified InstanceConfig resource string.

The resource will be in the following format:

projects/{project}/instanceConfigs/{instance_config}

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

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