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

A rule describing a conditional format.

Attributes

  • booleanRule (type: GoogleApi.Sheets.V4.Model.BooleanRule.t, default: nil) - The formatting is either "on" or "off" according to the rule.
  • gradientRule (type: GoogleApi.Sheets.V4.Model.GradientRule.t, default: nil) - The formatting will vary based on the gradients in the rule.
  • ranges (type: list(GoogleApi.Sheets.V4.Model.GridRange.t), default: nil) - The ranges that are formatted if the condition is true. All the ranges must be on the same grid.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.ConditionalFormatRule{
  booleanRule: GoogleApi.Sheets.V4.Model.BooleanRule.t() | nil,
  gradientRule: GoogleApi.Sheets.V4.Model.GradientRule.t() | nil,
  ranges: [GoogleApi.Sheets.V4.Model.GridRange.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.