Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::AggregateDataObjectsRequest.
Request message for DataObjectSearchService.AggregateDataObjects.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aggregate
def aggregate() -> ::Google::Cloud::VectorSearch::V1::AggregationMethod
Returns
- (::Google::Cloud::VectorSearch::V1::AggregationMethod) — Required. The aggregation method to apply to the query.
#aggregate=
def aggregate=(value) -> ::Google::Cloud::VectorSearch::V1::AggregationMethod
Parameter
- value (::Google::Cloud::VectorSearch::V1::AggregationMethod) — Required. The aggregation method to apply to the query.
Returns
- (::Google::Cloud::VectorSearch::V1::AggregationMethod) — Required. The aggregation method to apply to the query.
#filter
def filter() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Optional. A JSON filter expression, e.g. {"genre": \{"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
#filter=
def filter=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Optional. A JSON filter expression, e.g. {"genre": \{"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
Returns
- (::Google::Protobuf::Struct) — Optional. A JSON filter expression, e.g. {"genre": \{"$eq": "sci-fi"}}, represented as a google.protobuf.Struct.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the Collection for which to query.
Format:
projects/{project}/locations/{location}/collections/{collection}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Collection for which to query.
Format:
projects/{project}/locations/{location}/collections/{collection}
Returns
-
(::String) — Required. The resource name of the Collection for which to query.
Format:
projects/{project}/locations/{location}/collections/{collection}