API Reference
GoogleWorkspaceDiagnosticEntry
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.
Returned or exposed by 4
- Method GoogleWorkspaceDiagnosticsExtensions.ToDiagnosticEntries
- Extension method GoogleWorkspaceExportException.ToDiagnosticEntries
- Property GoogleWorkspaceSessionOptions.DiagnosticSink
- Extension method TranslationReport.ToDiagnosticEntries
Accepted by parameters 1
Constructors
public GoogleWorkspaceDiagnosticEntry(TranslationSeverity severity, String feature, String message, String path = "", GoogleWorkspaceFailureKind? failureKind = null, String? code = null, TranslationAction action = None, Int32 count = 1, String? targetId = null) #Creates a normalized structured diagnostic entry.
Parameters
- severity OfficeIMO.GoogleWorkspace.TranslationSeverity
- Impact of the diagnostic.
- feature System.String
- Feature that emitted the diagnostic.
- message System.String
- Human-readable explanation.
- path System.String = ""
- Optional source-object path.
- failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind? = null
- Related export-failure category, when applicable.
- code System.String? = null
- Stable diagnostic code, or null to derive one from feature.
- action OfficeIMO.GoogleWorkspace.TranslationAction = None
- Target action selected for the feature.
- count System.Int32 = 1
- Number of equivalent occurrences represented by the entry.
- targetId System.String? = null
- Optional remote target identifier.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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 Int32 Count { get; } #Gets the number of equivalent occurrences represented by the entry.
public String? TargetId { get; } #Gets the related remote target identifier, when available.