google_api_script v0.5.0 GoogleApi.Script.V1.Model.Value View Source

`Value` represents a dynamically typed value which is the outcome of an executed script Based on Value at: google3/apps/maestro/api/struct.proto?q=message%5c%20Value

Attributes

  • boolValue (boolean()): Represents a boolean value. Defaults to: null.
  • bytesValue (binary()): Represents raw byte values. Defaults to: null.
  • dateValue (String.t): Represents a date in ms since the epoch. Defaults to: null.
  • listValue (ListValue): Represents a repeated `Value`. Defaults to: null.
  • nullValue (String.t): Represents a null value. Defaults to: null.

    • Enum - one of [NULL_VALUE]
  • numberValue (float()): Represents a double value. Defaults to: null.
  • protoValue (%{optional(String.t) => String.t}): Represents a structured proto value. Defaults to: null.
  • stringValue (String.t): Represents a string value. Defaults to: null.
  • structValue (Struct): Represents a structured value. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Script.V1.Model.Value{
  boolValue: any(),
  bytesValue: any(),
  dateValue: any(),
  listValue: GoogleApi.Script.V1.Model.ListValue.t(),
  nullValue: any(),
  numberValue: any(),
  protoValue: map(),
  stringValue: any(),
  structValue: GoogleApi.Script.V1.Model.Struct.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.