Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnalyzeContentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnalyzeContentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
The response message for Participants.AnalyzeContent.
Instance Attribute Summary collapse
-
#automated_agent_reply ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply
Represents a response from an automated agent.
-
#dtmf_parameters ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DtmfParameters
The message in the response that indicates the parameters of DTMF.
-
#end_user_suggestion_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>
The suggestions for end user.
-
#human_agent_suggestion_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>
The suggestions for most recent human agent.
-
#message ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Represents a message posted into a conversation.
-
#reply_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio
Represents the natural language speech audio to be played to the end user.
-
#reply_text ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnalyzeContentResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1AnalyzeContentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnalyzeContentResponse
Returns a new instance of GoogleCloudDialogflowV2beta1AnalyzeContentResponse.
7765 7766 7767 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7765 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automated_agent_reply ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply
Represents a response from an automated agent.
Corresponds to the JSON property automatedAgentReply
7728 7729 7730 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7728 def automated_agent_reply @automated_agent_reply end |
#dtmf_parameters ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DtmfParameters
The message in the response that indicates the parameters of DTMF.
Corresponds to the JSON property dtmfParameters
7733 7734 7735 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7733 def dtmf_parameters @dtmf_parameters end |
#end_user_suggestion_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>
The suggestions for end user. The order is the same as
HumanAgentAssistantConfig.SuggestionConfig.feature_configs of
HumanAgentAssistantConfig.end_user_suggestion_config.
Corresponds to the JSON property endUserSuggestionResults
7740 7741 7742 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7740 def end_user_suggestion_results @end_user_suggestion_results end |
#human_agent_suggestion_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>
The suggestions for most recent human agent. The order is the same as
HumanAgentAssistantConfig.SuggestionConfig.feature_configs of
HumanAgentAssistantConfig.human_agent_suggestion_config.
Corresponds to the JSON property humanAgentSuggestionResults
7747 7748 7749 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7747 def human_agent_suggestion_results @human_agent_suggestion_results end |
#message ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message
Represents a message posted into a conversation.
Corresponds to the JSON property message
7752 7753 7754 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7752 def @message end |
#reply_audio ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio
Represents the natural language speech audio to be played to the end user.
Corresponds to the JSON property replyAudio
7757 7758 7759 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7757 def reply_audio @reply_audio end |
#reply_text ⇒ String
Output only. The output text content. This field is set if the automated agent
responded with text to show to the user.
Corresponds to the JSON property replyText
7763 7764 7765 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7763 def reply_text @reply_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7770 7771 7772 7773 7774 7775 7776 7777 7778 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7770 def update!(**args) @automated_agent_reply = args[:automated_agent_reply] if args.key?(:automated_agent_reply) @dtmf_parameters = args[:dtmf_parameters] if args.key?(:dtmf_parameters) @end_user_suggestion_results = args[:end_user_suggestion_results] if args.key?(:end_user_suggestion_results) @human_agent_suggestion_results = args[:human_agent_suggestion_results] if args.key?(:human_agent_suggestion_results) @message = args[:message] if args.key?(:message) @reply_audio = args[:reply_audio] if args.key?(:reply_audio) @reply_text = args[:reply_text] if args.key?(:reply_text) end |