Class ControlServiceSpringProperties
java.lang.Object
com.google.cloud.retail.v2.spring.ControlServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.retail.v2.control-service")
public class ControlServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for ControlService client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateControlRetry
(Retry createControlRetry) void
setDeleteControlRetry
(Retry deleteControlRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetControlRetry
(Retry getControlRetry) void
setListControlsRetry
(Retry listControlsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateControlRetry
(Retry updateControlRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
ControlServiceSpringProperties
public ControlServiceSpringProperties()
-
-
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
-
getCreateControlRetry
-
setCreateControlRetry
-
getDeleteControlRetry
-
setDeleteControlRetry
-
getUpdateControlRetry
-
setUpdateControlRetry
-
getGetControlRetry
-
setGetControlRetry
-
getListControlsRetry
-
setListControlsRetry
-