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


gsutil requesterpays set (on|off) gs://<bucket_name>...
gsutil requesterpays get gs://<bucket_name>...


The Requester Pays feature enables you to configure a Cloud Storage bucket so that the requester pays all costs related to accessing the bucket and its objects.

The gsutil requesterpays command has two sub-commands:


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.


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