Class: Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity
- Inherits:
-
Object
- Object
- Google::Apis::IdeahubV1beta::GoogleSearchIdeahubV1betaIdeaActivity
- 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
An idea activity entry.
Instance Attribute Summary collapse
-
#ideas ⇒ Array<String>
The Idea IDs for this entry.
-
#name ⇒ String
Unique identifier for the idea activity.
-
#topics ⇒ Array<String>
The Topic IDs for this entry.
-
#type ⇒ String
The type of activity performed.
-
#uri ⇒ String
The uri the activity relates to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaIdeaActivity
constructor
A new instance of GoogleSearchIdeahubV1betaIdeaActivity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSearchIdeahubV1betaIdeaActivity
Returns a new instance of GoogleSearchIdeahubV1betaIdeaActivity.
113 114 115 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ideas ⇒ Array<String>
The Idea IDs for this entry. If empty, topics should be set.
Corresponds to the JSON property ideas
89 90 91 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 89 def ideas @ideas end |
#name ⇒ String
Unique identifier for the idea activity. The name is ignored when creating an
idea activity. Format: platforms/platform
/properties/property
/
ideaActivities/idea_activity
Corresponds to the JSON property name
96 97 98 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 96 def name @name end |
#topics ⇒ Array<String>
The Topic IDs for this entry. If empty, ideas should be set.
Corresponds to the JSON property topics
101 102 103 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 101 def topics @topics end |
#type ⇒ String
The type of activity performed.
Corresponds to the JSON property type
106 107 108 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 106 def type @type end |
#uri ⇒ String
The uri the activity relates to.
Corresponds to the JSON property uri
111 112 113 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 111 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
118 119 120 121 122 123 124 |
# File 'lib/google/apis/ideahub_v1beta/classes.rb', line 118 def update!(**args) @ideas = args[:ideas] if args.key?(:ideas) @name = args[:name] if args.key?(:name) @topics = args[:topics] if args.key?(:topics) @type = args[:type] if args.key?(:type) @uri = args[:uri] if args.key?(:uri) end |