# Google Cloud Dialogflow v2beta1 API - Class ValidationError (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ValidationError.

Represents a single validation error.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ValidationError

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ValidationError](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationError), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ValidationError](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationError), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ValidationError](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationError), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Constructors

### ValidationError()

    public ValidationError()

### ValidationError(ValidationError)

    public ValidationError(ValidationError other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationError` |

## Properties

### Entries

    public RepeatedField<string> Entries { get; }

The names of the entries that the error is associated with.
Format:

- `projects/<Project ID>/agent`, if the error is associated with the entire agent.
- `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is associated with certain intents.
- `projects/<Project ID>/agent/intents/<Intent
  Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with certain intent training phrases.
- `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter
  ID>`, if the error is associated with certain intent parameters.
- `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is associated with certain entities.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### ErrorMessage

    public string ErrorMessage { get; set; }

The detailed error message.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Severity

    public ValidationError.Types.Severity Severity { get; set; }

The severity of the error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationErrorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationError.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ValidationError.Types.Severity` |   |