class Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdea

A single Idea that we want to show the end user.

Attributes

name[RW]

Unique identifier for the idea. Format: ideas/`ideaId` Corresponds to the JSON property `name` @return [String]

text[RW]

The idea’s text. Corresponds to the JSON property `text` @return [String]

topics[RW]

The Topics that match the idea. Corresponds to the JSON property `topics` @return [Array<Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaTopic>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ideahub_v1alpha/classes.rb, line 70
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 75
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @text = args[:text] if args.key?(:text)
  @topics = args[:topics] if args.key?(:topics)
end