2.2.0 (latest) 2.0.6 1.34.2 1.33.1 1.32.3 1.31.0 1.30.0 1.29.2 1.28.2 1.26.0 1.25.0 1.24.4 1.23.0 1.22.1 1.21.2 1.19.0 1.18.1 1.17.1 Reference documentation and code samples for the Cloud Datastore V1 Client class ConflictResolutionStrategy.

The possible ways to resolve a conflict detected in a mutation.

Protobuf type `google.datastore.v1.Mutation.ConflictResolutionStrategy`

## Namespace

Google \\ Cloud \\ Datastore \\ V1 \\ Mutation

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STRATEGY_UNSPECIFIED

    Value: 0

Unspecified. Defaults to `SERVER_VALUE`.

Generated from protobuf enum `STRATEGY_UNSPECIFIED = 0;`

### SERVER_VALUE

    Value: 1

The server entity is kept.

Generated from protobuf enum `SERVER_VALUE = 1;`

### FAIL

    Value: 3

The whole commit request fails.

Generated from protobuf enum `FAIL = 3;`