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::UserIp Struct Reference

Sets the user IP on an operation for quota enforcement purposes. More...

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

Static Public Member Functions

static char const * name ()
 

Detailed Description

Sets the user IP on an operation for quota enforcement purposes.

This parameter lets you enforce per-user quotas when calling the API from a server-side application.

Note
The recommended practice is to use QuotaUser. This parameter is overridden by QuotaUser if both are set.

If you set this parameter to an empty string, the client library will automatically select one of the user IP addresses of your server to include in the request.

See also
https://cloud.google.com/apis/docs/capping-api-usage for an introduction to quotas in Google Cloud Platform.

Member Function Documentation

◆ name()

static char const * google::cloud::storage::UserIp::name ( )
inlinestatic