Show / Hide Table of Contents

Class Pivot

Describes the visible dimension columns and rows in the report response.

Inheritance
System.Object
Pivot
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AnalyticsData.v1alpha.Data
Assembly: Google.Apis.AnalyticsData.v1alpha.dll
Syntax
public class Pivot : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

FieldNames

Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.

Declaration
[JsonProperty("fieldNames")]
public virtual IList<string> FieldNames { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Limit

The number of rows to return in this pivot. The limit parameter is required. A limit of 10,000 is common for single pivot requests. The product of the limit for each pivot in a RunPivotReportRequest must not exceed 100,000. For example, a two pivot request with limit: 1000 in each pivot will fail because the product is 1,000,000.

Declaration
[JsonProperty("limit")]
public virtual long? Limit { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

MetricAggregations

Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.

Declaration
[JsonProperty("metricAggregations")]
public virtual IList<string> MetricAggregations { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Offset

The row count of the start row. The first row is counted as row 0.

Declaration
[JsonProperty("offset")]
public virtual long? Offset { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

OrderBys

Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.

Declaration
[JsonProperty("orderBys")]
public virtual IList<OrderBy> OrderBys { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderBy>

Implements

IDirectResponseSchema
In This Article
Back to top