1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Thu Sep 8 09:21:50 UTC 2022

This commit is contained in:
Automated 2022-09-08 09:21:50 +00:00
parent 6749f65ca2
commit e7bec9b31b
Failed to extract signature
154 changed files with 2457 additions and 577 deletions

View file

@ -3,7 +3,8 @@ NAME
SYNOPSIS
gcloud logging buckets create BUCKET_ID --location=LOCATION
[--description=DESCRIPTION] [--index=[KEY=VALUE, ...,...]]
[--cmek-kms-key-name=CMEK_KMS_KEY_NAME] [--description=DESCRIPTION]
[--index=[KEY=VALUE, ...,...]]
[--restricted-fields=[RESTRICTED_FIELD,...]]
[--retention-days=RETENTION_DAYS] [GCLOUD_WIDE_FLAG ...]
@ -30,6 +31,11 @@ EXAMPLES
$ gcloud logging buckets create my-bucket \
--index=fieldPath=jsonPayload.foo,type=INDEX_TYPE_STRING
To create a bucket with custom CMEK, run:
$ gcloud logging buckets create my-bucket --location=us-central1 \
--cmek-kms-key-name=CMEK_KMS_KEY_NAME
POSITIONAL ARGUMENTS
BUCKET_ID
ID of the bucket to create.
@ -40,6 +46,9 @@ REQUIRED FLAGS
location cannot be changed.
OPTIONAL FLAGS
--cmek-kms-key-name=CMEK_KMS_KEY_NAME
A valid kms_key_name will enable CMEK for the bucket.
--description=DESCRIPTION
A textual description for the bucket.