Class: Google::Apis::CloudsearchV1::TopicStateUpdate

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_stateGoogle::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