@ConfigurationProperties(value="spring.cloud.gcp.firestore") public class GcpFirestoreProperties extends Object implements CredentialsSupplier
Modifier and Type | Class and Description |
---|---|
static class |
GcpFirestoreProperties.FirestoreEmulatorProperties |
Constructor and Description |
---|
GcpFirestoreProperties() |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Supplies credentials configuration.
|
GcpFirestoreProperties.FirestoreEmulatorProperties |
getEmulator() |
String |
getFirestoreRootPath(GcpProjectIdProvider projectIdProvider) |
String |
getHostPort() |
String |
getProjectId() |
String |
getResolvedProjectId(GcpProjectIdProvider projectIdProvider) |
void |
setEmulator(GcpFirestoreProperties.FirestoreEmulatorProperties emulator) |
void |
setHostPort(String hostPort) |
void |
setProjectId(String projectId) |
public Credentials getCredentials()
CredentialsSupplier
getCredentials
in interface CredentialsSupplier
public String getProjectId()
public String getResolvedProjectId(GcpProjectIdProvider projectIdProvider)
public void setProjectId(String projectId)
public String getHostPort()
public void setHostPort(String hostPort)
public GcpFirestoreProperties.FirestoreEmulatorProperties getEmulator()
public void setEmulator(GcpFirestoreProperties.FirestoreEmulatorProperties emulator)
public String getFirestoreRootPath(GcpProjectIdProvider projectIdProvider)
Copyright © 2021. All rights reserved.