[[["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 document provides information on the \u003ccode\u003eResumableUploadOptions\u003c/code\u003e class, which configures options for resumable upload operations within the Google APIs .NET library, with the latest version being 1.69.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResumableUploadOptions\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes properties like \u003ccode\u003eHttpClient\u003c/code\u003e, \u003ccode\u003eModifySessionInitiationRequest\u003c/code\u003e, \u003ccode\u003eSerializer\u003c/code\u003e, and \u003ccode\u003eServiceName\u003c/code\u003e to customize upload behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpClient\u003c/code\u003e property determines the HTTP client used for upload sessions, while \u003ccode\u003eModifySessionInitiationRequest\u003c/code\u003e allows customization of the session initiation request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSerializer\u003c/code\u003e property specifies how error responses are parsed, and the \u003ccode\u003eServiceName\u003c/code\u003e property identifies the service performing the upload for error handling.\u003c/p\u003e\n"],["\u003cp\u003eThese options are ignored if used with a \u003ccode\u003eResumableUpload\u003c/code\u003e created using \u003ccode\u003eCreateFromUploadUri\u003c/code\u003e method, as the session is already initiated.\u003c/p\u003e\n"]]],[],null,["# Class ResumableUploadOptions (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload.ResumableUploadOptions)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Upload.ResumableUploadOptions)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Upload.ResumableUploadOptions)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Upload.ResumableUploadOptions)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Upload.ResumableUploadOptions)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Upload.ResumableUploadOptions) \n\n public sealed class ResumableUploadOptions\n\nOptions for [ResumableUpload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload.ResumableUpload) operations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ResumableUploadOptions \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Apis.Upload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload)\n\nAssembly\n--------\n\nGoogle.Apis.dll\n\nProperties\n----------\n\n### HttpClient\n\n public HttpClient HttpClient { get; set; }\n\nGets or sets the HTTP client to use when starting the upload sessions and uploading data.\n\n### ModifySessionInitiationRequest\n\n public Action\u003cHttpRequestMessage\u003e ModifySessionInitiationRequest { get; set; }\n\nGets or sets the callback for modifying the session initiation request.\nSee \u003chttps://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload#start-resumable\u003e for more information.\n\n**Remarks** \nNote: If these options are used with a [ResumableUpload](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload.ResumableUpload) created using [CreateFromUploadUri(Uri, Stream, ResumableUploadOptions)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Upload.ResumableUpload#Google_Apis_Upload_ResumableUpload_CreateFromUploadUri_System_Uri_System_IO_Stream_Google_Apis_Upload_ResumableUploadOptions_),\nthis property will be ignored as the session has already been initiated.\n\n### Serializer\n\n public ISerializer Serializer { get; set; }\n\nGets or sets the serializer to use when parsing error responses.\n\n### ServiceName\n\n public string ServiceName { get; set; }\n\nGets or sets the name of the service performing the upload.\n\n**Remarks** \nThis will be used to set the [ServiceName](/dotnet/docs/reference/Google.Apis/latest/Google.GoogleApiException#Google_GoogleApiException_ServiceName) in the event of an error.\n\nExtension Method\n----------------\n\n[Utilities.ThrowIfNull\\\u003cT\\\u003e(T, string)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)"]]