public class GoogleConfigPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
PropertySourceLocator
for Google Cloud Runtime Configurator API.Constructor and Description |
---|
GoogleConfigPropertySourceLocator(GcpProjectIdProvider projectIdProvider,
com.google.api.gax.core.CredentialsProvider credentialsProvider,
GcpConfigProperties gcpConfigProperties) |
Modifier and Type | Method and Description |
---|---|
String |
getProjectId() |
org.springframework.core.env.PropertySource<?> |
locate(org.springframework.core.env.Environment environment) |
public GoogleConfigPropertySourceLocator(GcpProjectIdProvider projectIdProvider, com.google.api.gax.core.CredentialsProvider credentialsProvider, GcpConfigProperties gcpConfigProperties) throws IOException
IOException
public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
locate
in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator
public String getProjectId()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.