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 ResultType.

Specifies what data the 'entity' field contains.

A `ResultType` is either implied (for example, in `LookupResponse.missing`
from `datastore.proto`, it is always `KEY_ONLY`) or specified by context
(for example, in message `QueryResultBatch`, field `entity_result_type`
specifies a `ResultType` for all the values in field `entity_results`).

Protobuf type `google.datastore.v1.EntityResult.ResultType`

## Namespace

Google \\ Cloud \\ Datastore \\ V1 \\ EntityResult

## Methods

### static::name

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

### static::value

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

## Constants

### RESULT_TYPE_UNSPECIFIED

    Value: 0

Unspecified. This value is never used.

Generated from protobuf enum `RESULT_TYPE_UNSPECIFIED = 0;`

### FULL

    Value: 1

The key and properties.

Generated from protobuf enum `FULL = 1;`

### PROJECTION

    Value: 2

A projected subset of properties. The entity may have no key.

Generated from protobuf enum `PROJECTION = 2;`

### KEY_ONLY

    Value: 3

Only the key.

Generated from protobuf enum `KEY_ONLY = 3;`