Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnswerRecord

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

Returns a new instance of GoogleCloudDialogflowV2beta1AnswerRecord.



11626
11627
11628
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11626

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

Instance Attribute Details

#agent_assistant_recordGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantRecord

Corresponds to the JSON property agentAssistantRecord



11614
11615
11616
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11614

def agent_assistant_record
  @agent_assistant_record
end

#answer_feedbackGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnswerFeedback

Corresponds to the JSON property answerFeedback



11619
11620
11621
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11619

def answer_feedback
  @answer_feedback
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


11624
11625
11626
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11624

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11631
11632
11633
11634
11635
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11631

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