A base class for a client service which provides common mechanism for all services, like
serialization and GZip support. It should be safe to use a single service instance to make server requests
concurrently from multiple threads.
This class adds a special IHttpExecuteInterceptor to the
ConfigurableMessageHandler execute interceptor list, which uses the given
Authenticator. It calls to its applying authentication method, and injects the "Authorization" header in the
request.
If the given Authenticator implements IHttpUnsuccessfulResponseHandler, this
class adds the Authenticator to the ConfigurableMessageHandler's unsuccessful
response handler list.
Client service contains all the necessary information a Google service requires.
Each concrete IClientServiceRequest has a reference to a service for
important properties like API key, application name, base Uri, etc.
This service interface also contains serialization methods to serialize an object to stream and deserialize a
stream into an object.
[[["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-07 UTC."],[[["\u003cp\u003eThe content focuses on the Google.Apis.Services library, particularly version 1.50.0, with links to other versions like 1.69.0 (latest), 1.68.0, 1.60.0, 1.59.0, and 1.55.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBaseClientService\u003c/code\u003e class is a fundamental component, providing common mechanisms such as serialization and GZip support, and is designed to be thread-safe for concurrent server requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBaseClientService\u003c/code\u003e class utilizes an \u003ccode\u003eIHttpExecuteInterceptor\u003c/code\u003e to inject an "Authorization" header into requests and handles unsuccessful responses through an \u003ccode\u003eIHttpUnsuccessfulResponseHandler\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBaseClientService.Initializer\u003c/code\u003e is used to initialize client services.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIClientService\u003c/code\u003e interface holds essential information for Google services, including API key, application name, and base URI, and it also provides methods for serialization and deserialization.\u003c/p\u003e\n"]]],[],null,[]]