The options shared by read requests.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field Explicitly setting |
|
readConsistency |
The non-transactional read consistency to use. |
transaction |
The identifier of the transaction in which to read. A transaction identifier is returned by a call to A base64-encoded string. |
readTime |
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. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
ReadConsistency
The possible values for read consistencies.
| Enums | |
|---|---|
READ_CONSISTENCY_UNSPECIFIED |
Unspecified. This value must not be used. |
STRONG |
Strong consistency. |
EVENTUAL |
Eventual consistency. |