|
|
|
@ -100,9 +100,12 @@ message DetectIntentRequest { |
|
|
|
|
// |
|
|
|
|
// For more information, see the [API interactions |
|
|
|
|
// guide](https://cloud.google.com/dialogflow/docs/api-overview). |
|
|
|
|
string session = 1 [(google.api.resource_reference) = { |
|
|
|
|
type: "dialogflow.googleapis.com/Session" |
|
|
|
|
}]; |
|
|
|
|
string session = 1 [ |
|
|
|
|
(google.api.field_behavior) = REQUIRED, |
|
|
|
|
(google.api.resource_reference) = { |
|
|
|
|
type: "dialogflow.googleapis.com/Session" |
|
|
|
|
} |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
// The parameters of this query. |
|
|
|
|
QueryParameters query_params = 2; |
|
|
|
@ -115,7 +118,7 @@ message DetectIntentRequest { |
|
|
|
|
// 2. a conversational query in the form of text, or |
|
|
|
|
// |
|
|
|
|
// 3. an event that specifies which intent to trigger. |
|
|
|
|
QueryInput query_input = 3; |
|
|
|
|
QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// Instructs the speech synthesizer how to generate the output |
|
|
|
|
// audio. If this field is not set and agent-level speech synthesizer is not |
|
|
|
@ -470,7 +473,7 @@ message StreamingDetectIntentRequest { |
|
|
|
|
// |
|
|
|
|
// For more information, see the [API interactions |
|
|
|
|
// guide](https://cloud.google.com/dialogflow/docs/api-overview). |
|
|
|
|
string session = 1; |
|
|
|
|
string session = 1 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// The parameters of this query. |
|
|
|
|
QueryParameters query_params = 2; |
|
|
|
@ -483,7 +486,7 @@ message StreamingDetectIntentRequest { |
|
|
|
|
// 2. a conversational query in the form of text, or |
|
|
|
|
// |
|
|
|
|
// 3. an event that specifies which intent to trigger. |
|
|
|
|
QueryInput query_input = 3; |
|
|
|
|
QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; |
|
|
|
|
|
|
|
|
|
// DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead. |
|
|
|
|
// If `false` (default), recognition does not cease until the |
|
|
|
|