Struct CustomHeadersOption (3.8.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
An option to inject custom headers into the request.
For REST endpoints, these headers are added to the HTTP headers. For gRPC endpoints, these headers are added to the grpc::ClientContext metadata.
Type Aliases
Alias Of: std::unordered_multimap< std::string, std::string >
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-15 UTC.
[null,null,["Last updated 2026-07-15 UTC."],[],[]]