Class MutationResult (3.5.0)

public sealed class MutationResult : IMessage<MutationResult>, IEquatable<MutationResult>, IDeepCloneable<MutationResult>, IBufferMessage, IMessage

The result of applying a mutation.

Inheritance

Object > MutationResult

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

MutationResult()

public MutationResult()

MutationResult(MutationResult)

public MutationResult(MutationResult other)
Parameter
NameDescription
otherMutationResult

Properties

ConflictDetected

public bool ConflictDetected { get; set; }

Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.

Property Value
TypeDescription
Boolean

Key

public Key Key { get; set; }

The automatically allocated key. Set only when the mutation allocated a key.

Property Value
TypeDescription
Key

UpdateTime

public Timestamp UpdateTime { get; set; }

The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.

Property Value
TypeDescription
Timestamp

Version

public long Version { get; set; }

The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.

Property Value
TypeDescription
Int64