class Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdeaActivity
An idea activity entry.
Attributes
ideas[RW]
The Idea IDs for this entry. If empty, topics should be set. Corresponds to the JSON property `ideas` @return [Array<String>]
name[RW]
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` @return [String]
topics[RW]
The Topic IDs for this entry. If empty, ideas should be set. Corresponds to the JSON property `topics` @return [Array<String>]
type[RW]
The type of activity performed. Corresponds to the JSON property `type` @return [String]
uri[RW]
The uri the activity relates to. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ideahub_v1alpha/classes.rb, line 113 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ideahub_v1alpha/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