Class GcpDatastoreProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.datastore.GcpDatastoreProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp.datastore")
public class GcpDatastoreProperties
extends Object
implements CredentialsSupplier
Properties for configuring Cloud Datastore.
- Since:
- 1.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getHost()
void
setDatabaseId
(String databaseId) void
void
setNamespace
(String namespace) void
setProjectId
(String projectId)
-
Constructor Details
-
GcpDatastoreProperties
public GcpDatastoreProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getEmulator
-
getProjectId
-
setProjectId
-
getDatabaseId
-
setDatabaseId
-
getNamespace
-
setNamespace
-
getHost
-
setHost
-