View Source GoogleApi.Firestore.V1beta1.Model.DocumentTransform (google_api_firestore v0.27.0)

A transformation of a document.

Attributes

  • document (type: String.t, default: nil) - The name of the document to transform.
  • fieldTransforms (type: list(GoogleApi.Firestore.V1beta1.Model.FieldTransform.t), default: nil) - The list of transformations to apply to the fields of the document, in order. This must not be empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1beta1.Model.DocumentTransform{
  document: String.t() | nil,
  fieldTransforms: [GoogleApi.Firestore.V1beta1.Model.FieldTransform.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.