Class ProductServiceSpringProperties
java.lang.Object
com.google.cloud.retail.v2.spring.ProductServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.retail.v2.product-service")
public class ProductServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for ProductService client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateProductRetry
(Retry createProductRetry) void
setDeleteProductRetry
(Retry deleteProductRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetProductRetry
(Retry getProductRetry) void
setListProductsRetry
(Retry listProductsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateProductRetry
(Retry updateProductRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
ProductServiceSpringProperties
public ProductServiceSpringProperties()
-
-
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
-
getCreateProductRetry
-
setCreateProductRetry
-
getGetProductRetry
-
setGetProductRetry
-
getListProductsRetry
-
setListProductsRetry
-
getUpdateProductRetry
-
setUpdateProductRetry
-
getDeleteProductRetry
-
setDeleteProductRetry
-