Class GcpConfigProperties

java.lang.Object
com.google.cloud.spring.autoconfigure.config.GcpConfigProperties
All Implemented Interfaces:
CredentialsSupplier, org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware

@ConfigurationProperties("spring.cloud.gcp.config") public class GcpConfigProperties extends Object implements CredentialsSupplier, org.springframework.context.EnvironmentAware
Since:
1.1
  • Constructor Details

    • GcpConfigProperties

      public GcpConfigProperties()
  • Method Details

    • setEnabled

      public void setEnabled(boolean enabled)
    • isEnabled

      public boolean isEnabled()
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • setProfile

      public void setProfile(String profile)
    • getProfile

      public String getProfile()
    • setTimeoutMillis

      public void setTimeoutMillis(int timeoutMillis)
    • getTimeoutMillis

      public int getTimeoutMillis()
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • getCredentials

      public Credentials getCredentials()
      Description copied from interface: CredentialsSupplier
      Supplies credentials configuration.
      Specified by:
      getCredentials in interface CredentialsSupplier
      Returns:
      a POJO containing Google Cloud credentials location and scopes
    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware