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

1.0.0-beta30 (latest) 1.0.0-beta29

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

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

Represents the contents of the original request that was passed to
the `[Streaming]DetectIntent` call.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OriginalDetectIntentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.OriginalDetectIntentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OriginalDetectIntentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.OriginalDetectIntentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OriginalDetectIntentRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.OriginalDetectIntentRequest), [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

### OriginalDetectIntentRequest()

    public OriginalDetectIntentRequest()

### OriginalDetectIntentRequest(OriginalDetectIntentRequest)

    public OriginalDetectIntentRequest(OriginalDetectIntentRequest other)

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

## Properties

### Payload

    public Struct Payload { get; set; }

Optional. This field is set to the value of the `QueryParameters.payload`
field passed in the request. Some integrations that query a Dialogflow
agent may provide additional information in the payload.

In particular, for the Dialogflow Phone Gateway integration, this field has
the form:
\<pre\>{
"telephony": {
"caller_id": "+18558363987"
}
}\</pre\>
Note: The caller ID field (`caller_id`) will be redacted for Trial
Edition agents and populated with the caller ID in [E.164
format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### Source

    public string Source { get; set; }

The source of this request, e.g., `google`, `facebook`, `slack`. It is set
by Dialogflow-owned servers.

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

### Version

    public string Version { get; set; }

Optional. The version of the protocol used for this request.
This field is AoG-specific.

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