# GoogleSheetsProtectionOptions

Target-side editors and unprotected subranges for translated Excel protection.

Class 

`OfficeIMO.Excel.GoogleSheets`

**Namespace**

`OfficeIMO.Excel.GoogleSheets`

**Assembly**

`OfficeIMO.Excel.GoogleSheets`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleSheetsSaveOptions.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsSaveOptions.cs#L115)

**Modifiers**

sealed

Target-side editors and unprotected subranges for translated Excel protection.

## Inheritance

- object
- GoogleSheetsProtectionOptions

## Usage

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

- Property [GoogleSheetsSaveOptions.Protection](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetssaveoptions/#property-protection)

Filter members 

Show inherited

## Constructors

`public GoogleSheetsProtectionOptions()` [#](#constructor-ctor)

[GoogleSheetsSaveOptions.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsSaveOptions.cs#L115)

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public bool WarningOnly { get; set; }` [#](#property-warningonly)

[GoogleSheetsSaveOptions.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsSaveOptions.cs#L111)

Gets or sets whether protected ranges warn rather than block edits.

`public bool DomainUsersCanEdit { get; set; }` [#](#property-domainuserscanedit)

[GoogleSheetsSaveOptions.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsSaveOptions.cs#L113)

Gets or sets whether domain users may edit protected content.

`public IList<string> EditorEmailAddresses { get; }` [#](#property-editoremailaddresses)

[GoogleSheetsSaveOptions.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsSaveOptions.cs#L115)

Gets the mutable list of editor email addresses for protected content.

`public IDictionary<string, IList<string>> UnprotectedRangesBySheet { get; }` [#](#property-unprotectedrangesbysheet)

[GoogleSheetsSaveOptions.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsSaveOptions.cs#L117)

Gets the mutable map of sheet names to unprotected A1 ranges.

<!-- PowerForge markdown artifact sha256:AE434E36A73D56D5110BF450C8A497508318331602CA3489F96F3DC4C2811794 -->
