Send feedback
Class Mutation (3.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.5.0 keyboard_arrow_down
public sealed class Mutation : IMessage<Mutation>, IEquatable<Mutation>, IDeepCloneable<Mutation>, IBufferMessage, IMessage
A mutation to apply to an entity.
Namespace
Google.Cloud.Datastore.V1
Assembly
Google.Cloud.Datastore.V1.dll
Constructors
Mutation()
Mutation(Mutation)
public Mutation(Mutation other)
Properties
BaseVersion
public long BaseVersion { get; set; }
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.
Property Value Type Description Int64
ConflictDetectionStrategyCase
public Mutation.ConflictDetectionStrategyOneofCase ConflictDetectionStrategyCase { get; }
Delete
public Key Delete { get; set; }
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.
Property Value Type Description Key
Insert
public Entity Insert { get; set; }
The entity to insert. The entity must not already exist.
The entity key's final path element may be incomplete.
Property Value Type Description Entity
OperationCase
public Mutation.OperationOneofCase OperationCase { get; }
Update
public Entity Update { get; set; }
The entity to update. The entity must already exist.
Must have a complete key path.
Property Value Type Description Entity
UpdateTime
public Timestamp UpdateTime { get; set; }
The update time of the entity that this mutation is being applied
to. If this does not match the current update time on the server, the
mutation conflicts.
Upsert
public Entity Upsert { get; set; }
The entity to upsert. The entity may or may not already exist.
The entity key's final path element may be incomplete.
Property Value Type Description Entity
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]