Package | Description |
---|---|
com.google.datastore.v1.client |
Modifier and Type | Method and Description |
---|---|
DatastoreOptions.Builder |
DatastoreOptions.Builder.credential(com.google.api.client.auth.oauth2.Credential credential)
Sets the Google APIs
Credential used to access Cloud Datastore. |
DatastoreOptions.Builder |
DatastoreOptions.Builder.databaseId(String databaseId)
Sets the database ID used to access Cloud Datastore.
|
static DatastoreOptions.Builder |
DatastoreHelper.getOptionsFromEnv()
Constructs a
Datastore from environment variables and/or the Compute Engine metadata
server. |
DatastoreOptions.Builder |
DatastoreOptions.Builder.host(String host)
Sets the host used to access Cloud Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.initializer(com.google.api.client.http.HttpRequestInitializer initializer)
Sets the (optional) initializer to run on HTTP requests to Cloud Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.localHost(String localHost)
Configures the client to access Cloud Datastore on a local host (typically a Cloud Datastore
Emulator instance).
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.projectEndpoint(String projectEndpoint)
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.projectId(String projectId)
Sets the project ID used to access Cloud Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.transport(com.google.api.client.http.HttpTransport transport)
Sets the transport used to access Cloud Datastore.
|
Copyright © 2023 Google LLC. All rights reserved.