Package | Description |
---|---|
com.google.cloud.spanner.connection |
Internal API for Google Cloud Spanner.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionOptions.Builder |
ConnectionOptions.newBuilder()
Create a
ConnectionOptions.Builder for ConnectionOptions . |
ConnectionOptions.Builder |
ConnectionOptions.Builder.setCredentialsUrl(String credentialsUrl)
Sets the URL of the credentials file to use for this connection.
|
ConnectionOptions.Builder |
ConnectionOptions.Builder.setOAuthToken(String oauthToken)
Sets the OAuth token to use with this connection.
|
ConnectionOptions.Builder |
ConnectionOptions.Builder.setSessionPoolOptions(SessionPoolOptions sessionPoolOptions)
Sets the
SessionPoolOptions to use for the connection. |
ConnectionOptions.Builder |
ConnectionOptions.Builder.setUri(String uri)
Sets the URI of the Cloud Spanner database to connect to.
|
Copyright © 2022 Google LLC. All rights reserved.