Class QueryEntry (0.12.3)

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

Query Entry captures metadata to be used for search evaluation.

Attributes

Name Description
query str
Required. The query.
targets MutableSequence[google.cloud.discoveryengine_v1beta.types.SampleQuery.QueryEntry.Target]
List of targets for the query.

Classes

Target

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

Defines the parameters of the query's expected outcome.

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