Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnalyzeContentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnalyzeContentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#automated_agent_reply ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply
Corresponds to the JSON property
automatedAgentReply. -
#dtmf_parameters ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DtmfParameters
Corresponds to the JSON property
dtmfParameters. -
#end_user_suggestion_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>
Corresponds to the JSON property
endUserSuggestionResults. -
#human_agent_suggestion_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>
Corresponds to the JSON property
humanAgentSuggestionResults. -
#message ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message
Corresponds to the JSON property
message. -
#reply_audio ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudio
Corresponds to the JSON property
replyAudio. -
#reply_text ⇒ String
Corresponds to the JSON property
replyText.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AnalyzeContentResponse
constructor
A new instance of GoogleCloudDialogflowV2AnalyzeContentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AnalyzeContentResponse
Returns a new instance of GoogleCloudDialogflowV2AnalyzeContentResponse.
7444 7445 7446 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automated_agent_reply ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply
Corresponds to the JSON property automatedAgentReply
7412 7413 7414 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7412 def automated_agent_reply @automated_agent_reply end |
#dtmf_parameters ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DtmfParameters
Corresponds to the JSON property dtmfParameters
7417 7418 7419 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7417 def dtmf_parameters @dtmf_parameters end |
#end_user_suggestion_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>
Corresponds to the JSON property endUserSuggestionResults
7422 7423 7424 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7422 def end_user_suggestion_results @end_user_suggestion_results end |
#human_agent_suggestion_results ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>
Corresponds to the JSON property humanAgentSuggestionResults
7427 7428 7429 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7427 def human_agent_suggestion_results @human_agent_suggestion_results end |
#message ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message
Corresponds to the JSON property message
7432 7433 7434 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7432 def @message end |
#reply_audio ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudio
Corresponds to the JSON property replyAudio
7437 7438 7439 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7437 def reply_audio @reply_audio end |
#reply_text ⇒ String
Corresponds to the JSON property replyText
7442 7443 7444 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7442 def reply_text @reply_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7449 7450 7451 7452 7453 7454 7455 7456 7457 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7449 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 |