GoogleApi.PubSub.V1.Model.MessageTransform (google_api_pub_sub v0.42.0)

View Source

All supported message transforms types.

Attributes

  • disabled (type: boolean(), default: nil) - Optional. If true, the transform is disabled and will not be applied to messages. Defaults to false.
  • enabled (type: boolean(), default: nil) - Optional. This field is deprecated, use the disabled field to disable transforms.
  • javascriptUdf (type: GoogleApi.PubSub.V1.Model.JavaScriptUDF.t, default: nil) - Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique function_name.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSub.V1.Model.MessageTransform{
  disabled: boolean() | nil,
  enabled: boolean() | nil,
  javascriptUdf: GoogleApi.PubSub.V1.Model.JavaScriptUDF.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.