Class: Google::Apis::AnalyticsreportingV4::PivotHeader

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

Overview

The headers for each of the pivot sections defined in the request.

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

Returns a new instance of PivotHeader



740
741
742
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 740

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

Instance Attribute Details

#pivot_header_entriesArray<Google::Apis::AnalyticsreportingV4::PivotHeaderEntry>

A single pivot section header. Corresponds to the JSON property pivotHeaderEntries



733
734
735
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 733

def pivot_header_entries
  @pivot_header_entries
end

#total_pivot_groups_countFixnum

The total number of groups for this pivot. Corresponds to the JSON property totalPivotGroupsCount

Returns:

  • (Fixnum)


738
739
740
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 738

def total_pivot_groups_count
  @total_pivot_groups_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
748
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 745

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