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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.int
int
void
setExecutorThreadsCount
(int executorThreadsCount) void
setJsonOutputBatchSize
(int jsonOutputBatchSize)
-
Constructor Details
-
CloudVisionProperties
public CloudVisionProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- 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)
-