Class GroundedGenerationServiceSpringProperties
java.lang.Object
com.google.cloud.discoveryengine.v1.spring.GroundedGenerationServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.discoveryengine.v1.grounded-generation-service")
public class GroundedGenerationServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for GroundedGenerationService client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()booleanvoidsetCheckGroundingRetry(Retry checkGroundingRetry) voidsetExecutorThreadCount(Integer executorThreadCount) voidsetGenerateGroundedContentRetry(Retry generateGroundedContentRetry) voidsetQuotaProjectId(String quotaProjectId) voidvoidsetUseRest(boolean useRest)
-
Constructor Details
-
GroundedGenerationServiceSpringProperties
public GroundedGenerationServiceSpringProperties()
-
-
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
-
getGenerateGroundedContentRetry
-
setGenerateGroundedContentRetry
-
getCheckGroundingRetry
-
setCheckGroundingRetry
-