Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnalyzeContentResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnalyzeContentResponse

Returns a new instance of GoogleCloudDialogflowV2beta1AnalyzeContentResponse.



11381
11382
11383
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11381

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

Instance Attribute Details

#automated_agent_replyGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply

Corresponds to the JSON property automatedAgentReply



11349
11350
11351
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11349

def automated_agent_reply
  @automated_agent_reply
end

#dtmf_parametersGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DtmfParameters

Corresponds to the JSON property dtmfParameters



11354
11355
11356
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11354

def dtmf_parameters
  @dtmf_parameters
end

#end_user_suggestion_resultsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>

Corresponds to the JSON property endUserSuggestionResults



11359
11360
11361
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11359

def end_user_suggestion_results
  @end_user_suggestion_results
end

#human_agent_suggestion_resultsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>

Corresponds to the JSON property humanAgentSuggestionResults



11364
11365
11366
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11364

def human_agent_suggestion_results
  @human_agent_suggestion_results
end

#messageGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message

Corresponds to the JSON property message



11369
11370
11371
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11369

def message
  @message
end

#reply_audioGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio

Corresponds to the JSON property replyAudio



11374
11375
11376
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11374

def reply_audio
  @reply_audio
end

#reply_textString

Corresponds to the JSON property replyText

Returns:

  • (String)


11379
11380
11381
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11379

def reply_text
  @reply_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11386
11387
11388
11389
11390
11391
11392
11393
11394
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11386

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