Class: Google::Apis::AdexchangesellerV2_0::Report
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangesellerV2_0::Report
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangeseller_v2_0/classes.rb,
generated/google/apis/adexchangeseller_v2_0/representations.rb,
generated/google/apis/adexchangeseller_v2_0/representations.rb
Defined Under Namespace
Classes: Header
Instance Attribute Summary collapse
-
#averages ⇒ Array<String>
The averages of the report.
-
#headers ⇒ Array<Google::Apis::AdexchangesellerV2_0::Report::Header>
The header information of the columns requested in the report.
-
#kind ⇒ String
Kind this is, in this case adexchangeseller#report.
-
#rows ⇒ Array<Array<String>>
The output rows of the report.
-
#total_matched_rows ⇒ Fixnum
The total number of rows matched by the report request.
-
#totals ⇒ Array<String>
The totals of the report.
-
#warnings ⇒ Array<String>
Any warnings associated with generation of the report.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Report
constructor
A new instance of Report.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Report
Returns a new instance of Report
536 537 538 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#averages ⇒ Array<String>
The averages of the report. This is the same length as any other row in the
report; cells corresponding to dimension columns are empty.
Corresponds to the JSON property averages
497 498 499 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 497 def averages @averages end |
#headers ⇒ Array<Google::Apis::AdexchangesellerV2_0::Report::Header>
The header information of the columns requested in the report. This is a list
of headers; one for each dimension in the request, followed by one for each
metric in the request.
Corresponds to the JSON property headers
504 505 506 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 504 def headers @headers end |
#kind ⇒ String
Kind this is, in this case adexchangeseller#report.
Corresponds to the JSON property kind
509 510 511 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 509 def kind @kind end |
#rows ⇒ Array<Array<String>>
The output rows of the report. Each row is a list of cells; one for each
dimension in the request, followed by one for each metric in the request. The
dimension cells contain strings, and the metric cells contain numbers.
Corresponds to the JSON property rows
516 517 518 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 516 def rows @rows end |
#total_matched_rows ⇒ Fixnum
The total number of rows matched by the report request. Fewer rows may be
returned in the response due to being limited by the row count requested or
the report row limit.
Corresponds to the JSON property totalMatchedRows
523 524 525 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 523 def total_matched_rows @total_matched_rows end |
#totals ⇒ Array<String>
The totals of the report. This is the same length as any other row in the
report; cells corresponding to dimension columns are empty.
Corresponds to the JSON property totals
529 530 531 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 529 def totals @totals end |
#warnings ⇒ Array<String>
Any warnings associated with generation of the report.
Corresponds to the JSON property warnings
534 535 536 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 534 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
541 542 543 544 545 546 547 548 549 |
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 541 def update!(**args) @averages = args[:averages] if args.key?(:averages) @headers = args[:headers] if args.key?(:headers) @kind = args[:kind] if args.key?(:kind) @rows = args[:rows] if args.key?(:rows) @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows) @totals = args[:totals] if args.key?(:totals) @warnings = args[:warnings] if args.key?(:warnings) end |