Show / Hide Table of Contents

Class EntityResult

The result of fetching an entity from Datastore.

Inheritance
System.Object
EntityResult
Implements
IDirectResponseSchema
Namespace: Google.Apis.Datastore.v1beta3.Data
Assembly: Google.Apis.Datastore.v1beta3.dll
Syntax
public class EntityResult : object, IDirectResponseSchema

Properties

Cursor

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

Declaration
public virtual string Cursor { get; set; }
Property Value
Type Description
System.String

Entity

The resulting entity.

Declaration
public virtual Entity Entity { get; set; }
Property Value
Type Description
Entity

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Version

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

This field is set for FULL entity results.

For 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.

Declaration
public virtual Nullable<long> Version { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Implements

IDirectResponseSchema
Back to top