This configuration can be used for both REST-based and gRPC-based clients. The client library sets the underlying configuration parameters based on the values in this struct.
The full URI is constructed as:
{scheme}://{username}:{password}hostname}:{port}
Any empty values are omitted, except for the scheme which defaults to https. If the hostname value is empty, no HTTP proxy is configured.
[[["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 page details the \u003ccode\u003eProxyConfig\u003c/code\u003e class, which is used to configure HTTP proxy settings for both REST-based and gRPC-based clients.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProxyConfig\u003c/code\u003e class allows setting the hostname, port, username, password, and scheme for the HTTP proxy, with the scheme defaulting to \u003ccode\u003ehttps\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe full URI for the proxy is constructed dynamically as \u003ccode\u003e{scheme}://{username}:{password}@{hostname}:{port}\u003c/code\u003e, where empty values, excluding the scheme, are omitted.\u003c/p\u003e\n"],["\u003cp\u003eModifiers are available for each field (hostname, port, username, password, scheme) via the \u003ccode\u003eset_\u003c/code\u003e functions that return either a \u003ccode\u003eProxyConfig&\u003c/code\u003e or \u003ccode\u003eProxyConfig&&\u003c/code\u003e object depending on the context.\u003c/p\u003e\n"],["\u003cp\u003eThe document also lists all the available library versions for this class ranging from version 2.10.1 up to the latest release candidate version 2.37.0-rc.\u003c/p\u003e\n"]]],[],null,[]]