@maxim_mazurok/gapi.client.analyticsdata-v1beta 0.0.20231101 → 0.0.20231105
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/index.d.ts +21 -2
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://analyticsdata.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231105
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -583,6 +583,13 @@ declare namespace gapi.client {
|
|
|
583
583
|
/** If empty reason is specified, the report is empty for this reason. */
|
|
584
584
|
emptyReason?:
|
|
585
585
|
string;
|
|
586
|
+
/**
|
|
587
|
+
* If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is
|
|
588
|
+
* populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled,
|
|
589
|
+
* this field will not be defined.
|
|
590
|
+
*/
|
|
591
|
+
samplingMetadatas?:
|
|
592
|
+
SamplingMetadata[];
|
|
586
593
|
/**
|
|
587
594
|
* Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction
|
|
588
595
|
* management](https://support.google.com/analytics/answer/10851388).
|
|
@@ -592,7 +599,7 @@ declare namespace gapi.client {
|
|
|
592
599
|
/**
|
|
593
600
|
* If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be
|
|
594
601
|
* subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see [Data
|
|
595
|
-
* thresholds](https://support.google.com/analytics/answer/9383630)
|
|
602
|
+
* thresholds](https://support.google.com/analytics/answer/9383630).
|
|
596
603
|
*/
|
|
597
604
|
subjectToThresholding?:
|
|
598
605
|
boolean;
|
|
@@ -868,6 +875,18 @@ declare namespace gapi.client {
|
|
|
868
875
|
totals?:
|
|
869
876
|
Row[];
|
|
870
877
|
}
|
|
878
|
+
interface SamplingMetadata {
|
|
879
|
+
/** The total number of events read in this sampled report for a date range. This is the size of the subset this property's data that was analyzed in this report. */
|
|
880
|
+
samplesReadCount?:
|
|
881
|
+
string;
|
|
882
|
+
/**
|
|
883
|
+
* The total number of events present in this property's data that could have been analyzed in this report for a date range. Sampling uncovers the meaningful information about the
|
|
884
|
+
* larger data set, and this is the size of the larger data set. To calculate the percentage of available data that was used in this report, compute
|
|
885
|
+
* `samplesReadCount/samplingSpaceSize`.
|
|
886
|
+
*/
|
|
887
|
+
samplingSpaceSize?:
|
|
888
|
+
string;
|
|
889
|
+
}
|
|
871
890
|
interface SchemaRestrictionResponse {
|
|
872
891
|
/**
|
|
873
892
|
* All restrictions actively enforced in creating the report. For example, `purchaseRevenue` always has the restriction type `REVENUE_DATA`. However, this active response restriction
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20231105
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|