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

Updates a conditional format rule at the given index, or moves a conditional format rule to another index.

Attributes

  • index (type: integer(), default: nil) - The zero-based index of the rule that should be replaced or moved.
  • newIndex (type: integer(), default: nil) - The zero-based new index the rule should end up at.
  • rule (type: GoogleApi.Sheets.V4.Model.ConditionalFormatRule.t, default: nil) - The rule that should replace the rule at the given index.
  • sheetId (type: integer(), default: nil) - The sheet of the rule to move. Required if new_index is set, unused otherwise.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.UpdateConditionalFormatRuleRequest{
  index: integer() | nil,
  newIndex: integer() | nil,
  rule: GoogleApi.Sheets.V4.Model.ConditionalFormatRule.t() | nil,
  sheetId: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.