Show / Hide Table of Contents

Class DataValidationRule

A data validation rule.

Inheritance
System.Object
DataValidationRule
Implements
IDirectResponseSchema
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class DataValidationRule : object, IDirectResponseSchema

Properties

Condition

The condition that data in the cell must match.

Declaration
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
System.String

InputMessage

A message to show the user when adding data to the cell.

Declaration
public virtual string InputMessage { get; set; }
Property Value
Type Description
System.String

ShowCustomUi

True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown.

Declaration
public virtual Nullable<bool> ShowCustomUi { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Strict

True if invalid data should be rejected.

Declaration
public virtual Nullable<bool> Strict { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Implements

IDirectResponseSchema
Back to top