@google-analytics/data 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +7 -0
- package/build/protos/google/analytics/data/v1alpha/analytics_data_api.proto +208 -1
- package/build/protos/google/analytics/data/v1beta/analytics_data_api.proto +341 -1
- package/build/protos/google/analytics/data/v1beta/data.proto +54 -7
- package/build/protos/protos.d.ts +6381 -4885
- package/build/protos/protos.js +18026 -14981
- package/build/protos/protos.json +892 -530
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +220 -0
- package/build/src/v1alpha/alpha_analytics_data_client.js +196 -0
- package/build/src/v1alpha/alpha_analytics_data_client_config.json +15 -0
- package/build/src/v1beta/beta_analytics_data_client.d.ts +440 -1
- package/build/src/v1beta/beta_analytics_data_client.js +410 -1
- package/build/src/v1beta/beta_analytics_data_client_config.json +32 -0
- package/package.json +2 -2
|
@@ -81,7 +81,16 @@ message MinuteRange {
|
|
|
81
81
|
message Dimension {
|
|
82
82
|
// The name of the dimension. See the [API
|
|
83
83
|
// Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
|
|
84
|
-
// for the list of dimension names
|
|
84
|
+
// for the list of dimension names supported by core reporting methods such
|
|
85
|
+
// as `runReport` and `batchRunReports`. See
|
|
86
|
+
// [Realtime
|
|
87
|
+
// Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions)
|
|
88
|
+
// for the list of dimension names supported by the `runRealtimeReport`
|
|
89
|
+
// method. See
|
|
90
|
+
// [Funnel
|
|
91
|
+
// Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions)
|
|
92
|
+
// for the list of dimension names supported by the `runFunnelReport`
|
|
93
|
+
// method.
|
|
85
94
|
//
|
|
86
95
|
// If `dimensionExpression` is specified, `name` can be any string that you
|
|
87
96
|
// would like within the allowed character set. For example if a
|
|
@@ -146,7 +155,16 @@ message DimensionExpression {
|
|
|
146
155
|
message Metric {
|
|
147
156
|
// The name of the metric. See the [API
|
|
148
157
|
// Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
|
|
149
|
-
// for the list of metric names
|
|
158
|
+
// for the list of metric names supported by core reporting methods such
|
|
159
|
+
// as `runReport` and `batchRunReports`. See
|
|
160
|
+
// [Realtime
|
|
161
|
+
// Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics)
|
|
162
|
+
// for the list of metric names supported by the `runRealtimeReport`
|
|
163
|
+
// method. See
|
|
164
|
+
// [Funnel
|
|
165
|
+
// Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics)
|
|
166
|
+
// for the list of metric names supported by the `runFunnelReport`
|
|
167
|
+
// method.
|
|
150
168
|
//
|
|
151
169
|
// If `expression` is specified, `name` can be any string that you would like
|
|
152
170
|
// within the allowed character set. For example if `expression` is
|
|
@@ -626,10 +644,39 @@ message ResponseMetaData {
|
|
|
626
644
|
// possible for a request to be subject to thresholding thresholding and no
|
|
627
645
|
// data is absent from the report, and this happens when all data is above the
|
|
628
646
|
// thresholds. To learn more, see [Data
|
|
629
|
-
// thresholds](https://support.google.com/analytics/answer/9383630)
|
|
630
|
-
// Demographics and
|
|
631
|
-
// Interests](https://support.google.com/analytics/answer/2799357).
|
|
647
|
+
// thresholds](https://support.google.com/analytics/answer/9383630).
|
|
632
648
|
optional bool subject_to_thresholding = 8;
|
|
649
|
+
|
|
650
|
+
// If this report results is
|
|
651
|
+
// [sampled](https://support.google.com/analytics/answer/13331292), this
|
|
652
|
+
// describes the percentage of events used in this report. One
|
|
653
|
+
// `samplingMetadatas` is populated for each date range. Each
|
|
654
|
+
// `samplingMetadatas` corresponds to a date range in order that date ranges
|
|
655
|
+
// were specified in the request.
|
|
656
|
+
//
|
|
657
|
+
// However if the results are not sampled, this field will not be defined.
|
|
658
|
+
repeated SamplingMetadata sampling_metadatas = 9;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
// If this report results is
|
|
662
|
+
// [sampled](https://support.google.com/analytics/answer/13331292), this
|
|
663
|
+
// describes the percentage of events used in this report. Sampling is the
|
|
664
|
+
// practice of analyzing a subset of all data in order to uncover the meaningful
|
|
665
|
+
// information in the larger data set.
|
|
666
|
+
message SamplingMetadata {
|
|
667
|
+
// The total number of events read in this sampled report for a date range.
|
|
668
|
+
// This is the size of the subset this property's data that was analyzed in
|
|
669
|
+
// this report.
|
|
670
|
+
int64 samples_read_count = 1;
|
|
671
|
+
|
|
672
|
+
// The total number of events present in this property's data that could
|
|
673
|
+
// have been analyzed in this report for a date range. Sampling
|
|
674
|
+
// uncovers the meaningful information about the larger data set, and this
|
|
675
|
+
// is the size of the larger data set.
|
|
676
|
+
//
|
|
677
|
+
// To calculate the percentage of available data that was used in this
|
|
678
|
+
// report, compute `samplesReadCount/samplingSpaceSize`.
|
|
679
|
+
int64 sampling_space_size = 2;
|
|
633
680
|
}
|
|
634
681
|
|
|
635
682
|
// Describes a dimension column in the report. Dimensions requested in a report
|
|
@@ -789,10 +836,10 @@ message PropertyQuota {
|
|
|
789
836
|
// Current state for a particular quota group.
|
|
790
837
|
message QuotaStatus {
|
|
791
838
|
// Quota consumed by this request.
|
|
792
|
-
int32 consumed = 1;
|
|
839
|
+
optional int32 consumed = 1;
|
|
793
840
|
|
|
794
841
|
// Quota remaining after this request.
|
|
795
|
-
int32 remaining = 2;
|
|
842
|
+
optional int32 remaining = 2;
|
|
796
843
|
}
|
|
797
844
|
|
|
798
845
|
// Explains a dimension.
|