Class: Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopic
- Inherits:
-
Object
- Object
- Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopic
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ideahub_v1alpha/classes.rb,
lib/google/apis/ideahub_v1alpha/representations.rb,
lib/google/apis/ideahub_v1alpha/representations.rb
Overview
Represents a Topic umbrella for a list of questions that a Creator may want to respond to.
Instance Attribute Summary collapse
-
#display_name ⇒ String
String displayed to the creator indicating the name of the Topic.
-
#mid ⇒ String
The mID of the topic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSearchIdeahubV1alphaTopic
constructor
A new instance of GoogleSearchIdeahubV1alphaTopic.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSearchIdeahubV1alphaTopic
Returns a new instance of GoogleSearchIdeahubV1alphaTopic.
183 184 185 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 183 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
String displayed to the creator indicating the name of the Topic.
Corresponds to the JSON property displayName
176 177 178 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 176 def display_name @display_name end |
#mid ⇒ String
The mID of the topic.
Corresponds to the JSON property mid
181 182 183 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 181 def mid @mid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
188 189 190 191 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 188 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @mid = args[:mid] if args.key?(:mid) end |