lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb in google-cloud-dialogflow-0.4.0 vs lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb in google-cloud-dialogflow-0.5.0

- old
+ new

@@ -141,11 +141,11 @@ # corrected user input. # @!attribute [rw] language_code # @return [String] # The language that was triggered during intent detection. # See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. # @!attribute [rw] speech_recognition_confidence # @return [Float] # The Speech recognition confidence between 0.0 and 1.0. A higher number # indicates an estimated greater likelihood that the recognized words are @@ -226,11 +226,11 @@ # Otherwise, finish the request stream. # @!attribute [rw] session # @return [String] # Required. The name of the session the query is sent to. # Format of the session name: - # `projects/<Project ID>/agent/sessions/<Session ID>`. It’s up to the API + # `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API # caller to choose an appropriate `Session ID`. It can be a random number or # some type of user identifier (preferably hashed). The length of the session # ID must not exceed 36 characters. # @!attribute [rw] query_params # @return [Google::Cloud::Dialogflow::V2::QueryParameters] @@ -293,15 +293,18 @@ # @return [Google::Rpc::Status] # Specifies the status of the webhook request. # @!attribute [rw] output_audio # @return [String] # The audio data bytes encoded as specified in the request. + # Note: The output audio is generated based on the values of default platform + # text responses found in the `query_result.fulfillment_messages` field. If + # multiple default text responses exist, they will be concatenated when + # generating audio. If no default platform text responses exist, the + # generated audio content will be empty. # @!attribute [rw] output_audio_config # @return [Google::Cloud::Dialogflow::V2::OutputAudioConfig] - # Instructs the speech synthesizer how to generate the output audio. This - # field is populated from the agent-level speech synthesizer configuration, - # if enabled. + # The config used by the speech synthesizer to generate the output audio. class StreamingDetectIntentResponse; end # Contains a speech recognition result corresponding to a portion of the audio # that is currently being processed or an indication that this is the end # of the single requested utterance. @@ -365,16 +368,16 @@ # Message contains a (possibly partial) transcript. TRANSCRIPT = 1 # Event indicates that the server has detected the end of the user's speech - # utterance and expects no additional speech. Therefore, the server will - # not process additional audio (although it may subsequently return - # additional results). The client should stop sending additional audio - # data, half-close the gRPC connection, and wait for any additional results - # until the server closes the gRPC connection. This message is only sent if - # `single_utterance` was set to `true`, and is not used otherwise. + # utterance and expects no additional inputs. + # Therefore, the server will not process additional audio (although it may subsequently return additional results). The + # client should stop sending additional audio data, half-close the gRPC + # connection, and wait for any additional results until the server closes + # the gRPC connection. This message is only sent if `single_utterance` was + # set to `true`, and is not used otherwise. END_OF_SINGLE_UTTERANCE = 2 end end # Represents the natural language text to be processed. @@ -383,11 +386,11 @@ # Required. The UTF-8 encoded natural language text to be processed. # Text length must not exceed 256 characters. # @!attribute [rw] language_code # @return [String] # Required. The language of this conversational query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. class TextInput; end # Events allow for matching intents by event name instead of the natural @@ -402,10 +405,10 @@ # @return [Google::Protobuf::Struct] # Optional. The collection of parameters associated with the event. # @!attribute [rw] language_code # @return [String] # Required. The language of this query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. class EventInput; end # Configures the types of sentiment analysis to perform. \ No newline at end of file