mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 3 09:23:31 UTC 2024
This commit is contained in:
parent
4ade1b44cc
commit
7e2535c53d
212 changed files with 8070 additions and 151 deletions
|
|
@ -5,7 +5,7 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha firestore indexes composite create
|
||||
--field-config=[array-config=ARRAY-CONFIG],
|
||||
[field-path=FIELD-PATH],[order=ORDER]
|
||||
[field-path=FIELD-PATH],[order=ORDER],[vector-config=VECTOR-CONFIG]
|
||||
(--collection-group=COLLECTION_GROUP : --database=DATABASE)
|
||||
[--api-scope=API_SCOPE; default="any-api"] [--async]
|
||||
[--query-scope=QUERY_SCOPE; default="collection"]
|
||||
|
|
@ -30,7 +30,7 @@ EXAMPLES
|
|||
--field-config=field-path=timestamp,order=descending
|
||||
|
||||
REQUIRED FLAGS
|
||||
--field-config=[array-config=ARRAY-CONFIG],[field-path=FIELD-PATH],[order=ORDER]
|
||||
--field-config=[array-config=ARRAY-CONFIG],[field-path=FIELD-PATH],[order=ORDER],[vector-config=VECTOR-CONFIG]
|
||||
Configuration for a field. Required, Configuration for a field.
|
||||
|
||||
array-config
|
||||
|
|
@ -45,13 +45,22 @@ REQUIRED FLAGS
|
|||
Specifies the order. Valid options are 'ascending', 'descending'.
|
||||
Exactly one of order or array-config must be specified.
|
||||
|
||||
vector-config
|
||||
Specifies the vector config.
|
||||
|
||||
dimension
|
||||
Sets dimension value.
|
||||
|
||||
flat
|
||||
Sets flat value.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--field-config=array-config=string,field-path=string,order=string --field-config=array-config=string,field-path=string,order=string
|
||||
--field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {"string"}}' --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {"string"}}'
|
||||
|
||||
JSON Example:
|
||||
|
||||
--field-config='[{"array-config": "string", "field-path": "string", "order": "string"}]'
|
||||
--field-config='[{"array-config": "string", "field-path": "string", "order": "string", "vector-config": {"dimension": int, "flat": {"string"}}}]'
|
||||
|
||||
File Example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue