public delegate void BatchRequest.OnResponse<in TResponse>(TResponse content, RequestError error, int index, HttpResponseMessage message) where TResponse : class
A concrete type callback for an individual response.
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e delegate within the \u003ccode\u003eGoogle.Apis.Requests\u003c/code\u003e namespace, showing the method signature and parameter details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e is a callback delegate used for handling individual responses in a batch request, and its type parameter \u003ccode\u003eTResponse\u003c/code\u003e specifies the response type.\u003c/p\u003e\n"],["\u003cp\u003eThe delegate receives four parameters: \u003ccode\u003econtent\u003c/code\u003e (the parsed response), \u003ccode\u003eerror\u003c/code\u003e (any request error), \u003ccode\u003eindex\u003c/code\u003e (the request's index), and \u003ccode\u003emessage\u003c/code\u003e (the raw HTTP response).\u003c/p\u003e\n"],["\u003cp\u003eThe parameter \u003ccode\u003econtent\u003c/code\u003e within \u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e can be null if the request fails or the response cannot be parsed, and error can also be null if the request succeeds and the content was parsed successfully.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also provides links to previous versions of the \u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e delegate, as well as a link to the extension method \u003ccode\u003eUtilities.ThrowIfNull<T>(T, string)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]