public class GoogleConfigPropertySourceLocator extends Object
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)
public String getProjectId()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.