Google Cloud Storage C++ Client  1.31.1
A C++ Client Library for Google Cloud Storage
Static Public Member Functions | List of all members
google::cloud::storage::v1::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 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.

Definition at line 572 of file well_known_parameters.h.

Member Function Documentation

◆ well_known_parameter_name()

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

Definition at line 575 of file well_known_parameters.h.