requesterpays - Enable or disable requester pays for one or more buckets

requesterpays - Enable or disable requester pays for one or more buckets

Synopsis

gsutil requesterpays set [on|off] bucket_url...
gsutil requesterpays get bucket_url...

Description

The Requester Pays Configuration feature enables you to configure a Google Cloud Storage bucket to indicate that the requester will pay all costs related to accessing the bucket and its objects.

The gsutil requesterpays command has two sub-commands:

Set

The "set" sub-command requires an additional sub-command, either "on" or "off", which, respectively, will enable or disable requester pays for the specified bucket(s).

Get

The "get" sub-command gets the requester pays configuration for a bucket and displays whether or not it is enabled.

Send feedback about...

Cloud Storage Documentation