Show / Hide Table of Contents

Class OrderBy.Types.PivotOrderBy.Types.PivotSelection

A pair of dimension names and values. Rows with this dimension pivot pair are ordered by the metric's value.

For example if pivots = {{"browser", "Chrome"}} and metric_name = "Sessions", then the rows will be sorted based on Sessions in Chrome.

---------|----------|----------------|----------|----------------
         |  Chrome  |    Chrome      |  Safari  |     Safari
---------|----------|----------------|----------|----------------
 Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions
---------|----------|----------------|----------|----------------
    US   |    2     |       2        |     3    |        1
---------|----------|----------------|----------|----------------
  Canada |    3     |       1        |     4    |        1
---------|----------|----------------|----------|----------------
Inheritance
object
OrderBy.Types.PivotOrderBy.Types.PivotSelection
Implements
IMessage<OrderBy.Types.PivotOrderBy.Types.PivotSelection>
IEquatable<OrderBy.Types.PivotOrderBy.Types.PivotSelection>
IDeepCloneable<OrderBy.Types.PivotOrderBy.Types.PivotSelection>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Analytics.Data.V1Beta
Assembly: Google.Analytics.Data.V1Beta.dll
Syntax
public sealed class OrderBy.Types.PivotOrderBy.Types.PivotSelection : IMessage<OrderBy.Types.PivotOrderBy.Types.PivotSelection>, IEquatable<OrderBy.Types.PivotOrderBy.Types.PivotSelection>, IDeepCloneable<OrderBy.Types.PivotOrderBy.Types.PivotSelection>, IBufferMessage, IMessage

Constructors

PivotSelection()

Declaration
public PivotSelection()

PivotSelection(PivotSelection)

Declaration
public PivotSelection(OrderBy.Types.PivotOrderBy.Types.PivotSelection other)
Parameters
Type Name Description
OrderBy.Types.PivotOrderBy.Types.PivotSelection other

Properties

DimensionName

Must be a dimension name from the request.

Declaration
public string DimensionName { get; set; }
Property Value
Type Description
string

DimensionValue

Order by only when the named dimension is this value.

Declaration
public string DimensionValue { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX