Class UpdateConditionalFormatRuleRequest
Updates a conditional format rule at the given index, or moves a conditional format rule to another index.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class UpdateConditionalFormatRuleRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Index
The zero-based index of the rule that should be replaced or moved.
Declaration
[JsonProperty("index")]
public virtual int? Index { get; set; }
Property Value
Type | Description |
---|---|
int? |
NewIndex
The zero-based new index the rule should end up at.
Declaration
[JsonProperty("newIndex")]
public virtual int? NewIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
Rule
The rule that should replace the rule at the given index.
Declaration
[JsonProperty("rule")]
public virtual ConditionalFormatRule Rule { get; set; }
Property Value
Type | Description |
---|---|
ConditionalFormatRule |
SheetId
The sheet of the rule to move. Required if new_index is set, unused otherwise.
Declaration
[JsonProperty("sheetId")]
public virtual int? SheetId { get; set; }
Property Value
Type | Description |
---|---|
int? |