# GoogleDriveResumableUploadCheckpoint

Durable resumable-upload state.

Class 

`OfficeIMO.GoogleWorkspace.Drive`

**Namespace**

`OfficeIMO.GoogleWorkspace.Drive`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[GoogleDriveResumableUploadCheckpoint.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L46)

**Modifiers**

sealed

Durable resumable-upload state. Its serialized value contains the Google upload session URI and must be protected like a credential; diagnostics and [GoogleDriveResumableUploadCheckpoint.ToString](/api/google-workspace/officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint/) never reveal it.

## Inheritance

- object
- GoogleDriveResumableUploadCheckpoint

## Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [GoogleDriveResumableUploadCheckpoint.Parse](/api/google-workspace/officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint/#method-parse-string)
- Property [GoogleDriveResumableUploadResult.Checkpoint](/api/google-workspace/officeimo-googleworkspace-drive-googledriveresumableuploadresult/#property-checkpoint)

### Accepted by parameters 4

- Method [GoogleDriveClient.UploadResumableFileAsync](/api/google-workspace/officeimo-googleworkspace-drive-googledriveclient/#method-uploadresumablefileasync-string-officeimo-googleworkspace-drive-googledriveuploadoptions-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-func-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-googleworkspace-translationreport-threading-cancellationtoken) parameter `checkpoint`
- Method [GoogleDriveClient.UploadResumableFileAsync](/api/google-workspace/officeimo-googleworkspace-drive-googledriveclient/#method-uploadresumablefileasync-string-officeimo-googleworkspace-drive-googledriveuploadoptions-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-func-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-googleworkspace-translationreport-threading-cancellationtoken) parameter `checkpointSink`
- Method [GoogleDriveClient.UploadResumableStreamAsync](/api/google-workspace/officeimo-googleworkspace-drive-googledriveclient/#method-uploadresumablestreamasync-io-stream-int64-officeimo-googleworkspace-drive-googledriveuploadoptions-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-func-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-googleworkspace-translationreport-threading-cancellationtoken) parameter `checkpoint`
- Method [GoogleDriveClient.UploadResumableStreamAsync](/api/google-workspace/officeimo-googleworkspace-drive-googledriveclient/#method-uploadresumablestreamasync-io-stream-int64-officeimo-googleworkspace-drive-googledriveuploadoptions-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-func-officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint-system-threading-cancellationtoken-system-threading-tasks-task-officeimo-googleworkspace-translationreport-threading-cancellationtoken) parameter `checkpointSink`

Filter members 

Show inherited

## Methods

`public static GoogleDriveResumableUploadCheckpoint Parse(string value)` [#](#method-parse-string)

[GoogleDriveResumableUploadCheckpoint.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L46)

Parses a checkpoint obtained from [GoogleDriveResumableUploadCheckpoint.Value](/api/google-workspace/officeimo-googleworkspace-drive-googledriveresumableuploadcheckpoint/).

Parameters

**value string required**

Returns

`GoogleDriveResumableUploadCheckpoint`

`public override string ToString()` [#](#method-tostring)

[GoogleDriveResumableUploadCheckpoint.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L80)

Returns a string that represents the current object.

Returns

`string` A string that represents the current object.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public string Value { get; }` [#](#property-value)

[GoogleDriveResumableUploadCheckpoint.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L33)

Opaque persistence value containing the sensitive upload-session URI; callers must encrypt it at rest.

`public string SourceFingerprint { get; }` [#](#property-sourcefingerprint)

[GoogleDriveResumableUploadCheckpoint.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L35)

SHA-256 of the complete local source.

`public string MetadataFingerprint { get; }` [#](#property-metadatafingerprint)

[GoogleDriveResumableUploadCheckpoint.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L37)

SHA-256 of the upload metadata.

`public long TotalBytes { get; }` [#](#property-totalbytes)

[GoogleDriveResumableUploadCheckpoint.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L39)

Declared source length.

`public long ConfirmedBytes { get; }` [#](#property-confirmedbytes)

[GoogleDriveResumableUploadCheckpoint.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveResumableUploadCheckpoint.cs#L41)

Bytes confirmed by Google.

<!-- PowerForge markdown artifact sha256:93E8CCA3EBA0DC595DF2C09A6ECDB00AEA8289B269716B2797B08BCEF26AEA8E -->
