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.
20618 20619 20620 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20618 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
20616 20617 20618 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20616 def topic_state @topic_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20623 20624 20625 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 20623 def update!(**args) @topic_state = args[:topic_state] if args.key?(:topic_state) end |