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.


1048
1049
1050
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1048

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


1041
1042
1043
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1041

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)

1046
1047
1048
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1046

def total_pivot_groups_count
  @total_pivot_groups_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1053
1054
1055
1056
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1053

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