# GoogleWorkspaceSyncPlan

Immutable mutation plan suitable for review, dry-run, approval, and apply.

Class 

`OfficeIMO.GoogleWorkspace.Sync`

**Namespace**

`OfficeIMO.GoogleWorkspace.Sync`

**Assembly**

`OfficeIMO.GoogleWorkspace.Sync`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[GoogleWorkspaceSyncPlan.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L72)

**Modifiers**

sealed

Immutable mutation plan suitable for review, dry-run, approval, and apply.

## Inheritance

- object
- GoogleWorkspaceSyncPlan

## Usage

Explore 2 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 1

- Method [GoogleWorkspaceSyncPlan.Create](/api/google-workspace-sync/officeimo-googleworkspace-sync-googleworkspacesyncplan/#method-create-collections-generic-ienumerable-officeimo-googleworkspace-sync-googleworkspacesyncitem-officeimo-googleworkspace-googleworkspaceoperationpolicy-officeimo-googleworkspace-translationreport)

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

Filter members 

Show inherited

## Methods

`public static GoogleWorkspaceSyncPlan Create(IEnumerable<GoogleWorkspaceSyncItem> items, GoogleWorkspaceOperationPolicy policy, TranslationReport? report = null)` [#](#member-ccf932ea17ca25cf5cf66af4)

[GoogleWorkspaceSyncPlan.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L72)

Snapshots the item sequence and report, rejecting duplicate item identifiers.

Parameters

**items System.Collections.Generic.IEnumerable<OfficeIMO.GoogleWorkspace.Sync.GoogleWorkspaceSyncItem> required**

**policy OfficeIMO.GoogleWorkspace.GoogleWorkspaceOperationPolicy required**

**report OfficeIMO.GoogleWorkspace.TranslationReport? = null optional**

Returns

`GoogleWorkspaceSyncPlan`

## 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 IReadOnlyList<GoogleWorkspaceSyncItem> Items { get; }` [#](#property-items)

[GoogleWorkspaceSyncPlan.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L55)

Gets a read-only snapshot of the supplied item sequence.

`public GoogleWorkspaceOperationPolicy Policy { get; }` [#](#property-policy)

[GoogleWorkspaceSyncPlan.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L57)

Gets the caller-supplied operation policy.

`public TranslationReport Report { get; }` [#](#property-report)

[GoogleWorkspaceSyncPlan.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L59)

Gets a read-only snapshot of the supplied translation report.

`public bool HasConflicts { get; }` [#](#property-hasconflicts)

[GoogleWorkspaceSyncPlan.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L61)

Gets whether any item was classified as a conflict.

`public bool HasLossyActions { get; }` [#](#property-haslossyactions)

[GoogleWorkspaceSyncPlan.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L63)

Gets whether any item was classified as a lossy action.

`public bool CanApply { get; }` [#](#property-canapply)

[GoogleWorkspaceSyncPlan.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace.Sync/GoogleWorkspaceSyncPlan.cs#L66)

Gets whether the plan has neither classified conflicts nor report errors.

<!-- PowerForge markdown artifact sha256:73261ED4B0419C42A28064F8E1A84C5443BD1BEC743A975ED51D52B4C376A080 -->
