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.


39
40
41
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 39

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


37
38
39
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 37

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)

32
33
34
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 32

def total_pivot_groups_count
  @total_pivot_groups_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


44
45
46
47
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 44

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