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()
boolean
void
setCreateQuotaPreferenceRetry
(Retry createQuotaPreferenceRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetQuotaInfoRetry
(Retry getQuotaInfoRetry) void
setGetQuotaPreferenceRetry
(Retry getQuotaPreferenceRetry) void
setListQuotaInfosRetry
(Retry listQuotaInfosRetry) void
setListQuotaPreferencesRetry
(Retry listQuotaPreferencesRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateQuotaPreferenceRetry
(Retry updateQuotaPreferenceRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
CloudQuotasSpringProperties
public CloudQuotasSpringProperties()
-
-
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
-
getListQuotaInfosRetry
-
setListQuotaInfosRetry
-
getGetQuotaInfoRetry
-
setGetQuotaInfoRetry
-
getListQuotaPreferencesRetry
-
setListQuotaPreferencesRetry
-
getGetQuotaPreferenceRetry
-
setGetQuotaPreferenceRetry
-
getCreateQuotaPreferenceRetry
-
setCreateQuotaPreferenceRetry
-
getUpdateQuotaPreferenceRetry
-
setUpdateQuotaPreferenceRetry
-