Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedback
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#custom_rating ⇒ String
Corresponds to the JSON property
customRating. -
#rating ⇒ String
Corresponds to the JSON property
rating. -
#rating_reason ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
Corresponds to the JSON property
ratingReason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AnswerFeedback
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AnswerFeedback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AnswerFeedback
Returns a new instance of GoogleCloudDialogflowCxV3beta1AnswerFeedback.
4287 4288 4289 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_rating ⇒ String
Corresponds to the JSON property customRating
4275 4276 4277 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4275 def @custom_rating end |
#rating ⇒ String
Corresponds to the JSON property rating
4280 4281 4282 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4280 def @rating end |
#rating_reason ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason
Corresponds to the JSON property ratingReason
4285 4286 4287 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4285 def @rating_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4292 4293 4294 4295 4296 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4292 def update!(**args) @custom_rating = args[:custom_rating] if args.key?(:custom_rating) @rating = args[:rating] if args.key?(:rating) @rating_reason = args[:rating_reason] if args.key?(:rating_reason) end |