class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnalyzeContentRequest
The request message for Participants.AnalyzeContent.
Attributes
Events allow for matching intents by event name instead of the natural language input. For instance, input “ can trigger a personalized welcome response. The parameter `name` may be used by the agent in the response: `“ Hello welcome_event.name! What can I do for you today?”`. Corresponds to the JSON property `eventInput` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: - If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
-
If send time is the same regardless of whether the content of the messages
are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication. Corresponds to the JSON property `messageSendTime` @return [String]
Represents the parameters of the conversational query. Corresponds to the JSON property `queryParams` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters]
Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to- speech settings applied to the agent. Corresponds to the JSON property `replyAudioConfig` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided. Corresponds to the JSON property `requestId` @return [String]
Represents the natural language text to be processed. Corresponds to the JSON property `textInput` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7740 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7745 def update!(**args) @event_input = args[:event_input] if args.key?(:event_input) @message_send_time = args[:message_send_time] if args.key?(:message_send_time) @query_params = args[:query_params] if args.key?(:query_params) @reply_audio_config = args[:reply_audio_config] if args.key?(:reply_audio_config) @request_id = args[:request_id] if args.key?(:request_id) @text_input = args[:text_input] if args.key?(:text_input) end