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.
2364 2365 2366 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer ⇒ String
The answer.
Corresponds to the JSON property answer
2357 2358 2359 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2357 def answer @answer end |
#title ⇒ String
Title or header of the card.
Corresponds to the JSON property title
2362 2363 2364 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2362 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2369 2370 2371 2372 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2369 def update!(**args) @answer = args[:answer] if args.key?(:answer) @title = args[:title] if args.key?(:title) end |