View Source GoogleApi.Datastore.V1.Model.ReadOptions (google_api_datastore v0.22.0)
The options shared by read requests.
Attributes
-
newTransaction
(type:GoogleApi.Datastore.V1.Model.TransactionOptions.t
, default:nil
) - Options for beginning a new transaction for this request. The new transaction identifier will be returned in the corresponding response as either LookupResponse.transaction or RunQueryResponse.transaction. -
readConsistency
(type:String.t
, default:nil
) - The non-transactional read consistency to use. -
readTime
(type:DateTime.t
, default:nil
) - Reads entities as they were at the given time. This value is only supported for Cloud Firestore in Datastore mode. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days. -
transaction
(type:String.t
, default:nil
) - The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Datastore.V1.Model.ReadOptions{ newTransaction: GoogleApi.Datastore.V1.Model.TransactionOptions.t() | nil, readConsistency: String.t() | nil, readTime: DateTime.t() | nil, transaction: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.