Show / Hide Table of Contents

Class EntityResult

The result of fetching an entity from Datastore.

Inheritance
System.Object
EntityResult
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class EntityResult : 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
[JsonProperty("cursor")]
public virtual string Cursor { get; set; }
Property Value
Type Description
System.String

Entity

The resulting entity.

Declaration
[JsonProperty("entity")]
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
[JsonProperty("version")]
public virtual long? Version { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top