[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eCustomHeadersOption\u003c/code\u003e in the Google Cloud C++ library, offering versioned references.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.37.0-rc is the latest release candidate, while the documentation spans from version 2.10.1 up to 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomHeadersOption\u003c/code\u003e allows users to inject custom headers into requests, applicable to both REST and gRPC endpoints.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estd::unordered_multimap< std::string, std::string >\u003c/code\u003e is an alias type of the CustomHeaderOption.\u003c/p\u003e\n"]]],[],null,["# Struct CustomHeadersOption (2.23.0)\n\nVersion 2.23.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/common/latest/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.41.0](/cpp/docs/reference/common/2.41.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.40.0](/cpp/docs/reference/common/2.40.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.39.0](/cpp/docs/reference/common/2.39.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.38.0](/cpp/docs/reference/common/2.38.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.37.0](/cpp/docs/reference/common/2.37.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.36.0](/cpp/docs/reference/common/2.36.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.35.0](/cpp/docs/reference/common/2.35.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.34.0](/cpp/docs/reference/common/2.34.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.33.0](/cpp/docs/reference/common/2.33.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.32.0](/cpp/docs/reference/common/2.32.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.31.0](/cpp/docs/reference/common/2.31.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.30.0](/cpp/docs/reference/common/2.30.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.29.0](/cpp/docs/reference/common/2.29.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.28.0](/cpp/docs/reference/common/2.28.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.27.0](/cpp/docs/reference/common/2.27.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.26.0](/cpp/docs/reference/common/2.26.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.25.1](/cpp/docs/reference/common/2.25.1/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.24.0](/cpp/docs/reference/common/2.24.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.23.0](/cpp/docs/reference/common/2.23.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.22.1](/cpp/docs/reference/common/2.22.1/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.21.0](/cpp/docs/reference/common/2.21.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.20.0](/cpp/docs/reference/common/2.20.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.19.0](/cpp/docs/reference/common/2.19.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.18.0](/cpp/docs/reference/common/2.18.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.17.0](/cpp/docs/reference/common/2.17.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.16.0](/cpp/docs/reference/common/2.16.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.15.1](/cpp/docs/reference/common/2.15.1/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.14.0](/cpp/docs/reference/common/2.14.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.13.0](/cpp/docs/reference/common/2.13.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.12.0](/cpp/docs/reference/common/2.12.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.11.0](/cpp/docs/reference/common/2.11.0/structgoogle_1_1cloud_1_1CustomHeadersOption)\n- [2.10.1](/cpp/docs/reference/common/2.10.1/structgoogle_1_1cloud_1_1CustomHeadersOption) \nAn option to inject custom headers into the request. \nFor REST endpoints, these headers are added to the HTTP headers. For gRPC endpoints, these headers are added to the `grpc::ClientContext` metadata.\n\nType Aliases\n------------\n\n### Type\n\n**Alias Of** : `std::unordered_multimap\u003c std::string, std::string \u003e`"]]