3.14.0-rc 3.13.0 (latest) 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1

## Classes

### [CompletionServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceClient)

Service for Auto-Completion.

### [CompletionServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection)

The [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection) object for [`CompletionServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceClient).

### [CompletionServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnectionIdempotencyPolicy)

### [CompletionServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceLimitedErrorCountRetryPolicy)

A retry policy for [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection) based on counting errors.

### [CompletionServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceLimitedTimeRetryPolicy)

A retry policy for [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection) based on elapsed time.

### [CompletionServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceRetryPolicy)

The retry policy for [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection).

### [ControlServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceClient)

Service for performing CRUD operations on Controls.

### [ControlServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection)

The [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection) object for [`ControlServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceClient).

### [ControlServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnectionIdempotencyPolicy)

### [ControlServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceLimitedErrorCountRetryPolicy)

A retry policy for [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection) based on counting errors.

### [ControlServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceLimitedTimeRetryPolicy)

A retry policy for [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection) based on elapsed time.

### [ControlServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceRetryPolicy)

The retry policy for [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection).

### [ConversationalSearchServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceClient)

Service for conversational search.

### [ConversationalSearchServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection)

The [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection) object for [`ConversationalSearchServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceClient).

### [ConversationalSearchServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnectionIdempotencyPolicy)

### [ConversationalSearchServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceLimitedErrorCountRetryPolicy)

A retry policy for [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection) based on counting errors.

### [ConversationalSearchServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceLimitedTimeRetryPolicy)

A retry policy for [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection) based on elapsed time.

### [ConversationalSearchServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceRetryPolicy)

The retry policy for [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection).

### [DataStoreServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceClient)

Service for managing [DataStore](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/discoveryengine/v1/data_store.proto#L37) configuration.

### [DataStoreServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection)

The [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection) object for [`DataStoreServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceClient).

### [DataStoreServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnectionIdempotencyPolicy)

### [DataStoreServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceLimitedErrorCountRetryPolicy)

A retry policy for [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection) based on counting errors.

### [DataStoreServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceLimitedTimeRetryPolicy)

A retry policy for [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection) based on elapsed time.

### [DataStoreServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceRetryPolicy)

The retry policy for [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection).

### [DocumentServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceClient)

Service for ingesting [Document](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/discoveryengine/v1/document.proto#L37) information of the customer's website.

### [DocumentServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection)

The [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection) object for [`DocumentServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceClient).

### [DocumentServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnectionIdempotencyPolicy)

### [DocumentServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceLimitedErrorCountRetryPolicy)

A retry policy for [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection) based on counting errors.

### [DocumentServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceLimitedTimeRetryPolicy)

A retry policy for [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection) based on elapsed time.

### [DocumentServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceRetryPolicy)

The retry policy for [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection).

### [EngineServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceClient)

Service for managing [Engine](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/discoveryengine/v1/engine.proto#L38) configuration.

### [EngineServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection)

The [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection) object for [`EngineServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceClient).

### [EngineServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnectionIdempotencyPolicy)

### [EngineServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceLimitedErrorCountRetryPolicy)

A retry policy for [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection) based on counting errors.

### [EngineServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceLimitedTimeRetryPolicy)

A retry policy for [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection) based on elapsed time.

### [EngineServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceRetryPolicy)

The retry policy for [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection).

### [GroundedGenerationServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceClient)

Service for grounded generation.

### [GroundedGenerationServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection)

The [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection) object for [`GroundedGenerationServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceClient).

### [GroundedGenerationServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnectionIdempotencyPolicy)

### [GroundedGenerationServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceLimitedErrorCountRetryPolicy)

A retry policy for [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection) based on counting errors.

### [GroundedGenerationServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceLimitedTimeRetryPolicy)

A retry policy for [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection) based on elapsed time.

### [GroundedGenerationServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceRetryPolicy)

The retry policy for [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection).

### [ProjectServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceClient)

Service for operations on the [Project](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/discoveryengine/v1/project.proto#L34).

### [ProjectServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection)

The [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection) object for [`ProjectServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceClient).

### [ProjectServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnectionIdempotencyPolicy)

### [ProjectServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceLimitedErrorCountRetryPolicy)

A retry policy for [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection) based on counting errors.

### [ProjectServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceLimitedTimeRetryPolicy)

A retry policy for [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection) based on elapsed time.

### [ProjectServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceRetryPolicy)

The retry policy for [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection).

### [RankServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceClient)

Service for ranking text records.

### [RankServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection)

The [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection) object for [`RankServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceClient).

### [RankServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnectionIdempotencyPolicy)

### [RankServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceLimitedErrorCountRetryPolicy)

A retry policy for [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection) based on counting errors.

### [RankServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceLimitedTimeRetryPolicy)

A retry policy for [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection) based on elapsed time.

### [RankServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceRetryPolicy)

The retry policy for [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection).

### [RecommendationServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceClient)

Service for making recommendations.

### [RecommendationServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection)

The [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection) object for [`RecommendationServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceClient).

### [RecommendationServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnectionIdempotencyPolicy)

### [RecommendationServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceLimitedErrorCountRetryPolicy)

A retry policy for [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection) based on counting errors.

### [RecommendationServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceLimitedTimeRetryPolicy)

A retry policy for [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection) based on elapsed time.

### [RecommendationServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceRetryPolicy)

The retry policy for [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection).

### [SchemaServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceClient)

Service for managing [Schema](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/discoveryengine/v1/schema.proto#L33)s.

### [SchemaServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection)

The [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection) object for [`SchemaServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceClient).

### [SchemaServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnectionIdempotencyPolicy)

### [SchemaServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceLimitedErrorCountRetryPolicy)

A retry policy for [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection) based on counting errors.

### [SchemaServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceLimitedTimeRetryPolicy)

A retry policy for [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection) based on elapsed time.

### [SchemaServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceRetryPolicy)

The retry policy for [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection).

### [SearchServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceClient)

Service for search.

### [SearchServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection)

The [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection) object for [`SearchServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceClient).

### [SearchServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnectionIdempotencyPolicy)

### [SearchServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceLimitedErrorCountRetryPolicy)

A retry policy for [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection) based on counting errors.

### [SearchServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceLimitedTimeRetryPolicy)

A retry policy for [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection) based on elapsed time.

### [SearchServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceRetryPolicy)

The retry policy for [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection).

### [SiteSearchEngineServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceClient)

Service for managing site search related resources.

### [SiteSearchEngineServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection)

The [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection) object for [`SiteSearchEngineServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceClient).

### [SiteSearchEngineServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnectionIdempotencyPolicy)

### [SiteSearchEngineServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceLimitedErrorCountRetryPolicy)

A retry policy for [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection) based on counting errors.

### [SiteSearchEngineServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceLimitedTimeRetryPolicy)

A retry policy for [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection) based on elapsed time.

### [SiteSearchEngineServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceRetryPolicy)

The retry policy for [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection).

### [UserEventServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceClient)

Service for ingesting end user actions on a website to Discovery Engine API.

### [UserEventServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection)

The [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection) object for [`UserEventServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceClient).

### [UserEventServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnectionIdempotencyPolicy)

### [UserEventServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceLimitedErrorCountRetryPolicy)

A retry policy for [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection) based on counting errors.

### [UserEventServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceLimitedTimeRetryPolicy)

A retry policy for [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection) based on elapsed time.

### [UserEventServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceRetryPolicy)

The retry policy for [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection).

## Structs

### [CompletionServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [CompletionServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [CompletionServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [CompletionServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [ControlServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [ControlServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [ControlServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [ConversationalSearchServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [ConversationalSearchServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [ConversationalSearchServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [DataStoreServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [DataStoreServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [DataStoreServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [DataStoreServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [DocumentServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [DocumentServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [DocumentServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [DocumentServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [EngineServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [EngineServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [EngineServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [EngineServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [GroundedGenerationServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [GroundedGenerationServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [GroundedGenerationServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [ProjectServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [ProjectServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [ProjectServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [ProjectServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [RankServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [RankServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [RankServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [RecommendationServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [RecommendationServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [RecommendationServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [SchemaServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [SchemaServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [SchemaServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [SchemaServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [SearchServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [SearchServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [SearchServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [SiteSearchEngineServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [SiteSearchEngineServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [SiteSearchEngineServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [SiteSearchEngineServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [UserEventServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [UserEventServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [UserEventServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServicePollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [UserEventServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/structgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

## Functions

### MakeCompletionServiceConnection(Options)

A factory function to construct an object of type [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [CompletionServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::CompletionServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1CompletionServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< CompletionServiceConnection >` |   |

### MakeDefaultCompletionServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< CompletionServiceConnectionIdempotencyPolicy >` |   |

### MakeControlServiceConnection(Options)

A factory function to construct an object of type [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ControlServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::ControlServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ControlServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< ControlServiceConnection >` |   |

### MakeDefaultControlServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< ControlServiceConnectionIdempotencyPolicy >` |   |

### MakeConversationalSearchServiceConnection(Options)

A factory function to construct an object of type [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ConversationalSearchServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::ConversationalSearchServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`ConversationalSearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ConversationalSearchServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< ConversationalSearchServiceConnection >` |   |

### MakeDefaultConversationalSearchServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< ConversationalSearchServiceConnectionIdempotencyPolicy >` |   |

### MakeDataStoreServiceConnection(Options)

A factory function to construct an object of type [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [DataStoreServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::DataStoreServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`DataStoreServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DataStoreServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< DataStoreServiceConnection >` |   |

### MakeDefaultDataStoreServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< DataStoreServiceConnectionIdempotencyPolicy >` |   |

### MakeDocumentServiceConnection(Options)

A factory function to construct an object of type [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [DocumentServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::DocumentServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`DocumentServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1DocumentServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< DocumentServiceConnection >` |   |

### MakeDefaultDocumentServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< DocumentServiceConnectionIdempotencyPolicy >` |   |

### MakeEngineServiceConnection(Options)

A factory function to construct an object of type [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [EngineServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::EngineServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`EngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1EngineServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< EngineServiceConnection >` |   |

### MakeDefaultEngineServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< EngineServiceConnectionIdempotencyPolicy >` |   |

### MakeGroundedGenerationServiceConnection(Options)

A factory function to construct an object of type [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [GroundedGenerationServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::GroundedGenerationServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`GroundedGenerationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1GroundedGenerationServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< GroundedGenerationServiceConnection >` |   |

### MakeDefaultGroundedGenerationServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< GroundedGenerationServiceConnectionIdempotencyPolicy >` |   |

### MakeProjectServiceConnection(Options)

A factory function to construct an object of type [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ProjectServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::ProjectServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`ProjectServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1ProjectServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< ProjectServiceConnection >` |   |

### MakeDefaultProjectServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< ProjectServiceConnectionIdempotencyPolicy >` |   |

### MakeRankServiceConnection(Options)

A factory function to construct an object of type [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [RankServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::RankServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`RankServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RankServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< RankServiceConnection >` |   |

### MakeDefaultRankServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< RankServiceConnectionIdempotencyPolicy >` |   |

### MakeRecommendationServiceConnection(Options)

A factory function to construct an object of type [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [RecommendationServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::RecommendationServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`RecommendationServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1RecommendationServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< RecommendationServiceConnection >` |   |

### MakeDefaultRecommendationServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< RecommendationServiceConnectionIdempotencyPolicy >` |   |

### MakeSchemaServiceConnection(Options)

A factory function to construct an object of type [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [SchemaServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::SchemaServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`SchemaServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SchemaServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< SchemaServiceConnection >` |   |

### MakeDefaultSchemaServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< SchemaServiceConnectionIdempotencyPolicy >` |   |

### MakeSearchServiceConnection(Options)

A factory function to construct an object of type [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [SearchServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::SearchServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SearchServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< SearchServiceConnection >` |   |

### MakeDefaultSearchServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< SearchServiceConnectionIdempotencyPolicy >` |   |

### MakeSiteSearchEngineServiceConnection(Options)

A factory function to construct an object of type [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [SiteSearchEngineServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::SiteSearchEngineServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`SiteSearchEngineServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1SiteSearchEngineServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< SiteSearchEngineServiceConnection >` |   |

### MakeDefaultSiteSearchEngineServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< SiteSearchEngineServiceConnectionIdempotencyPolicy >` |   |

### MakeUserEventServiceConnection(Options)

A factory function to construct an object of type [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [UserEventServiceClient](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::discoveryengine_v1::UserEventServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/discoveryengine/latest/classgoogle_1_1cloud_1_1discoveryengine__v1_1_1UserEventServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< UserEventServiceConnection >` |   |

### MakeDefaultUserEventServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< UserEventServiceConnectionIdempotencyPolicy >` |   |