mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Oct 25 11:42:23 UTC 2023
This commit is contained in:
parent
a15665661a
commit
d34c41a2ce
305 changed files with 5549 additions and 699 deletions
|
|
@ -32,6 +32,9 @@ GROUPS
|
|||
objects
|
||||
Manage Cloud Storage objects.
|
||||
|
||||
operations
|
||||
Manage storage operations.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
|
|
|
|||
34
gcloud/storage/operations/cancel
Normal file
34
gcloud/storage/operations/cancel
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
NAME
|
||||
gcloud storage operations cancel - cancel a storage operation
|
||||
|
||||
SYNOPSIS
|
||||
gcloud storage operations cancel OPERATION_NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Cancel a storage operation. Since operations are asynchronous, this request
|
||||
is best effort and may fail in cases such as when the operation is already
|
||||
complete.
|
||||
|
||||
EXAMPLES
|
||||
To cancel the operation "C894F35J" on bucket "my-bucket", run:
|
||||
|
||||
$ gcloud storage operations cancel \
|
||||
projects/_/buckets/my-bucket/operations/C894F35J
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
OPERATION_NAME
|
||||
The operation name including the Cloud Storage bucket and operation ID.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha storage operations cancel
|
||||
|
||||
33
gcloud/storage/operations/describe
Normal file
33
gcloud/storage/operations/describe
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
NAME
|
||||
gcloud storage operations describe - get configuration and latest storage
|
||||
operation details
|
||||
|
||||
SYNOPSIS
|
||||
gcloud storage operations describe OPERATION_NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Get details about a specific storage operation.
|
||||
|
||||
EXAMPLES
|
||||
To describe an operation "C894F35J" on bucket "my-bucket", run:
|
||||
|
||||
$ gcloud storage operations describe \
|
||||
projects/_/buckets/my-bucket/operations/C894F35J
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
OPERATION_NAME
|
||||
The operation name including the Cloud Storage bucket and operation ID.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha storage operations describe
|
||||
|
||||
31
gcloud/storage/operations/help
Normal file
31
gcloud/storage/operations/help
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
NAME
|
||||
gcloud storage operations - manage storage operations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud storage operations COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage storage operations.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
cancel
|
||||
Cancel a storage operation.
|
||||
|
||||
describe
|
||||
Get configuration and latest storage operation details.
|
||||
|
||||
list
|
||||
List storage operations.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha storage operations
|
||||
|
||||
81
gcloud/storage/operations/list
Normal file
81
gcloud/storage/operations/list
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
NAME
|
||||
gcloud storage operations list - list storage operations
|
||||
|
||||
SYNOPSIS
|
||||
gcloud storage operations list OPERATION_NAME
|
||||
[--server-filter=SERVER_FILTER] [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List storage operations.
|
||||
|
||||
EXAMPLES
|
||||
To list all storage operations that belong to the bucket "my-bucket", run:
|
||||
|
||||
$ gcloud storage operations list projects/_/buckets/my-bucket
|
||||
|
||||
To list operations in JSON format, run:
|
||||
|
||||
$ gcloud storage operations list projects/_/buckets/my-bucket \
|
||||
--format=json
|
||||
|
||||
An alternative bucket format is available:
|
||||
|
||||
$ gcloud storage operations list gs://my-bucket
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
OPERATION_NAME
|
||||
The operation name including the Cloud Storage bucket and operation ID.
|
||||
|
||||
FLAGS
|
||||
--server-filter=SERVER_FILTER
|
||||
Server-side filter string used to determine what operations to return.
|
||||
Example: (done = true AND complete_time >= "2023-01-01T00:00:00Z") OR
|
||||
requested_cancellation = true
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha storage operations list
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue