Class EntityResult
The result of fetching an entity from Datastore.
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class EntityResult : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
The time at which the entity was created. This field is set for FULL
entity results. If this entity is
missing, this field will not be set.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Entity
The resulting entity.
Declaration
[JsonProperty("entity")]
public virtual Entity Entity { get; set; }
Property Value
Type | Description |
---|---|
Entity |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
The time at which the entity was last changed. This field is set for FULL
entity results. If this entity
is missing, this field will not be set.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
long? |