Class GcpParameterManagerAutoConfiguration

java.lang.Object
com.google.cloud.spring.autoconfigure.parametermanager.GcpParameterManagerAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(GcpParameterManagerProperties.class) @ConditionalOnClass(ParameterManagerTemplate.class) @ConditionalOnProperty(value="spring.cloud.gcp.parametermanager.enabled", matchIfMissing=true) @AutoConfigureAfter(GcpContextAutoConfiguration.class) public class GcpParameterManagerAutoConfiguration extends Object
Autoconfiguration for GCP Parameter Manager.
  • Constructor Details

  • Method Details

    • parameterManagerClient

      @Bean @ConditionalOnMissingBean public com.google.cloud.parametermanager.v1.ParameterManagerClient parameterManagerClient() throws IOException
      Throws:
      IOException
    • clientFactory

      @Bean @ConditionalOnMissingBean public ParameterManagerClientFactory clientFactory(com.google.cloud.parametermanager.v1.ParameterManagerClient client)
    • parameterManagerTemplate

      @Bean @ConditionalOnMissingBean public ParameterManagerTemplate parameterManagerTemplate(com.google.cloud.parametermanager.v1.ParameterManagerClient client, org.springframework.beans.factory.ObjectProvider<ParameterManagerClientFactory> clientFactoryProvider)