Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest

Returns a new instance of GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest.



7568
7569
7570
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7568

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

Instance Attribute Details

#answer_feedbackGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback

Corresponds to the JSON property answerFeedback



7556
7557
7558
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7556

def answer_feedback
  @answer_feedback
end

#response_idString

Corresponds to the JSON property responseId

Returns:

  • (String)


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

def response_id
  @response_id
end

#update_maskString

Corresponds to the JSON property updateMask

Returns:

  • (String)


7566
7567
7568
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7566

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7573
7574
7575
7576
7577
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7573

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