Class: Google::Apis::AdmobV1::ReportFooter

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

Overview

Groups data available after report generation, for example, warnings and row counts. Always sent as the last message in the stream response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportFooter

Returns a new instance of ReportFooter.



646
647
648
# File 'generated/google/apis/admob_v1/classes.rb', line 646

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

Instance Attribute Details

#matching_row_countFixnum

Total number of rows that matched the request. Warning: This count does NOT always match the number of rows in the response. Do not make that assumption when processing the response. Corresponds to the JSON property matchingRowCount

Returns:

  • (Fixnum)


639
640
641
# File 'generated/google/apis/admob_v1/classes.rb', line 639

def matching_row_count
  @matching_row_count
end

#warningsArray<Google::Apis::AdmobV1::ReportWarning>

Warnings associated with generation of the report. Corresponds to the JSON property warnings



644
645
646
# File 'generated/google/apis/admob_v1/classes.rb', line 644

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



651
652
653
654
# File 'generated/google/apis/admob_v1/classes.rb', line 651

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