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

gcloud: Wed Aug 3 09:18:38 UTC 2022

This commit is contained in:
Automated 2022-08-03 09:18:38 +00:00
parent 3513fd1c11
commit 3b2f526372
Failed to extract signature
151 changed files with 4150 additions and 308 deletions

View file

@ -28,6 +28,11 @@ EXAMPLES
$ gcloud alpha logging buckets create my-bucket \
--location=us-central1
To create a bucket with custom index of 'jsonPayload.foo', run:
$ gcloud alpha logging buckets create my-bucket \
--index=fieldPath=jsonPayload.foo,type=INDEX_TYPE_STRING
POSITIONAL ARGUMENTS
BUCKET_ID
ID of the bucket to create.
@ -50,18 +55,18 @@ OPTIONAL FLAGS
--index=[KEY=VALUE, ...,...]
Specify an index to be added to the log bucket. This flag can be
repeated. The fieldPath and type attributes are required. For example
repeated. The fieldPath and type attributes are required. For example:
--index=fieldPath=jsonPayload.foo,type=INDEX_TYPE_STRING. The following
keys are accepted:
fieldPath
The LogEntry field path to index.For example:
The LogEntry field path to index. For example:
jsonPayload.request.status. Paths are limited to 800 characters and
can include only letters, digits, underscores, hyphens, and
periods.
type
The type of data in this index.For example: INDEX_TYPE_STRING
The type of data in this index. For example: INDEX_TYPE_STRING
Supported types are INDEX_TYPE_STRING and INDEX_TYPE_INTEGER.
--restricted-fields=[RESTRICTED_FIELD,...]