gcloud alpha storage tail

NAME
gcloud alpha storage tail - outputs the last parts (the tail) of an object to stdout
SYNOPSIS
gcloud alpha storage tail URL [--additional-headers=HEADER=VALUE] [--bytes=BYTES; default="1000"] [--follow] [--decryption-keys=[DECRYPTION_KEY,…]] [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(ALPHA) The tail command outputs the last B bytes of an object to stdout. It can also be used to monitor real time appends to an appendable object in the RAPID storage.
EXAMPLES
The following command outputs the last 1000 bytes of an object:
gcloud alpha storage tail gs://my-bucket/object

The following command outputs the last 100 bytes of an object:

gcloud alpha storage tail gs://my-bucket/object --bytes=100

The following command continuously streams new data as it is appended to the appendable object:

gcloud alpha storage tail gs://my-bucket/appendable-object --follow
POSITIONAL ARGUMENTS
URL
The URL of the object to tail.
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.
--bytes=BYTES; default="1000"
Output the last BYTES bytes of the object, or use +BYTES to output starting with byte BYTES of the object (capped at object size). Default is 1000.
--follow
Output the last B bytes of the appendable object and continuously streams new bytes appended to the appendable object.
ENCRYPTION 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 Cloud Storage objects. Data encrypted with a customer-managed encryption key (CMEK) is decrypted automatically, so CMEKs do not need to be listed here.
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.