Class SessionServiceSpringProperties
java.lang.Object
com.google.cloud.discoveryengine.v1.spring.SessionServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.discoveryengine.v1.session-service")
public class SessionServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for SessionService client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateSessionRetry
(Retry createSessionRetry) void
setDeleteSessionRetry
(Retry deleteSessionRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetSessionRetry
(Retry getSessionRetry) void
setListSessionsRetry
(Retry listSessionsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateSessionRetry
(Retry updateSessionRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
SessionServiceSpringProperties
public SessionServiceSpringProperties()
-
-
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
-
getCreateSessionRetry
-
setCreateSessionRetry
-
getDeleteSessionRetry
-
setDeleteSessionRetry
-
getUpdateSessionRetry
-
setUpdateSessionRetry
-
getGetSessionRetry
-
setGetSessionRetry
-
getListSessionsRetry
-
setListSessionsRetry
-