Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion
- 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
-
#articles ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle>
Corresponds to the JSON property
articles. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#faq_answers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFaqAnswer>
Corresponds to the JSON property
faqAnswers. -
#latest_message ⇒ String
Corresponds to the JSON property
latestMessage. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Suggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1Suggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Suggestion
Returns a new instance of GoogleCloudDialogflowV2beta1Suggestion.
20111 20112 20113 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#articles ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle>
Corresponds to the JSON property articles
20089 20090 20091 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20089 def articles @articles end |
#create_time ⇒ String
Corresponds to the JSON property createTime
20094 20095 20096 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20094 def create_time @create_time end |
#faq_answers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFaqAnswer>
Corresponds to the JSON property faqAnswers
20099 20100 20101 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20099 def faq_answers @faq_answers end |
#latest_message ⇒ String
Corresponds to the JSON property latestMessage
20104 20105 20106 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20104 def @latest_message end |
#name ⇒ String
Corresponds to the JSON property name
20109 20110 20111 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20109 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20116 20117 20118 20119 20120 20121 20122 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20116 def update!(**args) @articles = args[:articles] if args.key?(:articles) @create_time = args[:create_time] if args.key?(:create_time) @faq_answers = args[:faq_answers] if args.key?(:faq_answers) @latest_message = args[:latest_message] if args.key?(:latest_message) @name = args[:name] if args.key?(:name) end |