Google Cloud Datastore v1 API - Class EntityResult (4.12.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

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

EntityResult()

public EntityResult()

EntityResult(EntityResult)

public EntityResult(EntityResult other)
Parameter
Name Description
other EntityResult

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
Type Description
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
Type Description
ByteString

Entity

public Entity Entity { get; set; }

The resulting entity.

Property Value
Type Description
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
Type Description
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
Type Description
long