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.



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

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

Instance Attribute Details

#answer_feedbackGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback

Corresponds to the JSON property answerFeedback



7550
7551
7552
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7550

def answer_feedback
  @answer_feedback
end

#response_idString

Corresponds to the JSON property responseId

Returns:

  • (String)


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

def response_id
  @response_id
end

#update_maskString

Corresponds to the JSON property updateMask

Returns:

  • (String)


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

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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