Send feedback
Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::Spanner::Paths (v1.0.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.0.1 keyboard_arrow_down
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.
Methods
#database_path
def database_path ( project :, instance :, database :) - > :: String
Create a fully-qualified Database resource string.
The resource will be in the following format:
projects/{project}/instances/{instance}/databases/{database}
Parameters
project (String)
instance (String)
database (String)
#session_path
def session_path ( project :, instance :, database :, session :) - > :: String
Create a fully-qualified Session resource string.
The resource will be in the following format:
projects/{project}/instances/{instance}/databases/{database}/sessions/{session}
Parameters
project (String)
instance (String)
database (String)
session (String)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]