mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Jun 19 09:33:28 UTC 2024
This commit is contained in:
parent
04a1e3ce77
commit
fb3e2aa33b
182 changed files with 3829 additions and 2129 deletions
53
gcloud/alpha/storage/folders/create
Normal file
53
gcloud/alpha/storage/folders/create
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
NAME
|
||||
gcloud alpha storage folders create - create folders for hierarchical
|
||||
namespace bucket
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha storage folders create URL [URL ...]
|
||||
[--additional-headers=HEADER=VALUE] [--recursive]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create folders.
|
||||
|
||||
EXAMPLES
|
||||
The following command creates a folder called folder/ in a bucket named
|
||||
my-bucket:
|
||||
|
||||
$ gcloud alpha storage folders create gs://my-bucket/folder/
|
||||
|
||||
The following command creates all folders in the path A/B/C/D in a bucket
|
||||
named my-bucket:
|
||||
|
||||
$ gcloud alpha storage folders create \
|
||||
--recursive gs://my-bucket/folder/A/B/C/D
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
URL [URL ...]
|
||||
The URLs of the folders to create.
|
||||
|
||||
FLAGS
|
||||
--additional-headers=HEADER=VALUE
|
||||
Includes arbitrary headers in storage API calls. Accepts a comma
|
||||
separated list of key=value pairs, e.g. header1=value1,header2=value2.
|
||||
Overrides the default storage/additional_headers property value for
|
||||
this command invocation.
|
||||
|
||||
--recursive
|
||||
Recursively create all folders in a given path if they do not alraedy
|
||||
exist.
|
||||
|
||||
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 command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
41
gcloud/alpha/storage/folders/delete
Normal file
41
gcloud/alpha/storage/folders/delete
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
NAME
|
||||
gcloud alpha storage folders delete - delete folders
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha storage folders delete URLS [URLS ...]
|
||||
[--additional-headers=HEADER=VALUE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete folders.
|
||||
|
||||
EXAMPLES
|
||||
The following command deletes a folder named folder in a hierarchical
|
||||
namesapce bucket called my-bucket:
|
||||
|
||||
$ gcloud alpha storage folders delete gs://my-bucket/folder/
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
URLS [URLS ...]
|
||||
The URLs of the folders to delete.
|
||||
|
||||
FLAGS
|
||||
--additional-headers=HEADER=VALUE
|
||||
Includes arbitrary headers in storage API calls. Accepts a comma
|
||||
separated list of key=value pairs, e.g. header1=value1,header2=value2.
|
||||
Overrides the default storage/additional_headers property value for
|
||||
this command invocation.
|
||||
|
||||
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 command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
46
gcloud/alpha/storage/folders/describe
Normal file
46
gcloud/alpha/storage/folders/describe
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
NAME
|
||||
gcloud alpha storage folders describe - describe hierarchical namesapace
|
||||
bucket folders
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha storage folders describe URL
|
||||
[--additional-headers=HEADER=VALUE] [--raw] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe hierarchical namespace bucket folders.
|
||||
|
||||
EXAMPLES
|
||||
The following command shows information about a folder named folder in an
|
||||
hierarchical namespace bucket called my-bucket:
|
||||
|
||||
$ gcloud alpha storage folders describe gs://my-bucket/folder/
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
URL
|
||||
The URL of the folder to describe.
|
||||
|
||||
FLAGS
|
||||
--additional-headers=HEADER=VALUE
|
||||
Includes arbitrary headers in storage API calls. Accepts a comma
|
||||
separated list of key=value pairs, e.g. header1=value1,header2=value2.
|
||||
Overrides the default storage/additional_headers property value for
|
||||
this command invocation.
|
||||
|
||||
--raw
|
||||
Shows metadata in the format returned by the API instead of
|
||||
standardizing it.
|
||||
|
||||
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 command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
35
gcloud/alpha/storage/folders/help
Normal file
35
gcloud/alpha/storage/folders/help
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
NAME
|
||||
gcloud alpha storage folders - manage Cloud Storage folders
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha storage folders COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Manage Cloud Storage folders.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create folders for hierarchical namespace bucket.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete folders.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe hierarchical namesapace bucket folders.
|
||||
|
||||
list
|
||||
(ALPHA) List folders.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
95
gcloud/alpha/storage/folders/list
Normal file
95
gcloud/alpha/storage/folders/list
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
NAME
|
||||
gcloud alpha storage folders list - list folders
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha storage folders list URL [URL ...]
|
||||
[--additional-headers=HEADER=VALUE] [--raw] [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List folders.
|
||||
|
||||
EXAMPLES
|
||||
The following command lists all folders in a hierarchical namespace bucket:
|
||||
|
||||
$ gcloud alpha storage folders list gs://my-bucket/
|
||||
|
||||
The following command lists all folders under a parent folder:
|
||||
|
||||
$ gcloud alpha storage folders list gs://my-bucket/parent-folder/
|
||||
|
||||
You can use wildcards (https://cloud.google.com/storage/docs/wildcards) to
|
||||
match multiple paths (including multiple buckets). Bucket wildcards are
|
||||
expanded to match only buckets contained in your current project. The
|
||||
following command matches folders that are stored in buckets in your
|
||||
project that begin with my-b:
|
||||
|
||||
$ gcloud alpha storage folders list gs://my-b*/
|
||||
|
||||
Following is another example where we are listing all folders that begin
|
||||
with ``B'' under a given bucket:
|
||||
|
||||
$ gcloud alpha storage folders list gs://my-bucket/B*
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
URL [URL ...]
|
||||
The URLs of the resources to list.
|
||||
|
||||
FLAGS
|
||||
--additional-headers=HEADER=VALUE
|
||||
Includes arbitrary headers in storage API calls. Accepts a comma
|
||||
separated list of key=value pairs, e.g. header1=value1,header2=value2.
|
||||
Overrides the default storage/additional_headers property value for
|
||||
this command invocation.
|
||||
|
||||
--raw
|
||||
Shows metadata in the format returned by the API instead of
|
||||
standardizing it.
|
||||
|
||||
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 command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist.
|
||||
|
||||
|
|
@ -23,6 +23,9 @@ GROUPS
|
|||
buckets
|
||||
(ALPHA) Manage Cloud Storage buckets.
|
||||
|
||||
folders
|
||||
(ALPHA) Manage Cloud Storage folders.
|
||||
|
||||
hmac
|
||||
(ALPHA) Manage Cloud Storage service account HMAC keys.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue