Class: Google::Apis::AdmobV1beta::ReportFooter

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



918
919
920
# File 'lib/google/apis/admob_v1beta/classes.rb', line 918

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)


911
912
913
# File 'lib/google/apis/admob_v1beta/classes.rb', line 911

def matching_row_count
  @matching_row_count
end

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

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



916
917
918
# File 'lib/google/apis/admob_v1beta/classes.rb', line 916

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



923
924
925
926
# File 'lib/google/apis/admob_v1beta/classes.rb', line 923

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