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

A rule that may or may not match, depending on the condition.

Attributes

  • condition (type: GoogleApi.Sheets.V4.Model.BooleanCondition.t, default: nil) - The condition of the rule. If the condition evaluates to true, the format is applied.
  • format (type: GoogleApi.Sheets.V4.Model.CellFormat.t, default: nil) - The format to apply. Conditional formatting can only apply a subset of formatting: bold, italic, strikethrough, foreground color and, background color.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.BooleanRule{
  condition: GoogleApi.Sheets.V4.Model.BooleanCondition.t() | nil,
  format: GoogleApi.Sheets.V4.Model.CellFormat.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.