google_api_firestore v0.3.1 GoogleApi.Firestore.V1beta1.Model.Precondition View Source
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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Firestore.V1beta1.Model.Precondition{
exists: boolean(),
updateTime: DateTime.t()
}
t() :: %GoogleApi.Firestore.V1beta1.Model.Precondition{ exists: boolean(), updateTime: DateTime.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.