Class: Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaTopic
- Inherits:
-
Object
- Object
- Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaTopic
- 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 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.
-
#name ⇒ String
Unique identifier for the topic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaTopic
constructor
A new instance of GoogleSearchIdeahubV1betaTopic.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaTopic
Returns a new instance of GoogleSearchIdeahubV1betaTopic.
233 234 235 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 233 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
221 222 223 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 221 def display_name @display_name end |
#mid ⇒ String
The mID of the topic.
Corresponds to the JSON property mid
226 227 228 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 226 def mid @mid end |
#name ⇒ String
Unique identifier for the topic. Format: topics/topic
Corresponds to the JSON property name
231 232 233 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 231 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
238 239 240 241 242 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 238 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @mid = args[:mid] if args.key?(:mid) @name = args[:name] if args.key?(:name) end |