Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleWorkspaceDiagnosticEntry

OfficeIMO.GoogleWorkspace

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

Structured diagnostic entry that callers can forward to their own logging pipeline.

Inheritance

  • object
  • GoogleWorkspaceDiagnosticEntry

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.

Accepted by parameters 1

Constructors

public GoogleWorkspaceDiagnosticEntry(TranslationSeverity severity, string feature, string message, string path = "", GoogleWorkspaceFailureKind? failureKind = null, string? code = null, TranslationAction action = None, int count = 1, string? targetId = null) #

Creates a normalized structured diagnostic entry.

Parameters

severity OfficeIMO.GoogleWorkspace.TranslationSeverity required
Impact of the diagnostic.
feature string required
Feature that emitted the diagnostic.
message string required
Human-readable explanation.
path string = "" optional
Optional source-object path.
failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind? = null optional
Related export-failure category, when applicable.
code string? = null optional
Stable diagnostic code, or null to derive one from feature.
action OfficeIMO.GoogleWorkspace.TranslationAction = None optional
Target action selected for the feature.
count int = 1 optional
Number of equivalent occurrences represented by the entry.
targetId string? = null optional
Optional remote target identifier.

Properties

public string Code { get; } #

Gets the stable machine-readable diagnostic code.

public TranslationSeverity Severity { get; } #

Gets the impact of the diagnostic.

public string Feature { get; } #

Gets the feature that emitted the diagnostic.

public string Message { get; } #

Gets the human-readable explanation.

public string Path { get; } #

Gets the source-object path, or an empty string when not applicable.

public GoogleWorkspaceFailureKind? FailureKind { get; } #

Gets the related export-failure category, when applicable.

public TranslationAction Action { get; } #

Gets the target action selected for the feature.

public int Count { get; } #

Gets the number of equivalent occurrences represented by the entry.

public string? TargetId { get; } #

Gets the related remote target identifier, when available.