Class GcpDatastoreProperties

java.lang.Object
com.google.cloud.spring.autoconfigure.datastore.GcpDatastoreProperties
All Implemented Interfaces:
CredentialsSupplier

@ConfigurationProperties("spring.cloud.gcp.datastore") public class GcpDatastoreProperties extends Object implements CredentialsSupplier
Properties for configuring Cloud Datastore.
Since:
1.1
  • Constructor Details

    • GcpDatastoreProperties

      public GcpDatastoreProperties()
  • 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
    • getEmulator

      public EmulatorSettings getEmulator()
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • getDatabaseId

      public String getDatabaseId()
    • setDatabaseId

      public void setDatabaseId(String databaseId)
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)