Class: Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaState
- Inherits:
-
Object
- Object
- Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaState
- 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
-
#dismissed ⇒ Boolean
(also: #dismissed?)
Whether the idea is dismissed.
-
#name ⇒ String
Unique identifier for the idea state.
-
#saved ⇒ Boolean
(also: #saved?)
Whether the idea is saved.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaIdeaState
constructor
A new instance of GoogleSearchIdeahubV1betaIdeaState.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#dismissed ⇒ Boolean Also known as: dismissed?
Whether the idea is dismissed.
Corresponds to the JSON property dismissed
134 135 136 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 134 def dismissed @dismissed end |
#name ⇒ String
Unique identifier for the idea state. Format: platforms/platform
/properties/
property
/ideaStates/idea_state
Corresponds to the JSON property name
141 142 143 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 141 def name @name end |
#saved ⇒ Boolean Also known as: saved?
Whether the idea is saved.
Corresponds to the JSON property saved
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 |