Class: Google::Apis::AdexchangesellerV1_1::Report

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

Defined Under Namespace

Classes: Header

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) ⇒ Report

Returns a new instance of Report



586
587
588
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 586

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

Instance Attribute Details

#averagesArray<String>

The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. Corresponds to the JSON property averages

Returns:

  • (Array<String>)


547
548
549
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 547

def averages
  @averages
end

#headersArray<Google::Apis::AdexchangesellerV1_1::Report::Header>

The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request. Corresponds to the JSON property headers



554
555
556
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 554

def headers
  @headers
end

#kindString

Kind this is, in this case adexchangeseller#report. Corresponds to the JSON property kind

Returns:

  • (String)


559
560
561
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 559

def kind
  @kind
end

#rowsArray<Array<String>>

The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers. Corresponds to the JSON property rows

Returns:

  • (Array<Array<String>>)


566
567
568
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 566

def rows
  @rows
end

#total_matched_rowsFixnum

The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit. Corresponds to the JSON property totalMatchedRows

Returns:

  • (Fixnum)


573
574
575
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 573

def total_matched_rows
  @total_matched_rows
end

#totalsArray<String>

The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty. Corresponds to the JSON property totals

Returns:

  • (Array<String>)


579
580
581
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 579

def totals
  @totals
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


584
585
586
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 584

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



591
592
593
594
595
596
597
598
599
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 591

def update!(**args)
  @averages = args[:averages] if args.key?(:averages)
  @headers = args[:headers] if args.key?(:headers)
  @kind = args[:kind] if args.key?(:kind)
  @rows = args[:rows] if args.key?(:rows)
  @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows)
  @totals = args[:totals] if args.key?(:totals)
  @warnings = args[:warnings] if args.key?(:warnings)
end