Class Entity
A Datastore data object. Must not exceed 1 MiB - 4 bytes.
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class Entity : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in
Value.entity_value
may have no key). An entity's kind is its key path's last element's kind, or null if it
has no key.
Declaration
[JsonProperty("key")]
public virtual Key Key { get; set; }
Property Value
Type | Description |
---|---|
Key |
Properties
The entity's properties. The map's keys are property names. A property name matching regex __.*__
is
reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as
UTF-8, must not exceed 1,500 bytes and cannot be empty.
Declaration
[JsonProperty("properties")]
public virtual IDictionary<string, Value> Properties { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, Value> |