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.



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

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)


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

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



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

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



873
874
875
876
# File 'lib/google/apis/admob_v1/classes.rb', line 873

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