View Source GoogleApi.Firestore.V1.Model.Precondition (google_api_firestore v0.26.0)
A precondition on a document, used for conditional operations.
Attributes
-
exists
(type:boolean()
, default:nil
) - When set totrue
, the target document must exist. When set tofalse
, the target document must not exist. -
updateTime
(type:DateTime.t
, default:nil
) - When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Firestore.V1.Model.Precondition{ exists: boolean() | nil, updateTime: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.