Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnalyzeContentResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AnalyzeContentResponse

Returns a new instance of GoogleCloudDialogflowV2AnalyzeContentResponse.



7456
7457
7458
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7456

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#automated_agent_replyGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentReply

Corresponds to the JSON property automatedAgentReply



7424
7425
7426
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7424

def automated_agent_reply
  @automated_agent_reply
end

#dtmf_parametersGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2DtmfParameters

Corresponds to the JSON property dtmfParameters



7429
7430
7431
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7429

def dtmf_parameters
  @dtmf_parameters
end

#end_user_suggestion_resultsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>

Corresponds to the JSON property endUserSuggestionResults



7434
7435
7436
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7434

def end_user_suggestion_results
  @end_user_suggestion_results
end

#human_agent_suggestion_resultsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>

Corresponds to the JSON property humanAgentSuggestionResults



7439
7440
7441
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7439

def human_agent_suggestion_results
  @human_agent_suggestion_results
end

#messageGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Message

Corresponds to the JSON property message



7444
7445
7446
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7444

def message
  @message
end

#reply_audioGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudio

Corresponds to the JSON property replyAudio



7449
7450
7451
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7449

def reply_audio
  @reply_audio
end

#reply_textString

Corresponds to the JSON property replyText

Returns:

  • (String)


7454
7455
7456
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7454

def reply_text
  @reply_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7461
7462
7463
7464
7465
7466
7467
7468
7469
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7461

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