Class GcpFirestoreProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.firestore.GcpFirestoreProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp.firestore")
public class GcpFirestoreProperties
extends Object
implements CredentialsSupplier
Properties for configuring Cloud Datastore.
- Since:
- 1.2
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getFirestoreRootPath
(GcpProjectIdProvider projectIdProvider) getResolvedProjectId
(GcpProjectIdProvider projectIdProvider) void
setDatabaseId
(String databaseId) void
void
setHostPort
(String hostPort) void
setProjectId
(String projectId)
-
Constructor Details
-
GcpFirestoreProperties
public GcpFirestoreProperties()
-
-
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
-
getProjectId
-
getResolvedProjectId
-
setProjectId
-
getDatabaseId
-
getResolvedDatabaseId
-
setDatabaseId
-
getHostPort
-
setHostPort
-
getEmulator
-
setEmulator
-
getFirestoreRootPath
-