Class: Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaState

Inherits:
Object
  • Object
show all
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 idea state specific to a web property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSearchIdeahubV1betaIdeaState

Returns a new instance of GoogleSearchIdeahubV1betaIdeaState.



149
150
151
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 149

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dismissedBoolean Also known as: dismissed?

Whether the idea is dismissed. Corresponds to the JSON property dismissed

Returns:

  • (Boolean)


134
135
136
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 134

def dismissed
  @dismissed
end

#nameString

Unique identifier for the idea state. Format: platforms/platform/properties/ property/ideaStates/idea_state Corresponds to the JSON property name

Returns:

  • (String)


141
142
143
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 141

def name
  @name
end

#savedBoolean Also known as: saved?

Whether the idea is saved. Corresponds to the JSON property saved

Returns:

  • (Boolean)


146
147
148
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 146

def saved
  @saved
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



154
155
156
157
158
# File 'lib/google/apis/ideahub_v1beta/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