Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleWorkspaceDiagnosticsExtensions

OfficeIMO.GoogleWorkspace

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

Helpers that translate reports and export exceptions into structured diagnostic entries.

Inheritance

  • object
  • GoogleWorkspaceDiagnosticsExtensions

Methods

ToDiagnosticEntries 2 overloads
public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(TranslationReport report) #

Converts every notice in a translation report to a structured diagnostic entry.

Parameters

report OfficeIMO.GoogleWorkspace.TranslationReport required
Report to convert.

Returns

IReadOnlyList<GoogleWorkspaceDiagnosticEntry> A snapshot preserving notice order and metadata.
public static IReadOnlyList<GoogleWorkspaceDiagnosticEntry> ToDiagnosticEntries(GoogleWorkspaceExportException exception) #

Converts an export exception and its report to structured diagnostics.

Parameters

exception OfficeIMO.GoogleWorkspace.GoogleWorkspaceExportException required
Export failure to convert.

Returns

IReadOnlyList<GoogleWorkspaceDiagnosticEntry> A leading export-failure entry followed by the report notices.