Show / Hide Table of Contents

Class ResumableUploadOptions

Options for ResumableUpload operations.

Inheritance
object
ResumableUploadOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Upload
Assembly: Google.Apis.dll
Syntax
public sealed class ResumableUploadOptions

Properties

HttpClient

Gets or sets the HTTP client to use when starting the upload sessions and uploading data.

Declaration
public HttpClient HttpClient { get; set; }
Property Value
Type Description
HttpClient

ModifySessionInitiationRequest

Gets or sets the callback for modifying the session initiation request. See https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload#start-resumable for more information.

Declaration
public Action<HttpRequestMessage> ModifySessionInitiationRequest { get; set; }
Property Value
Type Description
Action<HttpRequestMessage>
Remarks

Note: If these options are used with a ResumableUpload created using CreateFromUploadUri(Uri, Stream, ResumableUploadOptions), this property will be ignored as the session has already been initiated.

Serializer

Gets or sets the serializer to use when parsing error responses.

Declaration
public ISerializer Serializer { get; set; }
Property Value
Type Description
ISerializer

ServiceName

Gets or sets the name of the service performing the upload.

Declaration
public string ServiceName { get; set; }
Property Value
Type Description
string
Remarks

This will be used to set the Google.GoogleApiException.ServiceName in the event of an error.

In this article
Back to top Generated by DocFX