# GoogleWorkspaceFailureKind

Describes the high-level category of a Google Workspace export failure.

Enum 

`OfficeIMO.GoogleWorkspace`

**Namespace**

`OfficeIMO.GoogleWorkspace`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[GoogleWorkspaceExportException.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L5)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Describes the high-level category of a Google Workspace export failure.

## Inheritance

- Enum
- GoogleWorkspaceFailureKind

## Usage

Explore 13 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 9

- Property [GoogleWorkspaceDiagnosticEntry.FailureKind](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticentry/#property-failurekind)
- Property [GoogleWorkspaceExportCanceledException.FailureKind](/api/google-workspace/officeimo-googleworkspace-googleworkspaceexportcanceledexception/#property-failurekind)
- Property [GoogleWorkspaceExportException.FailureKind](/api/google-workspace/officeimo-googleworkspace-googleworkspaceexportexception/#property-failurekind)
- Field [GoogleWorkspaceFailureKind.AmbiguousMutation](/api/google-workspace/officeimo-googleworkspace-googleworkspacefailurekind/#field-ambiguousmutation)
- Field [GoogleWorkspaceFailureKind.ApiRequest](/api/google-workspace/officeimo-googleworkspace-googleworkspacefailurekind/#field-apirequest)
- Field [GoogleWorkspaceFailureKind.Canceled](/api/google-workspace/officeimo-googleworkspace-googleworkspacefailurekind/#field-canceled)
- Field [GoogleWorkspaceFailureKind.DomainWideDelegation](/api/google-workspace/officeimo-googleworkspace-googleworkspacefailurekind/#field-domainwidedelegation)
- Field [GoogleWorkspaceFailureKind.RequestTimeout](/api/google-workspace/officeimo-googleworkspace-googleworkspacefailurekind/#field-requesttimeout)
- Field [GoogleWorkspaceFailureKind.TokenAcquisition](/api/google-workspace/officeimo-googleworkspace-googleworkspacefailurekind/#field-tokenacquisition)

### Accepted by parameters 4

- Constructor [GoogleWorkspaceDiagnosticEntry.GoogleWorkspaceDiagnosticEntry](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticentry/#constructor-ctor-officeimo-googleworkspace-translationseverity-string-string-string-nullable-officeimo-googleworkspace-googleworkspacefailurekind-string-officeimo-googleworkspace-translationaction-int32-string) parameter `failureKind`
- Method [GoogleWorkspaceDiagnosticsDispatcher.Add](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticsdispatcher/#method-add-officeimo-googleworkspace-translationreport-officeimo-googleworkspace-googleworkspacesessionoptions-officeimo-googleworkspace-translationseverity-string-string-string-nullable-officeimo-googleworkspace-googleworkspacefailurekind-string-officeimo-googleworkspace-translationaction-int32-string) parameter `failureKind`
- Method [GoogleWorkspaceDiagnosticsDispatcher.AddUnique](/api/google-workspace/officeimo-googleworkspace-googleworkspacediagnosticsdispatcher/#method-addunique-officeimo-googleworkspace-translationreport-officeimo-googleworkspace-googleworkspacesessionoptions-officeimo-googleworkspace-translationseverity-string-string-string-nullable-officeimo-googleworkspace-googleworkspacefailurekind-string-officeimo-googleworkspace-translationaction-int32-string) parameter `failureKind`
- Constructor [GoogleWorkspaceExportException.GoogleWorkspaceExportException](/api/google-workspace/officeimo-googleworkspace-googleworkspaceexportexception/#constructor-ctor-string-officeimo-googleworkspace-googleworkspacefailurekind-officeimo-googleworkspace-translationreport-exception) parameter `failureKind`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const GoogleWorkspaceFailureKind TokenAcquisition` [#](#field-tokenacquisition)

[GoogleWorkspaceExportException.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L7)

OAuth token acquisition or validation failed.

Value: `0`

`public const GoogleWorkspaceFailureKind DomainWideDelegation` [#](#field-domainwidedelegation)

[GoogleWorkspaceExportException.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L9)

Token acquisition failed with evidence that points to service-account domain-wide delegation.

Value: `1`

`public const GoogleWorkspaceFailureKind ApiRequest` [#](#field-apirequest)

[GoogleWorkspaceExportException.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L11)

A Google API request failed.

Value: `2`

`public const GoogleWorkspaceFailureKind RequestTimeout` [#](#field-requesttimeout)

[GoogleWorkspaceExportException.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L13)

A Google API request exceeded its configured timeout.

Value: `3`

`public const GoogleWorkspaceFailureKind Canceled` [#](#field-canceled)

[GoogleWorkspaceExportException.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L15)

The caller canceled the operation.

Value: `4`

`public const GoogleWorkspaceFailureKind AmbiguousMutation` [#](#field-ambiguousmutation)

[GoogleWorkspaceExportException.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceExportException.cs#L17)

A mutation may have committed remotely but no conclusive response was received.

Value: `5`

<!-- PowerForge markdown artifact sha256:5F693B27965D712E08A51301FA1CF7DD0618366147C37CD1ECE953D9B85B2D68 -->
