Class Mutation
A mutation to apply to an entity.
Inheritance
System.Object
Mutation
Implements
Namespace: Google.Apis.Datastore.v1beta3.Data
Assembly: Google.Apis.Datastore.v1beta3.dll
Syntax
public class Mutation : object, IDirectResponseSchema
Properties
BaseVersion
The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts.
Declaration
public virtual Nullable<long> BaseVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Delete
The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only.
Declaration
public virtual Key Delete { get; set; }
Property Value
| Type | Description |
|---|---|
| Key |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Insert
The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete.
Declaration
public virtual Entity Insert { get; set; }
Property Value
| Type | Description |
|---|---|
| Entity |
Update
The entity to update. The entity must already exist. Must have a complete key path.
Declaration
public virtual Entity Update { get; set; }
Property Value
| Type | Description |
|---|---|
| Entity |
Upsert
The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.
Declaration
public virtual Entity Upsert { get; set; }
Property Value
| Type | Description |
|---|---|
| Entity |