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 within the Google Cloud C++ client library, offering various version-specific details.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is a release candidate, \u003ccode\u003e2.37.0-rc\u003c/code\u003e, while the stable versions range from \u003ccode\u003e2.36.0\u003c/code\u003e down to \u003ccode\u003e2.10.1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthorityOption\u003c/code\u003e is used to configure the "authority" attribute, which, for gRPC requests, corresponds to the \u003ccode\u003eauthority()\u003c/code\u003e field in \u003ccode\u003egrpc::ClientContext\u003c/code\u003e, and for REST, corresponds to the \u003ccode\u003eHost\u003c/code\u003e header.\u003c/p\u003e\n"],["\u003cp\u003eSetting the \u003ccode\u003eAuthorityOption\u003c/code\u003e to an empty string will not set any headers, useful for environments outside of Google's production infrastructure.\u003c/p\u003e\n"],["\u003cp\u003eThe type of \u003ccode\u003eAuthorityOption\u003c/code\u003e is an alias for \u003ccode\u003estd::string\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]