mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Jan 10 10:17:49 UTC 2024
This commit is contained in:
parent
08ad88258a
commit
5fec13c692
262 changed files with 3211 additions and 4501 deletions
|
|
@ -15,13 +15,12 @@ DESCRIPTION
|
|||
EXAMPLES
|
||||
To start a copy log entries operation, run:
|
||||
|
||||
$ gcloud logging copy "BUCKET_ID DESTINATION --location=LOCATION"
|
||||
$ gcloud logging copy BUCKET_ID DESTINATION --location=LOCATION
|
||||
|
||||
To copy log entries in a specific time window, run:
|
||||
|
||||
$ gcloud logging copy \
|
||||
'BUCKET_ID DESTINATION --location=LOCATION
|
||||
--log-filter=timestamp<="2021-05-31T23:59:59Z" AND
|
||||
$ gcloud logging copy BUCKET_ID DESTINATION --location=LOCATION \
|
||||
--log-filter='timestamp<="2021-05-31T23:59:59Z" AND
|
||||
timestamp>="2021-05-31T00:00:00Z"'
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
|
|
|
|||
|
|
@ -24,32 +24,32 @@ EXAMPLES
|
|||
To list CopyLogEntries operations, run:
|
||||
|
||||
$ gcloud logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries
|
||||
--operation-filter='request_type=CopyLogEntries'
|
||||
|
||||
To list CopyLogEntries operations that started after a specified time, run:
|
||||
|
||||
$ gcloud logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_start_time>TIMESTAMP
|
||||
--operation-filter='request_type=CopyLogEntries AND
|
||||
operation_start_time>="2023-11-20T00:00:00Z"'
|
||||
|
||||
To list CopyLogEntries operations that finished before a specified time,
|
||||
run:
|
||||
|
||||
$ gcloud logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_finish_time<TIMESTAMP
|
||||
--operation-filter='request_type=CopyLogEntries AND
|
||||
operation_finish_time<="2023-11-20T00:00:00Z"'
|
||||
|
||||
To list CopyLogEntries operations that have a specified state, run:
|
||||
|
||||
$ gcloud logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_state=STATE
|
||||
--operation-filter='request_type=CopyLogEntries AND
|
||||
operation_state=STATE'
|
||||
|
||||
To list CopyLogEntries operations that don't have a specified state, run:
|
||||
|
||||
$ gcloud logging operations list --location=LOCATION \
|
||||
--operation-filter=request_type=CopyLogEntries AND \
|
||||
operation_state!=STATE
|
||||
--operation-filter='request_type=CopyLogEntries AND
|
||||
operation_state!=STATE'
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue