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.



1089
1090
1091
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1089

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



1082
1083
1084
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1082

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)


1087
1088
1089
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1087

def total_pivot_groups_count
  @total_pivot_groups_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1094
1095
1096
1097
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1094

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