NAME gcloud vector-search collections data-objects aggregate - aggregate data objects SYNOPSIS gcloud vector-search collections data-objects aggregate --aggregation-method=AGGREGATION_METHOD --collection=COLLECTION --location=LOCATION [--json-filter=JSON_FILTER] [GCLOUD_WIDE_FLAG ...] DESCRIPTION Aggregate data objects. EXAMPLES To aggregate data objects from collection my-collection in location us-central1 in project my-project with aggregation method COUNT, run: $ gcloud vector-search collections data-objects aggregate \ --collection=my-collection --location=us-central1 \ --aggregation-method=count --project=my-project REQUIRED FLAGS --aggregation-method=AGGREGATION_METHOD The aggregation method to apply to the query. AGGREGATION_METHOD must be (only one value is supported): count Count the number of data objects that match the filter. --collection=COLLECTION The collection to aggregate data objects from. --location=LOCATION Location of the collection. OPTIONAL FLAGS --json-filter=JSON_FILTER A filter expression in JSON format to apply to the aggregate, e.g. '{"genre": {"$eq": "sci-fi"}}'. GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details. NOTES This variant is also available: $ gcloud beta vector-search collections data-objects aggregate