Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle
- 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
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property
metadata. -
#snippets ⇒ Array<String>
Corresponds to the JSON property
snippets. -
#title ⇒ String
Corresponds to the JSON property
title. -
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SuggestionArticle
constructor
A new instance of GoogleCloudDialogflowV2beta1SuggestionArticle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SuggestionArticle
Returns a new instance of GoogleCloudDialogflowV2beta1SuggestionArticle.
20697 20698 20699 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20697 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
20675 20676 20677 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20675 def answer_record @answer_record end |
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property metadata
20680 20681 20682 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20680 def @metadata end |
#snippets ⇒ Array<String>
Corresponds to the JSON property snippets
20685 20686 20687 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20685 def snippets @snippets end |
#title ⇒ String
Corresponds to the JSON property title
20690 20691 20692 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20690 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
20695 20696 20697 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20695 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20702 20703 20704 20705 20706 20707 20708 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20702 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @metadata = args[:metadata] if args.key?(:metadata) @snippets = args[:snippets] if args.key?(:snippets) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |