Google Cloud Datastore v1 API - Class MutationResult (4.11.0)

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

Reference documentation and code samples for the Google Cloud Datastore v1 API class MutationResult.

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
Name Description
other MutationResult

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
Type Description
bool

CreateTime

public Timestamp CreateTime { get; set; }

The create time of the entity. This field will not be set after a 'delete'.

Property Value
Type Description
Timestamp

Key

public Key Key { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
long