0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

    GroundingSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Grounding source.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `inline_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.GenerateGroundedContentRequest.GroundingSource.InlineSource` If set, grounding is performed with inline content. This field is a member of `oneof`_ `source`. |
| `search_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.GenerateGroundedContentRequest.GroundingSource.SearchSource` If set, grounding is performed with Vertex AI Search. This field is a member of `oneof`_ `source`. |
| `google_search_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource` If set, grounding is performed with Google Search. This field is a member of `oneof`_ `source`. |
| `enterprise_web_retrieval_source` | `https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/google.cloud.discoveryengine_v1beta.types.GenerateGroundedContentRequest.GroundingSource.EnterpriseWebRetrievalSource` If set, grounding is performed with enterprise web retrieval. This field is a member of `oneof`_ `source`. |

## Classes

### EnterpriseWebRetrievalSource

    EnterpriseWebRetrievalSource(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Params for using enterprise web retrieval as grounding
source.

### GoogleSearchSource

    GoogleSearchSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Google Search config parameters.

### InlineSource

    InlineSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message to be used for grounding based on inline content.

### SearchSource

    SearchSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message to be used for grounding with Vertex AI Search.