Package com.google.api.apikeys.v2.spring
Class ApiKeysSpringProperties
java.lang.Object
com.google.api.apikeys.v2.spring.ApiKeysSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.api.apikeys.v2.api-keys")
public class ApiKeysSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for ApiKeys client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetKeyRetry
(Retry getKeyRetry) void
setGetKeyStringRetry
(Retry getKeyStringRetry) void
setListKeysRetry
(Retry listKeysRetry) void
setLookupKeyRetry
(Retry lookupKeyRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUseRest
(boolean useRest)
-
Constructor Details
-
ApiKeysSpringProperties
public ApiKeysSpringProperties()
-
-
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
-
getListKeysRetry
-
setListKeysRetry
-
getGetKeyRetry
-
setGetKeyRetry
-
getGetKeyStringRetry
-
setGetKeyStringRetry
-
getLookupKeyRetry
-
setLookupKeyRetry
-