Skip to content

Commit

Permalink
Regenerate dialogflow client (#6128)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Aug 22, 2019
1 parent 5826adf commit 4f85aef
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 44 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -268,16 +268,32 @@ message QueryResult {
}

// The top-level message sent by the client to the
// `StreamingDetectIntent` method.
// [StreamingDetectIntent][] method.
//
// Multiple request messages should be sent in order:
//
// 1. The first message must contain `session`, `query_input` plus optionally
// `query_params`. The message must not contain `input_audio`.
// 1. The first message must contain [StreamingDetectIntentRequest.session][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.session],
// [StreamingDetectIntentRequest.query_input] plus optionally
// [StreamingDetectIntentRequest.query_params]. If the client wants to
// receive an audio response, it should also contain
// [StreamingDetectIntentRequest.output_audio_config][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.output_audio_config]. The message
// must not contain [StreamingDetectIntentRequest.input_audio][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.input_audio].
// 2. If [StreamingDetectIntentRequest.query_input][google.cloud.dialogflow.v2.StreamingDetectIntentRequest.query_input] was set to
// [StreamingDetectIntentRequest.query_input.audio_config][], all subsequent
// messages must contain [StreamingDetectIntentRequest.input_audio] to
// continue with Speech recognition.
// If you decide to rather detect an intent from text input after you
// already started Speech recognition, please send a message with
// [StreamingDetectIntentRequest.query_input.text][].
//
// However, note that:
//
// * Dialogflow will bill you for the audio duration so far.
// * Dialogflow discards all Speech recognition results in favor of the
// input text.
// * Dialogflow will use the language code from the first message.
//
// 2. If `query_input` was set to a streaming input audio config,
// all subsequent messages must contain only `input_audio`.
// Otherwise, finish the request stream.
// After you sent all input, you must half-close or abort the request stream.
message StreamingDetectIntentRequest {
// Required. The name of the session the query is sent to.
// Format of the session name:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -363,16 +363,32 @@ message KnowledgeAnswers {
}

// The top-level message sent by the client to the
// `StreamingDetectIntent` method.
// [StreamingDetectIntent][] method.
//
// Multiple request messages should be sent in order:
//
// 1. The first message must contain `session`, `query_input` plus optionally
// `query_params`. If the client wants to receive an audio response, it
// should also contain `output_audio_config`. The message must not contain
// `input_audio`.
// 2. If `query_input` was set to a streaming input audio config,
// all subsequent messages must contain `input_audio`. Otherwise, finish the request stream.
// 1. The first message must contain [StreamingDetectIntentRequest.session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session],
// [StreamingDetectIntentRequest.query_input] plus optionally
// [StreamingDetectIntentRequest.query_params]. If the client wants to
// receive an audio response, it should also contain
// [StreamingDetectIntentRequest.output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. The message
// must not contain [StreamingDetectIntentRequest.input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio].
// 2. If [StreamingDetectIntentRequest.query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to
// [StreamingDetectIntentRequest.query_input.audio_config][], all subsequent
// messages must contain [StreamingDetectIntentRequest.input_audio] to
// continue with Speech recognition.
// If you decide to rather detect an intent from text input after you
// already started Speech recognition, please send a message with
// [StreamingDetectIntentRequest.query_input.text][].
//
// However, note that:
//
// * Dialogflow will bill you for the audio duration so far.
// * Dialogflow discards all Speech recognition results in favor of the
// input text.
// * Dialogflow will use the language code from the first message.
//
// After you sent all input, you must half-close or abort the request stream.
message StreamingDetectIntentRequest {
// Required. The name of the session the query is sent to.
// Format of the session name:
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-dialogflow/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-08-16T07:45:34.882148Z",
"updateTime": "2019-08-22T07:44:04.854710Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.33.0",
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
"version": "0.34.0",
"dockerImage": "googleapis/artman@sha256:38a27ba6245f96c3e86df7acb2ebcc33b4f186d9e475efe2d64303aec3d4e0ea"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "2a02e33c79cbf23d316c57e1c78f915e1d905eee",
"internalRef": "263682410"
"sha": "92bebf78345af8b2d3585220527115bda8bdedf8",
"internalRef": "264715111"
}
}
],
Expand Down

0 comments on commit 4f85aef

Please sign in to comment.