Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
google::cloud::storage::UserProject Struct Reference

Set the project used for billing in "requester pays" Buckets. More...

#include <google/cloud/storage/well_known_parameters.h>

Static Public Member Functions

static char const * well_known_parameter_name ()
 

Detailed Description

Set the project used for billing in "requester pays" Buckets.

GCS Buckets can be configured to charge the requester of an operation for all charges, as opposed to the project that owns the Bucket. Use this parameter when accessing such Buckets to control which project is charged. Note that the caller must have the right permissions in the billed project or the operation would fail.

See also
https://cloud.google.com/storage/docs/requester-pays for a detailed description of the requester pays features, which charges are incurred by the requester, and the exact permissions that you must have to make such a request.

Member Function Documentation

◆ well_known_parameter_name()

static char const * google::cloud::storage::UserProject::well_known_parameter_name ( )
inlinestatic