genproto: google.golang.org/genproto/googleapis/analytics/data/v1alpha Index | Files

package data

import "google.golang.org/genproto/googleapis/analytics/data/v1alpha"

Index

Package Files

analytics_data_api.pb.go data.pb.go

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

func RegisterAlphaAnalyticsDataServer Uses

func RegisterAlphaAnalyticsDataServer(s *grpc.Server, srv AlphaAnalyticsDataServer)

type AlphaAnalyticsDataClient Uses

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. In this method, a Google
    // Analytics GA4 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)
    // The Google Analytics Realtime API returns a customized report of realtime
    // event data for your property. These reports show events and usage from the
    // last 30 minutes.
    RunRealtimeReport(ctx context.Context, in *RunRealtimeReportRequest, opts ...grpc.CallOption) (*RunRealtimeReportResponse, 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 Uses

func NewAlphaAnalyticsDataClient(cc grpc.ClientConnInterface) AlphaAnalyticsDataClient

type AlphaAnalyticsDataServer Uses

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. In this method, a Google
    // Analytics GA4 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)
    // The Google Analytics Realtime API returns a customized report of realtime
    // event data for your property. These reports show events and usage from the
    // last 30 minutes.
    RunRealtimeReport(context.Context, *RunRealtimeReportRequest) (*RunRealtimeReportResponse, error)
}

AlphaAnalyticsDataServer is the server API for AlphaAnalyticsData service.

type BatchRunPivotReportsRequest Uses

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 Uses

func (*BatchRunPivotReportsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchRunPivotReportsRequest.ProtoReflect.Descriptor instead.

func (*BatchRunPivotReportsRequest) GetEntity Uses

func (x *BatchRunPivotReportsRequest) GetEntity() *Entity

func (*BatchRunPivotReportsRequest) GetRequests Uses

func (x *BatchRunPivotReportsRequest) GetRequests() []*RunPivotReportRequest

func (*BatchRunPivotReportsRequest) ProtoMessage Uses

func (*BatchRunPivotReportsRequest) ProtoMessage()

func (*BatchRunPivotReportsRequest) ProtoReflect Uses

func (x *BatchRunPivotReportsRequest) ProtoReflect() protoreflect.Message

func (*BatchRunPivotReportsRequest) Reset Uses

func (x *BatchRunPivotReportsRequest) Reset()

func (*BatchRunPivotReportsRequest) String Uses

func (x *BatchRunPivotReportsRequest) String() string

type BatchRunPivotReportsResponse Uses

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 Uses

func (*BatchRunPivotReportsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchRunPivotReportsResponse.ProtoReflect.Descriptor instead.

func (*BatchRunPivotReportsResponse) GetPivotReports Uses

func (x *BatchRunPivotReportsResponse) GetPivotReports() []*RunPivotReportResponse

func (*BatchRunPivotReportsResponse) ProtoMessage Uses

func (*BatchRunPivotReportsResponse) ProtoMessage()

func (*BatchRunPivotReportsResponse) ProtoReflect Uses

func (x *BatchRunPivotReportsResponse) ProtoReflect() protoreflect.Message

func (*BatchRunPivotReportsResponse) Reset Uses

func (x *BatchRunPivotReportsResponse) Reset()

func (*BatchRunPivotReportsResponse) String Uses

func (x *BatchRunPivotReportsResponse) String() string

type BatchRunReportsRequest Uses

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 Uses

func (*BatchRunReportsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchRunReportsRequest.ProtoReflect.Descriptor instead.

func (*BatchRunReportsRequest) GetEntity Uses

func (x *BatchRunReportsRequest) GetEntity() *Entity

func (*BatchRunReportsRequest) GetRequests Uses

func (x *BatchRunReportsRequest) GetRequests() []*RunReportRequest

func (*BatchRunReportsRequest) ProtoMessage Uses

func (*BatchRunReportsRequest) ProtoMessage()

func (*BatchRunReportsRequest) ProtoReflect Uses

func (x *BatchRunReportsRequest) ProtoReflect() protoreflect.Message

func (*BatchRunReportsRequest) Reset Uses

func (x *BatchRunReportsRequest) Reset()

func (*BatchRunReportsRequest) String Uses

func (x *BatchRunReportsRequest) String() string

type BatchRunReportsResponse Uses

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 Uses

func (*BatchRunReportsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchRunReportsResponse.ProtoReflect.Descriptor instead.

func (*BatchRunReportsResponse) GetReports Uses

func (x *BatchRunReportsResponse) GetReports() []*RunReportResponse

func (*BatchRunReportsResponse) ProtoMessage Uses

func (*BatchRunReportsResponse) ProtoMessage()

func (*BatchRunReportsResponse) ProtoReflect Uses

func (x *BatchRunReportsResponse) ProtoReflect() protoreflect.Message

func (*BatchRunReportsResponse) Reset Uses

func (x *BatchRunReportsResponse) Reset()

func (*BatchRunReportsResponse) String Uses

func (x *BatchRunReportsResponse) String() string

type Cohort Uses

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"`
    // Dimension used by the cohort. Required and only supports `firstTouchDate`.
    Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"`
    // The cohort selects users whose first touch date is between start date and
    // end date defined in the `dateRange`. This `dateRange` does not specify the
    // full date range of event data that is present in a cohort report. In a
    // cohort report, this `dateRange` is extended by the granularity and offset
    // present in the `cohortsRange`; event data for the extended reporting date
    // range is present in a cohort report.
    //
    // In a cohort request, this `dateRange` is required and the `dateRanges` in
    // the `RunReportRequest` or `RunPivotReportRequest` must be unspecified.
    //
    // This `dateRange` should generally be aligned with the cohort's granularity.
    // If `CohortsRange` uses daily granularity, this `dateRange` can be a single
    // day. If `CohortsRange` uses weekly granularity, this `dateRange` can be
    // aligned to a week boundary, starting at Sunday and ending Saturday. If
    // `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to
    // a 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 selection criteria. A cohort is a group of users who share a common characteristic. For example, users with the same `firstTouchDate` belong to the same cohort.

func (*Cohort) Descriptor Uses

func (*Cohort) Descriptor() ([]byte, []int)

Deprecated: Use Cohort.ProtoReflect.Descriptor instead.

func (*Cohort) GetDateRange Uses

func (x *Cohort) GetDateRange() *DateRange

func (*Cohort) GetDimension Uses

func (x *Cohort) GetDimension() string

func (*Cohort) GetName Uses

func (x *Cohort) GetName() string

func (*Cohort) ProtoMessage Uses

func (*Cohort) ProtoMessage()

func (*Cohort) ProtoReflect Uses

func (x *Cohort) ProtoReflect() protoreflect.Message

func (*Cohort) Reset Uses

func (x *Cohort) Reset()

func (*Cohort) String Uses

func (x *Cohort) String() string

type CohortReportSettings Uses

type CohortReportSettings struct {

    // If true, accumulates the result from first touch 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
}

Optional settings of a cohort report.

func (*CohortReportSettings) Descriptor Uses

func (*CohortReportSettings) Descriptor() ([]byte, []int)

Deprecated: Use CohortReportSettings.ProtoReflect.Descriptor instead.

func (*CohortReportSettings) GetAccumulate Uses

func (x *CohortReportSettings) GetAccumulate() bool

func (*CohortReportSettings) ProtoMessage Uses

func (*CohortReportSettings) ProtoMessage()

func (*CohortReportSettings) ProtoReflect Uses

func (x *CohortReportSettings) ProtoReflect() protoreflect.Message

func (*CohortReportSettings) Reset Uses

func (x *CohortReportSettings) Reset()

func (*CohortReportSettings) String Uses

func (x *CohortReportSettings) String() string

type CohortSpec Uses

type CohortSpec struct {

    // Defines the selection criteria to group users into cohorts.
    //
    // Most cohort reports define only a single cohort. If multiple cohorts are
    // specified, each cohort can be recognized in the report by their name.
    Cohorts []*Cohort `protobuf:"bytes,1,rep,name=cohorts,proto3" json:"cohorts,omitempty"`
    // Cohort reports follow cohorts over an extended reporting date range. This
    // range specifies an offset duration to follow the cohorts over.
    CohortsRange *CohortsRange `protobuf:"bytes,2,opt,name=cohorts_range,json=cohortsRange,proto3" json:"cohorts_range,omitempty"`
    // Optional settings for 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 of cohorts for a cohort report. Cohort reports can be used for example to create a time series of user retention for the cohort. For example, you could select the cohort of users that were acquired in the first week of September and follow that cohort for the next six weeks. Selecting the users acquired in the first week of September cohort is specified in the `cohort` object. Following that cohort for the next six weeks is specified in the `cohortsRange` object.

The report response could show a weekly time series where say your app has retained 60% of this cohort after three weeks and 25% of this cohort after six weeks. These two percentages can be calculated by the metric `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report.

func (*CohortSpec) Descriptor Uses

func (*CohortSpec) Descriptor() ([]byte, []int)

Deprecated: Use CohortSpec.ProtoReflect.Descriptor instead.

func (*CohortSpec) GetCohortReportSettings Uses

func (x *CohortSpec) GetCohortReportSettings() *CohortReportSettings

func (*CohortSpec) GetCohorts Uses

func (x *CohortSpec) GetCohorts() []*Cohort

func (*CohortSpec) GetCohortsRange Uses

func (x *CohortSpec) GetCohortsRange() *CohortsRange

func (*CohortSpec) ProtoMessage Uses

func (*CohortSpec) ProtoMessage()

func (*CohortSpec) ProtoReflect Uses

func (x *CohortSpec) ProtoReflect() protoreflect.Message

func (*CohortSpec) Reset Uses

func (x *CohortSpec) Reset()

func (*CohortSpec) String Uses

func (x *CohortSpec) String() string

type CohortsRange Uses

type CohortsRange struct {

    // The granularity used to interpret the `startOffset` and `endOffset` for the
    // extended reporting date range for a cohort report.
    Granularity CohortsRange_Granularity `protobuf:"varint,1,opt,name=granularity,proto3,enum=google.analytics.data.v1alpha.CohortsRange_Granularity" json:"granularity,omitempty"`
    // `startOffset` specifies the start date of the extended reporting date range
    // for a cohort report. `startOffset` is commonly set to 0 so that reports
    // contain data from the acquisition of the cohort forward.
    //
    // If `granularity` is `DAILY`, the `startDate` of the extended reporting date
    // range is `startDate` of the cohort plus `startOffset` days.
    //
    // If `granularity` is `WEEKLY`, the `startDate` of the extended reporting
    // date range is `startDate` of the cohort plus `startOffset * 7` days.
    //
    // If `granularity` is `MONTHLY`, the `startDate` of the extended reporting
    // date range is `startDate` of the cohort plus `startOffset * 30` days.
    StartOffset int32 `protobuf:"varint,2,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
    // `endOffset` specifies the end date of the extended reporting date range
    // for a cohort report. `endOffset` can be any positive integer but is
    // commonly set to 5 to 10 so that reports contain data on the cohort for the
    // next several granularity time periods.
    //
    // If `granularity` is `DAILY`, the `endDate` of the extended reporting date
    // range is `endDate` of the cohort plus `endOffset` days.
    //
    // If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
    // range is `endDate` of the cohort plus `endOffset * 7` days.
    //
    // If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date
    // range is `endDate` of the cohort plus `endOffset * 30` days.
    EndOffset int32 `protobuf:"varint,3,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
    // contains filtered or unexported fields
}

Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.

func (*CohortsRange) Descriptor Uses

func (*CohortsRange) Descriptor() ([]byte, []int)

Deprecated: Use CohortsRange.ProtoReflect.Descriptor instead.

func (*CohortsRange) GetEndOffset Uses

func (x *CohortsRange) GetEndOffset() int32

func (*CohortsRange) GetGranularity Uses

func (x *CohortsRange) GetGranularity() CohortsRange_Granularity

func (*CohortsRange) GetStartOffset Uses

func (x *CohortsRange) GetStartOffset() int32

func (*CohortsRange) ProtoMessage Uses

func (*CohortsRange) ProtoMessage()

func (*CohortsRange) ProtoReflect Uses

func (x *CohortsRange) ProtoReflect() protoreflect.Message

func (*CohortsRange) Reset Uses

func (x *CohortsRange) Reset()

func (*CohortsRange) String Uses

func (x *CohortsRange) String() string

type CohortsRange_Granularity Uses

type CohortsRange_Granularity int32

The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.

const (
    // Should never be specified.
    CohortsRange_GRANULARITY_UNSPECIFIED CohortsRange_Granularity = 0
    // Daily granularity. Commonly used if the cohort's `dateRange` is a single
    // day and the request contains `cohortNthDay`.
    CohortsRange_DAILY CohortsRange_Granularity = 1
    // Weekly granularity. Commonly used if the cohort's `dateRange` is a week
    // in duration (starting on Sunday and ending on Saturday) and the request
    // contains `cohortNthWeek`.
    CohortsRange_WEEKLY CohortsRange_Granularity = 2
    // Monthly granularity. Commonly used if the cohort's `dateRange` is a month
    // in duration and the request contains `cohortNthMonth`.
    CohortsRange_MONTHLY CohortsRange_Granularity = 3
)

func (CohortsRange_Granularity) Descriptor Uses

func (CohortsRange_Granularity) Descriptor() protoreflect.EnumDescriptor

func (CohortsRange_Granularity) Enum Uses

func (x CohortsRange_Granularity) Enum() *CohortsRange_Granularity

func (CohortsRange_Granularity) EnumDescriptor Uses

func (CohortsRange_Granularity) EnumDescriptor() ([]byte, []int)

Deprecated: Use CohortsRange_Granularity.Descriptor instead.

func (CohortsRange_Granularity) Number Uses

func (x CohortsRange_Granularity) Number() protoreflect.EnumNumber

func (CohortsRange_Granularity) String Uses

func (x CohortsRange_Granularity) String() string

func (CohortsRange_Granularity) Type Uses

func (CohortsRange_Granularity) Type() protoreflect.EnumType

type DateRange Uses

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.

func (*DateRange) Descriptor Uses

func (*DateRange) Descriptor() ([]byte, []int)

Deprecated: Use DateRange.ProtoReflect.Descriptor instead.

func (*DateRange) GetEndDate Uses

func (x *DateRange) GetEndDate() string

func (*DateRange) GetName Uses

func (x *DateRange) GetName() string

func (*DateRange) GetStartDate Uses

func (x *DateRange) GetStartDate() string

func (*DateRange) ProtoMessage Uses

func (*DateRange) ProtoMessage()

func (*DateRange) ProtoReflect Uses

func (x *DateRange) ProtoReflect() protoreflect.Message

func (*DateRange) Reset Uses

func (x *DateRange) Reset()

func (*DateRange) String Uses

func (x *DateRange) String() string

type Dimension Uses

type Dimension struct {

    // The name of the dimension. See the [API
    // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
    // for the list of dimension names.
    //
    // If `dimensionExpression` is specified, `name` can be any string that you
    // would like. For example if a `dimensionExpression` concatenates `country`
    // and `city`, you could call that dimension `countryAndCity`.
    //
    // Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`,
    // `dimensionExpression`, and `pivots`.
    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 from which an event originates. Dimension values in report responses are strings; for example, city could be "Paris" or "New York". Requests are allowed up to 8 dimensions.

func (*Dimension) Descriptor Uses

func (*Dimension) Descriptor() ([]byte, []int)

Deprecated: Use Dimension.ProtoReflect.Descriptor instead.

func (*Dimension) GetDimensionExpression Uses

func (x *Dimension) GetDimensionExpression() *DimensionExpression

func (*Dimension) GetName Uses

func (x *Dimension) GetName() string

func (*Dimension) ProtoMessage Uses

func (*Dimension) ProtoMessage()

func (*Dimension) ProtoReflect Uses

func (x *Dimension) ProtoReflect() protoreflect.Message

func (*Dimension) Reset Uses

func (x *Dimension) Reset()

func (*Dimension) String Uses

func (x *Dimension) String() string

type DimensionExpression Uses

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 Uses

func (*DimensionExpression) Descriptor() ([]byte, []int)

Deprecated: Use DimensionExpression.ProtoReflect.Descriptor instead.

func (*DimensionExpression) GetConcatenate Uses

func (x *DimensionExpression) GetConcatenate() *DimensionExpression_ConcatenateExpression

func (*DimensionExpression) GetLowerCase Uses

func (x *DimensionExpression) GetLowerCase() *DimensionExpression_CaseExpression

func (*DimensionExpression) GetOneExpression Uses

func (m *DimensionExpression) GetOneExpression() isDimensionExpression_OneExpression

func (*DimensionExpression) GetUpperCase Uses

func (x *DimensionExpression) GetUpperCase() *DimensionExpression_CaseExpression

func (*DimensionExpression) ProtoMessage Uses

func (*DimensionExpression) ProtoMessage()

func (*DimensionExpression) ProtoReflect Uses

func (x *DimensionExpression) ProtoReflect() protoreflect.Message

func (*DimensionExpression) Reset Uses

func (x *DimensionExpression) Reset()

func (*DimensionExpression) String Uses

func (x *DimensionExpression) String() string

type DimensionExpression_CaseExpression Uses

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 Uses

func (*DimensionExpression_CaseExpression) Descriptor() ([]byte, []int)

Deprecated: Use DimensionExpression_CaseExpression.ProtoReflect.Descriptor instead.

func (*DimensionExpression_CaseExpression) GetDimensionName Uses

func (x *DimensionExpression_CaseExpression) GetDimensionName() string

func (*DimensionExpression_CaseExpression) ProtoMessage Uses

func (*DimensionExpression_CaseExpression) ProtoMessage()

func (*DimensionExpression_CaseExpression) ProtoReflect Uses

func (x *DimensionExpression_CaseExpression) ProtoReflect() protoreflect.Message

func (*DimensionExpression_CaseExpression) Reset Uses

func (x *DimensionExpression_CaseExpression) Reset()

func (*DimensionExpression_CaseExpression) String Uses

func (x *DimensionExpression_CaseExpression) String() string

type DimensionExpression_Concatenate Uses

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 Uses

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 Uses

func (*DimensionExpression_ConcatenateExpression) Descriptor() ([]byte, []int)

Deprecated: Use DimensionExpression_ConcatenateExpression.ProtoReflect.Descriptor instead.

func (*DimensionExpression_ConcatenateExpression) GetDelimiter Uses

func (x *DimensionExpression_ConcatenateExpression) GetDelimiter() string

func (*DimensionExpression_ConcatenateExpression) GetDimensionNames Uses

func (x *DimensionExpression_ConcatenateExpression) GetDimensionNames() []string

func (*DimensionExpression_ConcatenateExpression) ProtoMessage Uses

func (*DimensionExpression_ConcatenateExpression) ProtoMessage()

func (*DimensionExpression_ConcatenateExpression) ProtoReflect Uses

func (x *DimensionExpression_ConcatenateExpression) ProtoReflect() protoreflect.Message

func (*DimensionExpression_ConcatenateExpression) Reset Uses

func (x *DimensionExpression_ConcatenateExpression) Reset()

func (*DimensionExpression_ConcatenateExpression) String Uses

func (x *DimensionExpression_ConcatenateExpression) String() string

type DimensionExpression_LowerCase Uses

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 Uses

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 Uses

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 Uses

func (*DimensionHeader) Descriptor() ([]byte, []int)

Deprecated: Use DimensionHeader.ProtoReflect.Descriptor instead.

func (*DimensionHeader) GetName Uses

func (x *DimensionHeader) GetName() string

func (*DimensionHeader) ProtoMessage Uses

func (*DimensionHeader) ProtoMessage()

func (*DimensionHeader) ProtoReflect Uses

func (x *DimensionHeader) ProtoReflect() protoreflect.Message

func (*DimensionHeader) Reset Uses

func (x *DimensionHeader) Reset()

func (*DimensionHeader) String Uses

func (x *DimensionHeader) String() string

type DimensionMetadata Uses

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"`
    // True if the dimension is a custom dimension for this property.
    CustomDefinition bool `protobuf:"varint,5,opt,name=custom_definition,json=customDefinition,proto3" json:"custom_definition,omitempty"`
    // contains filtered or unexported fields
}

Explains a dimension.

func (*DimensionMetadata) Descriptor Uses

func (*DimensionMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DimensionMetadata.ProtoReflect.Descriptor instead.

func (*DimensionMetadata) GetApiName Uses

func (x *DimensionMetadata) GetApiName() string

func (*DimensionMetadata) GetCustomDefinition Uses

func (x *DimensionMetadata) GetCustomDefinition() bool

func (*DimensionMetadata) GetDeprecatedApiNames Uses

func (x *DimensionMetadata) GetDeprecatedApiNames() []string

func (*DimensionMetadata) GetDescription Uses

func (x *DimensionMetadata) GetDescription() string

func (*DimensionMetadata) GetUiName Uses

func (x *DimensionMetadata) GetUiName() string

func (*DimensionMetadata) ProtoMessage Uses

func (*DimensionMetadata) ProtoMessage()

func (*DimensionMetadata) ProtoReflect Uses

func (x *DimensionMetadata) ProtoReflect() protoreflect.Message

func (*DimensionMetadata) Reset Uses

func (x *DimensionMetadata) Reset()

func (*DimensionMetadata) String Uses

func (x *DimensionMetadata) String() string

type DimensionValue Uses

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 Uses

func (*DimensionValue) Descriptor() ([]byte, []int)

Deprecated: Use DimensionValue.ProtoReflect.Descriptor instead.

func (*DimensionValue) GetOneValue Uses

func (m *DimensionValue) GetOneValue() isDimensionValue_OneValue

func (*DimensionValue) GetValue Uses

func (x *DimensionValue) GetValue() string

func (*DimensionValue) ProtoMessage Uses

func (*DimensionValue) ProtoMessage()

func (*DimensionValue) ProtoReflect Uses

func (x *DimensionValue) ProtoReflect() protoreflect.Message

func (*DimensionValue) Reset Uses

func (x *DimensionValue) Reset()

func (*DimensionValue) String Uses

func (x *DimensionValue) String() string

type DimensionValue_Value Uses

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 Uses

type Entity struct {

    // A Google Analytics GA4 property id. To learn more, see [where to find your
    // Property
    // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/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 Uses

func (*Entity) Descriptor() ([]byte, []int)

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetPropertyId Uses

func (x *Entity) GetPropertyId() string

func (*Entity) ProtoMessage Uses

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect Uses

func (x *Entity) ProtoReflect() protoreflect.Message

func (*Entity) Reset Uses

func (x *Entity) Reset()

func (*Entity) String Uses

func (x *Entity) String() string

type Filter Uses

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 Uses

func (*Filter) Descriptor() ([]byte, []int)

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetBetweenFilter Uses

func (x *Filter) GetBetweenFilter() *Filter_BetweenFilter

func (*Filter) GetFieldName Uses

func (x *Filter) GetFieldName() string

func (*Filter) GetInListFilter Uses

func (x *Filter) GetInListFilter() *Filter_InListFilter

func (*Filter) GetNullFilter Uses

func (x *Filter) GetNullFilter() bool

func (*Filter) GetNumericFilter Uses

func (x *Filter) GetNumericFilter() *Filter_NumericFilter

func (*Filter) GetOneFilter Uses

func (m *Filter) GetOneFilter() isFilter_OneFilter

func (*Filter) GetStringFilter Uses

func (x *Filter) GetStringFilter() *Filter_StringFilter

func (*Filter) ProtoMessage Uses

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect Uses

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset Uses

func (x *Filter) Reset()

func (*Filter) String Uses

func (x *Filter) String() string

type FilterExpression Uses

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 Uses

func (*FilterExpression) Descriptor() ([]byte, []int)

Deprecated: Use FilterExpression.ProtoReflect.Descriptor instead.

func (*FilterExpression) GetAndGroup Uses

func (x *FilterExpression) GetAndGroup() *FilterExpressionList

func (*FilterExpression) GetExpr Uses

func (m *FilterExpression) GetExpr() isFilterExpression_Expr

func (*FilterExpression) GetFilter Uses

func (x *FilterExpression) GetFilter() *Filter

func (*FilterExpression) GetNotExpression Uses

func (x *FilterExpression) GetNotExpression() *FilterExpression

func (*FilterExpression) GetOrGroup Uses

func (x *FilterExpression) GetOrGroup() *FilterExpressionList

func (*FilterExpression) ProtoMessage Uses

func (*FilterExpression) ProtoMessage()

func (*FilterExpression) ProtoReflect Uses

func (x *FilterExpression) ProtoReflect() protoreflect.Message

func (*FilterExpression) Reset Uses

func (x *FilterExpression) Reset()

func (*FilterExpression) String Uses

func (x *FilterExpression) String() string

type FilterExpressionList Uses

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 Uses

func (*FilterExpressionList) Descriptor() ([]byte, []int)

Deprecated: Use FilterExpressionList.ProtoReflect.Descriptor instead.

func (*FilterExpressionList) GetExpressions Uses

func (x *FilterExpressionList) GetExpressions() []*FilterExpression

func (*FilterExpressionList) ProtoMessage Uses

func (*FilterExpressionList) ProtoMessage()

func (*FilterExpressionList) ProtoReflect Uses

func (x *FilterExpressionList) ProtoReflect() protoreflect.Message

func (*FilterExpressionList) Reset Uses

func (x *FilterExpressionList) Reset()

func (*FilterExpressionList) String Uses

func (x *FilterExpressionList) String() string

type FilterExpression_AndGroup Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (*Filter_BetweenFilter) Descriptor() ([]byte, []int)

Deprecated: Use Filter_BetweenFilter.ProtoReflect.Descriptor instead.

func (*Filter_BetweenFilter) GetFromValue Uses

func (x *Filter_BetweenFilter) GetFromValue() *NumericValue

func (*Filter_BetweenFilter) GetToValue Uses

func (x *Filter_BetweenFilter) GetToValue() *NumericValue

func (*Filter_BetweenFilter) ProtoMessage Uses

func (*Filter_BetweenFilter) ProtoMessage()

func (*Filter_BetweenFilter) ProtoReflect Uses

func (x *Filter_BetweenFilter) ProtoReflect() protoreflect.Message

func (*Filter_BetweenFilter) Reset Uses

func (x *Filter_BetweenFilter) Reset()

func (*Filter_BetweenFilter) String Uses

func (x *Filter_BetweenFilter) String() string

type Filter_BetweenFilter_ Uses

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 Uses

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 Uses

func (*Filter_InListFilter) Descriptor() ([]byte, []int)

Deprecated: Use Filter_InListFilter.ProtoReflect.Descriptor instead.

func (*Filter_InListFilter) GetCaseSensitive Uses

func (x *Filter_InListFilter) GetCaseSensitive() bool

func (*Filter_InListFilter) GetValues Uses

func (x *Filter_InListFilter) GetValues() []string

func (*Filter_InListFilter) ProtoMessage Uses

func (*Filter_InListFilter) ProtoMessage()

func (*Filter_InListFilter) ProtoReflect Uses

func (x *Filter_InListFilter) ProtoReflect() protoreflect.Message

func (*Filter_InListFilter) Reset Uses

func (x *Filter_InListFilter) Reset()

func (*Filter_InListFilter) String Uses

func (x *Filter_InListFilter) String() string

type Filter_InListFilter_ Uses

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 Uses

type Filter_NullFilter struct {
    // A filter for null values. If True, a null dimension value is matched by
    // this filter. Null filter is commonly used inside a NOT filter
    // expression. For example, a NOT expression of a null filter removes rows
    // when a dimension is null.
    NullFilter bool `protobuf:"varint,2,opt,name=null_filter,json=nullFilter,proto3,oneof"`
}

type Filter_NumericFilter Uses

type Filter_NumericFilter struct {

    // The operation type for this filter.
    Operation Filter_NumericFilter_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=google.analytics.data.v1alpha.Filter_NumericFilter_Operation" json:"operation,omitempty"`
    // 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 Uses

func (*Filter_NumericFilter) Descriptor() ([]byte, []int)

Deprecated: Use Filter_NumericFilter.ProtoReflect.Descriptor instead.

func (*Filter_NumericFilter) GetOperation Uses

func (x *Filter_NumericFilter) GetOperation() Filter_NumericFilter_Operation

func (*Filter_NumericFilter) GetValue Uses

func (x *Filter_NumericFilter) GetValue() *NumericValue

func (*Filter_NumericFilter) ProtoMessage Uses

func (*Filter_NumericFilter) ProtoMessage()

func (*Filter_NumericFilter) ProtoReflect Uses

func (x *Filter_NumericFilter) ProtoReflect() protoreflect.Message

func (*Filter_NumericFilter) Reset Uses

func (x *Filter_NumericFilter) Reset()

func (*Filter_NumericFilter) String Uses

func (x *Filter_NumericFilter) String() string

type Filter_NumericFilter_ Uses

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 Uses

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 Uses

func (Filter_NumericFilter_Operation) Descriptor() protoreflect.EnumDescriptor

func (Filter_NumericFilter_Operation) Enum Uses

func (x Filter_NumericFilter_Operation) Enum() *Filter_NumericFilter_Operation

func (Filter_NumericFilter_Operation) EnumDescriptor Uses

func (Filter_NumericFilter_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use Filter_NumericFilter_Operation.Descriptor instead.

func (Filter_NumericFilter_Operation) Number Uses

func (x Filter_NumericFilter_Operation) Number() protoreflect.EnumNumber

func (Filter_NumericFilter_Operation) String Uses

func (x Filter_NumericFilter_Operation) String() string

func (Filter_NumericFilter_Operation) Type Uses

func (Filter_NumericFilter_Operation) Type() protoreflect.EnumType

type Filter_StringFilter Uses

type Filter_StringFilter struct {

    // The match type for this filter.
    MatchType Filter_StringFilter_MatchType `protobuf:"varint,1,opt,name=match_type,json=matchType,proto3,enum=google.analytics.data.v1alpha.Filter_StringFilter_MatchType" json:"match_type,omitempty"`
    // 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 Uses

func (*Filter_StringFilter) Descriptor() ([]byte, []int)

Deprecated: Use Filter_StringFilter.ProtoReflect.Descriptor instead.

func (*Filter_StringFilter) GetCaseSensitive Uses

func (x *Filter_StringFilter) GetCaseSensitive() bool

func (*Filter_StringFilter) GetMatchType Uses

func (x *Filter_StringFilter) GetMatchType() Filter_StringFilter_MatchType

func (*Filter_StringFilter) GetValue Uses

func (x *Filter_StringFilter) GetValue() string

func (*Filter_StringFilter) ProtoMessage Uses

func (*Filter_StringFilter) ProtoMessage()

func (*Filter_StringFilter) ProtoReflect Uses

func (x *Filter_StringFilter) ProtoReflect() protoreflect.Message

func (*Filter_StringFilter) Reset Uses

func (x *Filter_StringFilter) Reset()

func (*Filter_StringFilter) String Uses

func (x *Filter_StringFilter) String() string

type Filter_StringFilter_ Uses

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 Uses

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 Uses

func (Filter_StringFilter_MatchType) Descriptor() protoreflect.EnumDescriptor

func (Filter_StringFilter_MatchType) Enum Uses

func (x Filter_StringFilter_MatchType) Enum() *Filter_StringFilter_MatchType

func (Filter_StringFilter_MatchType) EnumDescriptor Uses

func (Filter_StringFilter_MatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Filter_StringFilter_MatchType.Descriptor instead.

func (Filter_StringFilter_MatchType) Number Uses

func (x Filter_StringFilter_MatchType) Number() protoreflect.EnumNumber

func (Filter_StringFilter_MatchType) String Uses

func (x Filter_StringFilter_MatchType) String() string

func (Filter_StringFilter_MatchType) Type Uses

func (Filter_StringFilter_MatchType) Type() protoreflect.EnumType

type GetMetadataRequest Uses

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 GA4 Property identifier. To learn more, see [where to find
    // your Property
    // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
    //
    // Example: properties/1234/metadata
    //
    // Set the Property ID to 0 for dimensions and metrics common to all
    // properties. In this special mode, this method will not return custom
    // dimensions and metrics.
    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 Uses

func (*GetMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetMetadataRequest) GetName Uses

func (x *GetMetadataRequest) GetName() string

func (*GetMetadataRequest) ProtoMessage Uses

func (*GetMetadataRequest) ProtoMessage()

func (*GetMetadataRequest) ProtoReflect Uses

func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message

func (*GetMetadataRequest) Reset Uses

func (x *GetMetadataRequest) Reset()

func (*GetMetadataRequest) String Uses

func (x *GetMetadataRequest) String() string

type Metadata Uses

type Metadata struct {

    // Resource name of this metadata.
    Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    // The dimension 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 Uses

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetDimensions Uses

func (x *Metadata) GetDimensions() []*DimensionMetadata

func (*Metadata) GetMetrics Uses

func (x *Metadata) GetMetrics() []*MetricMetadata

func (*Metadata) GetName Uses

func (x *Metadata) GetName() string

func (*Metadata) ProtoMessage Uses

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect Uses

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset Uses

func (x *Metadata) Reset()

func (*Metadata) String Uses

func (x *Metadata) String() string

type Metric Uses

type Metric struct {

    // The name of the metric. See the [API
    // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
    // for the list of metric names.
    //
    // If `expression` is specified, `name` can be any string that you would like.
    // For example if `expression` is `screenPageViews/sessions`, you could call
    // that metric's name = `viewsPerSession`.
    //
    // Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric
    // `expression`.
    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 in the report response. If a metric is
    // invisible, the metric will not produce a column in the response, but can be
    // used in `metricFilter`, `orderBys`, or 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 Uses

func (*Metric) Descriptor() ([]byte, []int)

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetExpression Uses

func (x *Metric) GetExpression() string

func (*Metric) GetInvisible Uses

func (x *Metric) GetInvisible() bool

func (*Metric) GetName Uses

func (x *Metric) GetName() string

func (*Metric) ProtoMessage Uses

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect Uses

func (x *Metric) ProtoReflect() protoreflect.Message

func (*Metric) Reset Uses

func (x *Metric) Reset()

func (*Metric) String Uses

func (x *Metric) String() string

type MetricAggregation Uses

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 Uses

func (MetricAggregation) Descriptor() protoreflect.EnumDescriptor

func (MetricAggregation) Enum Uses

func (x MetricAggregation) Enum() *MetricAggregation

func (MetricAggregation) EnumDescriptor Uses

func (MetricAggregation) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetricAggregation.Descriptor instead.

func (MetricAggregation) Number Uses

func (x MetricAggregation) Number() protoreflect.EnumNumber

func (MetricAggregation) String Uses

func (x MetricAggregation) String() string

func (MetricAggregation) Type Uses

func (MetricAggregation) Type() protoreflect.EnumType

type MetricHeader Uses

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 Uses

func (*MetricHeader) Descriptor() ([]byte, []int)

Deprecated: Use MetricHeader.ProtoReflect.Descriptor instead.

func (*MetricHeader) GetName Uses

func (x *MetricHeader) GetName() string

func (*MetricHeader) GetType Uses

func (x *MetricHeader) GetType() MetricType

func (*MetricHeader) ProtoMessage Uses

func (*MetricHeader) ProtoMessage()

func (*MetricHeader) ProtoReflect Uses

func (x *MetricHeader) ProtoReflect() protoreflect.Message

func (*MetricHeader) Reset Uses

func (x *MetricHeader) Reset()

func (*MetricHeader) String Uses

func (x *MetricHeader) String() string

type MetricMetadata Uses

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"`
    // True if the metric is a custom metric for this property.
    CustomDefinition bool `protobuf:"varint,7,opt,name=custom_definition,json=customDefinition,proto3" json:"custom_definition,omitempty"`
    // contains filtered or unexported fields
}

Explains a metric.

func (*MetricMetadata) Descriptor Uses

func (*MetricMetadata) Descriptor() ([]byte, []int)

Deprecated: Use MetricMetadata.ProtoReflect.Descriptor instead.

func (*MetricMetadata) GetApiName Uses

func (x *MetricMetadata) GetApiName() string

func (*MetricMetadata) GetCustomDefinition Uses

func (x *MetricMetadata) GetCustomDefinition() bool

func (*MetricMetadata) GetDeprecatedApiNames Uses

func (x *MetricMetadata) GetDeprecatedApiNames() []string

func (*MetricMetadata) GetDescription Uses

func (x *MetricMetadata) GetDescription() string

func (*MetricMetadata) GetExpression Uses

func (x *MetricMetadata) GetExpression() string

func (*MetricMetadata) GetType Uses

func (x *MetricMetadata) GetType() MetricType

func (*MetricMetadata) GetUiName Uses

func (x *MetricMetadata) GetUiName() string

func (*MetricMetadata) ProtoMessage Uses

func (*MetricMetadata) ProtoMessage()

func (*MetricMetadata) ProtoReflect Uses

func (x *MetricMetadata) ProtoReflect() protoreflect.Message

func (*MetricMetadata) Reset Uses

func (x *MetricMetadata) Reset()

func (*MetricMetadata) String Uses

func (x *MetricMetadata) String() string

type MetricType Uses

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 Uses

func (MetricType) Descriptor() protoreflect.EnumDescriptor

func (MetricType) Enum Uses

func (x MetricType) Enum() *MetricType

func (MetricType) EnumDescriptor Uses

func (MetricType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetricType.Descriptor instead.

func (MetricType) Number Uses

func (x MetricType) Number() protoreflect.EnumNumber

func (MetricType) String Uses

func (x MetricType) String() string

func (MetricType) Type Uses

func (MetricType) Type() protoreflect.EnumType

type MetricValue Uses

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 Uses

func (*MetricValue) Descriptor() ([]byte, []int)

Deprecated: Use MetricValue.ProtoReflect.Descriptor instead.

func (*MetricValue) GetOneValue Uses

func (m *MetricValue) GetOneValue() isMetricValue_OneValue

func (*MetricValue) GetValue Uses

func (x *MetricValue) GetValue() string

func (*MetricValue) ProtoMessage Uses

func (*MetricValue) ProtoMessage()

func (*MetricValue) ProtoReflect Uses

func (x *MetricValue) ProtoReflect() protoreflect.Message

func (*MetricValue) Reset Uses

func (x *MetricValue) Reset()

func (*MetricValue) String Uses

func (x *MetricValue) String() string

type MetricValue_Value Uses

type MetricValue_Value struct {
    // Measurement value. See MetricHeader for type.
    Value string `protobuf:"bytes,4,opt,name=value,proto3,oneof"`
}

type NumericValue Uses

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 Uses

func (*NumericValue) Descriptor() ([]byte, []int)

Deprecated: Use NumericValue.ProtoReflect.Descriptor instead.

func (*NumericValue) GetDoubleValue Uses

func (x *NumericValue) GetDoubleValue() float64

func (*NumericValue) GetInt64Value Uses

func (x *NumericValue) GetInt64Value() int64

func (*NumericValue) GetOneValue Uses

func (m *NumericValue) GetOneValue() isNumericValue_OneValue

func (*NumericValue) ProtoMessage Uses

func (*NumericValue) ProtoMessage()

func (*NumericValue) ProtoReflect Uses

func (x *NumericValue) ProtoReflect() protoreflect.Message

func (*NumericValue) Reset Uses

func (x *NumericValue) Reset()

func (*NumericValue) String Uses

func (x *NumericValue) String() string

type NumericValue_DoubleValue Uses

type NumericValue_DoubleValue struct {
    // Double value
    DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type NumericValue_Int64Value Uses

type NumericValue_Int64Value struct {
    // Integer value
    Int64Value int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type OrderBy Uses

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 Uses

func (*OrderBy) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy) GetDesc Uses

func (x *OrderBy) GetDesc() bool

func (*OrderBy) GetDimension Uses

func (x *OrderBy) GetDimension() *OrderBy_DimensionOrderBy

func (*OrderBy) GetMetric Uses

func (x *OrderBy) GetMetric() *OrderBy_MetricOrderBy

func (*OrderBy) GetOneOrderBy Uses

func (m *OrderBy) GetOneOrderBy() isOrderBy_OneOrderBy

func (*OrderBy) GetPivot Uses

func (x *OrderBy) GetPivot() *OrderBy_PivotOrderBy

func (*OrderBy) ProtoMessage Uses

func (*OrderBy) ProtoMessage()

func (*OrderBy) ProtoReflect Uses

func (x *OrderBy) ProtoReflect() protoreflect.Message

func (*OrderBy) Reset Uses

func (x *OrderBy) Reset()

func (*OrderBy) String Uses

func (x *OrderBy) String() string

type OrderBy_Dimension Uses

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 Uses

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 `protobuf:"varint,2,opt,name=order_type,json=orderType,proto3,enum=google.analytics.data.v1alpha.OrderBy_DimensionOrderBy_OrderType" json:"order_type,omitempty"`
    // contains filtered or unexported fields
}

Sorts by dimension values.

func (*OrderBy_DimensionOrderBy) Descriptor Uses

func (*OrderBy_DimensionOrderBy) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy_DimensionOrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy_DimensionOrderBy) GetDimensionName Uses

func (x *OrderBy_DimensionOrderBy) GetDimensionName() string

func (*OrderBy_DimensionOrderBy) GetOrderType Uses

func (x *OrderBy_DimensionOrderBy) GetOrderType() OrderBy_DimensionOrderBy_OrderType

func (*OrderBy_DimensionOrderBy) ProtoMessage Uses

func (*OrderBy_DimensionOrderBy) ProtoMessage()

func (*OrderBy_DimensionOrderBy) ProtoReflect Uses

func (x *OrderBy_DimensionOrderBy) ProtoReflect() protoreflect.Message

func (*OrderBy_DimensionOrderBy) Reset Uses

func (x *OrderBy_DimensionOrderBy) Reset()

func (*OrderBy_DimensionOrderBy) String Uses

func (x *OrderBy_DimensionOrderBy) String() string

type OrderBy_DimensionOrderBy_OrderType Uses

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 Uses

func (OrderBy_DimensionOrderBy_OrderType) Descriptor() protoreflect.EnumDescriptor

func (OrderBy_DimensionOrderBy_OrderType) Enum Uses

func (x OrderBy_DimensionOrderBy_OrderType) Enum() *OrderBy_DimensionOrderBy_OrderType

func (OrderBy_DimensionOrderBy_OrderType) EnumDescriptor Uses

func (OrderBy_DimensionOrderBy_OrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderBy_DimensionOrderBy_OrderType.Descriptor instead.

func (OrderBy_DimensionOrderBy_OrderType) Number Uses

func (x OrderBy_DimensionOrderBy_OrderType) Number() protoreflect.EnumNumber

func (OrderBy_DimensionOrderBy_OrderType) String Uses

func (x OrderBy_DimensionOrderBy_OrderType) String() string

func (OrderBy_DimensionOrderBy_OrderType) Type Uses

func (OrderBy_DimensionOrderBy_OrderType) Type() protoreflect.EnumType

type OrderBy_Metric Uses

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 Uses

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 Uses

func (*OrderBy_MetricOrderBy) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy_MetricOrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy_MetricOrderBy) GetMetricName Uses

func (x *OrderBy_MetricOrderBy) GetMetricName() string

func (*OrderBy_MetricOrderBy) ProtoMessage Uses

func (*OrderBy_MetricOrderBy) ProtoMessage()

func (*OrderBy_MetricOrderBy) ProtoReflect Uses

func (x *OrderBy_MetricOrderBy) ProtoReflect() protoreflect.Message

func (*OrderBy_MetricOrderBy) Reset Uses

func (x *OrderBy_MetricOrderBy) Reset()

func (*OrderBy_MetricOrderBy) String Uses

func (x *OrderBy_MetricOrderBy) String() string

type OrderBy_Pivot Uses

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 Uses

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 Uses

func (*OrderBy_PivotOrderBy) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy_PivotOrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy_PivotOrderBy) GetMetricName Uses

func (x *OrderBy_PivotOrderBy) GetMetricName() string

func (*OrderBy_PivotOrderBy) GetPivotSelections Uses

func (x *OrderBy_PivotOrderBy) GetPivotSelections() []*OrderBy_PivotOrderBy_PivotSelection

func (*OrderBy_PivotOrderBy) ProtoMessage Uses

func (*OrderBy_PivotOrderBy) ProtoMessage()

func (*OrderBy_PivotOrderBy) ProtoReflect Uses

func (x *OrderBy_PivotOrderBy) ProtoReflect() protoreflect.Message

func (*OrderBy_PivotOrderBy) Reset Uses

func (x *OrderBy_PivotOrderBy) Reset()

func (*OrderBy_PivotOrderBy) String Uses

func (x *OrderBy_PivotOrderBy) String() string

type OrderBy_PivotOrderBy_PivotSelection Uses

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 Uses

func (*OrderBy_PivotOrderBy_PivotSelection) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy_PivotOrderBy_PivotSelection.ProtoReflect.Descriptor instead.

func (*OrderBy_PivotOrderBy_PivotSelection) GetDimensionName Uses

func (x *OrderBy_PivotOrderBy_PivotSelection) GetDimensionName() string

func (*OrderBy_PivotOrderBy_PivotSelection) GetDimensionValue Uses

func (x *OrderBy_PivotOrderBy_PivotSelection) GetDimensionValue() string

func (*OrderBy_PivotOrderBy_PivotSelection) ProtoMessage Uses

func (*OrderBy_PivotOrderBy_PivotSelection) ProtoMessage()

func (*OrderBy_PivotOrderBy_PivotSelection) ProtoReflect Uses

func (x *OrderBy_PivotOrderBy_PivotSelection) ProtoReflect() protoreflect.Message

func (*OrderBy_PivotOrderBy_PivotSelection) Reset Uses

func (x *OrderBy_PivotOrderBy_PivotSelection) Reset()

func (*OrderBy_PivotOrderBy_PivotSelection) String Uses

func (x *OrderBy_PivotOrderBy_PivotSelection) String() string

type Pivot Uses

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 `protobuf:"varint,5,rep,packed,name=metric_aggregations,json=metricAggregations,proto3,enum=google.analytics.data.v1alpha.MetricAggregation" json:"metric_aggregations,omitempty"`
    // contains filtered or unexported fields
}

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

func (*Pivot) Descriptor Uses

func (*Pivot) Descriptor() ([]byte, []int)

Deprecated: Use Pivot.ProtoReflect.Descriptor instead.

func (*Pivot) GetFieldNames Uses

func (x *Pivot) GetFieldNames() []string

func (*Pivot) GetLimit Uses

func (x *Pivot) GetLimit() int64

func (*Pivot) GetMetricAggregations Uses

func (x *Pivot) GetMetricAggregations() []MetricAggregation

func (*Pivot) GetOffset Uses

func (x *Pivot) GetOffset() int64

func (*Pivot) GetOrderBys Uses

func (x *Pivot) GetOrderBys() []*OrderBy

func (*Pivot) ProtoMessage Uses

func (*Pivot) ProtoMessage()

func (*Pivot) ProtoReflect Uses

func (x *Pivot) ProtoReflect() protoreflect.Message

func (*Pivot) Reset Uses

func (x *Pivot) Reset()

func (*Pivot) String Uses

func (x *Pivot) String() string

type PivotDimensionHeader Uses

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 Uses

func (*PivotDimensionHeader) Descriptor() ([]byte, []int)

Deprecated: Use PivotDimensionHeader.ProtoReflect.Descriptor instead.

func (*PivotDimensionHeader) GetDimensionValues Uses

func (x *PivotDimensionHeader) GetDimensionValues() []*DimensionValue

func (*PivotDimensionHeader) ProtoMessage Uses

func (*PivotDimensionHeader) ProtoMessage()

func (*PivotDimensionHeader) ProtoReflect Uses

func (x *PivotDimensionHeader) ProtoReflect() protoreflect.Message

func (*PivotDimensionHeader) Reset Uses

func (x *PivotDimensionHeader) Reset()

func (*PivotDimensionHeader) String Uses

func (x *PivotDimensionHeader) String() string

type PivotHeader Uses

type PivotHeader struct {

    // The size is the same as the cardinality of the corresponding dimension
    // combinations.
    PivotDimensionHeaders []*PivotDimensionHeader `protobuf:"bytes,1,rep,name=pivot_dimension_headers,json=pivotDimensionHeaders,proto3" json:"pivot_dimension_headers,omitempty"`
    // 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 Uses

func (*PivotHeader) Descriptor() ([]byte, []int)

Deprecated: Use PivotHeader.ProtoReflect.Descriptor instead.

func (*PivotHeader) GetPivotDimensionHeaders Uses

func (x *PivotHeader) GetPivotDimensionHeaders() []*PivotDimensionHeader

func (*PivotHeader) GetRowCount Uses

func (x *PivotHeader) GetRowCount() int32

func (*PivotHeader) ProtoMessage Uses

func (*PivotHeader) ProtoMessage()

func (*PivotHeader) ProtoReflect Uses

func (x *PivotHeader) ProtoReflect() protoreflect.Message

func (*PivotHeader) Reset Uses

func (x *PivotHeader) Reset()

func (*PivotHeader) String Uses

func (x *PivotHeader) String() string

type PropertyQuota Uses

type PropertyQuota struct {

    // Standard Analytics Properties can use up to 25,000 tokens per day;
    // Analytics 360 Properties can use 250,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"`
    // Standard Analytics Properties can use up to 5,000 tokens per day; Analytics
    // 360 Properties can use 50,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"`
    // Standard Analytics Properties can send up to 10 concurrent requests;
    // Analytics 360 Properties can use up to 50 concurrent requests.
    ConcurrentRequests *QuotaStatus `protobuf:"bytes,3,opt,name=concurrent_requests,json=concurrentRequests,proto3" json:"concurrent_requests,omitempty"`
    // Standard Analytics Properties and cloud project pairs can have up to 10
    // server errors per hour; Analytics 360 Properties and cloud project pairs
    // can have up to 50 server errors per hour.
    ServerErrorsPerProjectPerHour *QuotaStatus `protobuf:"bytes,4,opt,name=server_errors_per_project_per_hour,json=serverErrorsPerProjectPerHour,proto3" json:"server_errors_per_project_per_hour,omitempty"`
    // 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 Uses

func (*PropertyQuota) Descriptor() ([]byte, []int)

Deprecated: Use PropertyQuota.ProtoReflect.Descriptor instead.

func (*PropertyQuota) GetConcurrentRequests Uses

func (x *PropertyQuota) GetConcurrentRequests() *QuotaStatus

func (*PropertyQuota) GetServerErrorsPerProjectPerHour Uses

func (x *PropertyQuota) GetServerErrorsPerProjectPerHour() *QuotaStatus

func (*PropertyQuota) GetTokensPerDay Uses

func (x *PropertyQuota) GetTokensPerDay() *QuotaStatus

func (*PropertyQuota) GetTokensPerHour Uses

func (x *PropertyQuota) GetTokensPerHour() *QuotaStatus

func (*PropertyQuota) ProtoMessage Uses

func (*PropertyQuota) ProtoMessage()

func (*PropertyQuota) ProtoReflect Uses

func (x *PropertyQuota) ProtoReflect() protoreflect.Message

func (*PropertyQuota) Reset Uses

func (x *PropertyQuota) Reset()

func (*PropertyQuota) String Uses

func (x *PropertyQuota) String() string

type QuotaStatus Uses

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 Uses

func (*QuotaStatus) Descriptor() ([]byte, []int)

Deprecated: Use QuotaStatus.ProtoReflect.Descriptor instead.

func (*QuotaStatus) GetConsumed Uses

func (x *QuotaStatus) GetConsumed() int32

func (*QuotaStatus) GetRemaining Uses

func (x *QuotaStatus) GetRemaining() int32

func (*QuotaStatus) ProtoMessage Uses

func (*QuotaStatus) ProtoMessage()

func (*QuotaStatus) ProtoReflect Uses

func (x *QuotaStatus) ProtoReflect() protoreflect.Message

func (*QuotaStatus) Reset Uses

func (x *QuotaStatus) Reset()

func (*QuotaStatus) String Uses

func (x *QuotaStatus) String() string

type ResponseMetaData Uses

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 `protobuf:"varint,3,opt,name=data_loss_from_other_row,json=dataLossFromOtherRow,proto3" json:"data_loss_from_other_row,omitempty"`
    // contains filtered or unexported fields
}

Response's metadata carrying additional information about the report content.

func (*ResponseMetaData) Descriptor Uses

func (*ResponseMetaData) Descriptor() ([]byte, []int)

Deprecated: Use ResponseMetaData.ProtoReflect.Descriptor instead.

func (*ResponseMetaData) GetDataLossFromOtherRow Uses

func (x *ResponseMetaData) GetDataLossFromOtherRow() bool

func (*ResponseMetaData) ProtoMessage Uses

func (*ResponseMetaData) ProtoMessage()

func (*ResponseMetaData) ProtoReflect Uses

func (x *ResponseMetaData) ProtoReflect() protoreflect.Message

func (*ResponseMetaData) Reset Uses

func (x *ResponseMetaData) Reset()

func (*ResponseMetaData) String Uses

func (x *ResponseMetaData) String() string

type Row Uses

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"
},
{
  "name": "countryId"
}

], "metrics": [

{
  "name": "eventCount"
}

] “`

One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and 15 as the eventCount, would be:

“`none "dimensionValues": [

{
  "value": "in_app_purchase"
},
{
  "value": "JP"
}

], "metricValues": [

{
  "value": "15"
}

] “`

func (*Row) Descriptor Uses

func (*Row) Descriptor() ([]byte, []int)

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetDimensionValues Uses

func (x *Row) GetDimensionValues() []*DimensionValue

func (*Row) GetMetricValues Uses

func (x *Row) GetMetricValues() []*MetricValue

func (*Row) ProtoMessage Uses

func (*Row) ProtoMessage()

func (*Row) ProtoReflect Uses

func (x *Row) ProtoReflect() protoreflect.Message

func (*Row) Reset Uses

func (x *Row) Reset()

func (*Row) String Uses

func (x *Row) String() string

type RunPivotReportRequest Uses

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 Uses

func (*RunPivotReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunPivotReportRequest.ProtoReflect.Descriptor instead.

func (*RunPivotReportRequest) GetCohortSpec Uses

func (x *RunPivotReportRequest) GetCohortSpec() *CohortSpec

func (*RunPivotReportRequest) GetCurrencyCode Uses

func (x *RunPivotReportRequest) GetCurrencyCode() string

func (*RunPivotReportRequest) GetDateRanges Uses

func (x *RunPivotReportRequest) GetDateRanges() []*DateRange

func (*RunPivotReportRequest) GetDimensionFilter Uses

func (x *RunPivotReportRequest) GetDimensionFilter() *FilterExpression

func (*RunPivotReportRequest) GetDimensions Uses

func (x *RunPivotReportRequest) GetDimensions() []*Dimension

func (*RunPivotReportRequest) GetEntity Uses

func (x *RunPivotReportRequest) GetEntity() *Entity

func (*RunPivotReportRequest) GetKeepEmptyRows Uses

func (x *RunPivotReportRequest) GetKeepEmptyRows() bool

func (*RunPivotReportRequest) GetMetricFilter Uses

func (x *RunPivotReportRequest) GetMetricFilter() *FilterExpression

func (*RunPivotReportRequest) GetMetrics Uses

func (x *RunPivotReportRequest) GetMetrics() []*Metric

func (*RunPivotReportRequest) GetPivots Uses

func (x *RunPivotReportRequest) GetPivots() []*Pivot

func (*RunPivotReportRequest) GetReturnPropertyQuota Uses

func (x *RunPivotReportRequest) GetReturnPropertyQuota() bool

func (*RunPivotReportRequest) ProtoMessage Uses

func (*RunPivotReportRequest) ProtoMessage()

func (*RunPivotReportRequest) ProtoReflect Uses

func (x *RunPivotReportRequest) ProtoReflect() protoreflect.Message

func (*RunPivotReportRequest) Reset Uses

func (x *RunPivotReportRequest) Reset()

func (*RunPivotReportRequest) String Uses

func (x *RunPivotReportRequest) String() string

type RunPivotReportResponse Uses

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 Uses

func (*RunPivotReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunPivotReportResponse.ProtoReflect.Descriptor instead.

func (*RunPivotReportResponse) GetAggregates Uses

func (x *RunPivotReportResponse) GetAggregates() []*Row

func (*RunPivotReportResponse) GetDimensionHeaders Uses

func (x *RunPivotReportResponse) GetDimensionHeaders() []*DimensionHeader

func (*RunPivotReportResponse) GetMetadata Uses

func (x *RunPivotReportResponse) GetMetadata() *ResponseMetaData

func (*RunPivotReportResponse) GetMetricHeaders Uses

func (x *RunPivotReportResponse) GetMetricHeaders() []*MetricHeader

func (*RunPivotReportResponse) GetPivotHeaders Uses

func (x *RunPivotReportResponse) GetPivotHeaders() []*PivotHeader

func (*RunPivotReportResponse) GetPropertyQuota Uses

func (x *RunPivotReportResponse) GetPropertyQuota() *PropertyQuota

func (*RunPivotReportResponse) GetRows Uses

func (x *RunPivotReportResponse) GetRows() []*Row

func (*RunPivotReportResponse) ProtoMessage Uses

func (*RunPivotReportResponse) ProtoMessage()

func (*RunPivotReportResponse) ProtoReflect Uses

func (x *RunPivotReportResponse) ProtoReflect() protoreflect.Message

func (*RunPivotReportResponse) Reset Uses

func (x *RunPivotReportResponse) Reset()

func (*RunPivotReportResponse) String Uses

func (x *RunPivotReportResponse) String() string

type RunRealtimeReportRequest Uses

type RunRealtimeReportRequest struct {

    // A Google Analytics GA4 property identifier whose events are tracked.
    // Specified in the URL path and not the body. To learn more, see [where to
    // find your Property
    // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
    //
    // Example: properties/1234
    Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,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"`
    // The number of rows to return. If unspecified, 10 rows are returned. If
    // -1, all rows are returned.
    Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,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,5,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,6,opt,name=metric_filter,json=metricFilter,proto3" json:"metric_filter,omitempty"`
    // Aggregation of metrics. Aggregated metric values will be shown in rows
    // where the dimension_values are set to "RESERVED_(MetricAggregation)".
    MetricAggregations []MetricAggregation `protobuf:"varint,7,rep,packed,name=metric_aggregations,json=metricAggregations,proto3,enum=google.analytics.data.v1alpha.MetricAggregation" json:"metric_aggregations,omitempty"`
    // Specifies how rows are ordered in the response.
    OrderBys []*OrderBy `protobuf:"bytes,8,rep,name=order_bys,json=orderBys,proto3" json:"order_bys,omitempty"`
    // Toggles whether to return the current state of this Analytics Property's
    // Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
    ReturnPropertyQuota bool `protobuf:"varint,9,opt,name=return_property_quota,json=returnPropertyQuota,proto3" json:"return_property_quota,omitempty"`
    // contains filtered or unexported fields
}

The request to generate a realtime report.

func (*RunRealtimeReportRequest) Descriptor Uses

func (*RunRealtimeReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunRealtimeReportRequest.ProtoReflect.Descriptor instead.

func (*RunRealtimeReportRequest) GetDimensionFilter Uses

func (x *RunRealtimeReportRequest) GetDimensionFilter() *FilterExpression

func (*RunRealtimeReportRequest) GetDimensions Uses

func (x *RunRealtimeReportRequest) GetDimensions() []*Dimension

func (*RunRealtimeReportRequest) GetLimit Uses

func (x *RunRealtimeReportRequest) GetLimit() int64

func (*RunRealtimeReportRequest) GetMetricAggregations Uses

func (x *RunRealtimeReportRequest) GetMetricAggregations() []MetricAggregation

func (*RunRealtimeReportRequest) GetMetricFilter Uses

func (x *RunRealtimeReportRequest) GetMetricFilter() *FilterExpression

func (*RunRealtimeReportRequest) GetMetrics Uses

func (x *RunRealtimeReportRequest) GetMetrics() []*Metric

func (*RunRealtimeReportRequest) GetOrderBys Uses

func (x *RunRealtimeReportRequest) GetOrderBys() []*OrderBy

func (*RunRealtimeReportRequest) GetProperty Uses

func (x *RunRealtimeReportRequest) GetProperty() string

func (*RunRealtimeReportRequest) GetReturnPropertyQuota Uses

func (x *RunRealtimeReportRequest) GetReturnPropertyQuota() bool

func (*RunRealtimeReportRequest) ProtoMessage Uses

func (*RunRealtimeReportRequest) ProtoMessage()

func (*RunRealtimeReportRequest) ProtoReflect Uses

func (x *RunRealtimeReportRequest) ProtoReflect() protoreflect.Message

func (*RunRealtimeReportRequest) Reset Uses

func (x *RunRealtimeReportRequest) Reset()

func (*RunRealtimeReportRequest) String Uses

func (x *RunRealtimeReportRequest) String() string

type RunRealtimeReportResponse Uses

type RunRealtimeReportResponse struct {

    // Describes dimension columns. The number of DimensionHeaders and ordering of
    // DimensionHeaders matches the dimensions present in rows.
    DimensionHeaders []*DimensionHeader `protobuf:"bytes,1,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"`
    // If requested, the totaled values of metrics.
    Totals []*Row `protobuf:"bytes,4,rep,name=totals,proto3" json:"totals,omitempty"`
    // If requested, the maximum values of metrics.
    Maximums []*Row `protobuf:"bytes,5,rep,name=maximums,proto3" json:"maximums,omitempty"`
    // If requested, the minimum values of metrics.
    Minimums []*Row `protobuf:"bytes,6,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,7,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
    // This Analytics Property's Realtime quota state including this request.
    PropertyQuota *PropertyQuota `protobuf:"bytes,8,opt,name=property_quota,json=propertyQuota,proto3" json:"property_quota,omitempty"`
    // contains filtered or unexported fields
}

The response realtime report table corresponding to a request.

func (*RunRealtimeReportResponse) Descriptor Uses

func (*RunRealtimeReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunRealtimeReportResponse.ProtoReflect.Descriptor instead.

func (*RunRealtimeReportResponse) GetDimensionHeaders Uses

func (x *RunRealtimeReportResponse) GetDimensionHeaders() []*DimensionHeader

func (*RunRealtimeReportResponse) GetMaximums Uses

func (x *RunRealtimeReportResponse) GetMaximums() []*Row

func (*RunRealtimeReportResponse) GetMetricHeaders Uses

func (x *RunRealtimeReportResponse) GetMetricHeaders() []*MetricHeader

func (*RunRealtimeReportResponse) GetMinimums Uses

func (x *RunRealtimeReportResponse) GetMinimums() []*Row

func (*RunRealtimeReportResponse) GetPropertyQuota Uses

func (x *RunRealtimeReportResponse) GetPropertyQuota() *PropertyQuota

func (*RunRealtimeReportResponse) GetRowCount Uses

func (x *RunRealtimeReportResponse) GetRowCount() int32

func (*RunRealtimeReportResponse) GetRows Uses

func (x *RunRealtimeReportResponse) GetRows() []*Row

func (*RunRealtimeReportResponse) GetTotals Uses

func (x *RunRealtimeReportResponse) GetTotals() []*Row

func (*RunRealtimeReportResponse) ProtoMessage Uses

func (*RunRealtimeReportResponse) ProtoMessage()

func (*RunRealtimeReportResponse) ProtoReflect Uses

func (x *RunRealtimeReportResponse) ProtoReflect() protoreflect.Message

func (*RunRealtimeReportResponse) Reset Uses

func (x *RunRealtimeReportResponse) Reset()

func (*RunRealtimeReportResponse) String Uses

func (x *RunRealtimeReportResponse) String() string

type RunReportRequest Uses

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.
    //
    // To learn more about this pagination parameter, see
    // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
    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.
    //
    // To learn more about this pagination parameter, see
    // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
    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 `protobuf:"varint,7,rep,packed,name=metric_aggregations,json=metricAggregations,proto3,enum=google.analytics.data.v1alpha.MetricAggregation" json:"metric_aggregations,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,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 Uses

func (*RunReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunReportRequest.ProtoReflect.Descriptor instead.

func (*RunReportRequest) GetCohortSpec Uses

func (x *RunReportRequest) GetCohortSpec() *CohortSpec

func (*RunReportRequest) GetCurrencyCode Uses

func (x *RunReportRequest) GetCurrencyCode() string

func (*RunReportRequest) GetDateRanges Uses

func (x *RunReportRequest) GetDateRanges() []*DateRange

func (*RunReportRequest) GetDimensionFilter Uses

func (x *RunReportRequest) GetDimensionFilter() *FilterExpression

func (*RunReportRequest) GetDimensions Uses

func (x *RunReportRequest) GetDimensions() []*Dimension

func (*RunReportRequest) GetEntity Uses

func (x *RunReportRequest) GetEntity() *Entity

func (*RunReportRequest) GetKeepEmptyRows Uses

func (x *RunReportRequest) GetKeepEmptyRows() bool

func (*RunReportRequest) GetLimit Uses

func (x *RunReportRequest) GetLimit() int64

func (*RunReportRequest) GetMetricAggregations Uses

func (x *RunReportRequest) GetMetricAggregations() []MetricAggregation

func (*RunReportRequest) GetMetricFilter Uses

func (x *RunReportRequest) GetMetricFilter() *FilterExpression

func (*RunReportRequest) GetMetrics Uses

func (x *RunReportRequest) GetMetrics() []*Metric

func (*RunReportRequest) GetOffset Uses

func (x *RunReportRequest) GetOffset() int64

func (*RunReportRequest) GetOrderBys Uses

func (x *RunReportRequest) GetOrderBys() []*OrderBy

func (*RunReportRequest) GetReturnPropertyQuota Uses

func (x *RunReportRequest) GetReturnPropertyQuota() bool

func (*RunReportRequest) ProtoMessage Uses

func (*RunReportRequest) ProtoMessage()

func (*RunReportRequest) ProtoReflect Uses

func (x *RunReportRequest) ProtoReflect() protoreflect.Message

func (*RunReportRequest) Reset Uses

func (x *RunReportRequest) Reset()

func (*RunReportRequest) String Uses

func (x *RunReportRequest) String() string

type RunReportResponse Uses

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.
    //
    // To learn more about this pagination parameter, see
    // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
    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 Uses

func (*RunReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunReportResponse.ProtoReflect.Descriptor instead.

func (*RunReportResponse) GetDimensionHeaders Uses

func (x *RunReportResponse) GetDimensionHeaders() []*DimensionHeader

func (*RunReportResponse) GetMaximums Uses

func (x *RunReportResponse) GetMaximums() []*Row

func (*RunReportResponse) GetMetadata Uses

func (x *RunReportResponse) GetMetadata() *ResponseMetaData

func (*RunReportResponse) GetMetricHeaders Uses

func (x *RunReportResponse) GetMetricHeaders() []*MetricHeader

func (*RunReportResponse) GetMinimums Uses

func (x *RunReportResponse) GetMinimums() []*Row

func (*RunReportResponse) GetPropertyQuota Uses

func (x *RunReportResponse) GetPropertyQuota() *PropertyQuota

func (*RunReportResponse) GetRowCount Uses

func (x *RunReportResponse) GetRowCount() int32

func (*RunReportResponse) GetRows Uses

func (x *RunReportResponse) GetRows() []*Row

func (*RunReportResponse) GetTotals Uses

func (x *RunReportResponse) GetTotals() []*Row

func (*RunReportResponse) ProtoMessage Uses

func (*RunReportResponse) ProtoMessage()

func (*RunReportResponse) ProtoReflect Uses

func (x *RunReportResponse) ProtoReflect() protoreflect.Message

func (*RunReportResponse) Reset Uses

func (x *RunReportResponse) Reset()

func (*RunReportResponse) String Uses

func (x *RunReportResponse) String() string

type UnimplementedAlphaAnalyticsDataServer Uses

type UnimplementedAlphaAnalyticsDataServer struct {
}

UnimplementedAlphaAnalyticsDataServer can be embedded to have forward compatible implementations.

func (*UnimplementedAlphaAnalyticsDataServer) BatchRunPivotReports Uses

func (*UnimplementedAlphaAnalyticsDataServer) BatchRunPivotReports(context.Context, *BatchRunPivotReportsRequest) (*BatchRunPivotReportsResponse, error)

func (*UnimplementedAlphaAnalyticsDataServer) BatchRunReports Uses

func (*UnimplementedAlphaAnalyticsDataServer) BatchRunReports(context.Context, *BatchRunReportsRequest) (*BatchRunReportsResponse, error)

func (*UnimplementedAlphaAnalyticsDataServer) GetMetadata Uses

func (*UnimplementedAlphaAnalyticsDataServer) GetMetadata(context.Context, *GetMetadataRequest) (*Metadata, error)

func (*UnimplementedAlphaAnalyticsDataServer) RunPivotReport Uses

func (*UnimplementedAlphaAnalyticsDataServer) RunPivotReport(context.Context, *RunPivotReportRequest) (*RunPivotReportResponse, error)

func (*UnimplementedAlphaAnalyticsDataServer) RunRealtimeReport Uses

func (*UnimplementedAlphaAnalyticsDataServer) RunRealtimeReport(context.Context, *RunRealtimeReportRequest) (*RunRealtimeReportResponse, error)

func (*UnimplementedAlphaAnalyticsDataServer) RunReport Uses

func (*UnimplementedAlphaAnalyticsDataServer) RunReport(context.Context, *RunReportRequest) (*RunReportResponse, error)

Package data imports 10 packages (graph) and is imported by 1 packages. Updated 2020-12-08. Refresh now. Tools for package owners.