A pseudo user identifier for charging per-user quotas. If not specified, the authenticated principal is used. If there is no authenticated principal, the client IP address will be used. When specified, a valid API key with service restrictions must be used to identify the quota project. Otherwise, this parameter is ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available is 2.37.0-rc, with links provided for previous versions dating back to 2.10.1, all related to the \u003ccode\u003eQuotaUserOption\u003c/code\u003e structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuotaUserOption\u003c/code\u003e is used to configure a pseudo user identifier for charging per-user quotas within the Google Cloud environment.\u003c/p\u003e\n"],["\u003cp\u003eIf the \u003ccode\u003eQuotaUserOption\u003c/code\u003e is not specified, the system defaults to using the authenticated principal or, in its absence, the client IP address.\u003c/p\u003e\n"],["\u003cp\u003eWhen the \u003ccode\u003eQuotaUserOption\u003c/code\u003e is specified, it requires a valid API key with service restrictions to properly identify the quota project for which it is used.\u003c/p\u003e\n"],["\u003cp\u003eThe type of \u003ccode\u003eQuotaUserOption\u003c/code\u003e is a Type Alias of \u003ccode\u003estd::string\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Struct QuotaUserOption (2.20.0)\n\nVersion 2.20.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.41.0](/cpp/docs/reference/common/2.41.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.40.0](/cpp/docs/reference/common/2.40.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.39.0](/cpp/docs/reference/common/2.39.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.38.0](/cpp/docs/reference/common/2.38.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.37.0](/cpp/docs/reference/common/2.37.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.36.0](/cpp/docs/reference/common/2.36.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.35.0](/cpp/docs/reference/common/2.35.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.34.0](/cpp/docs/reference/common/2.34.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.33.0](/cpp/docs/reference/common/2.33.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.32.0](/cpp/docs/reference/common/2.32.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.31.0](/cpp/docs/reference/common/2.31.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.30.0](/cpp/docs/reference/common/2.30.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.29.0](/cpp/docs/reference/common/2.29.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.28.0](/cpp/docs/reference/common/2.28.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.27.0](/cpp/docs/reference/common/2.27.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.26.0](/cpp/docs/reference/common/2.26.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.25.1](/cpp/docs/reference/common/2.25.1/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.24.0](/cpp/docs/reference/common/2.24.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.23.0](/cpp/docs/reference/common/2.23.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.22.1](/cpp/docs/reference/common/2.22.1/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.21.0](/cpp/docs/reference/common/2.21.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.20.0](/cpp/docs/reference/common/2.20.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.19.0](/cpp/docs/reference/common/2.19.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.18.0](/cpp/docs/reference/common/2.18.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.17.0](/cpp/docs/reference/common/2.17.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.16.0](/cpp/docs/reference/common/2.16.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.15.1](/cpp/docs/reference/common/2.15.1/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.14.0](/cpp/docs/reference/common/2.14.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.13.0](/cpp/docs/reference/common/2.13.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.12.0](/cpp/docs/reference/common/2.12.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.11.0](/cpp/docs/reference/common/2.11.0/structgoogle_1_1cloud_1_1QuotaUserOption)\n- [2.10.1](/cpp/docs/reference/common/2.10.1/structgoogle_1_1cloud_1_1QuotaUserOption) \nConfigure the QuotaUser system parameter. \nA pseudo user identifier for charging per-user quotas. If not specified, the authenticated principal is used. If there is no authenticated principal, the client IP address will be used. When specified, a valid API key with service restrictions must be used to identify the quota project. Otherwise, this parameter is ignored.\n\nType Aliases\n------------\n\n### Type\n\n**Alias Of** : `std::string`"]]