Class: Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaTopicState
- Inherits:
-
Object
- Object
- Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaTopicState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ideahub_v1beta/classes.rb,
lib/google/apis/ideahub_v1beta/representations.rb,
lib/google/apis/ideahub_v1beta/representations.rb
Overview
Represents topic state specific to a web property.
Instance Attribute Summary collapse
-
#dismissed ⇒ Boolean
(also: #dismissed?)
Whether the topic is dismissed.
-
#name ⇒ String
Unique identifier for the topic state.
-
#saved ⇒ Boolean
(also: #saved?)
Whether the topic is saved.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaTopicState
constructor
A new instance of GoogleSearchIdeahubV1betaTopicState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaTopicState
Returns a new instance of GoogleSearchIdeahubV1betaTopicState.
267 268 269 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dismissed ⇒ Boolean Also known as: dismissed?
Whether the topic is dismissed.
Corresponds to the JSON property dismissed
252 253 254 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 252 def dismissed @dismissed end |
#name ⇒ String
Unique identifier for the topic state. Format: platforms/platform
/properties/
property
/topicStates/topic_state
Corresponds to the JSON property name
259 260 261 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 259 def name @name end |
#saved ⇒ Boolean Also known as: saved?
Whether the topic is saved.
Corresponds to the JSON property saved
264 265 266 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 264 def saved @saved end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
272 273 274 275 276 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 272 def update!(**args) @dismissed = args[:dismissed] if args.key?(:dismissed) @name = args[:name] if args.key?(:name) @saved = args[:saved] if args.key?(:saved) end |