Class: Google::Apis::AnalyticsdataV1alpha::PivotHeader
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::PivotHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1alpha/classes.rb,
lib/google/apis/analyticsdata_v1alpha/representations.rb,
lib/google/apis/analyticsdata_v1alpha/representations.rb
Overview
Dimensions' values in a single pivot.
Instance Attribute Summary collapse
-
#pivot_dimension_headers ⇒ Array<Google::Apis::AnalyticsdataV1alpha::PivotDimensionHeader>
The size is the same as the cardinality of the corresponding dimension combinations.
-
#row_count ⇒ Fixnum
The cardinality of the pivot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PivotHeader
constructor
A new instance of PivotHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PivotHeader
Returns a new instance of PivotHeader.
1095 1096 1097 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 1095 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pivot_dimension_headers ⇒ Array<Google::Apis::AnalyticsdataV1alpha::PivotDimensionHeader>
The size is the same as the cardinality of the corresponding dimension
combinations.
Corresponds to the JSON property pivotDimensionHeaders
1086 1087 1088 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 1086 def pivot_dimension_headers @pivot_dimension_headers end |
#row_count ⇒ Fixnum
The cardinality of the pivot. The total number of rows for this pivot's fields
regardless of how the parameters offset and limit are specified in the
request.
Corresponds to the JSON property rowCount
1093 1094 1095 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 1093 def row_count @row_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1100 1101 1102 1103 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 1100 def update!(**args) @pivot_dimension_headers = args[:pivot_dimension_headers] if args.key?(:pivot_dimension_headers) @row_count = args[:row_count] if args.key?(:row_count) end |