mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue