Class CloudVisionProperties

java.lang.Object
com.google.cloud.spring.autoconfigure.vision.CloudVisionProperties
All Implemented Interfaces:
CredentialsSupplier

@ConfigurationProperties("spring.cloud.gcp.vision") public class CloudVisionProperties extends Object implements CredentialsSupplier
Additional settings for use with Cloud Vision APIs.
Since:
1.1
  • Constructor Details

    • CloudVisionProperties

      public CloudVisionProperties()
  • 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
    • getExecutorThreadsCount

      public int getExecutorThreadsCount()
    • setExecutorThreadsCount

      public void setExecutorThreadsCount(int executorThreadsCount)
    • getJsonOutputBatchSize

      public int getJsonOutputBatchSize()
    • setJsonOutputBatchSize

      public void setJsonOutputBatchSize(int jsonOutputBatchSize)