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\u003eThe latest version of the \u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e delegate is 1.69.0, with previous versions including 1.68.0, 1.60.0, 1.59.0, 1.55.0, and 1.50.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThis delegate, \u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e, is a callback for individual responses within a batch request, defined as \u003ccode\u003epublic delegate void BatchRequest.OnResponse<in TResponse>(TResponse content, RequestError error, int index, HttpResponseMessage message) where TResponse : class\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchRequest.OnResponse\u003c/code\u003e delegate has parameters for the response content, request error, request index, and the HTTP response message.\u003c/p\u003e\n"],["\u003cp\u003eIt's part of the \u003ccode\u003eGoogle.Apis.Requests\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Apis.dll\u003c/code\u003e assembly and includes a type parameter, \u003ccode\u003eTResponse\u003c/code\u003e, which represents the response type.\u003c/p\u003e\n"],["\u003cp\u003eThe delegate uses the extension method \u003ccode\u003eUtilities.ThrowIfNull<T>(T, string)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]