Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy.
Sorts by a pivot column group.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#metric_name
def metric_name() -> ::String
Returns
- (::String) — In the response to order by, order rows by this column. Must be a metric name from the request.
#metric_name=
def metric_name=(value) -> ::String
Parameter
- value (::String) — In the response to order by, order rows by this column. Must be a metric name from the request.
Returns
- (::String) — In the response to order by, order rows by this column. Must be a metric name from the request.
#pivot_selections
def pivot_selections() -> ::Array<::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy::PivotSelection>
Returns
- (::Array<::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy::PivotSelection>) — Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.
#pivot_selections=
def pivot_selections=(value) -> ::Array<::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy::PivotSelection>
Parameter
- value (::Array<::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy::PivotSelection>) — Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.
Returns
- (::Array<::Google::Analytics::Data::V1alpha::OrderBy::PivotOrderBy::PivotSelection>) — Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.