Library reference docs
Namespaces
google::cloud::discoveryengine_v1
Classes
CompletionServiceClient
Functions
CompletionServiceConnectionIdempotencyPolicy
CompletionServiceLimitedErrorCountRetryPolicy
CompletionServiceLimitedTimeRetryPolicy
ControlServiceClient
Functions
ControlServiceConnectionIdempotencyPolicy
ControlServiceLimitedErrorCountRetryPolicy
ControlServiceLimitedTimeRetryPolicy
ConversationalSearchServiceClient
Functions
ConversationalSearchServiceConnection
ConversationalSearchServiceConnectionIdempotencyPolicy
ConversationalSearchServiceLimitedErrorCountRetryPolicy
ConversationalSearchServiceLimitedTimeRetryPolicy
ConversationalSearchServiceRetryPolicy
DataStoreServiceClient
Functions
DataStoreServiceConnectionIdempotencyPolicy
DataStoreServiceLimitedErrorCountRetryPolicy
DataStoreServiceLimitedTimeRetryPolicy
DocumentServiceClient
Functions
DocumentServiceConnectionIdempotencyPolicy
DocumentServiceLimitedErrorCountRetryPolicy
DocumentServiceLimitedTimeRetryPolicy
EngineServiceClient
Functions
EngineServiceConnectionIdempotencyPolicy
EngineServiceLimitedErrorCountRetryPolicy
EngineServiceLimitedTimeRetryPolicy
GroundedGenerationServiceClient
GroundedGenerationServiceConnection
GroundedGenerationServiceConnectionIdempotencyPolicy
GroundedGenerationServiceLimitedErrorCountRetryPolicy
GroundedGenerationServiceLimitedTimeRetryPolicy
GroundedGenerationServiceRetryPolicy
ProjectServiceClient
Functions
ProjectServiceConnectionIdempotencyPolicy
ProjectServiceLimitedErrorCountRetryPolicy
ProjectServiceLimitedTimeRetryPolicy
RankServiceConnectionIdempotencyPolicy
RankServiceLimitedErrorCountRetryPolicy
RankServiceLimitedTimeRetryPolicy
RecommendationServiceConnection
RecommendationServiceConnectionIdempotencyPolicy
RecommendationServiceLimitedErrorCountRetryPolicy
RecommendationServiceLimitedTimeRetryPolicy
RecommendationServiceRetryPolicy
SchemaServiceClient
Functions
SchemaServiceConnectionIdempotencyPolicy
SchemaServiceLimitedErrorCountRetryPolicy
SchemaServiceLimitedTimeRetryPolicy
SearchServiceConnectionIdempotencyPolicy
SearchServiceLimitedErrorCountRetryPolicy
SearchServiceLimitedTimeRetryPolicy
SiteSearchEngineServiceClient
Functions
SiteSearchEngineServiceConnection
Functions
SiteSearchEngineServiceConnectionIdempotencyPolicy
SiteSearchEngineServiceLimitedErrorCountRetryPolicy
SiteSearchEngineServiceLimitedTimeRetryPolicy
SiteSearchEngineServiceRetryPolicy
UserEventServiceClient
Functions
UserEventServiceConnectionIdempotencyPolicy
UserEventServiceLimitedErrorCountRetryPolicy
UserEventServiceLimitedTimeRetryPolicy
Structs
CompletionServiceBackoffPolicyOption
CompletionServiceConnectionIdempotencyPolicyOption
CompletionServicePollingPolicyOption
CompletionServiceRetryPolicyOption
ControlServiceBackoffPolicyOption
ControlServiceConnectionIdempotencyPolicyOption
ControlServiceRetryPolicyOption
ConversationalSearchServiceBackoffPolicyOption
ConversationalSearchServiceConnectionIdempotencyPolicyOption
ConversationalSearchServiceRetryPolicyOption
DataStoreServiceBackoffPolicyOption
DataStoreServiceConnectionIdempotencyPolicyOption
DataStoreServicePollingPolicyOption
DataStoreServiceRetryPolicyOption
DocumentServiceBackoffPolicyOption
DocumentServiceConnectionIdempotencyPolicyOption
DocumentServicePollingPolicyOption
DocumentServiceRetryPolicyOption
EngineServiceBackoffPolicyOption
EngineServiceConnectionIdempotencyPolicyOption
EngineServicePollingPolicyOption
GroundedGenerationServiceBackoffPolicyOption
GroundedGenerationServiceConnectionIdempotencyPolicyOption
GroundedGenerationServiceRetryPolicyOption
ProjectServiceBackoffPolicyOption
ProjectServiceConnectionIdempotencyPolicyOption
ProjectServicePollingPolicyOption
ProjectServiceRetryPolicyOption
RankServiceConnectionIdempotencyPolicyOption
RecommendationServiceBackoffPolicyOption
RecommendationServiceConnectionIdempotencyPolicyOption
RecommendationServiceRetryPolicyOption
SchemaServiceBackoffPolicyOption
SchemaServiceConnectionIdempotencyPolicyOption
SchemaServicePollingPolicyOption
SearchServiceBackoffPolicyOption
SearchServiceConnectionIdempotencyPolicyOption
SiteSearchEngineServiceBackoffPolicyOption
SiteSearchEngineServiceConnectionIdempotencyPolicyOption
SiteSearchEngineServicePollingPolicyOption
SiteSearchEngineServiceRetryPolicyOption
UserEventServiceBackoffPolicyOption
UserEventServiceConnectionIdempotencyPolicyOption
UserEventServicePollingPolicyOption
UserEventServiceRetryPolicyOption
google::cloud::discoveryengine_v1_mocks
Classes
MockCompletionServiceConnection
MockConversationalSearchServiceConnection
MockGroundedGenerationServiceConnection
MockRecommendationServiceConnection
MockSiteSearchEngineServiceConnection
Functions
Stay organized with collections Save and categorize content based on your preferences.
A number of environment variables can be used to configure the behavior of the library. There are also functions to configure this behavior in code. The environment variables are convenient when troubleshooting problems.
Endpoint OverridesGOOGLE_CLOUD_CPP_COMPLETION_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeCompletionServiceConnection()
.GOOGLE_CLOUD_CPP_CONTROL_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeControlServiceConnection()
.GOOGLE_CLOUD_CPP_CONVERSATIONAL_SEARCH_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeConversationalSearchServiceConnection()
.GOOGLE_CLOUD_CPP_DATA_STORE_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeDataStoreServiceConnection()
.GOOGLE_CLOUD_CPP_DOCUMENT_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeDocumentServiceConnection()
.GOOGLE_CLOUD_CPP_ENGINE_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeEngineServiceConnection()
.GOOGLE_CLOUD_CPP_GROUNDED_GENERATION_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeGroundedGenerationServiceConnection()
.GOOGLE_CLOUD_CPP_PROJECT_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeProjectServiceConnection()
.GOOGLE_CLOUD_CPP_RANK_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeRankServiceConnection()
.GOOGLE_CLOUD_CPP_RECOMMENDATION_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeRecommendationServiceConnection()
.GOOGLE_CLOUD_CPP_SCHEMA_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeSchemaServiceConnection()
.GOOGLE_CLOUD_CPP_SEARCH_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeSearchServiceConnection()
.GOOGLE_CLOUD_CPP_SITE_SEARCH_ENGINE_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeSiteSearchEngineServiceConnection()
.GOOGLE_CLOUD_CPP_USER_EVENT_SERVICE_ENDPOINT=...
overrides the EndpointOption
(which defaults to "discoveryengine.googleapis.com") used by MakeUserEventServiceConnection()
.GOOGLE_CLOUD_CPP_ENABLE_TRACING=rpc
: turns on tracing for most gRPC calls. The library injects an additional Stub decorator that prints each gRPC request and response. Unless you have configured your own logging backend, you should also set GOOGLE_CLOUD_CPP_ENABLE_CLOG
to produce any output on the program's console.
google::cloud::LoggingComponentsOption
GOOGLE_CLOUD_CPP_TRACING_OPTIONS=...
: modifies the behavior of gRPC tracing, including whether messages will be output on multiple lines, or whether string/bytes fields will be truncated.
google::cloud::GrpcTracingOptionsOption
GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes
: turns on logging in the library, basically the library always "logs" but the logging infrastructure has no backend to actually print anything until the application sets a backend or they set this environment variable.
GOOGLE_CLOUD_PROJECT=...
: is used in examples and integration tests to configure the GCP project. This has no effect in the library.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["The latest version of the Discovery Engine C++ library is 2.37.0-rc, and the page lists versions back to 2.15.1."],["Environment variables can be utilized to adjust the library's behavior, which is especially helpful for troubleshooting."],["Endpoint overrides are available through specific environment variables, each corresponding to a different service like `MakeCompletionServiceConnection` or `MakeSearchServiceConnection`."],["You can turn on tracing for gRPC calls using `GOOGLE_CLOUD_CPP_ENABLE_TRACING=rpc`, and adjust the tracing behavior with `GOOGLE_CLOUD_CPP_TRACING_OPTIONS`."],["`GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` enables logging within the library, allowing the application to see the logs on the console, where as `GOOGLE_CLOUD_PROJECT` can be set to configure the GCP project in tests."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4