GoogleApi.Firestore.V1beta1.Model.Projection (google_api_firestore v0.33.0)

View Source

The projection of document's fields to return.

Attributes

  • fields (type: list(GoogleApi.Firestore.V1beta1.Model.FieldReference.t), default: nil) - The fields to return. If empty, all fields are returned. To only return the name of the document, use ['__name__'].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Firestore.V1beta1.Model.Projection{
  fields: [GoogleApi.Firestore.V1beta1.Model.FieldReference.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.