class Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaState

Represents idea state specific to a web property.

Attributes

dismissed[RW]

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

dismissed?[RW]

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

name[RW]

Unique identifier for the idea state. Format: platforms/`platform`/properties/` property`/ideaStates/`idea_state` Corresponds to the JSON property `name` @return [String]

saved[RW]

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

saved?[RW]

Whether the idea 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 149
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 154
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