Class CloudQuotasSpringProperties
java.lang.Object
com.google.api.cloudquotas.v1.spring.CloudQuotasSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.api.cloudquotas.v1.cloud-quotas")
public class CloudQuotasSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for CloudQuotas client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()booleanvoidsetCreateQuotaPreferenceRetry(Retry createQuotaPreferenceRetry) voidsetExecutorThreadCount(Integer executorThreadCount) voidsetGetQuotaInfoRetry(Retry getQuotaInfoRetry) voidsetGetQuotaPreferenceRetry(Retry getQuotaPreferenceRetry) voidsetListQuotaInfosRetry(Retry listQuotaInfosRetry) voidsetListQuotaPreferencesRetry(Retry listQuotaPreferencesRetry) voidsetQuotaProjectId(String quotaProjectId) voidvoidsetUpdateQuotaPreferenceRetry(Retry updateQuotaPreferenceRetry) voidsetUseRest(boolean useRest)
-
Constructor Details
-
CloudQuotasSpringProperties
public CloudQuotasSpringProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplierSupplies credentials configuration.- Specified by:
getCredentialsin 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
-
getListQuotaInfosRetry
-
setListQuotaInfosRetry
-
getGetQuotaInfoRetry
-
setGetQuotaInfoRetry
-
getListQuotaPreferencesRetry
-
setListQuotaPreferencesRetry
-
getGetQuotaPreferenceRetry
-
setGetQuotaPreferenceRetry
-
getCreateQuotaPreferenceRetry
-
setCreateQuotaPreferenceRetry
-
getUpdateQuotaPreferenceRetry
-
setUpdateQuotaPreferenceRetry
-