Skip to content

Commit 1805fc2

Browse files
Google APIscopybara-github
authored andcommitted
docs: updated some method comments and added an explicit note that DetectIntentRequest's text input is limited by 256 characters
PiperOrigin-RevId: 463362184
1 parent 7152bf2 commit 1805fc2

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

google/cloud/dialogflow/v2beta1/answer_record.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ message ListAnswerRecordsRequest {
282282

283283
// Optional. Filters to restrict results to specific answer records.
284284
//
285-
// Marked deprecated as it hasn't been, and isn't currently, supported.
286-
//
287285
// For more information about filtering, see
288286
// [API Filtering](https://aip.dev/160).
289287
string filter = 2 [

google/cloud/dialogflow/v2beta1/participant.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ service Participants {
106106
}
107107
};
108108
option (google.api.method_signature) = "participant,text_input";
109-
option (google.api.method_signature) = "participant,event_input";
110109
option (google.api.method_signature) = "participant,audio_input";
110+
option (google.api.method_signature) = "participant,event_input";
111111
}
112112

113113
// Adds a text (e.g., chat) or audio (e.g., phone recording) message from a
@@ -416,7 +416,8 @@ message AudioInput {
416416

417417
// Required. The natural language speech audio to be processed.
418418
// A single request can contain up to 1 minute of speech audio data.
419-
// The transcribed text cannot contain more than 256 bytes.
419+
// The transcribed text cannot contain more than 256 bytes for virtual agent
420+
// interactions.
420421
bytes audio = 2;
421422
}
422423

@@ -760,7 +761,8 @@ message StreamingAnalyzeContentRequest {
760761

761762
// The UTF-8 encoded natural language text to be processed. Must be sent if
762763
// `text_config` is set in the first message. Text length must not exceed
763-
// 256 bytes. The `input_text` field can be only sent once.
764+
// 256 bytes for virtual agent interactions. The `input_text` field can be
765+
// only sent once.
764766
string input_text = 6;
765767

766768
// The DTMF digits used to invoke intent and fill in parameter value.

google/cloud/dialogflow/v2beta1/session.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ message StreamingRecognitionResult {
754754
// Represents the natural language text to be processed.
755755
message TextInput {
756756
// Required. The UTF-8 encoded natural language text to be processed.
757-
// Text length must not exceed 256 characters.
757+
// Text length must not exceed 256 characters for virtual agent interactions.
758758
string text = 1;
759759

760760
// Required. The language of this conversational query. See [Language

0 commit comments

Comments
 (0)