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


gsutil requesterpays set <on|off> bucket_url...
gsutil requesterpays get bucket_url...


The Requester Pays Configuration feature enables you to configure a 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:


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).


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