For REST-based services using HTTP/1.1 or HTTP/1.0 this is the Host header.
Setting this option to the empty string has no effect, i.e., no headers are set. This can be useful if you are not using Google's production environment.
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eAuthorityOption\u003c/code\u003e struct within the Google Cloud C++ client library, with a focus on different versions.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version of the documentation is for version 2.37.0-rc, while the current version the user is on is 2.34.0, with many other versions also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthorityOption\u003c/code\u003e struct allows for configuration of the "authority" attribute in gRPC and HTTP requests, influencing the \u003ccode\u003eauthority()\u003c/code\u003e field in \u003ccode\u003egrpc::ClientContext\u003c/code\u003e for gRPC or the \u003ccode\u003eHost\u003c/code\u003e header for REST-based services.\u003c/p\u003e\n"],["\u003cp\u003eLeaving the \u003ccode\u003eAuthorityOption\u003c/code\u003e setting empty will not set any headers, which is a valid configuration choice when not using Google's production environment.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuthorityOption\u003c/code\u003e is a type alias that is equivalent to \u003ccode\u003estd::string\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]