Show / Hide Table of Contents

Class DataValidationRule

A data validation rule.

Inheritance
System.Object
DataValidationRule
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.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
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
[JsonProperty("showCustomUi")]
public virtual bool? ShowCustomUi { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Strict

True if invalid data should be rejected.

Declaration
[JsonProperty("strict")]
public virtual bool? Strict { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Implements

IDirectResponseSchema
In This Article
Back to top