Class AggregateDataObjectsRequest (0.11.0)

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

Request message for DataObjectSearchService.AggregateDataObjects.

Attributes

Name Description
parent str
Required. The resource name of the Collection for which to query. Format: projects/{project}/locations/{location}/collections/{collection}
filter google.protobuf.struct_pb2.Struct
Optional. A JSON filter expression, e.g. {"genre": {"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
aggregate google.cloud.vectorsearch_v1.types.AggregationMethod
Required. The aggregation method to apply to the query.