Class AutoMlSpringProperties
java.lang.Object
com.google.cloud.automl.v1.spring.AutoMlSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.automl.v1.auto-ml")
public class AutoMlSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for AutoMl client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetAnnotationSpecRetry
(Retry getAnnotationSpecRetry) void
setGetDatasetRetry
(Retry getDatasetRetry) void
setGetModelEvaluationRetry
(Retry getModelEvaluationRetry) void
setGetModelRetry
(Retry getModelRetry) void
setListDatasetsRetry
(Retry listDatasetsRetry) void
setListModelEvaluationsRetry
(Retry listModelEvaluationsRetry) void
setListModelsRetry
(Retry listModelsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateDatasetRetry
(Retry updateDatasetRetry) void
setUpdateModelRetry
(Retry updateModelRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
AutoMlSpringProperties
public AutoMlSpringProperties()
-
-
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
-
getQuotaProjectId
-
setQuotaProjectId
-
getUseRest
public boolean getUseRest() -
setUseRest
public void setUseRest(boolean useRest) -
getExecutorThreadCount
-
setExecutorThreadCount
-
getRetry
-
setRetry
-
getGetDatasetRetry
-
setGetDatasetRetry
-
getListDatasetsRetry
-
setListDatasetsRetry
-
getUpdateDatasetRetry
-
setUpdateDatasetRetry
-
getGetAnnotationSpecRetry
-
setGetAnnotationSpecRetry
-
getGetModelRetry
-
setGetModelRetry
-
getListModelsRetry
-
setListModelsRetry
-
getUpdateModelRetry
-
setUpdateModelRetry
-
getGetModelEvaluationRetry
-
setGetModelEvaluationRetry
-
getListModelEvaluationsRetry
-
setListModelEvaluationsRetry
-