# GoogleWorkspaceSyncApplyOptions

Controls dry-run, failure, cancellation, and lossy-action approval behavior.

Class 

`OfficeIMO.GoogleWorkspace.Sync`

**Namespace**

`OfficeIMO.GoogleWorkspace.Sync`

**Assembly**

`OfficeIMO.GoogleWorkspace.Sync`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Controls dry-run, failure, cancellation, and lossy-action approval behavior.

## Inheritance

- object
- GoogleWorkspaceSyncApplyOptions

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

### Accepted by parameters 1

- Method [GoogleWorkspaceSyncExecutor.ApplyAsync](/api/google-workspace-sync/officeimo-googleworkspace-sync-googleworkspacesyncexecutor/#method-applyasync-officeimo-googleworkspace-sync-googleworkspacesyncplan-officeimo-googleworkspace-sync-googleworkspacesyncoperation-officeimo-googleworkspace-sync-googleworkspacesyncapplyoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

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

## 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 bool DryRun { get; set; }` [#](#property-dryrun)

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

Gets or sets whether eligible items are reported as planned without invoking the operation; defaults to true.

`public bool ContinueOnError { get; set; }` [#](#property-continueonerror)

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

Gets or sets whether later items are attempted after an operation fails; defaults to true.

`public bool ReturnPartialResultOnCancellation { get; set; }` [#](#property-returnpartialresultoncancellation)

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

Gets or sets whether cancellation returns per-item outcomes instead of throwing; defaults to true.

`public IList<string> ApprovedLossyItemIds { get; }` [#](#property-approvedlossyitemids)

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

Gets the mutable list of lossy item identifiers approved for this apply call.

<!-- PowerForge markdown artifact sha256:B314762A536BE28D51D5B48054C6014E1A6EDF7C2103E102C6F98CE2E881E35D -->
