Class: Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaListIdeasResponse

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleSearchIdeahubV1alphaListIdeasResponse

Returns a new instance of GoogleSearchIdeahubV1alphaListIdeasResponse.



157
158
159
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 157

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ideasArray<Google::Apis::IdeahubV1alpha::GoogleSearchIdeahubV1alphaIdea>

Results for the ListIdeasRequest. Corresponds to the JSON property ideas



150
151
152
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 150

def ideas
  @ideas
end

#next_page_tokenString

Used to fetch the next page in a subsequent request. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


155
156
157
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 155

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



162
163
164
165
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 162

def update!(**args)
  @ideas = args[:ideas] if args.key?(:ideas)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end