1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed Sep 25 09:51:52 UTC 2024

This commit is contained in:
Automated 2024-09-25 09:51:52 +00:00
parent 8ebed5b0f1
commit 0a5b6f11af
202 changed files with 9781 additions and 830 deletions

View file

@ -4,6 +4,7 @@ NAME
SYNOPSIS
gcloud alpha storage diagnose URL [--test-type=[TEST_TYPES,...]]
[--download-type=DOWNLOAD_TYPE; default=<DownloadType.FILE: 'FILE'>]
[--logs-path=LOGS_PATH]
[--upload-type=UPLOAD_TYPE; default=<UploadType.FILE: 'FILE'>]
[--process-count=PROCESS_COUNT] [--thread-count=THREAD_COUNT]
[--object-count=OBJECT_COUNT (--object-size=OBJECT_SIZE
@ -42,7 +43,7 @@ EXAMPLES
diagnostic tests:
$ gcloud alpha storage diagnose gs://my-bucket \
--test-type=[UPLOAD_THROUGHPUT,DOWNLOAD_THROUGHPUT]
--test-type=UPLOAD_THROUGHPUT,DOWNLOAD_THROUGHPUT
The following command runs the diagnostic tests using 10 objects of 1MiB
size each with 10 threads and 10 processes at max:
@ -64,17 +65,20 @@ FLAGS
--test-type=[TEST_TYPES,...]
Tests to run as part of this diagnosis. Following tests are supported:
DIRECT_CONNECTIVITY: Run a test upload over the Direct Connectivity
network path and run other diagnostics if the upload fails.
DOWNLOAD_THROUGHPUT: Upload objects to the specified bucket and record
the number of bytes transfered per second.
the number of bytes transferred per second.
UPLOAD_THROUGHPUT: Download objects from the specified bucket and
record the number of bytes transfered per second.
record the number of bytes transferred per second.
LATENCY: Writes the objects, retrieves its metadata, reads the objects
and records latency of each operation.
LATENCY: Write the objects, retrieve their metadata, read the objects,
and record latency of each operation.
TEST_TYPES must be one of: DOWNLOAD_THROUGHPUT, LATENCY,
UPLOAD_THROUGHPUT.
TEST_TYPES must be one of: DIRECT_CONNECTIVITY, DOWNLOAD_THROUGHPUT,
LATENCY, UPLOAD_THROUGHPUT.
--download-type=DOWNLOAD_TYPE; default=<DownloadType.FILE: 'FILE'>
Download strategy to use for the DOWNLOAD_THROUGHPUT diagnostic test.
@ -93,6 +97,10 @@ FLAGS
DOWNLOAD_TYPE must be one of: FILE, SLICED, STREAMING.
--logs-path=LOGS_PATH
If the diagnostic supports writing logs, write the logs to this file
location.
--upload-type=UPLOAD_TYPE; default=<UploadType.FILE: 'FILE'>
Upload strategy to use for the UPLOAD_THROUGHPUT diagnostic test.

View file

@ -123,8 +123,8 @@ FLAGS
expression.
--soft-deleted
Displays soft-deleted objects only. Excludes live and noncurrent
objects.
Displays soft-deleted resources only. For objects, it will exclude live
and noncurrent ones.
At most one of these can be specified:

View file

@ -43,8 +43,8 @@ FLAGS
standardizing it.
--soft-deleted
Displays soft-deleted objects only. Excludes live and noncurrent
objects.
Displays soft-deleted resources only. For objects, it will exclude live
and noncurrent ones.
ENCRYPTION FLAGS
--decryption-keys=[DECRYPTION_KEY,...]

View file

@ -66,8 +66,8 @@ FLAGS
standardizing it.
--soft-deleted
Displays soft-deleted objects only. Excludes live and noncurrent
objects.
Displays soft-deleted resources only. For objects, it will exclude live
and noncurrent ones.
--stat
Emulates gsutil stat-style behavior. Does not show past object versions

View file

@ -10,11 +10,19 @@ SYNOPSIS
--if-metageneration-match=METAGENERATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) The restore command restores soft-deleted objects:
(ALPHA) The restore command restores soft-deleted resources:
$ gcloud alpha storage restore url...
EXAMPLES
Restore soft-deleted version of bucket with generations:
$ gcloud alpha storage restore gs://bucket#123
Restore several soft-deleted buckets with generations:
$ gcloud alpha storage restore gs://bucket1#123 gs://bucket2#456
Restore latest soft-deleted version of object in a bucket.
$ gcloud alpha storage restore gs://bucket/file1.txt