Class ReadOptions (3.4.0)

public sealed class ReadOptions : IMessage<ReadOptions>, IEquatable<ReadOptions>, IDeepCloneable<ReadOptions>, IBufferMessage, IMessage

The options shared by read requests.

Inheritance

Object > ReadOptions

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

ReadOptions()

public ReadOptions()

ReadOptions(ReadOptions)

public ReadOptions(ReadOptions other)
Parameter
NameDescription
otherReadOptions

Properties

ConsistencyTypeCase

public ReadOptions.ConsistencyTypeOneofCase ConsistencyTypeCase { get; }
Property Value
TypeDescription
ReadOptions.ConsistencyTypeOneofCase

ReadConsistency

public ReadOptions.Types.ReadConsistency ReadConsistency { get; set; }

The non-transactional read consistency to use. Cannot be set to STRONG for global queries.

Property Value
TypeDescription
ReadOptions.Types.ReadConsistency

Transaction

public ByteString Transaction { get; set; }

The identifier of the transaction in which to read. A transaction identifier is returned by a call to [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].

Property Value
TypeDescription
ByteString