Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AnswerRecord

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) ⇒ GoogleCloudDialogflowV2AnswerRecord

Returns a new instance of GoogleCloudDialogflowV2AnswerRecord.



7561
7562
7563
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7561

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

Instance Attribute Details

#agent_assistant_recordGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantRecord

Corresponds to the JSON property agentAssistantRecord



7549
7550
7551
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7549

def agent_assistant_record
  @agent_assistant_record
end

#answer_feedbackGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AnswerFeedback

Corresponds to the JSON property answerFeedback



7554
7555
7556
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7554

def answer_feedback
  @answer_feedback
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7559
7560
7561
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7559

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7566
7567
7568
7569
7570
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7566

def update!(**args)
  @agent_assistant_record = args[:agent_assistant_record] if args.key?(:agent_assistant_record)
  @answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
  @name = args[:name] if args.key?(:name)
end