Show / Hide Table of Contents

Class DataValidationRule

A data validation rule.

Inheritance
object
DataValidationRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
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?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX