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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the Google.Apis.Services library, outlining several versions, with the latest being 1.69.0 and older versions dating back to 1.50.0."],["The BaseClientService class serves as a foundational element for client services, facilitating shared functionalities like serialization and GZip compression while ensuring thread safety for concurrent server requests."],["The library incorporates HTTP interception, specifically through the addition of an IHttpExecuteInterceptor to the ConfigurableMessageHandler, which manages the insertion of an \"Authorization\" header and incorporates any given authenticator."],["The IClientService interface is defined to contain essential information for interacting with Google services, including details like API key, application name, base Uri, and provides methods for serialization and deserialization."],["BaseClientService.Initializer class is an initializer class for the client service."]]],[]]