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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReportFooter

Returns a new instance of ReportFooter.



774
775
776
# File 'generated/google/apis/admob_v1/classes.rb', line 774

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

Instance Attribute Details

#matching_row_countFixnum

Total number of rows that did match the request. Corresponds to the JSON property matchingRowCount

Returns:

  • (Fixnum)


767
768
769
# File 'generated/google/apis/admob_v1/classes.rb', line 767

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



772
773
774
# File 'generated/google/apis/admob_v1/classes.rb', line 772

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



779
780
781
782
# File 'generated/google/apis/admob_v1/classes.rb', line 779

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