# GoogleWorkspaceSyncExecutor

Evaluates each plan item and invokes a caller-owned operation for eligible items when dry-run is disabled.

Class 

`OfficeIMO.GoogleWorkspace.Sync`

**Namespace**

`OfficeIMO.GoogleWorkspace.Sync`

**Assembly**

`OfficeIMO.GoogleWorkspace.Sync`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[GoogleWorkspaceSyncExecutor.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncExecutor.cs#L87)

**Modifiers**

static

Evaluates each plan item and invokes a caller-owned operation for eligible items when dry-run is disabled.

## Inheritance

- object
- GoogleWorkspaceSyncExecutor

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

Filter members 

Show inherited

## Methods

`public static async Task<GoogleWorkspaceSyncApplyResult> ApplyAsync(GoogleWorkspaceSyncPlan plan, GoogleWorkspaceSyncOperation operation, GoogleWorkspaceSyncApplyOptions? options = null, CancellationToken cancellationToken = default)` [#](#member-1a73ac52f4ebacaf9bae5245)

Returns an outcome for every item unless configured to throw on cancellation or a precondition fails.

Parameters

**plan OfficeIMO.GoogleWorkspace.Sync.GoogleWorkspaceSyncPlan required**

**operation OfficeIMO.GoogleWorkspace.Sync.GoogleWorkspaceSyncOperation required**

**options OfficeIMO.GoogleWorkspace.Sync.GoogleWorkspaceSyncApplyOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<GoogleWorkspaceSyncApplyResult>`

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

<!-- PowerForge markdown artifact sha256:51447073B2900AC7E1EEE6334891C2C5DA3BC9718F93D0C11F53E1F01062E892 -->
