Class: Google::Apis::CloudsearchV1::TopicStateUpdate
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::TopicStateUpdate
- 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
-
#topic_state ⇒ Google::Apis::CloudsearchV1::TopicState
State of an topic thread as maintained within Tingle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TopicStateUpdate
constructor
A new instance of TopicStateUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TopicStateUpdate
Returns a new instance of TopicStateUpdate.
20439 20440 20441 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#topic_state ⇒ Google::Apis::CloudsearchV1::TopicState
State of an topic thread as maintained within Tingle.
Corresponds to the JSON property topicState
20437 20438 20439 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20437 def topic_state @topic_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20444 20445 20446 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20444 def update!(**args) @topic_state = args[:topic_state] if args.key?(:topic_state) end |