@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()
CredentialsSupplier
getCredentials
in interface CredentialsSupplier
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
Copyright © 2021. All rights reserved.