Class DataValidationRule
A data validation rule.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class DataValidationRule : IDirectResponseSchema
Properties
Condition
The condition that data in the cell must match.
Declaration
[JsonProperty("condition")]
public virtual BooleanCondition Condition { get; set; }
Property Value
Type | Description |
---|---|
BooleanCondition |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InputMessage
A message to show the user when adding data to the cell.
Declaration
[JsonProperty("inputMessage")]
public virtual string InputMessage { get; set; }
Property Value
Type | Description |
---|---|
string |
ShowCustomUi
True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown.
Declaration
[JsonProperty("showCustomUi")]
public virtual bool? ShowCustomUi { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Strict
True if invalid data should be rejected.
Declaration
[JsonProperty("strict")]
public virtual bool? Strict { get; set; }
Property Value
Type | Description |
---|---|
bool? |