Class: Google::Apis::DfareportingV5::ReportDataResponse

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

Overview

Represents a response to report data request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportDataResponse

Returns a new instance of ReportDataResponse.



11630
11631
11632
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11630

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

Instance Attribute Details

#column_headersArray<Google::Apis::DfareportingV5::ColumnHeader>

Output only. Ordered descriptors of the requested column fields. Corresponds to the JSON property columnHeaders



11612
11613
11614
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11612

def column_headers
  @column_headers
end

#next_page_tokenString

Output only. Token to retrieve the next page of rows, or empty if end of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


11618
11619
11620
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11618

def next_page_token
  @next_page_token
end

#rowsArray<Google::Apis::DfareportingV5::ReportDataRow>

Output only. The resulting set of matching data rows. Corresponds to the JSON property rows



11623
11624
11625
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11623

def rows
  @rows
end

#total_rowGoogle::Apis::DfareportingV5::ReportDataRow

A row of report data. Corresponds to the JSON property totalRow



11628
11629
11630
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11628

def total_row
  @total_row
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11635
11636
11637
11638
11639
11640
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 11635

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