5.3.0 (latest) 5.2.0 5.1.0 5.0.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.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](https://learn.microsoft.com/dotnet/api/system.object) \> EntityResult

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EntityResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.EntityResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EntityResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.EntityResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EntityResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.EntityResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Datastore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1)

## Assembly

Google.Cloud.Datastore.V1.dll

## Constructors

### EntityResult()

    public EntityResult()

### EntityResult(EntityResult)

    public EntityResult(EntityResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.ByteString.html` |   |

### Entity

    public Entity Entity { get; set; }

The resulting entity.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.V1/latest/Google.Cloud.Datastore.V1.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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |