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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/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.



862
863
864
# File 'lib/google/apis/admob_v1/classes.rb', line 862

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)


855
856
857
# File 'lib/google/apis/admob_v1/classes.rb', line 855

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



860
861
862
# File 'lib/google/apis/admob_v1/classes.rb', line 860

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



867
868
869
870
# File 'lib/google/apis/admob_v1/classes.rb', line 867

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