Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleWorkspaceSyncItem

OfficeIMO.GoogleWorkspace.Sync

Namespace
OfficeIMO.GoogleWorkspace.Sync
Assembly
OfficeIMO.GoogleWorkspace.Sync
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

One caller-owned operation classified before any mutation is attempted.

Inheritance

  • object
  • GoogleWorkspaceSyncItem

Usage

Explore 5 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

Accepted by parameters 3

Constructors

public GoogleWorkspaceSyncItem(string id, GoogleWorkspaceSyncItemKind kind, string path, string message, string targetResource, string expectedRevision, string? sourceId = null, string? googleFileId = null) #

Creates an item with a stable identifier, target, and expected revision decision.

Parameters

id string required
kind OfficeIMO.GoogleWorkspace.Sync.GoogleWorkspaceSyncItemKind required
path string required
message string required
targetResource string required
expectedRevision string required
sourceId string? = null optional
googleFileId string? = null optional

Properties

public string Id { get; } #

Gets the caller-assigned identifier used for duplicate detection and lossy-action approval.

public GoogleWorkspaceSyncItemKind Kind { get; } #

Gets the caller-assigned change classification.

public string Path { get; } #

Gets the caller-assigned location of the change, or an empty string when null was supplied.

public string Message { get; } #

Gets the caller-assigned description, or an empty string when null was supplied.

public string? SourceId { get; } #

Gets an optional identifier for the local source item.

public string? GoogleFileId { get; } #

Gets an optional Google Drive file identifier.

public string TargetResource { get; } #

Gets the required resource target carried into each decision receipt's policy.

public string ExpectedRevision { get; } #

Gets the required expected-revision decision carried into each decision receipt's policy.

public bool RequiresApproval { get; } #

Gets whether this item is classified as a lossy action requiring explicit approval.