Class ModelServiceSpringProperties
java.lang.Object
com.google.cloud.retail.v2.spring.ModelServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.retail.v2.model-service")
public class ModelServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for ModelService client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setDeleteModelRetry
(Retry deleteModelRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetModelRetry
(Retry getModelRetry) void
setListModelsRetry
(Retry listModelsRetry) void
setPauseModelRetry
(Retry pauseModelRetry) void
setQuotaProjectId
(String quotaProjectId) void
setResumeModelRetry
(Retry resumeModelRetry) void
void
setUpdateModelRetry
(Retry updateModelRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
ModelServiceSpringProperties
public ModelServiceSpringProperties()
-
-
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
-
getGetModelRetry
-
setGetModelRetry
-
getPauseModelRetry
-
setPauseModelRetry
-
getResumeModelRetry
-
setResumeModelRetry
-
getDeleteModelRetry
-
setDeleteModelRetry
-
getListModelsRetry
-
setListModelsRetry
-
getUpdateModelRetry
-
setUpdateModelRetry
-