Class: Google::Apis::AdsenseV1_4::GenerateReportResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV1_4::GenerateReportResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adsense_v1_4/classes.rb,
generated/google/apis/adsense_v1_4/representations.rb,
generated/google/apis/adsense_v1_4/representations.rb
Defined Under Namespace
Classes: Header
Instance Attribute Summary collapse
-
#averages ⇒ Array<String>
The averages of the report.
-
#end_date ⇒ String
The requested end date in yyyy-mm-dd format.
-
#headers ⇒ Array<Google::Apis::AdsenseV1_4::GenerateReportResponse::Header>
The header information of the columns requested in the report.
-
#kind ⇒ String
Kind this is, in this case adsense#report.
-
#rows ⇒ Array<Array<String>>
The output rows of the report.
-
#start_date ⇒ String
The requested start date in yyyy-mm-dd format.
-
#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) ⇒ GenerateReportResponse
constructor
A new instance of GenerateReportResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateReportResponse
Returns a new instance of GenerateReportResponse.
662 663 664 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 662 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
613 614 615 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 613 def averages @averages end |
#end_date ⇒ String
The requested end date in yyyy-mm-dd format.
Corresponds to the JSON property endDate
618 619 620 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 618 def end_date @end_date end |
#headers ⇒ Array<Google::Apis::AdsenseV1_4::GenerateReportResponse::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
625 626 627 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 625 def headers @headers end |
#kind ⇒ String
Kind this is, in this case adsense#report.
Corresponds to the JSON property kind
630 631 632 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 630 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
637 638 639 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 637 def rows @rows end |
#start_date ⇒ String
The requested start date in yyyy-mm-dd format.
Corresponds to the JSON property startDate
642 643 644 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 642 def start_date @start_date 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
649 650 651 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 649 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
655 656 657 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 655 def totals @totals end |
#warnings ⇒ Array<String>
Any warnings associated with generation of the report.
Corresponds to the JSON property warnings
660 661 662 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 660 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
667 668 669 670 671 672 673 674 675 676 677 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 667 def update!(**args) @averages = args[:averages] if args.key?(:averages) @end_date = args[:end_date] if args.key?(:end_date) @headers = args[:headers] if args.key?(:headers) @kind = args[:kind] if args.key?(:kind) @rows = args[:rows] if args.key?(:rows) @start_date = args[:start_date] if args.key?(:start_date) @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 |