View Source GoogleApi.Sheets.V4.Model.DataValidationRule (google_api_sheets v0.34.0)

A data validation rule.

Attributes

  • condition (type: GoogleApi.Sheets.V4.Model.BooleanCondition.t, default: nil) - The condition that data in the cell must match.
  • inputMessage (type: String.t, default: nil) - A message to show the user when adding data to the cell.
  • showCustomUi (type: boolean(), default: nil) - True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown.
  • strict (type: boolean(), default: nil) - True if invalid data should be rejected.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.DataValidationRule{
  condition: GoogleApi.Sheets.V4.Model.BooleanCondition.t() | nil,
  inputMessage: String.t() | nil,
  showCustomUi: boolean() | nil,
  strict: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.