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 |
--------- | ---------- | ---------------- | ---------- |
US | 2 | 2 | 3 |
--------- | ---------- | ---------------- | ---------- |
Canada | 3 | 1 | 4 |
--------- | ---------- | ---------------- | ---------- |
Inheritance
System.Object
OrderBy.Types.PivotOrderBy.Types.PivotSelection
Implements
Google.Protobuf.IMessage<OrderBy.Types.PivotOrderBy.Types.PivotSelection>
System.IEquatable<OrderBy.Types.PivotOrderBy.Types.PivotSelection>
Google.Protobuf.IDeepCloneable<OrderBy.Types.PivotOrderBy.Types.PivotSelection>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage
Inherited Members
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
Namespace: Google.Analytics.Data.V1Alpha
Assembly: Google.Analytics.Data.V1Alpha.dll
Syntax
public sealed class 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(OrderBy.Types.PivotOrderBy.Types.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 |
---|---|
System.String |
DimensionValue
Order by only when the named dimension is this value.
Declaration
public string DimensionValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |