Class ReportDefinition.Types.Sort
Represents a sorting in a report.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ReportDefinition.Types.Sort : IMessage<ReportDefinition.Types.Sort>, IEquatable<ReportDefinition.Types.Sort>, IDeepCloneable<ReportDefinition.Types.Sort>, IBufferMessage, IMessage
Constructors
Sort()
Declaration
public Sort()
Sort(Sort)
Declaration
public Sort(ReportDefinition.Types.Sort other)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportDefinition.Types.Sort | other |
Properties
Descending
Optional. The sort order. If true the sort will be descending.
Declaration
public bool Descending { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Field
Required. A field (dimension or metric) to sort by.
Declaration
public ReportDefinition.Types.Field Field { get; set; }
Property Value
| Type | Description |
|---|---|
| ReportDefinition.Types.Field |
HasMetricValueType
Gets whether the "metric_value_type" field is set
Declaration
public bool HasMetricValueType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasTimePeriodIndex
Gets whether the "time_period_index" field is set
Declaration
public bool HasTimePeriodIndex { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MetricValueType
Optional. Use to specify which metric value type to sort on. Defaults to PRIMARY.
Declaration
public ReportDefinition.Types.MetricValueType MetricValueType { get; set; }
Property Value
| Type | Description |
|---|---|
| ReportDefinition.Types.MetricValueType |
Slice
Optional. Use to sort on a specific slice of data.
Declaration
public ReportDefinition.Types.Slice Slice { get; set; }
Property Value
| Type | Description |
|---|---|
| ReportDefinition.Types.Slice |
TimePeriodIndex
Optional. When using time period columns, use this to sort on a specific column.
Declaration
public int TimePeriodIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |