mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
59 lines
2.3 KiB
Text
59 lines
2.3 KiB
Text
NAME
|
|
gcloud alpha storage objects describe - describe a Cloud Storage object
|
|
|
|
SYNOPSIS
|
|
gcloud alpha storage objects describe URL
|
|
[--decryption-keys=[DECRYPTION_KEY,...]]
|
|
[--encryption-key=ENCRYPTION_KEY] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Describe a Cloud Storage object.
|
|
|
|
EXAMPLES
|
|
Describe a Google Cloud Storage object with the url
|
|
"gs://bucket/my-object":
|
|
|
|
$ gcloud alpha storage objects describe gs://bucket/my-object
|
|
|
|
Describe object with JSON formatting, only returning the "name" key:
|
|
|
|
$ gcloud alpha storage objects describe gs://bucket/my-object \
|
|
--format="json(name)"
|
|
|
|
POSITIONAL ARGUMENTS
|
|
URL
|
|
Specifies URL of object to describe.
|
|
|
|
FLAGS
|
|
--decryption-keys=[DECRYPTION_KEY,...]
|
|
A comma separated list of customer-supplied encryption keys (RFC 4648
|
|
section 4 base64-encoded AES256 strings) that will be used to decrypt
|
|
Google Cloud Storage objects. Data encrypted with a customer-managed
|
|
encryption key (CMEK) is decrypted automatically, so CMEKs do not need
|
|
to be listed here.
|
|
|
|
--encryption-key=ENCRYPTION_KEY
|
|
The encryption key to use for encrypting target objects. The specified
|
|
encryption key can be a customer-supplied encryption key (An RFC 4648
|
|
section 4 base64-encoded AES256 string), or a customer-managed
|
|
encryption key of the form
|
|
projects/{project}/locations/{location}/keyRings/
|
|
{key-ring}/cryptoKeys/{crypto-key}. The specified key also acts as a
|
|
decryption key, which is useful when copying or moving encryted data to
|
|
a new location. Using this flag in an objects update command triggers a
|
|
rewrite of target objects.
|
|
|
|
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.
|
|
|