mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Mar 26 12:11:21 UTC 2026
This commit is contained in:
parent
c0febd2be1
commit
89a3bc9276
1093 changed files with 69108 additions and 2686 deletions
52
gcloud/vector-search/collections/data-objects/aggregate
Normal file
52
gcloud/vector-search/collections/data-objects/aggregate
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue