Class GcpStorageProperties

java.lang.Object
com.google.cloud.spring.storage.GoogleStorageProtocolResolverSettings
com.google.cloud.spring.autoconfigure.storage.GcpStorageProperties
All Implemented Interfaces:
CredentialsSupplier

@ConfigurationProperties("spring.cloud.gcp.storage") public class GcpStorageProperties extends GoogleStorageProtocolResolverSettings implements CredentialsSupplier
Settings for Storage.
  • Constructor Details

    • GcpStorageProperties

      public GcpStorageProperties()
  • Method Details

    • 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
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)