Class DocumentServiceSpringProperties
java.lang.Object
com.google.cloud.discoveryengine.v1.spring.DocumentServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.discoveryengine.v1.document-service")
public class DocumentServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for DocumentService client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateDocumentRetry
(Retry createDocumentRetry) void
setDeleteDocumentRetry
(Retry deleteDocumentRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetDocumentRetry
(Retry getDocumentRetry) void
setListDocumentsRetry
(Retry listDocumentsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateDocumentRetry
(Retry updateDocumentRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
DocumentServiceSpringProperties
public DocumentServiceSpringProperties()
-
-
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
-
getGetDocumentRetry
-
setGetDocumentRetry
-
getListDocumentsRetry
-
setListDocumentsRetry
-
getCreateDocumentRetry
-
setCreateDocumentRetry
-
getUpdateDocumentRetry
-
setUpdateDocumentRetry
-
getDeleteDocumentRetry
-
setDeleteDocumentRetry
-