Reference documentation and code samples for the Cloud Spanner V1 API module Google::Cloud::Spanner::V1::Spanner::Paths.
Path helper methods for the Spanner API.
Extended By
Methods
#database_path
def database_path(project:, instance:, database:) -> ::StringCreate a fully-qualified Database resource string.
The resource will be in the following format:
projects/{project}/instances/{instance}/databases/{database}
- project (String)
 - instance (String)
 - database (String)
 
- (::String)
 
- (::ArgumentError)
 
#session_path
def session_path(project:, instance:, database:, session:) -> ::StringCreate a fully-qualified Session resource string.
The resource will be in the following format:
projects/{project}/instances/{instance}/databases/{database}/sessions/{session}
- project (String)
 - instance (String)
 - database (String)
 - session (String)
 
- (::String)
 
- (::ArgumentError)