mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Nov 1 10:29:29 UTC 2023
This commit is contained in:
parent
ecf00beb5e
commit
f2c5d1d45f
371 changed files with 9433 additions and 9676 deletions
|
|
@ -4,16 +4,18 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud ai indexes create --display-name=DISPLAY_NAME
|
||||
--metadata-file=METADATA_FILE [--description=DESCRIPTION]
|
||||
[--encryption-kms-key-name=ENCRYPTION_KMS_KEY_NAME]
|
||||
[--index-update-method=INDEX_UPDATE_METHOD] [--labels=[KEY=VALUE,...]]
|
||||
[--metadata-schema-uri=METADATA_SCHEMA_URI] [--region=REGION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To create an index under project example in region us-central1, run:
|
||||
To create an index under project example in region us-central1, encrypted
|
||||
with KMS key kms-key-name, run:
|
||||
|
||||
$ gcloud ai indexes create --display-name=index --description=test \
|
||||
--metadata-file=path/to/your/metadata.json --project=example \
|
||||
--region=us-central1
|
||||
--region=us-central1 --encryption-kms-key-name=kms-key-name
|
||||
|
||||
REQUIRED FLAGS
|
||||
--display-name=DISPLAY_NAME
|
||||
|
|
@ -27,6 +29,14 @@ OPTIONAL FLAGS
|
|||
--description=DESCRIPTION
|
||||
Description of the index.
|
||||
|
||||
--encryption-kms-key-name=ENCRYPTION_KMS_KEY_NAME
|
||||
The Cloud KMS resource identifier of the customer managed encryption
|
||||
key used to protect a resource. Has the form:
|
||||
projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key.
|
||||
|
||||
The key needs to be in the same region as where the compute resource is
|
||||
created.
|
||||
|
||||
--index-update-method=INDEX_UPDATE_METHOD
|
||||
The update method to use with this index. Choose stream_update or
|
||||
batch_update. If not set, batch update will be used by default.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue