Class: Google::Apis::DoubleclickbidmanagerV2::ListReportsResponse

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 reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListReportsResponse

Returns a new instance of ListReportsResponse.



251
252
253
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 251

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 reports. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


244
245
246
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 244

def next_page_token
  @next_page_token
end

#reportsArray<Google::Apis::DoubleclickbidmanagerV2::Report>

Retrieved reports. Corresponds to the JSON property reports



249
250
251
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 249

def reports
  @reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



256
257
258
259
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 256

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