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.



202
203
204
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 202

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

Instance Attribute Details

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

Results for the ListIdeasRequest. Corresponds to the JSON property ideas



195
196
197
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 195

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)


200
201
202
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 200

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



207
208
209
210
# File 'lib/google/apis/ideahub_v1alpha/classes.rb', line 207

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