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



851
852
853
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 851

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



844
845
846
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 844

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)


849
850
851
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 849

def total_pivot_groups_count
  @total_pivot_groups_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



856
857
858
859
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 856

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