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 lists different versions of the \u003ccode\u003eAuthorityOption\u003c/code\u003e for the Google Cloud C++ client library, spanning from version 2.10.1 to 2.37.0-rc, with each link pointing to the documentation for that specific version.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version is 2.37.0-rc, which is the most recent version listed, while version 2.12.0 is listed as the starting version of this list.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthorityOption\u003c/code\u003e configures the "authority" attribute in requests, which translates to the \u003ccode\u003eauthority()\u003c/code\u003e field in \u003ccode\u003egrpc::ClientContext\u003c/code\u003e for gRPC requests, and the \u003ccode\u003eHost\u003c/code\u003e header for REST-based services.\u003c/p\u003e\n"],["\u003cp\u003eSetting the \u003ccode\u003eAuthorityOption\u003c/code\u003e to an empty string has no effect on the request headers, making it useful for non-production environments.\u003c/p\u003e\n"],["\u003cp\u003eThe type of the \u003ccode\u003eAuthorityOption\u003c/code\u003e alias is a string of type \u003ccode\u003estd::string\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]