Show / Hide Table of Contents

Class Mutation

A mutation to apply to an entity.

Inheritance
System.Object
Mutation
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 Mutation : 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
[JsonProperty("baseVersion")]
public virtual 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
[JsonProperty("delete")]
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
[JsonProperty("insert")]
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
[JsonProperty("update")]
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
[JsonProperty("upsert")]
public virtual Entity Upsert { get; set; }
Property Value
Type Description
Entity

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top