@ConfigurationProperties(value="spring.cloud.gcp.config") public class GcpConfigProperties extends Object implements CredentialsSupplier, org.springframework.context.EnvironmentAware
GoogleConfigPropertySourceLocator.| Constructor and Description |
|---|
GcpConfigProperties() |
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials()
Supplies credentials configuration.
|
String |
getName() |
String |
getProfile() |
String |
getProjectId() |
int |
getTimeoutMillis() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setName(String name) |
void |
setProfile(String profile) |
void |
setProjectId(String projectId) |
void |
setTimeoutMillis(int timeoutMillis) |
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setName(String name)
public String getName()
public void setProfile(String profile)
public String getProfile()
public void setTimeoutMillis(int timeoutMillis)
public int getTimeoutMillis()
public String getProjectId()
public void setProjectId(String projectId)
public Credentials getCredentials()
CredentialsSuppliergetCredentials in interface CredentialsSupplierpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwareCopyright © 2024. All rights reserved.