class Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopicState

Represents topic state specific to a web property.

Attributes

dismissed[RW]

Whether the topic is dismissed. Corresponds to the JSON property `dismissed` @return [Boolean]

dismissed?[RW]

Whether the topic is dismissed. Corresponds to the JSON property `dismissed` @return [Boolean]

name[RW]

Unique identifier for the topic state. Format: platforms/`platform`/properties/ `property`/topicStates/`topic_state` Corresponds to the JSON property `name` @return [String]

saved[RW]

Whether the topic is saved. Corresponds to the JSON property `saved` @return [Boolean]

saved?[RW]

Whether the topic is saved. Corresponds to the JSON property `saved` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ideahub_v1alpha/classes.rb, line 267
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ideahub_v1alpha/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