GoogleApi.Script.V1.Model.Value (google_api_script v0.19.0)

View Source

Value represents a dynamically typed value which is the outcome of an executed script.

Attributes

  • boolValue (type: boolean(), default: nil) - Represents a boolean value.
  • bytesValue (type: String.t, default: nil) - Represents raw byte values.
  • dateValue (type: String.t, default: nil) - Represents a date in ms since the epoch.
  • listValue (type: GoogleApi.Script.V1.Model.ListValue.t, default: nil) - Represents a repeated Value.
  • nullValue (type: String.t, default: nil) - Represents a null value.
  • numberValue (type: float(), default: nil) - Represents a double value.
  • protoValue (type: map(), default: nil) - Represents a structured proto value.
  • stringValue (type: String.t, default: nil) - Represents a string value.
  • structValue (type: GoogleApi.Script.V1.Model.Struct.t, default: nil) - Represents a structured value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Script.V1.Model.Value{
  boolValue: boolean() | nil,
  bytesValue: String.t() | nil,
  dateValue: String.t() | nil,
  listValue: GoogleApi.Script.V1.Model.ListValue.t() | nil,
  nullValue: String.t() | nil,
  numberValue: float() | nil,
  protoValue: map() | nil,
  stringValue: String.t() | nil,
  structValue: GoogleApi.Script.V1.Model.Struct.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.