Class: Google::Apis::DoubleclickbidmanagerV2::ListQueriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb

Overview

Represents a list of queries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListQueriesResponse

Returns a new instance of ListQueriesResponse.



225
226
227
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 225

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page of queries. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


218
219
220
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 218

def next_page_token
  @next_page_token
end

#queriesArray<Google::Apis::DoubleclickbidmanagerV2::Query>

Retrieved queries. Corresponds to the JSON property queries



223
224
225
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 223

def queries
  @queries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



230
231
232
233
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 230

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