Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickGenericAnswerCard
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickGenericAnswerCard
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#answer ⇒ String
The answer.
-
#title ⇒ String
Title or header of the card.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickGenericAnswerCard
constructor
A new instance of EnterpriseTopazSidekickGenericAnswerCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickGenericAnswerCard
Returns a new instance of EnterpriseTopazSidekickGenericAnswerCard.
2397 2398 2399 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer ⇒ String
The answer.
Corresponds to the JSON property answer
2390 2391 2392 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2390 def answer @answer end |
#title ⇒ String
Title or header of the card.
Corresponds to the JSON property title
2395 2396 2397 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2395 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2402 2403 2404 2405 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2402 def update!(**args) @answer = args[:answer] if args.key?(:answer) @title = args[:title] if args.key?(:title) end |