Send feedback
Class Mutation (4.1.0)
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)
Parameter
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
ConflictDetectionStrategyCase
public Mutation.ConflictDetectionStrategyOneofCase ConflictDetectionStrategyCase { get; }
Property Value
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
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
OperationCase
public Mutation.OperationOneofCase OperationCase { get; }
Property Value
Update
public Entity Update { get; set; }
The entity to update. The entity must already exist.
Must have a complete key path.
Property Value
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.
Property Value
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
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 2022-06-22 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?