# GoogleWorkspaceSyncCheckpoint

Minimal durable state needed to resume Drive change tracking and relate local items to Google files.

Class 

`OfficeIMO.GoogleWorkspace.Sync`

**Namespace**

`OfficeIMO.GoogleWorkspace.Sync`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[GoogleWorkspaceSyncCheckpoint.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Sync/GoogleWorkspaceSyncCheckpoint.cs#L7)

**Modifiers**

sealed

Minimal durable state needed to resume Drive change tracking and relate local items to Google files.

## Inheritance

- object
- GoogleWorkspaceSyncCheckpoint

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Track Google Drive Changes](/docs/google-workspace/sync/) Guide
  
  Read Google Drive change feeds for the user and shared drives with checkpoints, and apply sync plans with dry runs, approvals, and conflict reporting.

## Usage

Explore 4 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 3

- Property [GoogleWorkspaceChangeReadResult.NextCheckpoint](/api/google-workspace/officeimo-googleworkspace-sync-googleworkspacechangereadresult/#property-nextcheckpoint)
- Method [GoogleWorkspaceChangeTracker.InitializeAsync](/api/google-workspace/officeimo-googleworkspace-sync-googleworkspacechangetracker/#method-initializeasync-collections-generic-ienumerable-system-string-threading-cancellationtoken)
- Method [GoogleWorkspaceSyncCheckpoint.Clone](/api/google-workspace/officeimo-googleworkspace-sync-googleworkspacesynccheckpoint/#method-clone)

### Accepted by parameters 1

- Method [GoogleWorkspaceChangeTracker.ReadAsync](/api/google-workspace/officeimo-googleworkspace-sync-googleworkspacechangetracker/#method-readasync-officeimo-googleworkspace-sync-googleworkspacesynccheckpoint-officeimo-googleworkspace-sync-googleworkspacechangereadoptions-threading-cancellationtoken) parameter `checkpoint`

Filter members 

Show inherited

## Constructors

`public GoogleWorkspaceSyncCheckpoint()` [#](#constructor-ctor)

[GoogleWorkspaceSyncCheckpoint.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Sync/GoogleWorkspaceSyncCheckpoint.cs#L7)

## Methods

`public GoogleWorkspaceSyncCheckpoint Clone()` [#](#method-clone)

[GoogleWorkspaceSyncCheckpoint.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Sync/GoogleWorkspaceSyncCheckpoint.cs#L13)

Copies the token maps and each identity so the copy can be advanced independently.

Returns

`GoogleWorkspaceSyncCheckpoint`

## 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`

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

Inherited from object

Returns

`string?`

## Properties

`public string? UserChangeToken { get; set; }` [#](#property-userchangetoken)

[GoogleWorkspaceSyncCheckpoint.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Sync/GoogleWorkspaceSyncCheckpoint.cs#L5)

Gets or sets the user change-feed token; a missing token is initialized at the current cursor.

`public IDictionary<string, string> SharedDriveChangeTokens { get; }` [#](#property-shareddrivechangetokens)

[GoogleWorkspaceSyncCheckpoint.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Sync/GoogleWorkspaceSyncCheckpoint.cs#L7)

Gets the mutable map of shared-drive identifiers to their change-feed tokens.

`public IDictionary<string, GoogleWorkspaceSyncIdentity> Identities { get; }` [#](#property-identities)

[GoogleWorkspaceSyncCheckpoint.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Sync/GoogleWorkspaceSyncCheckpoint.cs#L9)

Gets the mutable map of caller-owned item keys to stable local/Google identity evidence.

<!-- PowerForge markdown artifact sha256:4B0606104661D2781175161E0C312FA3A95C0C40EB518B4B0FD6770027EB89EE -->
