# Google Cloud Dialogflow V2 Client - Class DatastoreResponseReason (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class DatastoreResponseReason.

Response reason from datastore which indicates data serving status or
answer quality degradation.

Protobuf type `google.cloud.dialogflow.v2.DatastoreResponseReason`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2

## Methods

### static::name

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

### static::value

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

## Constants

### DATASTORE_RESPONSE_REASON_UNSPECIFIED

    Value: 0

Default value.

Generated from protobuf enum `DATASTORE_RESPONSE_REASON_UNSPECIFIED = 0;`

### NONE

    Value: 1

No specific response reason from datastore.

Generated from protobuf enum `NONE = 1;`

### SEARCH_OUT_OF_QUOTA

    Value: 2

Search is blocked due to out of quota.

Generated from protobuf enum `SEARCH_OUT_OF_QUOTA = 2;`

### SEARCH_EMPTY_RESULTS

    Value: 3

Search returns empty results.

Generated from protobuf enum `SEARCH_EMPTY_RESULTS = 3;`

### ANSWER_GENERATION_GEN_AI_DISABLED

    Value: 4

Generative AI is disabled.

Generated from protobuf enum `ANSWER_GENERATION_GEN_AI_DISABLED = 4;`

### ANSWER_GENERATION_OUT_OF_QUOTA

    Value: 5

Answer generation is blocked due to out of quota.

Generated from protobuf enum `ANSWER_GENERATION_OUT_OF_QUOTA = 5;`

### ANSWER_GENERATION_ERROR

    Value: 6

Answer generation encounters an error.

Generated from protobuf enum `ANSWER_GENERATION_ERROR = 6;`

### ANSWER_GENERATION_NOT_ENOUGH_INFO

    Value: 7

Answer generation does not have enough information to generate answer.

Generated from protobuf enum `ANSWER_GENERATION_NOT_ENOUGH_INFO = 7;`

### ANSWER_GENERATION_RAI_FAILED

    Value: 8

Answer generation is blocked by RAI (Responsible AI) failure.

Generated from protobuf enum `ANSWER_GENERATION_RAI_FAILED = 8;`

### ANSWER_GENERATION_NOT_GROUNDED

    Value: 9

Answer generation is not grounded on reliable sources.

Generated from protobuf enum `ANSWER_GENERATION_NOT_GROUNDED = 9;`