Documentation
¶
Index ¶
- Variables
- func RegisterAlphaAnalyticsDataServer(s *grpc.Server, srv AlphaAnalyticsDataServer)
- type AlphaAnalyticsDataClient
- type AlphaAnalyticsDataServer
- type BatchRunPivotReportsRequest
- func (*BatchRunPivotReportsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunPivotReportsRequest) GetEntity() *Entity
- func (x *BatchRunPivotReportsRequest) GetRequests() []*RunPivotReportRequest
- func (*BatchRunPivotReportsRequest) ProtoMessage()
- func (x *BatchRunPivotReportsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchRunPivotReportsRequest) Reset()
- func (x *BatchRunPivotReportsRequest) String() string
- type BatchRunPivotReportsResponse
- func (*BatchRunPivotReportsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunPivotReportsResponse) GetPivotReports() []*RunPivotReportResponse
- func (*BatchRunPivotReportsResponse) ProtoMessage()
- func (x *BatchRunPivotReportsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchRunPivotReportsResponse) Reset()
- func (x *BatchRunPivotReportsResponse) String() string
- type BatchRunReportsRequest
- func (*BatchRunReportsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunReportsRequest) GetEntity() *Entity
- func (x *BatchRunReportsRequest) GetRequests() []*RunReportRequest
- func (*BatchRunReportsRequest) ProtoMessage()
- func (x *BatchRunReportsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchRunReportsRequest) Reset()
- func (x *BatchRunReportsRequest) String() string
- type BatchRunReportsResponse
- func (*BatchRunReportsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunReportsResponse) GetReports() []*RunReportResponse
- func (*BatchRunReportsResponse) ProtoMessage()
- func (x *BatchRunReportsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchRunReportsResponse) Reset()
- func (x *BatchRunReportsResponse) String() string
- type Cohort
- func (*Cohort) Descriptor() ([]byte, []int)deprecated
- func (x *Cohort) GetDateRange() *DateRange
- func (x *Cohort) GetDimension() string
- func (x *Cohort) GetName() string
- func (*Cohort) ProtoMessage()
- func (x *Cohort) ProtoReflect() protoreflect.Message
- func (x *Cohort) Reset()
- func (x *Cohort) String() string
- type CohortReportSettings
- func (*CohortReportSettings) Descriptor() ([]byte, []int)deprecated
- func (x *CohortReportSettings) GetAccumulate() bool
- func (*CohortReportSettings) ProtoMessage()
- func (x *CohortReportSettings) ProtoReflect() protoreflect.Message
- func (x *CohortReportSettings) Reset()
- func (x *CohortReportSettings) String() string
- type CohortSpec
- func (*CohortSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CohortSpec) GetCohortReportSettings() *CohortReportSettings
- func (x *CohortSpec) GetCohorts() []*Cohort
- func (x *CohortSpec) GetCohortsRange() *CohortsRange
- func (*CohortSpec) ProtoMessage()
- func (x *CohortSpec) ProtoReflect() protoreflect.Message
- func (x *CohortSpec) Reset()
- func (x *CohortSpec) String() string
- type CohortsRange
- func (*CohortsRange) Descriptor() ([]byte, []int)deprecated
- func (x *CohortsRange) GetEndOffset() int32
- func (x *CohortsRange) GetGranularity() CohortsRange_Granularity
- func (x *CohortsRange) GetStartOffset() int32
- func (*CohortsRange) ProtoMessage()
- func (x *CohortsRange) ProtoReflect() protoreflect.Message
- func (x *CohortsRange) Reset()
- func (x *CohortsRange) String() string
- type CohortsRange_Granularity
- func (CohortsRange_Granularity) Descriptor() protoreflect.EnumDescriptor
- func (x CohortsRange_Granularity) Enum() *CohortsRange_Granularity
- func (CohortsRange_Granularity) EnumDescriptor() ([]byte, []int)deprecated
- func (x CohortsRange_Granularity) Number() protoreflect.EnumNumber
- func (x CohortsRange_Granularity) String() string
- func (CohortsRange_Granularity) Type() protoreflect.EnumType
- type DateRange
- func (*DateRange) Descriptor() ([]byte, []int)deprecated
- func (x *DateRange) GetEndDate() string
- func (x *DateRange) GetName() string
- func (x *DateRange) GetStartDate() string
- func (*DateRange) ProtoMessage()
- func (x *DateRange) ProtoReflect() protoreflect.Message
- func (x *DateRange) Reset()
- func (x *DateRange) String() string
- type Dimension
- func (*Dimension) Descriptor() ([]byte, []int)deprecated
- func (x *Dimension) GetDimensionExpression() *DimensionExpression
- func (x *Dimension) GetName() string
- func (*Dimension) ProtoMessage()
- func (x *Dimension) ProtoReflect() protoreflect.Message
- func (x *Dimension) Reset()
- func (x *Dimension) String() string
- type DimensionExpression
- func (*DimensionExpression) Descriptor() ([]byte, []int)deprecated
- func (x *DimensionExpression) GetConcatenate() *DimensionExpression_ConcatenateExpression
- func (x *DimensionExpression) GetLowerCase() *DimensionExpression_CaseExpression
- func (m *DimensionExpression) GetOneExpression() isDimensionExpression_OneExpression
- func (x *DimensionExpression) GetUpperCase() *DimensionExpression_CaseExpression
- func (*DimensionExpression) ProtoMessage()
- func (x *DimensionExpression) ProtoReflect() protoreflect.Message
- func (x *DimensionExpression) Reset()
- func (x *DimensionExpression) String() string
- type DimensionExpression_CaseExpression
- func (*DimensionExpression_CaseExpression) Descriptor() ([]byte, []int)deprecated
- func (x *DimensionExpression_CaseExpression) GetDimensionName() string
- func (*DimensionExpression_CaseExpression) ProtoMessage()
- func (x *DimensionExpression_CaseExpression) ProtoReflect() protoreflect.Message
- func (x *DimensionExpression_CaseExpression) Reset()
- func (x *DimensionExpression_CaseExpression) String() string
- type DimensionExpression_Concatenate
- type DimensionExpression_ConcatenateExpression
- func (*DimensionExpression_ConcatenateExpression) Descriptor() ([]byte, []int)deprecated
- func (x *DimensionExpression_ConcatenateExpression) GetDelimiter() string
- func (x *DimensionExpression_ConcatenateExpression) GetDimensionNames() []string
- func (*DimensionExpression_ConcatenateExpression) ProtoMessage()
- func (x *DimensionExpression_ConcatenateExpression) ProtoReflect() protoreflect.Message
- func (x *DimensionExpression_ConcatenateExpression) Reset()
- func (x *DimensionExpression_ConcatenateExpression) String() string
- type DimensionExpression_LowerCase
- type DimensionExpression_UpperCase
- type DimensionHeader
- type DimensionMetadata
- func (*DimensionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DimensionMetadata) GetApiName() string
- func (x *DimensionMetadata) GetDeprecatedApiNames() []string
- func (x *DimensionMetadata) GetDescription() string
- func (x *DimensionMetadata) GetUiName() string
- func (*DimensionMetadata) ProtoMessage()
- func (x *DimensionMetadata) ProtoReflect() protoreflect.Message
- func (x *DimensionMetadata) Reset()
- func (x *DimensionMetadata) String() string
- type DimensionValue
- func (*DimensionValue) Descriptor() ([]byte, []int)deprecated
- func (m *DimensionValue) GetOneValue() isDimensionValue_OneValue
- func (x *DimensionValue) GetValue() string
- func (*DimensionValue) ProtoMessage()
- func (x *DimensionValue) ProtoReflect() protoreflect.Message
- func (x *DimensionValue) Reset()
- func (x *DimensionValue) String() string
- type DimensionValue_Value
- type Entity
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetBetweenFilter() *Filter_BetweenFilter
- func (x *Filter) GetFieldName() string
- func (x *Filter) GetInListFilter() *Filter_InListFilter
- func (x *Filter) GetNullFilter() bool
- func (x *Filter) GetNumericFilter() *Filter_NumericFilter
- func (m *Filter) GetOneFilter() isFilter_OneFilter
- func (x *Filter) GetStringFilter() *Filter_StringFilter
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type FilterExpression
- func (*FilterExpression) Descriptor() ([]byte, []int)deprecated
- func (x *FilterExpression) GetAndGroup() *FilterExpressionList
- func (m *FilterExpression) GetExpr() isFilterExpression_Expr
- func (x *FilterExpression) GetFilter() *Filter
- func (x *FilterExpression) GetNotExpression() *FilterExpression
- func (x *FilterExpression) GetOrGroup() *FilterExpressionList
- func (*FilterExpression) ProtoMessage()
- func (x *FilterExpression) ProtoReflect() protoreflect.Message
- func (x *FilterExpression) Reset()
- func (x *FilterExpression) String() string
- type FilterExpressionList
- func (*FilterExpressionList) Descriptor() ([]byte, []int)deprecated
- func (x *FilterExpressionList) GetExpressions() []*FilterExpression
- func (*FilterExpressionList) ProtoMessage()
- func (x *FilterExpressionList) ProtoReflect() protoreflect.Message
- func (x *FilterExpressionList) Reset()
- func (x *FilterExpressionList) String() string
- type FilterExpression_AndGroup
- type FilterExpression_Filter
- type FilterExpression_NotExpression
- type FilterExpression_OrGroup
- type Filter_BetweenFilter
- func (*Filter_BetweenFilter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter_BetweenFilter) GetFromValue() *NumericValue
- func (x *Filter_BetweenFilter) GetToValue() *NumericValue
- func (*Filter_BetweenFilter) ProtoMessage()
- func (x *Filter_BetweenFilter) ProtoReflect() protoreflect.Message
- func (x *Filter_BetweenFilter) Reset()
- func (x *Filter_BetweenFilter) String() string
- type Filter_BetweenFilter_
- type Filter_InListFilter
- func (*Filter_InListFilter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter_InListFilter) GetCaseSensitive() bool
- func (x *Filter_InListFilter) GetValues() []string
- func (*Filter_InListFilter) ProtoMessage()
- func (x *Filter_InListFilter) ProtoReflect() protoreflect.Message
- func (x *Filter_InListFilter) Reset()
- func (x *Filter_InListFilter) String() string
- type Filter_InListFilter_
- type Filter_NullFilter
- type Filter_NumericFilter
- func (*Filter_NumericFilter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter_NumericFilter) GetOperation() Filter_NumericFilter_Operation
- func (x *Filter_NumericFilter) GetValue() *NumericValue
- func (*Filter_NumericFilter) ProtoMessage()
- func (x *Filter_NumericFilter) ProtoReflect() protoreflect.Message
- func (x *Filter_NumericFilter) Reset()
- func (x *Filter_NumericFilter) String() string
- type Filter_NumericFilter_
- type Filter_NumericFilter_Operation
- func (Filter_NumericFilter_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x Filter_NumericFilter_Operation) Enum() *Filter_NumericFilter_Operation
- func (Filter_NumericFilter_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Filter_NumericFilter_Operation) Number() protoreflect.EnumNumber
- func (x Filter_NumericFilter_Operation) String() string
- func (Filter_NumericFilter_Operation) Type() protoreflect.EnumType
- type Filter_StringFilter
- func (*Filter_StringFilter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter_StringFilter) GetCaseSensitive() bool
- func (x *Filter_StringFilter) GetMatchType() Filter_StringFilter_MatchType
- func (x *Filter_StringFilter) GetValue() string
- func (*Filter_StringFilter) ProtoMessage()
- func (x *Filter_StringFilter) ProtoReflect() protoreflect.Message
- func (x *Filter_StringFilter) Reset()
- func (x *Filter_StringFilter) String() string
- type Filter_StringFilter_
- type Filter_StringFilter_MatchType
- func (Filter_StringFilter_MatchType) Descriptor() protoreflect.EnumDescriptor
- func (x Filter_StringFilter_MatchType) Enum() *Filter_StringFilter_MatchType
- func (Filter_StringFilter_MatchType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Filter_StringFilter_MatchType) Number() protoreflect.EnumNumber
- func (x Filter_StringFilter_MatchType) String() string
- func (Filter_StringFilter_MatchType) Type() protoreflect.EnumType
- type GetMetadataRequest
- func (*GetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataRequest) GetName() string
- func (*GetMetadataRequest) ProtoMessage()
- func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetadataRequest) Reset()
- func (x *GetMetadataRequest) String() string
- type GetUniversalMetadataRequest
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetDimensions() []*DimensionMetadata
- func (x *Metadata) GetMetrics() []*MetricMetadata
- func (x *Metadata) GetName() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetExpression() string
- func (x *Metric) GetInvisible() bool
- func (x *Metric) GetName() string
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type MetricAggregation
- func (MetricAggregation) Descriptor() protoreflect.EnumDescriptor
- func (x MetricAggregation) Enum() *MetricAggregation
- func (MetricAggregation) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetricAggregation) Number() protoreflect.EnumNumber
- func (x MetricAggregation) String() string
- func (MetricAggregation) Type() protoreflect.EnumType
- type MetricHeader
- func (*MetricHeader) Descriptor() ([]byte, []int)deprecated
- func (x *MetricHeader) GetName() string
- func (x *MetricHeader) GetType() MetricType
- func (*MetricHeader) ProtoMessage()
- func (x *MetricHeader) ProtoReflect() protoreflect.Message
- func (x *MetricHeader) Reset()
- func (x *MetricHeader) String() string
- type MetricMetadata
- func (*MetricMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MetricMetadata) GetApiName() string
- func (x *MetricMetadata) GetDeprecatedApiNames() []string
- func (x *MetricMetadata) GetDescription() string
- func (x *MetricMetadata) GetExpression() string
- func (x *MetricMetadata) GetType() MetricType
- func (x *MetricMetadata) GetUiName() string
- func (*MetricMetadata) ProtoMessage()
- func (x *MetricMetadata) ProtoReflect() protoreflect.Message
- func (x *MetricMetadata) Reset()
- func (x *MetricMetadata) String() string
- type MetricType
- type MetricValue
- func (*MetricValue) Descriptor() ([]byte, []int)deprecated
- func (m *MetricValue) GetOneValue() isMetricValue_OneValue
- func (x *MetricValue) GetValue() string
- func (*MetricValue) ProtoMessage()
- func (x *MetricValue) ProtoReflect() protoreflect.Message
- func (x *MetricValue) Reset()
- func (x *MetricValue) String() string
- type MetricValue_Value
- type NumericValue
- func (*NumericValue) Descriptor() ([]byte, []int)deprecated
- func (x *NumericValue) GetDoubleValue() float64
- func (x *NumericValue) GetInt64Value() int64
- func (m *NumericValue) GetOneValue() isNumericValue_OneValue
- func (*NumericValue) ProtoMessage()
- func (x *NumericValue) ProtoReflect() protoreflect.Message
- func (x *NumericValue) Reset()
- func (x *NumericValue) String() string
- type NumericValue_DoubleValue
- type NumericValue_Int64Value
- type OrderBy
- func (*OrderBy) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBy) GetDesc() bool
- func (x *OrderBy) GetDimension() *OrderBy_DimensionOrderBy
- func (x *OrderBy) GetMetric() *OrderBy_MetricOrderBy
- func (m *OrderBy) GetOneOrderBy() isOrderBy_OneOrderBy
- func (x *OrderBy) GetPivot() *OrderBy_PivotOrderBy
- func (*OrderBy) ProtoMessage()
- func (x *OrderBy) ProtoReflect() protoreflect.Message
- func (x *OrderBy) Reset()
- func (x *OrderBy) String() string
- type OrderBy_Dimension
- type OrderBy_DimensionOrderBy
- func (*OrderBy_DimensionOrderBy) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBy_DimensionOrderBy) GetDimensionName() string
- func (x *OrderBy_DimensionOrderBy) GetOrderType() OrderBy_DimensionOrderBy_OrderType
- func (*OrderBy_DimensionOrderBy) ProtoMessage()
- func (x *OrderBy_DimensionOrderBy) ProtoReflect() protoreflect.Message
- func (x *OrderBy_DimensionOrderBy) Reset()
- func (x *OrderBy_DimensionOrderBy) String() string
- type OrderBy_DimensionOrderBy_OrderType
- func (OrderBy_DimensionOrderBy_OrderType) Descriptor() protoreflect.EnumDescriptor
- func (x OrderBy_DimensionOrderBy_OrderType) Enum() *OrderBy_DimensionOrderBy_OrderType
- func (OrderBy_DimensionOrderBy_OrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderBy_DimensionOrderBy_OrderType) Number() protoreflect.EnumNumber
- func (x OrderBy_DimensionOrderBy_OrderType) String() string
- func (OrderBy_DimensionOrderBy_OrderType) Type() protoreflect.EnumType
- type OrderBy_Metric
- type OrderBy_MetricOrderBy
- func (*OrderBy_MetricOrderBy) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBy_MetricOrderBy) GetMetricName() string
- func (*OrderBy_MetricOrderBy) ProtoMessage()
- func (x *OrderBy_MetricOrderBy) ProtoReflect() protoreflect.Message
- func (x *OrderBy_MetricOrderBy) Reset()
- func (x *OrderBy_MetricOrderBy) String() string
- type OrderBy_Pivot
- type OrderBy_PivotOrderBy
- func (*OrderBy_PivotOrderBy) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBy_PivotOrderBy) GetMetricName() string
- func (x *OrderBy_PivotOrderBy) GetPivotSelections() []*OrderBy_PivotOrderBy_PivotSelection
- func (*OrderBy_PivotOrderBy) ProtoMessage()
- func (x *OrderBy_PivotOrderBy) ProtoReflect() protoreflect.Message
- func (x *OrderBy_PivotOrderBy) Reset()
- func (x *OrderBy_PivotOrderBy) String() string
- type OrderBy_PivotOrderBy_PivotSelection
- func (*OrderBy_PivotOrderBy_PivotSelection) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBy_PivotOrderBy_PivotSelection) GetDimensionName() string
- func (x *OrderBy_PivotOrderBy_PivotSelection) GetDimensionValue() string
- func (*OrderBy_PivotOrderBy_PivotSelection) ProtoMessage()
- func (x *OrderBy_PivotOrderBy_PivotSelection) ProtoReflect() protoreflect.Message
- func (x *OrderBy_PivotOrderBy_PivotSelection) Reset()
- func (x *OrderBy_PivotOrderBy_PivotSelection) String() string
- type Pivot
- func (*Pivot) Descriptor() ([]byte, []int)deprecated
- func (x *Pivot) GetFieldNames() []string
- func (x *Pivot) GetLimit() int64
- func (x *Pivot) GetMetricAggregations() []MetricAggregation
- func (x *Pivot) GetOffset() int64
- func (x *Pivot) GetOrderBys() []*OrderBy
- func (*Pivot) ProtoMessage()
- func (x *Pivot) ProtoReflect() protoreflect.Message
- func (x *Pivot) Reset()
- func (x *Pivot) String() string
- type PivotDimensionHeader
- func (*PivotDimensionHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PivotDimensionHeader) GetDimensionValues() []*DimensionValue
- func (*PivotDimensionHeader) ProtoMessage()
- func (x *PivotDimensionHeader) ProtoReflect() protoreflect.Message
- func (x *PivotDimensionHeader) Reset()
- func (x *PivotDimensionHeader) String() string
- type PivotHeader
- func (*PivotHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PivotHeader) GetPivotDimensionHeaders() []*PivotDimensionHeader
- func (x *PivotHeader) GetRowCount() int32
- func (*PivotHeader) ProtoMessage()
- func (x *PivotHeader) ProtoReflect() protoreflect.Message
- func (x *PivotHeader) Reset()
- func (x *PivotHeader) String() string
- type PropertyQuota
- func (*PropertyQuota) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyQuota) GetConcurrentRequests() *QuotaStatus
- func (x *PropertyQuota) GetServerErrorsPerProjectPerHour() *QuotaStatus
- func (x *PropertyQuota) GetTokensPerDay() *QuotaStatus
- func (x *PropertyQuota) GetTokensPerHour() *QuotaStatus
- func (*PropertyQuota) ProtoMessage()
- func (x *PropertyQuota) ProtoReflect() protoreflect.Message
- func (x *PropertyQuota) Reset()
- func (x *PropertyQuota) String() string
- type QuotaStatus
- func (*QuotaStatus) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaStatus) GetConsumed() int32
- func (x *QuotaStatus) GetRemaining() int32
- func (*QuotaStatus) ProtoMessage()
- func (x *QuotaStatus) ProtoReflect() protoreflect.Message
- func (x *QuotaStatus) Reset()
- func (x *QuotaStatus) String() string
- type ResponseMetaData
- func (*ResponseMetaData) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMetaData) GetDataLossFromOtherRow() bool
- func (*ResponseMetaData) ProtoMessage()
- func (x *ResponseMetaData) ProtoReflect() protoreflect.Message
- func (x *ResponseMetaData) Reset()
- func (x *ResponseMetaData) String() string
- type Row
- type RunPivotReportRequest
- func (*RunPivotReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPivotReportRequest) GetCohortSpec() *CohortSpec
- func (x *RunPivotReportRequest) GetCurrencyCode() string
- func (x *RunPivotReportRequest) GetDateRanges() []*DateRange
- func (x *RunPivotReportRequest) GetDimensionFilter() *FilterExpression
- func (x *RunPivotReportRequest) GetDimensions() []*Dimension
- func (x *RunPivotReportRequest) GetEntity() *Entity
- func (x *RunPivotReportRequest) GetKeepEmptyRows() bool
- func (x *RunPivotReportRequest) GetMetricFilter() *FilterExpression
- func (x *RunPivotReportRequest) GetMetrics() []*Metric
- func (x *RunPivotReportRequest) GetPivots() []*Pivot
- func (x *RunPivotReportRequest) GetReturnPropertyQuota() bool
- func (*RunPivotReportRequest) ProtoMessage()
- func (x *RunPivotReportRequest) ProtoReflect() protoreflect.Message
- func (x *RunPivotReportRequest) Reset()
- func (x *RunPivotReportRequest) String() string
- type RunPivotReportResponse
- func (*RunPivotReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunPivotReportResponse) GetAggregates() []*Row
- func (x *RunPivotReportResponse) GetDimensionHeaders() []*DimensionHeader
- func (x *RunPivotReportResponse) GetMetadata() *ResponseMetaData
- func (x *RunPivotReportResponse) GetMetricHeaders() []*MetricHeader
- func (x *RunPivotReportResponse) GetPivotHeaders() []*PivotHeader
- func (x *RunPivotReportResponse) GetPropertyQuota() *PropertyQuota
- func (x *RunPivotReportResponse) GetRows() []*Row
- func (*RunPivotReportResponse) ProtoMessage()
- func (x *RunPivotReportResponse) ProtoReflect() protoreflect.Message
- func (x *RunPivotReportResponse) Reset()
- func (x *RunPivotReportResponse) String() string
- type RunReportRequest
- func (*RunReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunReportRequest) GetCohortSpec() *CohortSpec
- func (x *RunReportRequest) GetCurrencyCode() string
- func (x *RunReportRequest) GetDateRanges() []*DateRange
- func (x *RunReportRequest) GetDimensionFilter() *FilterExpression
- func (x *RunReportRequest) GetDimensions() []*Dimension
- func (x *RunReportRequest) GetEntity() *Entity
- func (x *RunReportRequest) GetKeepEmptyRows() bool
- func (x *RunReportRequest) GetLimit() int64
- func (x *RunReportRequest) GetMetricAggregations() []MetricAggregation
- func (x *RunReportRequest) GetMetricFilter() *FilterExpression
- func (x *RunReportRequest) GetMetrics() []*Metric
- func (x *RunReportRequest) GetOffset() int64
- func (x *RunReportRequest) GetOrderBys() []*OrderBy
- func (x *RunReportRequest) GetReturnPropertyQuota() bool
- func (*RunReportRequest) ProtoMessage()
- func (x *RunReportRequest) ProtoReflect() protoreflect.Message
- func (x *RunReportRequest) Reset()
- func (x *RunReportRequest) String() string
- type RunReportResponse
- func (*RunReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunReportResponse) GetDimensionHeaders() []*DimensionHeader
- func (x *RunReportResponse) GetMaximums() []*Row
- func (x *RunReportResponse) GetMetadata() *ResponseMetaData
- func (x *RunReportResponse) GetMetricHeaders() []*MetricHeader
- func (x *RunReportResponse) GetMinimums() []*Row
- func (x *RunReportResponse) GetPropertyQuota() *PropertyQuota
- func (x *RunReportResponse) GetRowCount() int32
- func (x *RunReportResponse) GetRows() []*Row
- func (x *RunReportResponse) GetTotals() []*Row
- func (*RunReportResponse) ProtoMessage()
- func (x *RunReportResponse) ProtoReflect() protoreflect.Message
- func (x *RunReportResponse) Reset()
- func (x *RunReportResponse) String() string
- type UnimplementedAlphaAnalyticsDataServer
- func (*UnimplementedAlphaAnalyticsDataServer) BatchRunPivotReports(context.Context, *BatchRunPivotReportsRequest) (*BatchRunPivotReportsResponse, error)
- func (*UnimplementedAlphaAnalyticsDataServer) BatchRunReports(context.Context, *BatchRunReportsRequest) (*BatchRunReportsResponse, error)
- func (*UnimplementedAlphaAnalyticsDataServer) GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error)
- func (*UnimplementedAlphaAnalyticsDataServer) GetUniversalMetadata(context.Context, *GetUniversalMetadataRequest) (*UniversalMetadata, error)
- func (*UnimplementedAlphaAnalyticsDataServer) RunPivotReport(context.Context, *RunPivotReportRequest) (*RunPivotReportResponse, error)
- func (*UnimplementedAlphaAnalyticsDataServer) RunReport(context.Context, *RunReportRequest) (*RunReportResponse, error)
- type UniversalMetadata
- func (*UniversalMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UniversalMetadata) GetDimensions() []*DimensionMetadata
- func (x *UniversalMetadata) GetMetrics() []*MetricMetadata
- func (*UniversalMetadata) ProtoMessage()
- func (x *UniversalMetadata) ProtoReflect() protoreflect.Message
- func (x *UniversalMetadata) Reset()
- func (x *UniversalMetadata) String() string
Constants ¶
This section is empty.
Variables ¶
var ( MetricAggregation_name = map[int32]string{ 0: "METRIC_AGGREGATION_UNSPECIFIED", 1: "TOTAL", 5: "MINIMUM", 6: "MAXIMUM", 4: "COUNT", } MetricAggregation_value = map[string]int32{ "METRIC_AGGREGATION_UNSPECIFIED": 0, "TOTAL": 1, "MINIMUM": 5, "MAXIMUM": 6, "COUNT": 4, } )
Enum value maps for MetricAggregation.
var ( MetricType_name = map[int32]string{ 0: "METRIC_TYPE_UNSPECIFIED", 1: "TYPE_INTEGER", 2: "TYPE_FLOAT", 4: "TYPE_SECONDS", 5: "TYPE_MILLISECONDS", 6: "TYPE_MINUTES", 7: "TYPE_HOURS", 8: "TYPE_STANDARD", 9: "TYPE_CURRENCY", 10: "TYPE_FEET", 11: "TYPE_MILES", 12: "TYPE_METERS", 13: "TYPE_KILOMETERS", } MetricType_value = map[string]int32{ "METRIC_TYPE_UNSPECIFIED": 0, "TYPE_INTEGER": 1, "TYPE_FLOAT": 2, "TYPE_SECONDS": 4, "TYPE_MILLISECONDS": 5, "TYPE_MINUTES": 6, "TYPE_HOURS": 7, "TYPE_STANDARD": 8, "TYPE_CURRENCY": 9, "TYPE_FEET": 10, "TYPE_MILES": 11, "TYPE_METERS": 12, "TYPE_KILOMETERS": 13, } )
Enum value maps for MetricType.
var ( Filter_StringFilter_MatchType_name = map[int32]string{ 0: "MATCH_TYPE_UNSPECIFIED", 1: "EXACT", 2: "BEGINS_WITH", 3: "ENDS_WITH", 4: "CONTAINS", 5: "FULL_REGEXP", 6: "PARTIAL_REGEXP", } Filter_StringFilter_MatchType_value = map[string]int32{ "MATCH_TYPE_UNSPECIFIED": 0, "EXACT": 1, "BEGINS_WITH": 2, "ENDS_WITH": 3, "CONTAINS": 4, "FULL_REGEXP": 5, "PARTIAL_REGEXP": 6, } )
Enum value maps for Filter_StringFilter_MatchType.
var ( Filter_NumericFilter_Operation_name = map[int32]string{ 0: "OPERATION_UNSPECIFIED", 1: "EQUAL", 2: "LESS_THAN", 3: "LESS_THAN_OR_EQUAL", 4: "GREATER_THAN", 5: "GREATER_THAN_OR_EQUAL", } Filter_NumericFilter_Operation_value = map[string]int32{ "OPERATION_UNSPECIFIED": 0, "EQUAL": 1, "LESS_THAN": 2, "LESS_THAN_OR_EQUAL": 3, "GREATER_THAN": 4, "GREATER_THAN_OR_EQUAL": 5, } )
Enum value maps for Filter_NumericFilter_Operation.
var ( OrderBy_DimensionOrderBy_OrderType_name = map[int32]string{ 0: "ORDER_TYPE_UNSPECIFIED", 1: "ALPHANUMERIC", 2: "CASE_INSENSITIVE_ALPHANUMERIC", 3: "NUMERIC", } OrderBy_DimensionOrderBy_OrderType_value = map[string]int32{ "ORDER_TYPE_UNSPECIFIED": 0, "ALPHANUMERIC": 1, "CASE_INSENSITIVE_ALPHANUMERIC": 2, "NUMERIC": 3, } )
Enum value maps for OrderBy_DimensionOrderBy_OrderType.
var ( CohortsRange_Granularity_name = map[int32]string{ 0: "GRANULARITY_UNSPECIFIED", 1: "DAILY", 2: "WEEKLY", 3: "MONTHLY", } CohortsRange_Granularity_value = map[string]int32{ "GRANULARITY_UNSPECIFIED": 0, "DAILY": 1, "WEEKLY": 2, "MONTHLY": 3, } )
Enum value maps for CohortsRange_Granularity.
var File_google_analytics_data_v1alpha_analytics_data_api_proto protoreflect.FileDescriptor
var File_google_analytics_data_v1alpha_data_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAlphaAnalyticsDataServer ¶
func RegisterAlphaAnalyticsDataServer(s *grpc.Server, srv AlphaAnalyticsDataServer)
Types ¶
type AlphaAnalyticsDataClient ¶
type AlphaAnalyticsDataClient interface { // Returns a customized report of your Google Analytics event data. Reports // contain statistics derived from data collected by the Google Analytics // tracking code. The data returned from the API is as a table with columns // for the requested dimensions and metrics. Metrics are individual // measurements of user activity on your property, such as active users or // event count. Dimensions break down metrics across some common criteria, // such as country or event name. RunReport(ctx context.Context, in *RunReportRequest, opts ...grpc.CallOption) (*RunReportResponse, error) // Returns a customized pivot report of your Google Analytics event data. // Pivot reports are more advanced and expressive formats than regular // reports. In a pivot report, dimensions are only visible if they are // included in a pivot. Multiple pivots can be specified to further dissect // your data. RunPivotReport(ctx context.Context, in *RunPivotReportRequest, opts ...grpc.CallOption) (*RunPivotReportResponse, error) // Returns multiple reports in a batch. All reports must be for the same // Entity. BatchRunReports(ctx context.Context, in *BatchRunReportsRequest, opts ...grpc.CallOption) (*BatchRunReportsResponse, error) // Returns multiple pivot reports in a batch. All reports must be for the same // Entity. BatchRunPivotReports(ctx context.Context, in *BatchRunPivotReportsRequest, opts ...grpc.CallOption) (*BatchRunPivotReportsResponse, error) // Returns metadata for dimensions and metrics available in reporting methods. // Used to explore the dimensions and metrics. Dimensions and metrics will be // mostly added over time, but renames and deletions may occur. // // This method returns Universal Metadata. Universal Metadata are dimensions // and metrics applicable to any property such as `country` and `totalUsers`. GetUniversalMetadata(ctx context.Context, in *GetUniversalMetadataRequest, opts ...grpc.CallOption) (*UniversalMetadata, error) // Returns metadata for dimensions and metrics available in reporting methods. // Used to explore the dimensions and metrics. In this method, a Google // Analytics App + Web Property Identifier is specified in the request, and // the metadata response includes Custom dimensions and metrics as well as // Universal metadata. // // For example if a custom metric with parameter name `levels_unlocked` is // registered to a property, the Metadata response will contain // `customEvent:levels_unlocked`. Universal metadata are dimensions and // metrics applicable to any property such as `country` and `totalUsers`. GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*Metadata, error) }
AlphaAnalyticsDataClient is the client API for AlphaAnalyticsData service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAlphaAnalyticsDataClient ¶
func NewAlphaAnalyticsDataClient(cc grpc.ClientConnInterface) AlphaAnalyticsDataClient
type AlphaAnalyticsDataServer ¶
type AlphaAnalyticsDataServer interface { // Returns a customized report of your Google Analytics event data. Reports // contain statistics derived from data collected by the Google Analytics // tracking code. The data returned from the API is as a table with columns // for the requested dimensions and metrics. Metrics are individual // measurements of user activity on your property, such as active users or // event count. Dimensions break down metrics across some common criteria, // such as country or event name. RunReport(context.Context, *RunReportRequest) (*RunReportResponse, error) // Returns a customized pivot report of your Google Analytics event data. // Pivot reports are more advanced and expressive formats than regular // reports. In a pivot report, dimensions are only visible if they are // included in a pivot. Multiple pivots can be specified to further dissect // your data. RunPivotReport(context.Context, *RunPivotReportRequest) (*RunPivotReportResponse, error) // Returns multiple reports in a batch. All reports must be for the same // Entity. BatchRunReports(context.Context, *BatchRunReportsRequest) (*BatchRunReportsResponse, error) // Returns multiple pivot reports in a batch. All reports must be for the same // Entity. BatchRunPivotReports(context.Context, *BatchRunPivotReportsRequest) (*BatchRunPivotReportsResponse, error) // Returns metadata for dimensions and metrics available in reporting methods. // Used to explore the dimensions and metrics. Dimensions and metrics will be // mostly added over time, but renames and deletions may occur. // // This method returns Universal Metadata. Universal Metadata are dimensions // and metrics applicable to any property such as `country` and `totalUsers`. GetUniversalMetadata(context.Context, *GetUniversalMetadataRequest) (*UniversalMetadata, error) // Returns metadata for dimensions and metrics available in reporting methods. // Used to explore the dimensions and metrics. In this method, a Google // Analytics App + Web Property Identifier is specified in the request, and // the metadata response includes Custom dimensions and metrics as well as // Universal metadata. // // For example if a custom metric with parameter name `levels_unlocked` is // registered to a property, the Metadata response will contain // `customEvent:levels_unlocked`. Universal metadata are dimensions and // metrics applicable to any property such as `country` and `totalUsers`. GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error) }
AlphaAnalyticsDataServer is the server API for AlphaAnalyticsData service.
type BatchRunPivotReportsRequest ¶
type BatchRunPivotReportsRequest struct { // A property whose events are tracked. This entity must be specified for the // batch. The entity within RunPivotReportRequest may either be unspecified or // consistent with this entity. Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // Individual requests. Each request has a separate pivot report response. // Each batch request is allowed up to 5 requests. Requests []*RunPivotReportRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
The batch request containing multiple pivot report requests.
func (*BatchRunPivotReportsRequest) Descriptor
deprecated
func (*BatchRunPivotReportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunPivotReportsRequest.ProtoReflect.Descriptor instead.
func (*BatchRunPivotReportsRequest) GetEntity ¶
func (x *BatchRunPivotReportsRequest) GetEntity() *Entity
func (*BatchRunPivotReportsRequest) GetRequests ¶
func (x *BatchRunPivotReportsRequest) GetRequests() []*RunPivotReportRequest
func (*BatchRunPivotReportsRequest) ProtoMessage ¶
func (*BatchRunPivotReportsRequest) ProtoMessage()
func (*BatchRunPivotReportsRequest) ProtoReflect ¶
func (x *BatchRunPivotReportsRequest) ProtoReflect() protoreflect.Message
func (*BatchRunPivotReportsRequest) Reset ¶
func (x *BatchRunPivotReportsRequest) Reset()
func (*BatchRunPivotReportsRequest) String ¶
func (x *BatchRunPivotReportsRequest) String() string
type BatchRunPivotReportsResponse ¶
type BatchRunPivotReportsResponse struct { // Individual responses. Each response has a separate pivot report request. PivotReports []*RunPivotReportResponse `protobuf:"bytes,1,rep,name=pivot_reports,json=pivotReports,proto3" json:"pivot_reports,omitempty"` // contains filtered or unexported fields }
The batch response containing multiple pivot reports.
func (*BatchRunPivotReportsResponse) Descriptor
deprecated
func (*BatchRunPivotReportsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunPivotReportsResponse.ProtoReflect.Descriptor instead.
func (*BatchRunPivotReportsResponse) GetPivotReports ¶
func (x *BatchRunPivotReportsResponse) GetPivotReports() []*RunPivotReportResponse
func (*BatchRunPivotReportsResponse) ProtoMessage ¶
func (*BatchRunPivotReportsResponse) ProtoMessage()
func (*BatchRunPivotReportsResponse) ProtoReflect ¶
func (x *BatchRunPivotReportsResponse) ProtoReflect() protoreflect.Message
func (*BatchRunPivotReportsResponse) Reset ¶
func (x *BatchRunPivotReportsResponse) Reset()
func (*BatchRunPivotReportsResponse) String ¶
func (x *BatchRunPivotReportsResponse) String() string
type BatchRunReportsRequest ¶
type BatchRunReportsRequest struct { // A property whose events are tracked. This entity must be specified for the // batch. The entity within RunReportRequest may either be unspecified or // consistent with this entity. Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // Individual requests. Each request has a separate report response. Each // batch request is allowed up to 5 requests. Requests []*RunReportRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
The batch request containing multiple report requests.
func (*BatchRunReportsRequest) Descriptor
deprecated
func (*BatchRunReportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunReportsRequest.ProtoReflect.Descriptor instead.
func (*BatchRunReportsRequest) GetEntity ¶
func (x *BatchRunReportsRequest) GetEntity() *Entity
func (*BatchRunReportsRequest) GetRequests ¶
func (x *BatchRunReportsRequest) GetRequests() []*RunReportRequest
func (*BatchRunReportsRequest) ProtoMessage ¶
func (*BatchRunReportsRequest) ProtoMessage()
func (*BatchRunReportsRequest) ProtoReflect ¶
func (x *BatchRunReportsRequest) ProtoReflect() protoreflect.Message
func (*BatchRunReportsRequest) Reset ¶
func (x *BatchRunReportsRequest) Reset()
func (*BatchRunReportsRequest) String ¶
func (x *BatchRunReportsRequest) String() string
type BatchRunReportsResponse ¶
type BatchRunReportsResponse struct { // Individual responses. Each response has a separate report request. Reports []*RunReportResponse `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` // contains filtered or unexported fields }
The batch response containing multiple reports.
func (*BatchRunReportsResponse) Descriptor
deprecated
func (*BatchRunReportsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunReportsResponse.ProtoReflect.Descriptor instead.
func (*BatchRunReportsResponse) GetReports ¶
func (x *BatchRunReportsResponse) GetReports() []*RunReportResponse
func (*BatchRunReportsResponse) ProtoMessage ¶
func (*BatchRunReportsResponse) ProtoMessage()
func (*BatchRunReportsResponse) ProtoReflect ¶
func (x *BatchRunReportsResponse) ProtoReflect() protoreflect.Message
func (*BatchRunReportsResponse) Reset ¶
func (x *BatchRunReportsResponse) Reset()
func (*BatchRunReportsResponse) String ¶
func (x *BatchRunReportsResponse) String() string
type Cohort ¶
type Cohort struct { // Assigns a name to this cohort. The dimension `cohort` is valued to this // name in a report response. If set, cannot begin with `cohort_` or // `RESERVED_`. If not set, cohorts are named by their zero based index // `cohort_0`, `cohort_1`, etc. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The dimension used by cohort. Only supports `firstTouchDate` for retention // report. Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` // The cohort selects users whose first visit date is between start date // and end date defined in the `dateRange`. In a cohort request, this // `dateRange` is required and the `dateRanges` in the `RunReportRequest` or // `RunPivotReportRequest` must be unspecified. // // The date range should be aligned with the cohort's granularity. If // CohortsRange uses daily granularity, the date range can be aligned to any // day. If CohortsRange uses weekly granularity, the date range should be // aligned to the week boundary, starting at Sunday and ending Saturday. If // CohortsRange uses monthly granularity, the date range should be aligned to // the month, starting at the first and ending on the last day of the month. DateRange *DateRange `protobuf:"bytes,3,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"` // contains filtered or unexported fields }
Defines a cohort. A cohort is a group of users who share a common characteristic. For example, all users with the same acquisition date belong to the same cohort.
func (*Cohort) Descriptor
deprecated
func (*Cohort) GetDateRange ¶
func (*Cohort) GetDimension ¶
func (*Cohort) ProtoMessage ¶
func (*Cohort) ProtoMessage()
func (*Cohort) ProtoReflect ¶
func (x *Cohort) ProtoReflect() protoreflect.Message
type CohortReportSettings ¶
type CohortReportSettings struct { // If true, accumulates the result from first visit day to the end day. Not // supported in `RunReportRequest`. Accumulate bool `protobuf:"varint,1,opt,name=accumulate,proto3" json:"accumulate,omitempty"` // contains filtered or unexported fields }
Settings of a cohort report.
func (*CohortReportSettings) Descriptor
deprecated
func (*CohortReportSettings) Descriptor() ([]byte, []int)
Deprecated: Use CohortReportSettings.ProtoReflect.Descriptor instead.
func (*CohortReportSettings) GetAccumulate ¶
func (x *CohortReportSettings) GetAccumulate() bool
func (*CohortReportSettings) ProtoMessage ¶
func (*CohortReportSettings) ProtoMessage()
func (*CohortReportSettings) ProtoReflect ¶
func (x *CohortReportSettings) ProtoReflect() protoreflect.Message
func (*CohortReportSettings) Reset ¶
func (x *CohortReportSettings) Reset()
func (*CohortReportSettings) String ¶
func (x *CohortReportSettings) String() string
type CohortSpec ¶
type CohortSpec struct { // The definition for the cohorts. Cohorts []*Cohort `protobuf:"bytes,1,rep,name=cohorts,proto3" json:"cohorts,omitempty"` // The data ranges of cohorts. CohortsRange *CohortsRange `protobuf:"bytes,2,opt,name=cohorts_range,json=cohortsRange,proto3" json:"cohorts_range,omitempty"` // Settings of a cohort report. CohortReportSettings *CohortReportSettings `protobuf:"bytes,3,opt,name=cohort_report_settings,json=cohortReportSettings,proto3" json:"cohort_report_settings,omitempty"` // contains filtered or unexported fields }
Specification for a cohort report.
func (*CohortSpec) Descriptor
deprecated
func (*CohortSpec) Descriptor() ([]byte, []int)
Deprecated: Use CohortSpec.ProtoReflect.Descriptor instead.
func (*CohortSpec) GetCohortReportSettings ¶
func (x *CohortSpec) GetCohortReportSettings() *CohortReportSettings
func (*CohortSpec) GetCohorts ¶
func (x *CohortSpec) GetCohorts() []*Cohort
func (*CohortSpec) GetCohortsRange ¶
func (x *CohortSpec) GetCohortsRange() *CohortsRange
func (*CohortSpec) ProtoMessage ¶
func (*CohortSpec) ProtoMessage()
func (*CohortSpec) ProtoReflect ¶
func (x *CohortSpec) ProtoReflect() protoreflect.Message
func (*CohortSpec) Reset ¶
func (x *CohortSpec) Reset()
func (*CohortSpec) String ¶
func (x *CohortSpec) String() string
type CohortsRange ¶
type CohortsRange struct { // Reporting date range for each cohort is calculated based on these three // fields. Granularity CohortsRange_Granularity `` /* 136-byte string literal not displayed */ // For daily cohorts, this will be the start day offset. // For weekly cohorts, this will be the week offset. StartOffset int32 `protobuf:"varint,2,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` // For daily cohorts, this will be the end day offset. // For weekly cohorts, this will be the week offset. EndOffset int32 `protobuf:"varint,3,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` // contains filtered or unexported fields }
Describes date range for a cohort report.
func (*CohortsRange) Descriptor
deprecated
func (*CohortsRange) Descriptor() ([]byte, []int)
Deprecated: Use CohortsRange.ProtoReflect.Descriptor instead.
func (*CohortsRange) GetEndOffset ¶
func (x *CohortsRange) GetEndOffset() int32
func (*CohortsRange) GetGranularity ¶
func (x *CohortsRange) GetGranularity() CohortsRange_Granularity
func (*CohortsRange) GetStartOffset ¶
func (x *CohortsRange) GetStartOffset() int32
func (*CohortsRange) ProtoMessage ¶
func (*CohortsRange) ProtoMessage()
func (*CohortsRange) ProtoReflect ¶
func (x *CohortsRange) ProtoReflect() protoreflect.Message
func (*CohortsRange) Reset ¶
func (x *CohortsRange) Reset()
func (*CohortsRange) String ¶
func (x *CohortsRange) String() string
type CohortsRange_Granularity ¶
type CohortsRange_Granularity int32
Reporting granularity for the cohorts.
const ( // Unspecified. CohortsRange_GRANULARITY_UNSPECIFIED CohortsRange_Granularity = 0 // Daily CohortsRange_DAILY CohortsRange_Granularity = 1 // Weekly CohortsRange_WEEKLY CohortsRange_Granularity = 2 // Monthly CohortsRange_MONTHLY CohortsRange_Granularity = 3 )
func (CohortsRange_Granularity) Descriptor ¶
func (CohortsRange_Granularity) Descriptor() protoreflect.EnumDescriptor
func (CohortsRange_Granularity) Enum ¶
func (x CohortsRange_Granularity) Enum() *CohortsRange_Granularity
func (CohortsRange_Granularity) EnumDescriptor
deprecated
func (CohortsRange_Granularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use CohortsRange_Granularity.Descriptor instead.
func (CohortsRange_Granularity) Number ¶
func (x CohortsRange_Granularity) Number() protoreflect.EnumNumber
func (CohortsRange_Granularity) String ¶
func (x CohortsRange_Granularity) String() string
func (CohortsRange_Granularity) Type ¶
func (CohortsRange_Granularity) Type() protoreflect.EnumType
type DateRange ¶
type DateRange struct { // The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot // be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also // accepted, and in that case, the date is inferred based on the property's // reporting time zone. StartDate string `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` // The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot // be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is // also accepted, and in that case, the date is inferred based on the // property's reporting time zone. EndDate string `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // Assigns a name to this date range. The dimension `dateRange` is valued to // this name in a report response. If set, cannot begin with `date_range_` or // `RESERVED_`. If not set, date ranges are named by their zero based index in // the request: `date_range_0`, `date_range_1`, etc. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests are allowed up to 4 date ranges, and the union of the ranges can cover up to 1 year.
func (*DateRange) Descriptor
deprecated
func (*DateRange) GetEndDate ¶
func (*DateRange) GetStartDate ¶
func (*DateRange) ProtoMessage ¶
func (*DateRange) ProtoMessage()
func (*DateRange) ProtoReflect ¶
func (x *DateRange) ProtoReflect() protoreflect.Message
type Dimension ¶
type Dimension struct { // The name of the dimension. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // One dimension can be the result of an expression of multiple dimensions. // For example, dimension "country, city": concatenate(country, ", ", city). DimensionExpression *DimensionExpression `protobuf:"bytes,2,opt,name=dimension_expression,json=dimensionExpression,proto3" json:"dimension_expression,omitempty"` // contains filtered or unexported fields }
Dimensions are attributes of your data. For example, the dimension City indicates the city, for example, "Paris" or "New York", from which an event originates. Requests are allowed up to 8 dimensions.
func (*Dimension) Descriptor
deprecated
func (*Dimension) GetDimensionExpression ¶
func (x *Dimension) GetDimensionExpression() *DimensionExpression
func (*Dimension) ProtoMessage ¶
func (*Dimension) ProtoMessage()
func (*Dimension) ProtoReflect ¶
func (x *Dimension) ProtoReflect() protoreflect.Message
type DimensionExpression ¶
type DimensionExpression struct { // Specify one type of dimension expression for `DimensionExpression`. // // Types that are assignable to OneExpression: // *DimensionExpression_LowerCase // *DimensionExpression_UpperCase // *DimensionExpression_Concatenate OneExpression isDimensionExpression_OneExpression `protobuf_oneof:"one_expression"` // contains filtered or unexported fields }
Used to express a dimension which is the result of a formula of multiple dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1, symbol, dimension2).
func (*DimensionExpression) Descriptor
deprecated
func (*DimensionExpression) Descriptor() ([]byte, []int)
Deprecated: Use DimensionExpression.ProtoReflect.Descriptor instead.
func (*DimensionExpression) GetConcatenate ¶
func (x *DimensionExpression) GetConcatenate() *DimensionExpression_ConcatenateExpression
func (*DimensionExpression) GetLowerCase ¶
func (x *DimensionExpression) GetLowerCase() *DimensionExpression_CaseExpression
func (*DimensionExpression) GetOneExpression ¶
func (m *DimensionExpression) GetOneExpression() isDimensionExpression_OneExpression
func (*DimensionExpression) GetUpperCase ¶
func (x *DimensionExpression) GetUpperCase() *DimensionExpression_CaseExpression
func (*DimensionExpression) ProtoMessage ¶
func (*DimensionExpression) ProtoMessage()
func (*DimensionExpression) ProtoReflect ¶
func (x *DimensionExpression) ProtoReflect() protoreflect.Message
func (*DimensionExpression) Reset ¶
func (x *DimensionExpression) Reset()
func (*DimensionExpression) String ¶
func (x *DimensionExpression) String() string
type DimensionExpression_CaseExpression ¶
type DimensionExpression_CaseExpression struct { // Name of a dimension. The name must refer back to a name in dimensions // field of the request. DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"` // contains filtered or unexported fields }
Used to convert a dimension value to a single case.
func (*DimensionExpression_CaseExpression) Descriptor
deprecated
func (*DimensionExpression_CaseExpression) Descriptor() ([]byte, []int)
Deprecated: Use DimensionExpression_CaseExpression.ProtoReflect.Descriptor instead.
func (*DimensionExpression_CaseExpression) GetDimensionName ¶
func (x *DimensionExpression_CaseExpression) GetDimensionName() string
func (*DimensionExpression_CaseExpression) ProtoMessage ¶
func (*DimensionExpression_CaseExpression) ProtoMessage()
func (*DimensionExpression_CaseExpression) ProtoReflect ¶
func (x *DimensionExpression_CaseExpression) ProtoReflect() protoreflect.Message
func (*DimensionExpression_CaseExpression) Reset ¶
func (x *DimensionExpression_CaseExpression) Reset()
func (*DimensionExpression_CaseExpression) String ¶
func (x *DimensionExpression_CaseExpression) String() string
type DimensionExpression_Concatenate ¶
type DimensionExpression_Concatenate struct { // Used to combine dimension values to a single dimension. // For example, dimension "country, city": concatenate(country, ", ", city). Concatenate *DimensionExpression_ConcatenateExpression `protobuf:"bytes,6,opt,name=concatenate,proto3,oneof"` }
type DimensionExpression_ConcatenateExpression ¶
type DimensionExpression_ConcatenateExpression struct { // Names of dimensions. The names must refer back to names in the dimensions // field of the request. DimensionNames []string `protobuf:"bytes,1,rep,name=dimension_names,json=dimensionNames,proto3" json:"dimension_names,omitempty"` // The delimiter placed between dimension names. // // Delimiters are often single characters such as "|" or "," but can be // longer strings. If a dimension value contains the delimiter, both will be // present in response with no distinction. For example if dimension 1 value // = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the // response will contain "US,FR,JP". Delimiter string `protobuf:"bytes,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"` // contains filtered or unexported fields }
Used to combine dimension values to a single dimension.
func (*DimensionExpression_ConcatenateExpression) Descriptor
deprecated
func (*DimensionExpression_ConcatenateExpression) Descriptor() ([]byte, []int)
Deprecated: Use DimensionExpression_ConcatenateExpression.ProtoReflect.Descriptor instead.
func (*DimensionExpression_ConcatenateExpression) GetDelimiter ¶
func (x *DimensionExpression_ConcatenateExpression) GetDelimiter() string
func (*DimensionExpression_ConcatenateExpression) GetDimensionNames ¶
func (x *DimensionExpression_ConcatenateExpression) GetDimensionNames() []string
func (*DimensionExpression_ConcatenateExpression) ProtoMessage ¶
func (*DimensionExpression_ConcatenateExpression) ProtoMessage()
func (*DimensionExpression_ConcatenateExpression) ProtoReflect ¶
func (x *DimensionExpression_ConcatenateExpression) ProtoReflect() protoreflect.Message
func (*DimensionExpression_ConcatenateExpression) Reset ¶
func (x *DimensionExpression_ConcatenateExpression) Reset()
func (*DimensionExpression_ConcatenateExpression) String ¶
func (x *DimensionExpression_ConcatenateExpression) String() string
type DimensionExpression_LowerCase ¶
type DimensionExpression_LowerCase struct { // Used to convert a dimension value to lower case. LowerCase *DimensionExpression_CaseExpression `protobuf:"bytes,4,opt,name=lower_case,json=lowerCase,proto3,oneof"` }
type DimensionExpression_UpperCase ¶
type DimensionExpression_UpperCase struct { // Used to convert a dimension value to upper case. UpperCase *DimensionExpression_CaseExpression `protobuf:"bytes,5,opt,name=upper_case,json=upperCase,proto3,oneof"` }
type DimensionHeader ¶
type DimensionHeader struct { // The dimension's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.
func (*DimensionHeader) Descriptor
deprecated
func (*DimensionHeader) Descriptor() ([]byte, []int)
Deprecated: Use DimensionHeader.ProtoReflect.Descriptor instead.
func (*DimensionHeader) GetName ¶
func (x *DimensionHeader) GetName() string
func (*DimensionHeader) ProtoMessage ¶
func (*DimensionHeader) ProtoMessage()
func (*DimensionHeader) ProtoReflect ¶
func (x *DimensionHeader) ProtoReflect() protoreflect.Message
func (*DimensionHeader) Reset ¶
func (x *DimensionHeader) Reset()
func (*DimensionHeader) String ¶
func (x *DimensionHeader) String() string
type DimensionMetadata ¶
type DimensionMetadata struct { // This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For // example, `eventName`. ApiName string `protobuf:"bytes,1,opt,name=api_name,json=apiName,proto3" json:"api_name,omitempty"` // This dimension's name within the Google Analytics user interface. For // example, `Event name`. UiName string `protobuf:"bytes,2,opt,name=ui_name,json=uiName,proto3" json:"ui_name,omitempty"` // Description of how this dimension is used and calculated. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Still usable but deprecated names for this dimension. If populated, this // dimension is available by either `apiName` or one of `deprecatedApiNames` // for a period of time. After the deprecation period, the dimension will be // available only by `apiName`. DeprecatedApiNames []string `protobuf:"bytes,4,rep,name=deprecated_api_names,json=deprecatedApiNames,proto3" json:"deprecated_api_names,omitempty"` // contains filtered or unexported fields }
Explains a dimension.
func (*DimensionMetadata) Descriptor
deprecated
func (*DimensionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DimensionMetadata.ProtoReflect.Descriptor instead.
func (*DimensionMetadata) GetApiName ¶
func (x *DimensionMetadata) GetApiName() string
func (*DimensionMetadata) GetDeprecatedApiNames ¶
func (x *DimensionMetadata) GetDeprecatedApiNames() []string
func (*DimensionMetadata) GetDescription ¶
func (x *DimensionMetadata) GetDescription() string
func (*DimensionMetadata) GetUiName ¶
func (x *DimensionMetadata) GetUiName() string
func (*DimensionMetadata) ProtoMessage ¶
func (*DimensionMetadata) ProtoMessage()
func (*DimensionMetadata) ProtoReflect ¶
func (x *DimensionMetadata) ProtoReflect() protoreflect.Message
func (*DimensionMetadata) Reset ¶
func (x *DimensionMetadata) Reset()
func (*DimensionMetadata) String ¶
func (x *DimensionMetadata) String() string
type DimensionValue ¶
type DimensionValue struct { // One kind of dimension value // // Types that are assignable to OneValue: // *DimensionValue_Value OneValue isDimensionValue_OneValue `protobuf_oneof:"one_value"` // contains filtered or unexported fields }
The value of a dimension.
func (*DimensionValue) Descriptor
deprecated
func (*DimensionValue) Descriptor() ([]byte, []int)
Deprecated: Use DimensionValue.ProtoReflect.Descriptor instead.
func (*DimensionValue) GetOneValue ¶
func (m *DimensionValue) GetOneValue() isDimensionValue_OneValue
func (*DimensionValue) GetValue ¶
func (x *DimensionValue) GetValue() string
func (*DimensionValue) ProtoMessage ¶
func (*DimensionValue) ProtoMessage()
func (*DimensionValue) ProtoReflect ¶
func (x *DimensionValue) ProtoReflect() protoreflect.Message
func (*DimensionValue) Reset ¶
func (x *DimensionValue) Reset()
func (*DimensionValue) String ¶
func (x *DimensionValue) String() string
type DimensionValue_Value ¶
type DimensionValue_Value struct { // Value as a string if the dimension type is a string. Value string `protobuf:"bytes,1,opt,name=value,proto3,oneof"` }
type Entity ¶
type Entity struct { // A Google Analytics App + Web property id. PropertyId string `protobuf:"bytes,1,opt,name=property_id,json=propertyId,proto3" json:"property_id,omitempty"` // contains filtered or unexported fields }
The unique identifier of the property whose events are tracked.
func (*Entity) Descriptor
deprecated
func (*Entity) GetPropertyId ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
type Filter ¶
type Filter struct { // The dimension name or metric name. Must be a name defined in dimensions // or metrics. FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Specify one type of filter for `Filter`. // // Types that are assignable to OneFilter: // *Filter_NullFilter // *Filter_StringFilter_ // *Filter_InListFilter_ // *Filter_NumericFilter_ // *Filter_BetweenFilter_ OneFilter isFilter_OneFilter `protobuf_oneof:"one_filter"` // contains filtered or unexported fields }
An expression to filter dimension or metric values.
func (*Filter) Descriptor
deprecated
func (*Filter) GetBetweenFilter ¶
func (x *Filter) GetBetweenFilter() *Filter_BetweenFilter
func (*Filter) GetFieldName ¶
func (*Filter) GetInListFilter ¶
func (x *Filter) GetInListFilter() *Filter_InListFilter
func (*Filter) GetNullFilter ¶
func (*Filter) GetNumericFilter ¶
func (x *Filter) GetNumericFilter() *Filter_NumericFilter
func (*Filter) GetOneFilter ¶
func (m *Filter) GetOneFilter() isFilter_OneFilter
func (*Filter) GetStringFilter ¶
func (x *Filter) GetStringFilter() *Filter_StringFilter
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type FilterExpression ¶
type FilterExpression struct { // Specify one type of filter expression for `FilterExpression`. // // Types that are assignable to Expr: // *FilterExpression_AndGroup // *FilterExpression_OrGroup // *FilterExpression_NotExpression // *FilterExpression_Filter Expr isFilterExpression_Expr `protobuf_oneof:"expr"` // contains filtered or unexported fields }
To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics.
func (*FilterExpression) Descriptor
deprecated
func (*FilterExpression) Descriptor() ([]byte, []int)
Deprecated: Use FilterExpression.ProtoReflect.Descriptor instead.
func (*FilterExpression) GetAndGroup ¶
func (x *FilterExpression) GetAndGroup() *FilterExpressionList
func (*FilterExpression) GetExpr ¶
func (m *FilterExpression) GetExpr() isFilterExpression_Expr
func (*FilterExpression) GetFilter ¶
func (x *FilterExpression) GetFilter() *Filter
func (*FilterExpression) GetNotExpression ¶
func (x *FilterExpression) GetNotExpression() *FilterExpression
func (*FilterExpression) GetOrGroup ¶
func (x *FilterExpression) GetOrGroup() *FilterExpressionList
func (*FilterExpression) ProtoMessage ¶
func (*FilterExpression) ProtoMessage()
func (*FilterExpression) ProtoReflect ¶
func (x *FilterExpression) ProtoReflect() protoreflect.Message
func (*FilterExpression) Reset ¶
func (x *FilterExpression) Reset()
func (*FilterExpression) String ¶
func (x *FilterExpression) String() string
type FilterExpressionList ¶
type FilterExpressionList struct { // A list of filter expressions. Expressions []*FilterExpression `protobuf:"bytes,1,rep,name=expressions,proto3" json:"expressions,omitempty"` // contains filtered or unexported fields }
A list of filter expressions.
func (*FilterExpressionList) Descriptor
deprecated
func (*FilterExpressionList) Descriptor() ([]byte, []int)
Deprecated: Use FilterExpressionList.ProtoReflect.Descriptor instead.
func (*FilterExpressionList) GetExpressions ¶
func (x *FilterExpressionList) GetExpressions() []*FilterExpression
func (*FilterExpressionList) ProtoMessage ¶
func (*FilterExpressionList) ProtoMessage()
func (*FilterExpressionList) ProtoReflect ¶
func (x *FilterExpressionList) ProtoReflect() protoreflect.Message
func (*FilterExpressionList) Reset ¶
func (x *FilterExpressionList) Reset()
func (*FilterExpressionList) String ¶
func (x *FilterExpressionList) String() string
type FilterExpression_AndGroup ¶
type FilterExpression_AndGroup struct { // The FilterExpressions in and_group have an AND relationship. AndGroup *FilterExpressionList `protobuf:"bytes,1,opt,name=and_group,json=andGroup,proto3,oneof"` }
type FilterExpression_Filter ¶
type FilterExpression_Filter struct { // A primitive filter. // All fields in filter in same FilterExpression needs to be either all // dimensions or metrics. Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof"` }
type FilterExpression_NotExpression ¶
type FilterExpression_NotExpression struct { // The FilterExpression is NOT of not_expression. NotExpression *FilterExpression `protobuf:"bytes,3,opt,name=not_expression,json=notExpression,proto3,oneof"` }
type FilterExpression_OrGroup ¶
type FilterExpression_OrGroup struct { // The FilterExpressions in or_group have an OR relationship. OrGroup *FilterExpressionList `protobuf:"bytes,2,opt,name=or_group,json=orGroup,proto3,oneof"` }
type Filter_BetweenFilter ¶
type Filter_BetweenFilter struct { // Begins with this number. FromValue *NumericValue `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"` // Ends with this number. ToValue *NumericValue `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"` // contains filtered or unexported fields }
To express that the result needs to be between two numbers (inclusive).
func (*Filter_BetweenFilter) Descriptor
deprecated
func (*Filter_BetweenFilter) Descriptor() ([]byte, []int)
Deprecated: Use Filter_BetweenFilter.ProtoReflect.Descriptor instead.
func (*Filter_BetweenFilter) GetFromValue ¶
func (x *Filter_BetweenFilter) GetFromValue() *NumericValue
func (*Filter_BetweenFilter) GetToValue ¶
func (x *Filter_BetweenFilter) GetToValue() *NumericValue
func (*Filter_BetweenFilter) ProtoMessage ¶
func (*Filter_BetweenFilter) ProtoMessage()
func (*Filter_BetweenFilter) ProtoReflect ¶
func (x *Filter_BetweenFilter) ProtoReflect() protoreflect.Message
func (*Filter_BetweenFilter) Reset ¶
func (x *Filter_BetweenFilter) Reset()
func (*Filter_BetweenFilter) String ¶
func (x *Filter_BetweenFilter) String() string
type Filter_BetweenFilter_ ¶
type Filter_BetweenFilter_ struct { // A filter for two values. BetweenFilter *Filter_BetweenFilter `protobuf:"bytes,6,opt,name=between_filter,json=betweenFilter,proto3,oneof"` }
type Filter_InListFilter ¶
type Filter_InListFilter struct { // The list of string values. // Must be non-empty. Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // If true, the string value is case sensitive. CaseSensitive bool `protobuf:"varint,2,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"` // contains filtered or unexported fields }
The result needs to be in a list of string values.
func (*Filter_InListFilter) Descriptor
deprecated
func (*Filter_InListFilter) Descriptor() ([]byte, []int)
Deprecated: Use Filter_InListFilter.ProtoReflect.Descriptor instead.
func (*Filter_InListFilter) GetCaseSensitive ¶
func (x *Filter_InListFilter) GetCaseSensitive() bool
func (*Filter_InListFilter) GetValues ¶
func (x *Filter_InListFilter) GetValues() []string
func (*Filter_InListFilter) ProtoMessage ¶
func (*Filter_InListFilter) ProtoMessage()
func (*Filter_InListFilter) ProtoReflect ¶
func (x *Filter_InListFilter) ProtoReflect() protoreflect.Message
func (*Filter_InListFilter) Reset ¶
func (x *Filter_InListFilter) Reset()
func (*Filter_InListFilter) String ¶
func (x *Filter_InListFilter) String() string
type Filter_InListFilter_ ¶
type Filter_InListFilter_ struct { // A filter for in list values. InListFilter *Filter_InListFilter `protobuf:"bytes,4,opt,name=in_list_filter,json=inListFilter,proto3,oneof"` }
type Filter_NullFilter ¶
type Filter_NullFilter struct { // A filter for null values. NullFilter bool `protobuf:"varint,2,opt,name=null_filter,json=nullFilter,proto3,oneof"` }
type Filter_NumericFilter ¶
type Filter_NumericFilter struct { // The operation type for this filter. Operation Filter_NumericFilter_Operation `` /* 138-byte string literal not displayed */ // A numeric value or a date value. Value *NumericValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Filters for numeric or date values.
func (*Filter_NumericFilter) Descriptor
deprecated
func (*Filter_NumericFilter) Descriptor() ([]byte, []int)
Deprecated: Use Filter_NumericFilter.ProtoReflect.Descriptor instead.
func (*Filter_NumericFilter) GetOperation ¶
func (x *Filter_NumericFilter) GetOperation() Filter_NumericFilter_Operation
func (*Filter_NumericFilter) GetValue ¶
func (x *Filter_NumericFilter) GetValue() *NumericValue
func (*Filter_NumericFilter) ProtoMessage ¶
func (*Filter_NumericFilter) ProtoMessage()
func (*Filter_NumericFilter) ProtoReflect ¶
func (x *Filter_NumericFilter) ProtoReflect() protoreflect.Message
func (*Filter_NumericFilter) Reset ¶
func (x *Filter_NumericFilter) Reset()
func (*Filter_NumericFilter) String ¶
func (x *Filter_NumericFilter) String() string
type Filter_NumericFilter_ ¶
type Filter_NumericFilter_ struct { // A filter for numeric or date values. NumericFilter *Filter_NumericFilter `protobuf:"bytes,5,opt,name=numeric_filter,json=numericFilter,proto3,oneof"` }
type Filter_NumericFilter_Operation ¶
type Filter_NumericFilter_Operation int32
The operation applied to a numeric filter
const ( // Unspecified. Filter_NumericFilter_OPERATION_UNSPECIFIED Filter_NumericFilter_Operation = 0 // Equal Filter_NumericFilter_EQUAL Filter_NumericFilter_Operation = 1 // Less than Filter_NumericFilter_LESS_THAN Filter_NumericFilter_Operation = 2 // Less than or equal Filter_NumericFilter_LESS_THAN_OR_EQUAL Filter_NumericFilter_Operation = 3 // Greater than Filter_NumericFilter_GREATER_THAN Filter_NumericFilter_Operation = 4 // Greater than or equal Filter_NumericFilter_GREATER_THAN_OR_EQUAL Filter_NumericFilter_Operation = 5 )
func (Filter_NumericFilter_Operation) Descriptor ¶
func (Filter_NumericFilter_Operation) Descriptor() protoreflect.EnumDescriptor
func (Filter_NumericFilter_Operation) Enum ¶
func (x Filter_NumericFilter_Operation) Enum() *Filter_NumericFilter_Operation
func (Filter_NumericFilter_Operation) EnumDescriptor
deprecated
func (Filter_NumericFilter_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Filter_NumericFilter_Operation.Descriptor instead.
func (Filter_NumericFilter_Operation) Number ¶
func (x Filter_NumericFilter_Operation) Number() protoreflect.EnumNumber
func (Filter_NumericFilter_Operation) String ¶
func (x Filter_NumericFilter_Operation) String() string
func (Filter_NumericFilter_Operation) Type ¶
func (Filter_NumericFilter_Operation) Type() protoreflect.EnumType
type Filter_StringFilter ¶
type Filter_StringFilter struct { // The match type for this filter. MatchType Filter_StringFilter_MatchType `` /* 154-byte string literal not displayed */ // The string value used for the matching. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // If true, the string value is case sensitive. CaseSensitive bool `protobuf:"varint,3,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"` // contains filtered or unexported fields }
The filter for string
func (*Filter_StringFilter) Descriptor
deprecated
func (*Filter_StringFilter) Descriptor() ([]byte, []int)
Deprecated: Use Filter_StringFilter.ProtoReflect.Descriptor instead.
func (*Filter_StringFilter) GetCaseSensitive ¶
func (x *Filter_StringFilter) GetCaseSensitive() bool
func (*Filter_StringFilter) GetMatchType ¶
func (x *Filter_StringFilter) GetMatchType() Filter_StringFilter_MatchType
func (*Filter_StringFilter) GetValue ¶
func (x *Filter_StringFilter) GetValue() string
func (*Filter_StringFilter) ProtoMessage ¶
func (*Filter_StringFilter) ProtoMessage()
func (*Filter_StringFilter) ProtoReflect ¶
func (x *Filter_StringFilter) ProtoReflect() protoreflect.Message
func (*Filter_StringFilter) Reset ¶
func (x *Filter_StringFilter) Reset()
func (*Filter_StringFilter) String ¶
func (x *Filter_StringFilter) String() string
type Filter_StringFilter_ ¶
type Filter_StringFilter_ struct { // Strings related filter. StringFilter *Filter_StringFilter `protobuf:"bytes,3,opt,name=string_filter,json=stringFilter,proto3,oneof"` }
type Filter_StringFilter_MatchType ¶
type Filter_StringFilter_MatchType int32
The match type of a string filter
const ( // Unspecified Filter_StringFilter_MATCH_TYPE_UNSPECIFIED Filter_StringFilter_MatchType = 0 // Exact match of the string value. Filter_StringFilter_EXACT Filter_StringFilter_MatchType = 1 // Begins with the string value. Filter_StringFilter_BEGINS_WITH Filter_StringFilter_MatchType = 2 // Ends with the string value. Filter_StringFilter_ENDS_WITH Filter_StringFilter_MatchType = 3 // Contains the string value. Filter_StringFilter_CONTAINS Filter_StringFilter_MatchType = 4 // Full regular expression match with the string value. Filter_StringFilter_FULL_REGEXP Filter_StringFilter_MatchType = 5 // Partial regular expression match with the string value. Filter_StringFilter_PARTIAL_REGEXP Filter_StringFilter_MatchType = 6 )
func (Filter_StringFilter_MatchType) Descriptor ¶
func (Filter_StringFilter_MatchType) Descriptor() protoreflect.EnumDescriptor
func (Filter_StringFilter_MatchType) Enum ¶
func (x Filter_StringFilter_MatchType) Enum() *Filter_StringFilter_MatchType
func (Filter_StringFilter_MatchType) EnumDescriptor
deprecated
func (Filter_StringFilter_MatchType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Filter_StringFilter_MatchType.Descriptor instead.
func (Filter_StringFilter_MatchType) Number ¶
func (x Filter_StringFilter_MatchType) Number() protoreflect.EnumNumber
func (Filter_StringFilter_MatchType) String ¶
func (x Filter_StringFilter_MatchType) String() string
func (Filter_StringFilter_MatchType) Type ¶
func (Filter_StringFilter_MatchType) Type() protoreflect.EnumType
type GetMetadataRequest ¶
type GetMetadataRequest struct { // Required. The resource name of the metadata to retrieve. This name field is // specified in the URL path and not URL parameters. Property is a numeric // Google Analytics App + Web Property identifier. // // Example: properties/1234/metadata Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for a property's dimension and metric metadata.
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) GetName ¶
func (x *GetMetadataRequest) GetName() string
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
type GetUniversalMetadataRequest ¶
type GetUniversalMetadataRequest struct {
// contains filtered or unexported fields
}
Request for the universal dimension and metric metadata.
func (*GetUniversalMetadataRequest) Descriptor
deprecated
func (*GetUniversalMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUniversalMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetUniversalMetadataRequest) ProtoMessage ¶
func (*GetUniversalMetadataRequest) ProtoMessage()
func (*GetUniversalMetadataRequest) ProtoReflect ¶
func (x *GetUniversalMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetUniversalMetadataRequest) Reset ¶
func (x *GetUniversalMetadataRequest) Reset()
func (*GetUniversalMetadataRequest) String ¶
func (x *GetUniversalMetadataRequest) String() string
type Metadata ¶
type Metadata struct { // Resource name of this metadata. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The dimensions descriptions. Dimensions []*DimensionMetadata `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"` // The metric descriptions. Metrics []*MetricMetadata `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
The dimensions and metrics currently accepted in reporting methods.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetDimensions ¶
func (x *Metadata) GetDimensions() []*DimensionMetadata
func (*Metadata) GetMetrics ¶
func (x *Metadata) GetMetrics() []*MetricMetadata
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Metric ¶
type Metric struct { // The name of the metric. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A mathematical expression for derived metrics. For example, the metric // Event count per user is eventCount/totalUsers. Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // Indicates if a metric is invisible. // If a metric is invisible, the metric is not in the response, but can be // used in filters, order_bys or being referred to in a metric expression. Invisible bool `protobuf:"varint,3,opt,name=invisible,proto3" json:"invisible,omitempty"` // contains filtered or unexported fields }
The quantitative measurements of a report. For example, the metric eventCount is the total number of events. Requests are allowed up to 10 metrics.
func (*Metric) Descriptor
deprecated
func (*Metric) GetExpression ¶
func (*Metric) GetInvisible ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type MetricAggregation ¶
type MetricAggregation int32
Represents aggregation of metrics.
const ( // Unspecified operator. MetricAggregation_METRIC_AGGREGATION_UNSPECIFIED MetricAggregation = 0 // SUM operator. MetricAggregation_TOTAL MetricAggregation = 1 // Minimum operator. MetricAggregation_MINIMUM MetricAggregation = 5 // Maximum operator. MetricAggregation_MAXIMUM MetricAggregation = 6 // Count operator. MetricAggregation_COUNT MetricAggregation = 4 )
func (MetricAggregation) Descriptor ¶
func (MetricAggregation) Descriptor() protoreflect.EnumDescriptor
func (MetricAggregation) Enum ¶
func (x MetricAggregation) Enum() *MetricAggregation
func (MetricAggregation) EnumDescriptor
deprecated
func (MetricAggregation) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricAggregation.Descriptor instead.
func (MetricAggregation) Number ¶
func (x MetricAggregation) Number() protoreflect.EnumNumber
func (MetricAggregation) String ¶
func (x MetricAggregation) String() string
func (MetricAggregation) Type ¶
func (MetricAggregation) Type() protoreflect.EnumType
type MetricHeader ¶
type MetricHeader struct { // The metric's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The metric's data type. Type MetricType `protobuf:"varint,2,opt,name=type,proto3,enum=google.analytics.data.v1alpha.MetricType" json:"type,omitempty"` // contains filtered or unexported fields }
Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.
func (*MetricHeader) Descriptor
deprecated
func (*MetricHeader) Descriptor() ([]byte, []int)
Deprecated: Use MetricHeader.ProtoReflect.Descriptor instead.
func (*MetricHeader) GetName ¶
func (x *MetricHeader) GetName() string
func (*MetricHeader) GetType ¶
func (x *MetricHeader) GetType() MetricType
func (*MetricHeader) ProtoMessage ¶
func (*MetricHeader) ProtoMessage()
func (*MetricHeader) ProtoReflect ¶
func (x *MetricHeader) ProtoReflect() protoreflect.Message
func (*MetricHeader) Reset ¶
func (x *MetricHeader) Reset()
func (*MetricHeader) String ¶
func (x *MetricHeader) String() string
type MetricMetadata ¶
type MetricMetadata struct { // A metric name. Useable in [Metric](#Metric)'s `name`. For example, // `eventCount`. ApiName string `protobuf:"bytes,1,opt,name=api_name,json=apiName,proto3" json:"api_name,omitempty"` // This metric's name within the Google Analytics user interface. For example, // `Event count`. UiName string `protobuf:"bytes,2,opt,name=ui_name,json=uiName,proto3" json:"ui_name,omitempty"` // Description of how this metric is used and calculated. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Still usable but deprecated names for this metric. If populated, this // metric is available by either `apiName` or one of `deprecatedApiNames` // for a period of time. After the deprecation period, the metric will be // available only by `apiName`. DeprecatedApiNames []string `protobuf:"bytes,4,rep,name=deprecated_api_names,json=deprecatedApiNames,proto3" json:"deprecated_api_names,omitempty"` // The type of this metric. Type MetricType `protobuf:"varint,5,opt,name=type,proto3,enum=google.analytics.data.v1alpha.MetricType" json:"type,omitempty"` // The mathematical expression for this derived metric. Can be used in // [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics // are not expressions, and for non-expressions, this field is empty. Expression string `protobuf:"bytes,6,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
Explains a metric.
func (*MetricMetadata) Descriptor
deprecated
func (*MetricMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MetricMetadata.ProtoReflect.Descriptor instead.
func (*MetricMetadata) GetApiName ¶
func (x *MetricMetadata) GetApiName() string
func (*MetricMetadata) GetDeprecatedApiNames ¶
func (x *MetricMetadata) GetDeprecatedApiNames() []string
func (*MetricMetadata) GetDescription ¶
func (x *MetricMetadata) GetDescription() string
func (*MetricMetadata) GetExpression ¶
func (x *MetricMetadata) GetExpression() string
func (*MetricMetadata) GetType ¶
func (x *MetricMetadata) GetType() MetricType
func (*MetricMetadata) GetUiName ¶
func (x *MetricMetadata) GetUiName() string
func (*MetricMetadata) ProtoMessage ¶
func (*MetricMetadata) ProtoMessage()
func (*MetricMetadata) ProtoReflect ¶
func (x *MetricMetadata) ProtoReflect() protoreflect.Message
func (*MetricMetadata) Reset ¶
func (x *MetricMetadata) Reset()
func (*MetricMetadata) String ¶
func (x *MetricMetadata) String() string
type MetricType ¶
type MetricType int32
A metric's value type.
const ( // Unspecified type. MetricType_METRIC_TYPE_UNSPECIFIED MetricType = 0 // Integer type. MetricType_TYPE_INTEGER MetricType = 1 // Floating point type. MetricType_TYPE_FLOAT MetricType = 2 // A duration of seconds; a special floating point type. MetricType_TYPE_SECONDS MetricType = 4 // A duration in milliseconds; a special floating point type. MetricType_TYPE_MILLISECONDS MetricType = 5 // A duration in minutes; a special floating point type. MetricType_TYPE_MINUTES MetricType = 6 // A duration in hours; a special floating point type. MetricType_TYPE_HOURS MetricType = 7 // A custom metric of standard type; a special floating point type. MetricType_TYPE_STANDARD MetricType = 8 // An amount of money; a special floating point type. MetricType_TYPE_CURRENCY MetricType = 9 // A length in feet; a special floating point type. MetricType_TYPE_FEET MetricType = 10 // A length in miles; a special floating point type. MetricType_TYPE_MILES MetricType = 11 // A length in meters; a special floating point type. MetricType_TYPE_METERS MetricType = 12 // A length in kilometers; a special floating point type. MetricType_TYPE_KILOMETERS MetricType = 13 )
func (MetricType) Descriptor ¶
func (MetricType) Descriptor() protoreflect.EnumDescriptor
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) EnumDescriptor
deprecated
func (MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricType.Descriptor instead.
func (MetricType) Number ¶
func (x MetricType) Number() protoreflect.EnumNumber
func (MetricType) String ¶
func (x MetricType) String() string
func (MetricType) Type ¶
func (MetricType) Type() protoreflect.EnumType
type MetricValue ¶
type MetricValue struct { // One of metric value // // Types that are assignable to OneValue: // *MetricValue_Value OneValue isMetricValue_OneValue `protobuf_oneof:"one_value"` // contains filtered or unexported fields }
The value of a metric.
func (*MetricValue) Descriptor
deprecated
func (*MetricValue) Descriptor() ([]byte, []int)
Deprecated: Use MetricValue.ProtoReflect.Descriptor instead.
func (*MetricValue) GetOneValue ¶
func (m *MetricValue) GetOneValue() isMetricValue_OneValue
func (*MetricValue) GetValue ¶
func (x *MetricValue) GetValue() string
func (*MetricValue) ProtoMessage ¶
func (*MetricValue) ProtoMessage()
func (*MetricValue) ProtoReflect ¶
func (x *MetricValue) ProtoReflect() protoreflect.Message
func (*MetricValue) Reset ¶
func (x *MetricValue) Reset()
func (*MetricValue) String ¶
func (x *MetricValue) String() string
type MetricValue_Value ¶
type MetricValue_Value struct { // Measurement value. See MetricHeader for type. Value string `protobuf:"bytes,4,opt,name=value,proto3,oneof"` }
type NumericValue ¶
type NumericValue struct { // One of a numeric value // // Types that are assignable to OneValue: // *NumericValue_Int64Value // *NumericValue_DoubleValue OneValue isNumericValue_OneValue `protobuf_oneof:"one_value"` // contains filtered or unexported fields }
To represent a number.
func (*NumericValue) Descriptor
deprecated
func (*NumericValue) Descriptor() ([]byte, []int)
Deprecated: Use NumericValue.ProtoReflect.Descriptor instead.
func (*NumericValue) GetDoubleValue ¶
func (x *NumericValue) GetDoubleValue() float64
func (*NumericValue) GetInt64Value ¶
func (x *NumericValue) GetInt64Value() int64
func (*NumericValue) GetOneValue ¶
func (m *NumericValue) GetOneValue() isNumericValue_OneValue
func (*NumericValue) ProtoMessage ¶
func (*NumericValue) ProtoMessage()
func (*NumericValue) ProtoReflect ¶
func (x *NumericValue) ProtoReflect() protoreflect.Message
func (*NumericValue) Reset ¶
func (x *NumericValue) Reset()
func (*NumericValue) String ¶
func (x *NumericValue) String() string
type NumericValue_DoubleValue ¶
type NumericValue_DoubleValue struct { // Double value DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type NumericValue_Int64Value ¶
type NumericValue_Int64Value struct { // Integer value Int64Value int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value,proto3,oneof"` }
type OrderBy ¶
type OrderBy struct { // Specify one type of order by for `OrderBy`. // // Types that are assignable to OneOrderBy: // *OrderBy_Metric // *OrderBy_Dimension // *OrderBy_Pivot OneOrderBy isOrderBy_OneOrderBy `protobuf_oneof:"one_order_by"` // If true, sorts by descending order. Desc bool `protobuf:"varint,4,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
The sort options.
func (*OrderBy) Descriptor
deprecated
func (*OrderBy) GetDimension ¶
func (x *OrderBy) GetDimension() *OrderBy_DimensionOrderBy
func (*OrderBy) GetMetric ¶
func (x *OrderBy) GetMetric() *OrderBy_MetricOrderBy
func (*OrderBy) GetOneOrderBy ¶
func (m *OrderBy) GetOneOrderBy() isOrderBy_OneOrderBy
func (*OrderBy) GetPivot ¶
func (x *OrderBy) GetPivot() *OrderBy_PivotOrderBy
func (*OrderBy) ProtoMessage ¶
func (*OrderBy) ProtoMessage()
func (*OrderBy) ProtoReflect ¶
func (x *OrderBy) ProtoReflect() protoreflect.Message
type OrderBy_Dimension ¶
type OrderBy_Dimension struct { // Sorts results by a dimension's values. Dimension *OrderBy_DimensionOrderBy `protobuf:"bytes,2,opt,name=dimension,proto3,oneof"` }
type OrderBy_DimensionOrderBy ¶
type OrderBy_DimensionOrderBy struct { // A dimension name in the request to order by. DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"` // Controls the rule for dimension value ordering. OrderType OrderBy_DimensionOrderBy_OrderType `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
Sorts by dimension values.
func (*OrderBy_DimensionOrderBy) Descriptor
deprecated
func (*OrderBy_DimensionOrderBy) Descriptor() ([]byte, []int)
Deprecated: Use OrderBy_DimensionOrderBy.ProtoReflect.Descriptor instead.
func (*OrderBy_DimensionOrderBy) GetDimensionName ¶
func (x *OrderBy_DimensionOrderBy) GetDimensionName() string
func (*OrderBy_DimensionOrderBy) GetOrderType ¶
func (x *OrderBy_DimensionOrderBy) GetOrderType() OrderBy_DimensionOrderBy_OrderType
func (*OrderBy_DimensionOrderBy) ProtoMessage ¶
func (*OrderBy_DimensionOrderBy) ProtoMessage()
func (*OrderBy_DimensionOrderBy) ProtoReflect ¶
func (x *OrderBy_DimensionOrderBy) ProtoReflect() protoreflect.Message
func (*OrderBy_DimensionOrderBy) Reset ¶
func (x *OrderBy_DimensionOrderBy) Reset()
func (*OrderBy_DimensionOrderBy) String ¶
func (x *OrderBy_DimensionOrderBy) String() string
type OrderBy_DimensionOrderBy_OrderType ¶
type OrderBy_DimensionOrderBy_OrderType int32
Rule to order the string dimension values by.
const ( // Unspecified. OrderBy_DimensionOrderBy_ORDER_TYPE_UNSPECIFIED OrderBy_DimensionOrderBy_OrderType = 0 // Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < // "b" < "z". OrderBy_DimensionOrderBy_ALPHANUMERIC OrderBy_DimensionOrderBy_OrderType = 1 // Case insensitive alphanumeric sort by lower case Unicode code point. // For example, "2" < "A" < "b" < "X" < "z". OrderBy_DimensionOrderBy_CASE_INSENSITIVE_ALPHANUMERIC OrderBy_DimensionOrderBy_OrderType = 2 // Dimension values are converted to numbers before sorting. For example // in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < // "25". Non-numeric dimension values all have equal ordering value below // all numeric values. OrderBy_DimensionOrderBy_NUMERIC OrderBy_DimensionOrderBy_OrderType = 3 )
func (OrderBy_DimensionOrderBy_OrderType) Descriptor ¶
func (OrderBy_DimensionOrderBy_OrderType) Descriptor() protoreflect.EnumDescriptor
func (OrderBy_DimensionOrderBy_OrderType) Enum ¶
func (x OrderBy_DimensionOrderBy_OrderType) Enum() *OrderBy_DimensionOrderBy_OrderType
func (OrderBy_DimensionOrderBy_OrderType) EnumDescriptor
deprecated
func (OrderBy_DimensionOrderBy_OrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderBy_DimensionOrderBy_OrderType.Descriptor instead.
func (OrderBy_DimensionOrderBy_OrderType) Number ¶
func (x OrderBy_DimensionOrderBy_OrderType) Number() protoreflect.EnumNumber
func (OrderBy_DimensionOrderBy_OrderType) String ¶
func (x OrderBy_DimensionOrderBy_OrderType) String() string
func (OrderBy_DimensionOrderBy_OrderType) Type ¶
func (OrderBy_DimensionOrderBy_OrderType) Type() protoreflect.EnumType
type OrderBy_Metric ¶
type OrderBy_Metric struct { // Sorts results by a metric's values. Metric *OrderBy_MetricOrderBy `protobuf:"bytes,1,opt,name=metric,proto3,oneof"` }
type OrderBy_MetricOrderBy ¶
type OrderBy_MetricOrderBy struct { // A metric name in the request to order by. MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` // contains filtered or unexported fields }
Sorts by metric values.
func (*OrderBy_MetricOrderBy) Descriptor
deprecated
func (*OrderBy_MetricOrderBy) Descriptor() ([]byte, []int)
Deprecated: Use OrderBy_MetricOrderBy.ProtoReflect.Descriptor instead.
func (*OrderBy_MetricOrderBy) GetMetricName ¶
func (x *OrderBy_MetricOrderBy) GetMetricName() string
func (*OrderBy_MetricOrderBy) ProtoMessage ¶
func (*OrderBy_MetricOrderBy) ProtoMessage()
func (*OrderBy_MetricOrderBy) ProtoReflect ¶
func (x *OrderBy_MetricOrderBy) ProtoReflect() protoreflect.Message
func (*OrderBy_MetricOrderBy) Reset ¶
func (x *OrderBy_MetricOrderBy) Reset()
func (*OrderBy_MetricOrderBy) String ¶
func (x *OrderBy_MetricOrderBy) String() string
type OrderBy_Pivot ¶
type OrderBy_Pivot struct { // Sorts results by a metric's values within a pivot column group. Pivot *OrderBy_PivotOrderBy `protobuf:"bytes,3,opt,name=pivot,proto3,oneof"` }
type OrderBy_PivotOrderBy ¶
type OrderBy_PivotOrderBy struct { // In the response to order by, order rows by this column. Must be a metric // name from the request. MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` // 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. PivotSelections []*OrderBy_PivotOrderBy_PivotSelection `protobuf:"bytes,2,rep,name=pivot_selections,json=pivotSelections,proto3" json:"pivot_selections,omitempty"` // contains filtered or unexported fields }
Sorts by a pivot column group.
func (*OrderBy_PivotOrderBy) Descriptor
deprecated
func (*OrderBy_PivotOrderBy) Descriptor() ([]byte, []int)
Deprecated: Use OrderBy_PivotOrderBy.ProtoReflect.Descriptor instead.
func (*OrderBy_PivotOrderBy) GetMetricName ¶
func (x *OrderBy_PivotOrderBy) GetMetricName() string
func (*OrderBy_PivotOrderBy) GetPivotSelections ¶
func (x *OrderBy_PivotOrderBy) GetPivotSelections() []*OrderBy_PivotOrderBy_PivotSelection
func (*OrderBy_PivotOrderBy) ProtoMessage ¶
func (*OrderBy_PivotOrderBy) ProtoMessage()
func (*OrderBy_PivotOrderBy) ProtoReflect ¶
func (x *OrderBy_PivotOrderBy) ProtoReflect() protoreflect.Message
func (*OrderBy_PivotOrderBy) Reset ¶
func (x *OrderBy_PivotOrderBy) Reset()
func (*OrderBy_PivotOrderBy) String ¶
func (x *OrderBy_PivotOrderBy) String() string
type OrderBy_PivotOrderBy_PivotSelection ¶
type OrderBy_PivotOrderBy_PivotSelection struct { // Must be a dimension name from the request. DimensionName string `protobuf:"bytes,1,opt,name=dimension_name,json=dimensionName,proto3" json:"dimension_name,omitempty"` // Order by only when the named dimension is this value. DimensionValue string `protobuf:"bytes,2,opt,name=dimension_value,json=dimensionValue,proto3" json:"dimension_value,omitempty"` // contains filtered or unexported fields }
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 ---------|----------|----------------|----------|----------------
func (*OrderBy_PivotOrderBy_PivotSelection) Descriptor
deprecated
func (*OrderBy_PivotOrderBy_PivotSelection) Descriptor() ([]byte, []int)
Deprecated: Use OrderBy_PivotOrderBy_PivotSelection.ProtoReflect.Descriptor instead.
func (*OrderBy_PivotOrderBy_PivotSelection) GetDimensionName ¶
func (x *OrderBy_PivotOrderBy_PivotSelection) GetDimensionName() string
func (*OrderBy_PivotOrderBy_PivotSelection) GetDimensionValue ¶
func (x *OrderBy_PivotOrderBy_PivotSelection) GetDimensionValue() string
func (*OrderBy_PivotOrderBy_PivotSelection) ProtoMessage ¶
func (*OrderBy_PivotOrderBy_PivotSelection) ProtoMessage()
func (*OrderBy_PivotOrderBy_PivotSelection) ProtoReflect ¶
func (x *OrderBy_PivotOrderBy_PivotSelection) ProtoReflect() protoreflect.Message
func (*OrderBy_PivotOrderBy_PivotSelection) Reset ¶
func (x *OrderBy_PivotOrderBy_PivotSelection) Reset()
func (*OrderBy_PivotOrderBy_PivotSelection) String ¶
func (x *OrderBy_PivotOrderBy_PivotSelection) String() string
type Pivot ¶
type Pivot struct { // 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. FieldNames []string `protobuf:"bytes,1,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"` // 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. OrderBys []*OrderBy `protobuf:"bytes,2,rep,name=order_bys,json=orderBys,proto3" json:"order_bys,omitempty"` // The row count of the start row. The first row is counted as row 0. Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // The number of rows to return in this pivot. If unspecified, 10 rows are // returned. If -1, all rows are returned. Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // Aggregate the metrics by dimensions in this pivot using the specified // metric_aggregations. MetricAggregations []MetricAggregation `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
Describes the visible dimension columns and rows in the report response.
func (*Pivot) Descriptor
deprecated
func (*Pivot) GetFieldNames ¶
func (*Pivot) GetMetricAggregations ¶
func (x *Pivot) GetMetricAggregations() []MetricAggregation
func (*Pivot) GetOrderBys ¶
func (*Pivot) ProtoMessage ¶
func (*Pivot) ProtoMessage()
func (*Pivot) ProtoReflect ¶
func (x *Pivot) ProtoReflect() protoreflect.Message
type PivotDimensionHeader ¶
type PivotDimensionHeader struct { // Values of multiple dimensions in a pivot. DimensionValues []*DimensionValue `protobuf:"bytes,1,rep,name=dimension_values,json=dimensionValues,proto3" json:"dimension_values,omitempty"` // contains filtered or unexported fields }
Summarizes dimension values from a row for this pivot.
func (*PivotDimensionHeader) Descriptor
deprecated
func (*PivotDimensionHeader) Descriptor() ([]byte, []int)
Deprecated: Use PivotDimensionHeader.ProtoReflect.Descriptor instead.
func (*PivotDimensionHeader) GetDimensionValues ¶
func (x *PivotDimensionHeader) GetDimensionValues() []*DimensionValue
func (*PivotDimensionHeader) ProtoMessage ¶
func (*PivotDimensionHeader) ProtoMessage()
func (*PivotDimensionHeader) ProtoReflect ¶
func (x *PivotDimensionHeader) ProtoReflect() protoreflect.Message
func (*PivotDimensionHeader) Reset ¶
func (x *PivotDimensionHeader) Reset()
func (*PivotDimensionHeader) String ¶
func (x *PivotDimensionHeader) String() string
type PivotHeader ¶
type PivotHeader struct { // The size is the same as the cardinality of the corresponding dimension // combinations. PivotDimensionHeaders []*PivotDimensionHeader `` /* 126-byte string literal not displayed */ // The cardinality of the pivot as if offset = 0 and limit = -1. The total // number of rows for this pivot's fields regardless of how the parameters // offset and limit are specified in the request. RowCount int32 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` // contains filtered or unexported fields }
Dimensions' values in a single pivot.
func (*PivotHeader) Descriptor
deprecated
func (*PivotHeader) Descriptor() ([]byte, []int)
Deprecated: Use PivotHeader.ProtoReflect.Descriptor instead.
func (*PivotHeader) GetPivotDimensionHeaders ¶
func (x *PivotHeader) GetPivotDimensionHeaders() []*PivotDimensionHeader
func (*PivotHeader) GetRowCount ¶
func (x *PivotHeader) GetRowCount() int32
func (*PivotHeader) ProtoMessage ¶
func (*PivotHeader) ProtoMessage()
func (*PivotHeader) ProtoReflect ¶
func (x *PivotHeader) ProtoReflect() protoreflect.Message
func (*PivotHeader) Reset ¶
func (x *PivotHeader) Reset()
func (*PivotHeader) String ¶
func (x *PivotHeader) String() string
type PropertyQuota ¶
type PropertyQuota struct { // Analytics Properties can use up to 25,000 tokens per day. Most requests // consume fewer than 10 tokens. TokensPerDay *QuotaStatus `protobuf:"bytes,1,opt,name=tokens_per_day,json=tokensPerDay,proto3" json:"tokens_per_day,omitempty"` // Analytics Properties can use up to 5,000 tokens per day. An API request // consumes a single number of tokens, and that number is deducted from both // the hourly and daily quotas. TokensPerHour *QuotaStatus `protobuf:"bytes,2,opt,name=tokens_per_hour,json=tokensPerHour,proto3" json:"tokens_per_hour,omitempty"` // Analytics Properties can send up to 10 concurrent requests. ConcurrentRequests *QuotaStatus `protobuf:"bytes,3,opt,name=concurrent_requests,json=concurrentRequests,proto3" json:"concurrent_requests,omitempty"` // Analytics Properties and cloud project pairs can have up to 10 // server errors per hour. ServerErrorsPerProjectPerHour *QuotaStatus `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.
func (*PropertyQuota) Descriptor
deprecated
func (*PropertyQuota) Descriptor() ([]byte, []int)
Deprecated: Use PropertyQuota.ProtoReflect.Descriptor instead.
func (*PropertyQuota) GetConcurrentRequests ¶
func (x *PropertyQuota) GetConcurrentRequests() *QuotaStatus
func (*PropertyQuota) GetServerErrorsPerProjectPerHour ¶
func (x *PropertyQuota) GetServerErrorsPerProjectPerHour() *QuotaStatus
func (*PropertyQuota) GetTokensPerDay ¶
func (x *PropertyQuota) GetTokensPerDay() *QuotaStatus
func (*PropertyQuota) GetTokensPerHour ¶
func (x *PropertyQuota) GetTokensPerHour() *QuotaStatus
func (*PropertyQuota) ProtoMessage ¶
func (*PropertyQuota) ProtoMessage()
func (*PropertyQuota) ProtoReflect ¶
func (x *PropertyQuota) ProtoReflect() protoreflect.Message
func (*PropertyQuota) Reset ¶
func (x *PropertyQuota) Reset()
func (*PropertyQuota) String ¶
func (x *PropertyQuota) String() string
type QuotaStatus ¶
type QuotaStatus struct { // Quota consumed by this request. Consumed int32 `protobuf:"varint,1,opt,name=consumed,proto3" json:"consumed,omitempty"` // Quota remaining after this request. Remaining int32 `protobuf:"varint,2,opt,name=remaining,proto3" json:"remaining,omitempty"` // contains filtered or unexported fields }
Current state for a particular quota group.
func (*QuotaStatus) Descriptor
deprecated
func (*QuotaStatus) Descriptor() ([]byte, []int)
Deprecated: Use QuotaStatus.ProtoReflect.Descriptor instead.
func (*QuotaStatus) GetConsumed ¶
func (x *QuotaStatus) GetConsumed() int32
func (*QuotaStatus) GetRemaining ¶
func (x *QuotaStatus) GetRemaining() int32
func (*QuotaStatus) ProtoMessage ¶
func (*QuotaStatus) ProtoMessage()
func (*QuotaStatus) ProtoReflect ¶
func (x *QuotaStatus) ProtoReflect() protoreflect.Message
func (*QuotaStatus) Reset ¶
func (x *QuotaStatus) Reset()
func (*QuotaStatus) String ¶
func (x *QuotaStatus) String() string
type ResponseMetaData ¶
type ResponseMetaData struct { // If true, indicates some buckets of dimension combinations are rolled into // "(other)" row. This can happen for high cardinality reports. DataLossFromOtherRow bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Response's metadata carrying additional information about the report content.
func (*ResponseMetaData) Descriptor
deprecated
func (*ResponseMetaData) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMetaData.ProtoReflect.Descriptor instead.
func (*ResponseMetaData) GetDataLossFromOtherRow ¶
func (x *ResponseMetaData) GetDataLossFromOtherRow() bool
func (*ResponseMetaData) ProtoMessage ¶
func (*ResponseMetaData) ProtoMessage()
func (*ResponseMetaData) ProtoReflect ¶
func (x *ResponseMetaData) ProtoReflect() protoreflect.Message
func (*ResponseMetaData) Reset ¶
func (x *ResponseMetaData) Reset()
func (*ResponseMetaData) String ¶
func (x *ResponseMetaData) String() string
type Row ¶
type Row struct { // List of requested dimension values. In a PivotReport, dimension_values // are only listed for dimensions included in a pivot. DimensionValues []*DimensionValue `protobuf:"bytes,1,rep,name=dimension_values,json=dimensionValues,proto3" json:"dimension_values,omitempty"` // List of requested visible metric values. MetricValues []*MetricValue `protobuf:"bytes,2,rep,name=metric_values,json=metricValues,proto3" json:"metric_values,omitempty"` // contains filtered or unexported fields }
Report data for each row. For example if RunReportRequest contains:
```none
dimensions { name: "eventName" }
dimensions { name: "countryId" }
metrics { name: "eventCount" }
```
One row with 'in_app_purchase' as the eventName, 'us' as the countryId, and 15 as the eventCount, would be:
```none
dimension_values { name: 'in_app_purchase' name: 'us' }
metric_values { int64_value: 15 }
```
func (*Row) Descriptor
deprecated
func (*Row) GetDimensionValues ¶
func (x *Row) GetDimensionValues() []*DimensionValue
func (*Row) GetMetricValues ¶
func (x *Row) GetMetricValues() []*MetricValue
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type RunPivotReportRequest ¶
type RunPivotReportRequest struct { // A property whose events are tracked. Within a batch request, this entity // should either be unspecified or consistent with the batch-level entity. Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // The dimensions requested. All defined dimensions must be used by one of the // following: dimension_expression, dimension_filter, pivots, order_bys. Dimensions []*Dimension `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"` // The metrics requested, at least one metric needs to be specified. All // defined metrics must be used by one of the following: metric_expression, // metric_filter, order_bys. Metrics []*Metric `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"` // The filter clause of dimensions. Dimensions must be requested to be used in // this filter. Metrics cannot be used in this filter. DimensionFilter *FilterExpression `protobuf:"bytes,4,opt,name=dimension_filter,json=dimensionFilter,proto3" json:"dimension_filter,omitempty"` // The filter clause of metrics. Applied at post aggregation phase, similar to // SQL having-clause. Metrics must be requested to be used in this filter. // Dimensions cannot be used in this filter. MetricFilter *FilterExpression `protobuf:"bytes,5,opt,name=metric_filter,json=metricFilter,proto3" json:"metric_filter,omitempty"` // Describes the visual format of the report's dimensions in columns or rows. // The union of the fieldNames (dimension names) in all pivots must be a // subset of dimension names defined in Dimensions. No two pivots can share a // dimension. A dimension is only visible if it appears in a pivot. Pivots []*Pivot `protobuf:"bytes,6,rep,name=pivots,proto3" json:"pivots,omitempty"` // The date range to retrieve event data for the report. If multiple date // ranges are specified, event data from each date range is used in the // report. A special dimension with field name "dateRange" can be included in // a Pivot's field names; if included, the report compares between date // ranges. In a cohort request, this `dateRanges` must be unspecified. DateRanges []*DateRange `protobuf:"bytes,7,rep,name=date_ranges,json=dateRanges,proto3" json:"date_ranges,omitempty"` // A currency code in ISO4217 format, such as "AED", "USD", "JPY". // If the field is empty, the report uses the entity's default currency. CurrencyCode string `protobuf:"bytes,8,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` // Cohort group associated with this request. If there is a cohort group // in the request the 'cohort' dimension must be present. CohortSpec *CohortSpec `protobuf:"bytes,9,opt,name=cohort_spec,json=cohortSpec,proto3" json:"cohort_spec,omitempty"` // If false or unspecified, each row with all metrics equal to 0 will not be // returned. If true, these rows will be returned if they are not separately // removed by a filter. KeepEmptyRows bool `protobuf:"varint,10,opt,name=keep_empty_rows,json=keepEmptyRows,proto3" json:"keep_empty_rows,omitempty"` // Toggles whether to return the current state of this Analytics Property's // quota. Quota is returned in [PropertyQuota](#PropertyQuota). ReturnPropertyQuota bool `protobuf:"varint,11,opt,name=return_property_quota,json=returnPropertyQuota,proto3" json:"return_property_quota,omitempty"` // contains filtered or unexported fields }
The request to generate a pivot report.
func (*RunPivotReportRequest) Descriptor
deprecated
func (*RunPivotReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunPivotReportRequest.ProtoReflect.Descriptor instead.
func (*RunPivotReportRequest) GetCohortSpec ¶
func (x *RunPivotReportRequest) GetCohortSpec() *CohortSpec
func (*RunPivotReportRequest) GetCurrencyCode ¶
func (x *RunPivotReportRequest) GetCurrencyCode() string
func (*RunPivotReportRequest) GetDateRanges ¶
func (x *RunPivotReportRequest) GetDateRanges() []*DateRange
func (*RunPivotReportRequest) GetDimensionFilter ¶
func (x *RunPivotReportRequest) GetDimensionFilter() *FilterExpression
func (*RunPivotReportRequest) GetDimensions ¶
func (x *RunPivotReportRequest) GetDimensions() []*Dimension
func (*RunPivotReportRequest) GetEntity ¶
func (x *RunPivotReportRequest) GetEntity() *Entity
func (*RunPivotReportRequest) GetKeepEmptyRows ¶
func (x *RunPivotReportRequest) GetKeepEmptyRows() bool
func (*RunPivotReportRequest) GetMetricFilter ¶
func (x *RunPivotReportRequest) GetMetricFilter() *FilterExpression
func (*RunPivotReportRequest) GetMetrics ¶
func (x *RunPivotReportRequest) GetMetrics() []*Metric
func (*RunPivotReportRequest) GetPivots ¶
func (x *RunPivotReportRequest) GetPivots() []*Pivot
func (*RunPivotReportRequest) GetReturnPropertyQuota ¶
func (x *RunPivotReportRequest) GetReturnPropertyQuota() bool
func (*RunPivotReportRequest) ProtoMessage ¶
func (*RunPivotReportRequest) ProtoMessage()
func (*RunPivotReportRequest) ProtoReflect ¶
func (x *RunPivotReportRequest) ProtoReflect() protoreflect.Message
func (*RunPivotReportRequest) Reset ¶
func (x *RunPivotReportRequest) Reset()
func (*RunPivotReportRequest) String ¶
func (x *RunPivotReportRequest) String() string
type RunPivotReportResponse ¶
type RunPivotReportResponse struct { // Summarizes the columns and rows created by a pivot. Each pivot in the // request produces one header in the response. If we have a request like // this: // // "pivots": [{ // "fieldNames": ["country", // "city"] // }, // { // "fieldNames": "eventName" // }] // // We will have the following `pivotHeaders` in the response: // // "pivotHeaders" : [{ // "dimensionHeaders": [{ // "dimensionValues": [ // { "value": "United Kingdom" }, // { "value": "London" } // ] // }, // { // "dimensionValues": [ // { "value": "Japan" }, // { "value": "Osaka" } // ] // }] // }, // { // "dimensionHeaders": [{ // "dimensionValues": [{ "value": "session_start" }] // }, // { // "dimensionValues": [{ "value": "scroll" }] // }] // }] PivotHeaders []*PivotHeader `protobuf:"bytes,1,rep,name=pivot_headers,json=pivotHeaders,proto3" json:"pivot_headers,omitempty"` // Describes dimension columns. The number of DimensionHeaders and ordering of // DimensionHeaders matches the dimensions present in rows. DimensionHeaders []*DimensionHeader `protobuf:"bytes,7,rep,name=dimension_headers,json=dimensionHeaders,proto3" json:"dimension_headers,omitempty"` // Describes metric columns. The number of MetricHeaders and ordering of // MetricHeaders matches the metrics present in rows. MetricHeaders []*MetricHeader `protobuf:"bytes,2,rep,name=metric_headers,json=metricHeaders,proto3" json:"metric_headers,omitempty"` // Rows of dimension value combinations and metric values in the report. Rows []*Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"` // Aggregation of metric values. Can be totals, minimums, or maximums. The // returned aggregations are controlled by the metric_aggregations in the // pivot. The type of aggregation returned in each row is shown by the // dimension_values which are set to "RESERVED_<MetricAggregation>". Aggregates []*Row `protobuf:"bytes,4,rep,name=aggregates,proto3" json:"aggregates,omitempty"` // Metadata for the report. Metadata *ResponseMetaData `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // This Analytics Property's quota state including this request. PropertyQuota *PropertyQuota `protobuf:"bytes,6,opt,name=property_quota,json=propertyQuota,proto3" json:"property_quota,omitempty"` // contains filtered or unexported fields }
The response pivot report table corresponding to a pivot request.
func (*RunPivotReportResponse) Descriptor
deprecated
func (*RunPivotReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunPivotReportResponse.ProtoReflect.Descriptor instead.
func (*RunPivotReportResponse) GetAggregates ¶
func (x *RunPivotReportResponse) GetAggregates() []*Row
func (*RunPivotReportResponse) GetDimensionHeaders ¶
func (x *RunPivotReportResponse) GetDimensionHeaders() []*DimensionHeader
func (*RunPivotReportResponse) GetMetadata ¶
func (x *RunPivotReportResponse) GetMetadata() *ResponseMetaData
func (*RunPivotReportResponse) GetMetricHeaders ¶
func (x *RunPivotReportResponse) GetMetricHeaders() []*MetricHeader
func (*RunPivotReportResponse) GetPivotHeaders ¶
func (x *RunPivotReportResponse) GetPivotHeaders() []*PivotHeader
func (*RunPivotReportResponse) GetPropertyQuota ¶
func (x *RunPivotReportResponse) GetPropertyQuota() *PropertyQuota
func (*RunPivotReportResponse) GetRows ¶
func (x *RunPivotReportResponse) GetRows() []*Row
func (*RunPivotReportResponse) ProtoMessage ¶
func (*RunPivotReportResponse) ProtoMessage()
func (*RunPivotReportResponse) ProtoReflect ¶
func (x *RunPivotReportResponse) ProtoReflect() protoreflect.Message
func (*RunPivotReportResponse) Reset ¶
func (x *RunPivotReportResponse) Reset()
func (*RunPivotReportResponse) String ¶
func (x *RunPivotReportResponse) String() string
type RunReportRequest ¶
type RunReportRequest struct { // A property whose events are tracked. Within a batch request, this entity // should either be unspecified or consistent with the batch-level entity. Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // The dimensions requested and displayed. Dimensions []*Dimension `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"` // The metrics requested and displayed. Metrics []*Metric `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"` // Date ranges of data to read. If multiple date ranges are requested, each // response row will contain a zero based date range index. If two date // ranges overlap, the event data for the overlapping days is included in the // response rows for both date ranges. In a cohort request, this `dateRanges` // must be unspecified. DateRanges []*DateRange `protobuf:"bytes,4,rep,name=date_ranges,json=dateRanges,proto3" json:"date_ranges,omitempty"` // The row count of the start row. The first row is counted as row 0. Offset int64 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` // The number of rows to return. If unspecified, 10 rows are returned. If // -1, all rows are returned. Limit int64 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` // Aggregation of metrics. Aggregated metric values will be shown in rows // where the dimension_values are set to "RESERVED_(MetricAggregation)". MetricAggregations []MetricAggregation `` /* 176-byte string literal not displayed */ // The filter clause of dimensions. Dimensions must be requested to be used in // this filter. Metrics cannot be used in this filter. DimensionFilter *FilterExpression `protobuf:"bytes,8,opt,name=dimension_filter,json=dimensionFilter,proto3" json:"dimension_filter,omitempty"` // The filter clause of metrics. Applied at post aggregation phase, similar to // SQL having-clause. Metrics must be requested to be used in this filter. // Dimensions cannot be used in this filter. MetricFilter *FilterExpression `protobuf:"bytes,9,opt,name=metric_filter,json=metricFilter,proto3" json:"metric_filter,omitempty"` // Specifies how rows are ordered in the response. OrderBys []*OrderBy `protobuf:"bytes,10,rep,name=order_bys,json=orderBys,proto3" json:"order_bys,omitempty"` // A currency code in ISO4217 format, such as "AED", "USD", "JPY". // If the field is empty, the report uses the entity's default currency. CurrencyCode string `protobuf:"bytes,11,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"` // Cohort group associated with this request. If there is a cohort group // in the request the 'cohort' dimension must be present. CohortSpec *CohortSpec `protobuf:"bytes,12,opt,name=cohort_spec,json=cohortSpec,proto3" json:"cohort_spec,omitempty"` // If false or unspecified, each row with all metrics equal to 0 will not be // returned. If true, these rows will be returned if they are not separately // removed by a filter. KeepEmptyRows bool `protobuf:"varint,13,opt,name=keep_empty_rows,json=keepEmptyRows,proto3" json:"keep_empty_rows,omitempty"` // Toggles whether to return the current state of this Analytics Property's // quota. Quota is returned in [PropertyQuota](#PropertyQuota). ReturnPropertyQuota bool `protobuf:"varint,14,opt,name=return_property_quota,json=returnPropertyQuota,proto3" json:"return_property_quota,omitempty"` // contains filtered or unexported fields }
The request to generate a report.
func (*RunReportRequest) Descriptor
deprecated
func (*RunReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunReportRequest.ProtoReflect.Descriptor instead.
func (*RunReportRequest) GetCohortSpec ¶
func (x *RunReportRequest) GetCohortSpec() *CohortSpec
func (*RunReportRequest) GetCurrencyCode ¶
func (x *RunReportRequest) GetCurrencyCode() string
func (*RunReportRequest) GetDateRanges ¶
func (x *RunReportRequest) GetDateRanges() []*DateRange
func (*RunReportRequest) GetDimensionFilter ¶
func (x *RunReportRequest) GetDimensionFilter() *FilterExpression
func (*RunReportRequest) GetDimensions ¶
func (x *RunReportRequest) GetDimensions() []*Dimension
func (*RunReportRequest) GetEntity ¶
func (x *RunReportRequest) GetEntity() *Entity
func (*RunReportRequest) GetKeepEmptyRows ¶
func (x *RunReportRequest) GetKeepEmptyRows() bool
func (*RunReportRequest) GetLimit ¶
func (x *RunReportRequest) GetLimit() int64
func (*RunReportRequest) GetMetricAggregations ¶
func (x *RunReportRequest) GetMetricAggregations() []MetricAggregation
func (*RunReportRequest) GetMetricFilter ¶
func (x *RunReportRequest) GetMetricFilter() *FilterExpression
func (*RunReportRequest) GetMetrics ¶
func (x *RunReportRequest) GetMetrics() []*Metric
func (*RunReportRequest) GetOffset ¶
func (x *RunReportRequest) GetOffset() int64
func (*RunReportRequest) GetOrderBys ¶
func (x *RunReportRequest) GetOrderBys() []*OrderBy
func (*RunReportRequest) GetReturnPropertyQuota ¶
func (x *RunReportRequest) GetReturnPropertyQuota() bool
func (*RunReportRequest) ProtoMessage ¶
func (*RunReportRequest) ProtoMessage()
func (*RunReportRequest) ProtoReflect ¶
func (x *RunReportRequest) ProtoReflect() protoreflect.Message
func (*RunReportRequest) Reset ¶
func (x *RunReportRequest) Reset()
func (*RunReportRequest) String ¶
func (x *RunReportRequest) String() string
type RunReportResponse ¶
type RunReportResponse struct { // Describes dimension columns. The number of DimensionHeaders and ordering of // DimensionHeaders matches the dimensions present in rows. DimensionHeaders []*DimensionHeader `protobuf:"bytes,11,rep,name=dimension_headers,json=dimensionHeaders,proto3" json:"dimension_headers,omitempty"` // Describes metric columns. The number of MetricHeaders and ordering of // MetricHeaders matches the metrics present in rows. MetricHeaders []*MetricHeader `protobuf:"bytes,1,rep,name=metric_headers,json=metricHeaders,proto3" json:"metric_headers,omitempty"` // Rows of dimension value combinations and metric values in the report. Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` // If requested, the totaled values of metrics. Totals []*Row `protobuf:"bytes,8,rep,name=totals,proto3" json:"totals,omitempty"` // If requested, the maximum values of metrics. Maximums []*Row `protobuf:"bytes,9,rep,name=maximums,proto3" json:"maximums,omitempty"` // If requested, the minimum values of metrics. Minimums []*Row `protobuf:"bytes,10,rep,name=minimums,proto3" json:"minimums,omitempty"` // The total number of rows in the query result, regardless of the number of // rows returned in the response. For example if a query returns 175 rows and // includes limit = 50 in the API request, the response will contain row_count // = 175 but only 50 rows. RowCount int32 `protobuf:"varint,12,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` // Metadata for the report. Metadata *ResponseMetaData `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // This Analytics Property's quota state including this request. PropertyQuota *PropertyQuota `protobuf:"bytes,7,opt,name=property_quota,json=propertyQuota,proto3" json:"property_quota,omitempty"` // contains filtered or unexported fields }
The response report table corresponding to a request.
func (*RunReportResponse) Descriptor
deprecated
func (*RunReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunReportResponse.ProtoReflect.Descriptor instead.
func (*RunReportResponse) GetDimensionHeaders ¶
func (x *RunReportResponse) GetDimensionHeaders() []*DimensionHeader
func (*RunReportResponse) GetMaximums ¶
func (x *RunReportResponse) GetMaximums() []*Row
func (*RunReportResponse) GetMetadata ¶
func (x *RunReportResponse) GetMetadata() *ResponseMetaData
func (*RunReportResponse) GetMetricHeaders ¶
func (x *RunReportResponse) GetMetricHeaders() []*MetricHeader
func (*RunReportResponse) GetMinimums ¶
func (x *RunReportResponse) GetMinimums() []*Row
func (*RunReportResponse) GetPropertyQuota ¶
func (x *RunReportResponse) GetPropertyQuota() *PropertyQuota
func (*RunReportResponse) GetRowCount ¶
func (x *RunReportResponse) GetRowCount() int32
func (*RunReportResponse) GetRows ¶
func (x *RunReportResponse) GetRows() []*Row
func (*RunReportResponse) GetTotals ¶
func (x *RunReportResponse) GetTotals() []*Row
func (*RunReportResponse) ProtoMessage ¶
func (*RunReportResponse) ProtoMessage()
func (*RunReportResponse) ProtoReflect ¶
func (x *RunReportResponse) ProtoReflect() protoreflect.Message
func (*RunReportResponse) Reset ¶
func (x *RunReportResponse) Reset()
func (*RunReportResponse) String ¶
func (x *RunReportResponse) String() string
type UnimplementedAlphaAnalyticsDataServer ¶
type UnimplementedAlphaAnalyticsDataServer struct { }
UnimplementedAlphaAnalyticsDataServer can be embedded to have forward compatible implementations.
func (*UnimplementedAlphaAnalyticsDataServer) BatchRunPivotReports ¶
func (*UnimplementedAlphaAnalyticsDataServer) BatchRunPivotReports(context.Context, *BatchRunPivotReportsRequest) (*BatchRunPivotReportsResponse, error)
func (*UnimplementedAlphaAnalyticsDataServer) BatchRunReports ¶
func (*UnimplementedAlphaAnalyticsDataServer) BatchRunReports(context.Context, *BatchRunReportsRequest) (*BatchRunReportsResponse, error)
func (*UnimplementedAlphaAnalyticsDataServer) GetMetadata ¶
func (*UnimplementedAlphaAnalyticsDataServer) GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error)
func (*UnimplementedAlphaAnalyticsDataServer) GetUniversalMetadata ¶
func (*UnimplementedAlphaAnalyticsDataServer) GetUniversalMetadata(context.Context, *GetUniversalMetadataRequest) (*UniversalMetadata, error)
func (*UnimplementedAlphaAnalyticsDataServer) RunPivotReport ¶
func (*UnimplementedAlphaAnalyticsDataServer) RunPivotReport(context.Context, *RunPivotReportRequest) (*RunPivotReportResponse, error)
func (*UnimplementedAlphaAnalyticsDataServer) RunReport ¶
func (*UnimplementedAlphaAnalyticsDataServer) RunReport(context.Context, *RunReportRequest) (*RunReportResponse, error)
type UniversalMetadata ¶
type UniversalMetadata struct { // The dimensions descriptions. Dimensions []*DimensionMetadata `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"` // The metric descriptions. Metrics []*MetricMetadata `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
The dimensions and metrics currently accepted in reporting methods.
func (*UniversalMetadata) Descriptor
deprecated
func (*UniversalMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UniversalMetadata.ProtoReflect.Descriptor instead.
func (*UniversalMetadata) GetDimensions ¶
func (x *UniversalMetadata) GetDimensions() []*DimensionMetadata
func (*UniversalMetadata) GetMetrics ¶
func (x *UniversalMetadata) GetMetrics() []*MetricMetadata
func (*UniversalMetadata) ProtoMessage ¶
func (*UniversalMetadata) ProtoMessage()
func (*UniversalMetadata) ProtoReflect ¶
func (x *UniversalMetadata) ProtoReflect() protoreflect.Message
func (*UniversalMetadata) Reset ¶
func (x *UniversalMetadata) Reset()
func (*UniversalMetadata) String ¶
func (x *UniversalMetadata) String() string