Class: Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity
- Inherits:
-
Object
- Object
- Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity
- 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
An idea activity entry.
Instance Attribute Summary collapse
-
#idea_ids ⇒ Array<String>
The Idea IDs for this entry.
-
#name ⇒ String
Unique identifier for the idea activity.
-
#topic_ids ⇒ 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) ⇒ GoogleSearchIdeahubV1alphaIdeaActivity
constructor
A new instance of GoogleSearchIdeahubV1alphaIdeaActivity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSearchIdeahubV1alphaIdeaActivity
Returns a new instance of GoogleSearchIdeahubV1alphaIdeaActivity.
112 113 114 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#idea_ids ⇒ Array<String>
The Idea IDs for this entry.
Corresponds to the JSON property ideaIds
89 90 91 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 89 def idea_ids @idea_ids end |
#name ⇒ String
Unique identifier for the idea activity. Format: platforms/platform/
properties/property/ideaActivities/idea_activity
Corresponds to the JSON property name
95 96 97 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 95 def name @name end |
#topic_ids ⇒ Array<String>
The Topic IDs for this entry.
Corresponds to the JSON property topicIds
100 101 102 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 100 def topic_ids @topic_ids end |
#type ⇒ String
The type of activity performed.
Corresponds to the JSON property type
105 106 107 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 105 def type @type end |
#uri ⇒ String
The uri the activity relates to.
Corresponds to the JSON property uri
110 111 112 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 110 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 120 121 122 123 |
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 117 def update!(**args) @idea_ids = args[:idea_ids] if args.key?(:idea_ids) @name = args[:name] if args.key?(:name) @topic_ids = args[:topic_ids] if args.key?(:topic_ids) @type = args[:type] if args.key?(:type) @uri = args[:uri] if args.key?(:uri) end |