Google Cloud Datastore v1 API - Class EntityResult (4.5.0)

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

Reference documentation and code samples for the Google Cloud Datastore v1 API class EntityResult.

The result of fetching an entity from Datastore.

Inheritance

object > EntityResult

Namespace

GoogleCloudGoogle.Cloud.DatastoreV1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

EntityResult()

public EntityResult()

EntityResult(EntityResult)

public EntityResult(EntityResult other)
Parameter
NameDescription
otherEntityResult

Properties

CreateTime

public Timestamp CreateTime { get; set; }

The time at which the entity was created. This field is set for [FULL][google.datastore.v1.EntityResult.ResultType.FULL] entity results. If this entity is missing, this field will not be set.

Property Value
TypeDescription
Timestamp

Cursor

public ByteString Cursor { get; set; }

A cursor that points to the position after the result entity. Set only when the EntityResult is part of a QueryResultBatch message.

Property Value
TypeDescription
ByteString

Entity

public Entity Entity { get; set; }

The resulting entity.

Property Value
TypeDescription
Entity

UpdateTime

public Timestamp UpdateTime { get; set; }

The time at which the entity was last changed. This field is set for [FULL][google.datastore.v1.EntityResult.ResultType.FULL] entity results. If this entity is missing, this field will not be set.

Property Value
TypeDescription
Timestamp

Version

public long Version { get; set; }

The version of the entity, a strictly positive number that monotonically increases with changes to the entity.

This field is set for [FULL][google.datastore.v1.EntityResult.ResultType.FULL] entity results.

For [missing][google.datastore.v1.LookupResponse.missing] entities in LookupResponse, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.

Property Value
TypeDescription
long