@google-analytics/data 2.7.0 → 3.0.2
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 +49 -0
- package/README.md +40 -19
- package/build/protos/google/analytics/data/v1alpha/analytics_data_api.proto +107 -415
- package/build/protos/google/analytics/data/v1alpha/data.proto +888 -448
- package/build/protos/google/analytics/data/v1beta/data.proto +89 -6
- package/build/protos/protos.d.ts +12012 -9704
- package/build/protos/protos.js +34848 -29013
- package/build/protos/protos.json +3581 -3302
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +102 -41
- package/build/src/v1alpha/alpha_analytics_data_client.js +26 -390
- package/build/src/v1alpha/alpha_analytics_data_client.js.map +1 -1
- package/build/src/v1alpha/alpha_analytics_data_client_config.json +1 -38
- package/build/src/v1alpha/index.js +2 -1
- package/build/src/v1alpha/index.js.map +1 -1
- package/build/src/v1beta/beta_analytics_data_client.d.ts +409 -16
- package/build/src/v1beta/beta_analytics_data_client.js +29 -381
- package/build/src/v1beta/beta_analytics_data_client.js.map +1 -1
- package/build/src/v1beta/index.js +2 -1
- package/build/src/v1beta/index.js.map +1 -1
- package/package.json +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
// ** All changes to this file may be overwritten. **
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.BetaAnalyticsDataClient = void 0;
|
|
21
|
-
/* global window */
|
|
22
|
-
const gax = require("google-gax");
|
|
23
21
|
const jsonProtos = require("../../protos/protos.json");
|
|
24
22
|
/**
|
|
25
23
|
* Client JSON configuration object, loaded from
|
|
@@ -39,7 +37,7 @@ class BetaAnalyticsDataClient {
|
|
|
39
37
|
*
|
|
40
38
|
* @param {object} [options] - The configuration object.
|
|
41
39
|
* The options accepted by the constructor are described in detail
|
|
42
|
-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/
|
|
40
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
43
41
|
* The common options are:
|
|
44
42
|
* @param {object} [options.credentials] - Credentials object.
|
|
45
43
|
* @param {string} [options.credentials.client_email]
|
|
@@ -62,13 +60,19 @@ class BetaAnalyticsDataClient {
|
|
|
62
60
|
* API remote host.
|
|
63
61
|
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
64
62
|
* Follows the structure of {@link gapicConfig}.
|
|
65
|
-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
63
|
+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
|
|
64
|
+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
65
|
+
* For more information, please check the
|
|
66
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
67
|
+
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
|
68
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
|
69
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
|
70
|
+
* ```
|
|
71
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
|
72
|
+
* const client = new BetaAnalyticsDataClient({fallback: 'rest'}, gax);
|
|
73
|
+
* ```
|
|
70
74
|
*/
|
|
71
|
-
constructor(opts) {
|
|
75
|
+
constructor(opts, gaxInstance) {
|
|
72
76
|
var _a, _b;
|
|
73
77
|
this._terminated = false;
|
|
74
78
|
this.descriptors = {
|
|
@@ -89,8 +93,12 @@ class BetaAnalyticsDataClient {
|
|
|
89
93
|
if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
|
|
90
94
|
opts['scopes'] = staticMembers.scopes;
|
|
91
95
|
}
|
|
96
|
+
// Load google-gax module synchronously if needed
|
|
97
|
+
if (!gaxInstance) {
|
|
98
|
+
gaxInstance = require('google-gax');
|
|
99
|
+
}
|
|
92
100
|
// Choose either gRPC or proto-over-HTTP implementation of google-gax.
|
|
93
|
-
this._gaxModule = opts.fallback ?
|
|
101
|
+
this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance;
|
|
94
102
|
// Create a `gaxGrpc` object, with any grpc-specific options sent to the client.
|
|
95
103
|
this._gaxGrpc = new this._gaxModule.GrpcClient(opts);
|
|
96
104
|
// Save options to use in initialize() method.
|
|
@@ -137,7 +145,7 @@ class BetaAnalyticsDataClient {
|
|
|
137
145
|
// merely providing the destination and request information.
|
|
138
146
|
this.innerApiCalls = {};
|
|
139
147
|
// Add a warn function to the client constructor so it can be easily tested.
|
|
140
|
-
this.warn =
|
|
148
|
+
this.warn = this._gaxModule.warn;
|
|
141
149
|
}
|
|
142
150
|
/**
|
|
143
151
|
* Initialize the client.
|
|
@@ -183,7 +191,7 @@ class BetaAnalyticsDataClient {
|
|
|
183
191
|
throw err;
|
|
184
192
|
});
|
|
185
193
|
const descriptor = undefined;
|
|
186
|
-
const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor);
|
|
194
|
+
const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
|
|
187
195
|
this.innerApiCalls[methodName] = apiCall;
|
|
188
196
|
}
|
|
189
197
|
return this.betaAnalyticsDataStub;
|
|
@@ -232,95 +240,6 @@ class BetaAnalyticsDataClient {
|
|
|
232
240
|
}
|
|
233
241
|
return this.auth.getProjectId();
|
|
234
242
|
}
|
|
235
|
-
/**
|
|
236
|
-
* Returns a customized report of your Google Analytics event data. Reports
|
|
237
|
-
* contain statistics derived from data collected by the Google Analytics
|
|
238
|
-
* tracking code. The data returned from the API is as a table with columns
|
|
239
|
-
* for the requested dimensions and metrics. Metrics are individual
|
|
240
|
-
* measurements of user activity on your property, such as active users or
|
|
241
|
-
* event count. Dimensions break down metrics across some common criteria,
|
|
242
|
-
* such as country or event name.
|
|
243
|
-
*
|
|
244
|
-
* @param {Object} request
|
|
245
|
-
* The request object that will be sent.
|
|
246
|
-
* @param {string} request.property
|
|
247
|
-
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
248
|
-
* Specified in the URL path and not the body. To learn more, see [where to
|
|
249
|
-
* find your Property
|
|
250
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
251
|
-
* Within a batch request, this property should either be unspecified or
|
|
252
|
-
* consistent with the batch-level property.
|
|
253
|
-
*
|
|
254
|
-
* Example: properties/1234
|
|
255
|
-
* @param {number[]} request.dimensions
|
|
256
|
-
* The dimensions requested and displayed.
|
|
257
|
-
* @param {number[]} request.metrics
|
|
258
|
-
* The metrics requested and displayed.
|
|
259
|
-
* @param {number[]} request.dateRanges
|
|
260
|
-
* Date ranges of data to read. If multiple date ranges are requested, each
|
|
261
|
-
* response row will contain a zero based date range index. If two date
|
|
262
|
-
* ranges overlap, the event data for the overlapping days is included in the
|
|
263
|
-
* response rows for both date ranges. In a cohort request, this `dateRanges`
|
|
264
|
-
* must be unspecified.
|
|
265
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.dimensionFilter
|
|
266
|
-
* Dimension filters allow you to ask for only specific dimension values in
|
|
267
|
-
* the report. To learn more, see [Fundamentals of Dimension
|
|
268
|
-
* Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
|
|
269
|
-
* for examples. Metrics cannot be used in this filter.
|
|
270
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.metricFilter
|
|
271
|
-
* The filter clause of metrics. Applied at post aggregation phase, similar to
|
|
272
|
-
* SQL having-clause. Dimensions cannot be used in this filter.
|
|
273
|
-
* @param {number} request.offset
|
|
274
|
-
* The row count of the start row. The first row is counted as row 0.
|
|
275
|
-
*
|
|
276
|
-
* When paging, the first request does not specify offset; or equivalently,
|
|
277
|
-
* sets offset to 0; the first request returns the first `limit` of rows. The
|
|
278
|
-
* second request sets offset to the `limit` of the first request; the second
|
|
279
|
-
* request returns the second `limit` of rows.
|
|
280
|
-
*
|
|
281
|
-
* To learn more about this pagination parameter, see
|
|
282
|
-
* [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
283
|
-
* @param {number} request.limit
|
|
284
|
-
* The number of rows to return. If unspecified, 10,000 rows are returned. The
|
|
285
|
-
* API returns a maximum of 100,000 rows per request, no matter how many you
|
|
286
|
-
* ask for. `limit` must be positive.
|
|
287
|
-
*
|
|
288
|
-
* The API can also return fewer rows than the requested `limit`, if there
|
|
289
|
-
* aren't as many dimension values as the `limit`. For instance, there are
|
|
290
|
-
* fewer than 300 possible values for the dimension `country`, so when
|
|
291
|
-
* reporting on only `country`, you can't get more than 300 rows, even if you
|
|
292
|
-
* set `limit` to a higher value.
|
|
293
|
-
*
|
|
294
|
-
* To learn more about this pagination parameter, see
|
|
295
|
-
* [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
|
|
296
|
-
* @param {number[]} request.metricAggregations
|
|
297
|
-
* Aggregation of metrics. Aggregated metric values will be shown in rows
|
|
298
|
-
* where the dimension_values are set to "RESERVED_(MetricAggregation)".
|
|
299
|
-
* @param {number[]} request.orderBys
|
|
300
|
-
* Specifies how rows are ordered in the response.
|
|
301
|
-
* @param {string} request.currencyCode
|
|
302
|
-
* A currency code in ISO4217 format, such as "AED", "USD", "JPY".
|
|
303
|
-
* If the field is empty, the report uses the property's default currency.
|
|
304
|
-
* @param {google.analytics.data.v1beta.CohortSpec} request.cohortSpec
|
|
305
|
-
* Cohort group associated with this request. If there is a cohort group
|
|
306
|
-
* in the request the 'cohort' dimension must be present.
|
|
307
|
-
* @param {boolean} request.keepEmptyRows
|
|
308
|
-
* If false or unspecified, each row with all metrics equal to 0 will not be
|
|
309
|
-
* returned. If true, these rows will be returned if they are not separately
|
|
310
|
-
* removed by a filter.
|
|
311
|
-
* @param {boolean} request.returnPropertyQuota
|
|
312
|
-
* Toggles whether to return the current state of this Analytics Property's
|
|
313
|
-
* quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
314
|
-
* @param {object} [options]
|
|
315
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
316
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
317
|
-
* The first element of the array is an object representing [RunReportResponse]{@link google.analytics.data.v1beta.RunReportResponse}.
|
|
318
|
-
* Please see the
|
|
319
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
320
|
-
* for more details and examples.
|
|
321
|
-
* @example
|
|
322
|
-
* const [response] = await client.runReport(request);
|
|
323
|
-
*/
|
|
324
243
|
runReport(request, optionsOrCallback, callback) {
|
|
325
244
|
request = request || {};
|
|
326
245
|
let options;
|
|
@@ -335,78 +254,12 @@ class BetaAnalyticsDataClient {
|
|
|
335
254
|
options.otherArgs = options.otherArgs || {};
|
|
336
255
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
337
256
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
338
|
-
|
|
257
|
+
this._gaxModule.routingHeader.fromParams({
|
|
339
258
|
property: request.property || '',
|
|
340
259
|
});
|
|
341
260
|
this.initialize();
|
|
342
261
|
return this.innerApiCalls.runReport(request, options, callback);
|
|
343
262
|
}
|
|
344
|
-
/**
|
|
345
|
-
* Returns a customized pivot report of your Google Analytics event data.
|
|
346
|
-
* Pivot reports are more advanced and expressive formats than regular
|
|
347
|
-
* reports. In a pivot report, dimensions are only visible if they are
|
|
348
|
-
* included in a pivot. Multiple pivots can be specified to further dissect
|
|
349
|
-
* your data.
|
|
350
|
-
*
|
|
351
|
-
* @param {Object} request
|
|
352
|
-
* The request object that will be sent.
|
|
353
|
-
* @param {string} request.property
|
|
354
|
-
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
355
|
-
* Specified in the URL path and not the body. To learn more, see [where to
|
|
356
|
-
* find your Property
|
|
357
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
358
|
-
* Within a batch request, this property should either be unspecified or
|
|
359
|
-
* consistent with the batch-level property.
|
|
360
|
-
*
|
|
361
|
-
* Example: properties/1234
|
|
362
|
-
* @param {number[]} request.dimensions
|
|
363
|
-
* The dimensions requested. All defined dimensions must be used by one of the
|
|
364
|
-
* following: dimension_expression, dimension_filter, pivots, order_bys.
|
|
365
|
-
* @param {number[]} request.metrics
|
|
366
|
-
* The metrics requested, at least one metric needs to be specified. All
|
|
367
|
-
* defined metrics must be used by one of the following: metric_expression,
|
|
368
|
-
* metric_filter, order_bys.
|
|
369
|
-
* @param {number[]} request.dateRanges
|
|
370
|
-
* The date range to retrieve event data for the report. If multiple date
|
|
371
|
-
* ranges are specified, event data from each date range is used in the
|
|
372
|
-
* report. A special dimension with field name "dateRange" can be included in
|
|
373
|
-
* a Pivot's field names; if included, the report compares between date
|
|
374
|
-
* ranges. In a cohort request, this `dateRanges` must be unspecified.
|
|
375
|
-
* @param {number[]} request.pivots
|
|
376
|
-
* Describes the visual format of the report's dimensions in columns or rows.
|
|
377
|
-
* The union of the fieldNames (dimension names) in all pivots must be a
|
|
378
|
-
* subset of dimension names defined in Dimensions. No two pivots can share a
|
|
379
|
-
* dimension. A dimension is only visible if it appears in a pivot.
|
|
380
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.dimensionFilter
|
|
381
|
-
* The filter clause of dimensions. Dimensions must be requested to be used in
|
|
382
|
-
* this filter. Metrics cannot be used in this filter.
|
|
383
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.metricFilter
|
|
384
|
-
* The filter clause of metrics. Applied at post aggregation phase, similar to
|
|
385
|
-
* SQL having-clause. Metrics must be requested to be used in this filter.
|
|
386
|
-
* Dimensions cannot be used in this filter.
|
|
387
|
-
* @param {string} request.currencyCode
|
|
388
|
-
* A currency code in ISO4217 format, such as "AED", "USD", "JPY".
|
|
389
|
-
* If the field is empty, the report uses the property's default currency.
|
|
390
|
-
* @param {google.analytics.data.v1beta.CohortSpec} request.cohortSpec
|
|
391
|
-
* Cohort group associated with this request. If there is a cohort group
|
|
392
|
-
* in the request the 'cohort' dimension must be present.
|
|
393
|
-
* @param {boolean} request.keepEmptyRows
|
|
394
|
-
* If false or unspecified, each row with all metrics equal to 0 will not be
|
|
395
|
-
* returned. If true, these rows will be returned if they are not separately
|
|
396
|
-
* removed by a filter.
|
|
397
|
-
* @param {boolean} request.returnPropertyQuota
|
|
398
|
-
* Toggles whether to return the current state of this Analytics Property's
|
|
399
|
-
* quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
400
|
-
* @param {object} [options]
|
|
401
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
402
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
403
|
-
* The first element of the array is an object representing [RunPivotReportResponse]{@link google.analytics.data.v1beta.RunPivotReportResponse}.
|
|
404
|
-
* Please see the
|
|
405
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
406
|
-
* for more details and examples.
|
|
407
|
-
* @example
|
|
408
|
-
* const [response] = await client.runPivotReport(request);
|
|
409
|
-
*/
|
|
410
263
|
runPivotReport(request, optionsOrCallback, callback) {
|
|
411
264
|
request = request || {};
|
|
412
265
|
let options;
|
|
@@ -421,41 +274,12 @@ class BetaAnalyticsDataClient {
|
|
|
421
274
|
options.otherArgs = options.otherArgs || {};
|
|
422
275
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
423
276
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
424
|
-
|
|
277
|
+
this._gaxModule.routingHeader.fromParams({
|
|
425
278
|
property: request.property || '',
|
|
426
279
|
});
|
|
427
280
|
this.initialize();
|
|
428
281
|
return this.innerApiCalls.runPivotReport(request, options, callback);
|
|
429
282
|
}
|
|
430
|
-
/**
|
|
431
|
-
* Returns multiple reports in a batch. All reports must be for the same
|
|
432
|
-
* GA4 Property.
|
|
433
|
-
*
|
|
434
|
-
* @param {Object} request
|
|
435
|
-
* The request object that will be sent.
|
|
436
|
-
* @param {string} request.property
|
|
437
|
-
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
438
|
-
* Specified in the URL path and not the body. To learn more, see [where to
|
|
439
|
-
* find your Property
|
|
440
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
441
|
-
* This property must be specified for the batch. The property within
|
|
442
|
-
* RunReportRequest may either be unspecified or consistent with this
|
|
443
|
-
* property.
|
|
444
|
-
*
|
|
445
|
-
* Example: properties/1234
|
|
446
|
-
* @param {number[]} request.requests
|
|
447
|
-
* Individual requests. Each request has a separate report response. Each
|
|
448
|
-
* batch request is allowed up to 5 requests.
|
|
449
|
-
* @param {object} [options]
|
|
450
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
451
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
452
|
-
* The first element of the array is an object representing [BatchRunReportsResponse]{@link google.analytics.data.v1beta.BatchRunReportsResponse}.
|
|
453
|
-
* Please see the
|
|
454
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
455
|
-
* for more details and examples.
|
|
456
|
-
* @example
|
|
457
|
-
* const [response] = await client.batchRunReports(request);
|
|
458
|
-
*/
|
|
459
283
|
batchRunReports(request, optionsOrCallback, callback) {
|
|
460
284
|
request = request || {};
|
|
461
285
|
let options;
|
|
@@ -470,41 +294,12 @@ class BetaAnalyticsDataClient {
|
|
|
470
294
|
options.otherArgs = options.otherArgs || {};
|
|
471
295
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
472
296
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
473
|
-
|
|
297
|
+
this._gaxModule.routingHeader.fromParams({
|
|
474
298
|
property: request.property || '',
|
|
475
299
|
});
|
|
476
300
|
this.initialize();
|
|
477
301
|
return this.innerApiCalls.batchRunReports(request, options, callback);
|
|
478
302
|
}
|
|
479
|
-
/**
|
|
480
|
-
* Returns multiple pivot reports in a batch. All reports must be for the same
|
|
481
|
-
* GA4 Property.
|
|
482
|
-
*
|
|
483
|
-
* @param {Object} request
|
|
484
|
-
* The request object that will be sent.
|
|
485
|
-
* @param {string} request.property
|
|
486
|
-
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
487
|
-
* Specified in the URL path and not the body. To learn more, see [where to
|
|
488
|
-
* find your Property
|
|
489
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
490
|
-
* This property must be specified for the batch. The property within
|
|
491
|
-
* RunPivotReportRequest may either be unspecified or consistent with this
|
|
492
|
-
* property.
|
|
493
|
-
*
|
|
494
|
-
* Example: properties/1234
|
|
495
|
-
* @param {number[]} request.requests
|
|
496
|
-
* Individual requests. Each request has a separate pivot report response.
|
|
497
|
-
* Each batch request is allowed up to 5 requests.
|
|
498
|
-
* @param {object} [options]
|
|
499
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
500
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
501
|
-
* The first element of the array is an object representing [BatchRunPivotReportsResponse]{@link google.analytics.data.v1beta.BatchRunPivotReportsResponse}.
|
|
502
|
-
* Please see the
|
|
503
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
504
|
-
* for more details and examples.
|
|
505
|
-
* @example
|
|
506
|
-
* const [response] = await client.batchRunPivotReports(request);
|
|
507
|
-
*/
|
|
508
303
|
batchRunPivotReports(request, optionsOrCallback, callback) {
|
|
509
304
|
request = request || {};
|
|
510
305
|
let options;
|
|
@@ -519,48 +314,12 @@ class BetaAnalyticsDataClient {
|
|
|
519
314
|
options.otherArgs = options.otherArgs || {};
|
|
520
315
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
521
316
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
522
|
-
|
|
317
|
+
this._gaxModule.routingHeader.fromParams({
|
|
523
318
|
property: request.property || '',
|
|
524
319
|
});
|
|
525
320
|
this.initialize();
|
|
526
321
|
return this.innerApiCalls.batchRunPivotReports(request, options, callback);
|
|
527
322
|
}
|
|
528
|
-
/**
|
|
529
|
-
* Returns metadata for dimensions and metrics available in reporting methods.
|
|
530
|
-
* Used to explore the dimensions and metrics. In this method, a Google
|
|
531
|
-
* Analytics GA4 Property Identifier is specified in the request, and
|
|
532
|
-
* the metadata response includes Custom dimensions and metrics as well as
|
|
533
|
-
* Universal metadata.
|
|
534
|
-
*
|
|
535
|
-
* For example if a custom metric with parameter name `levels_unlocked` is
|
|
536
|
-
* registered to a property, the Metadata response will contain
|
|
537
|
-
* `customEvent:levels_unlocked`. Universal metadata are dimensions and
|
|
538
|
-
* metrics applicable to any property such as `country` and `totalUsers`.
|
|
539
|
-
*
|
|
540
|
-
* @param {Object} request
|
|
541
|
-
* The request object that will be sent.
|
|
542
|
-
* @param {string} request.name
|
|
543
|
-
* Required. The resource name of the metadata to retrieve. This name field is
|
|
544
|
-
* specified in the URL path and not URL parameters. Property is a numeric
|
|
545
|
-
* Google Analytics GA4 Property identifier. To learn more, see [where to find
|
|
546
|
-
* your Property
|
|
547
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
548
|
-
*
|
|
549
|
-
* Example: properties/1234/metadata
|
|
550
|
-
*
|
|
551
|
-
* Set the Property ID to 0 for dimensions and metrics common to all
|
|
552
|
-
* properties. In this special mode, this method will not return custom
|
|
553
|
-
* dimensions and metrics.
|
|
554
|
-
* @param {object} [options]
|
|
555
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
556
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
557
|
-
* The first element of the array is an object representing [Metadata]{@link google.analytics.data.v1beta.Metadata}.
|
|
558
|
-
* Please see the
|
|
559
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
560
|
-
* for more details and examples.
|
|
561
|
-
* @example
|
|
562
|
-
* const [response] = await client.getMetadata(request);
|
|
563
|
-
*/
|
|
564
323
|
getMetadata(request, optionsOrCallback, callback) {
|
|
565
324
|
request = request || {};
|
|
566
325
|
let options;
|
|
@@ -575,71 +334,12 @@ class BetaAnalyticsDataClient {
|
|
|
575
334
|
options.otherArgs = options.otherArgs || {};
|
|
576
335
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
577
336
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
578
|
-
|
|
337
|
+
this._gaxModule.routingHeader.fromParams({
|
|
579
338
|
name: request.name || '',
|
|
580
339
|
});
|
|
581
340
|
this.initialize();
|
|
582
341
|
return this.innerApiCalls.getMetadata(request, options, callback);
|
|
583
342
|
}
|
|
584
|
-
/**
|
|
585
|
-
* The Google Analytics Realtime API returns a customized report of realtime
|
|
586
|
-
* event data for your property. These reports show events and usage from the
|
|
587
|
-
* last 30 minutes.
|
|
588
|
-
*
|
|
589
|
-
* @param {Object} request
|
|
590
|
-
* The request object that will be sent.
|
|
591
|
-
* @param {string} request.property
|
|
592
|
-
* A Google Analytics GA4 property identifier whose events are tracked.
|
|
593
|
-
* Specified in the URL path and not the body. To learn more, see [where to
|
|
594
|
-
* find your Property
|
|
595
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
596
|
-
*
|
|
597
|
-
* Example: properties/1234
|
|
598
|
-
* @param {number[]} request.dimensions
|
|
599
|
-
* The dimensions requested and displayed.
|
|
600
|
-
* @param {number[]} request.metrics
|
|
601
|
-
* The metrics requested and displayed.
|
|
602
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.dimensionFilter
|
|
603
|
-
* The filter clause of dimensions. Dimensions must be requested to be used in
|
|
604
|
-
* this filter. Metrics cannot be used in this filter.
|
|
605
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.metricFilter
|
|
606
|
-
* The filter clause of metrics. Applied at post aggregation phase, similar to
|
|
607
|
-
* SQL having-clause. Metrics must be requested to be used in this filter.
|
|
608
|
-
* Dimensions cannot be used in this filter.
|
|
609
|
-
* @param {number} request.limit
|
|
610
|
-
* The number of rows to return. If unspecified, 10,000 rows are returned. The
|
|
611
|
-
* API returns a maximum of 100,000 rows per request, no matter how many you
|
|
612
|
-
* ask for. `limit` must be positive.
|
|
613
|
-
*
|
|
614
|
-
* The API can also return fewer rows than the requested `limit`, if there
|
|
615
|
-
* aren't as many dimension values as the `limit`. For instance, there are
|
|
616
|
-
* fewer than 300 possible values for the dimension `country`, so when
|
|
617
|
-
* reporting on only `country`, you can't get more than 300 rows, even if you
|
|
618
|
-
* set `limit` to a higher value.
|
|
619
|
-
* @param {number[]} request.metricAggregations
|
|
620
|
-
* Aggregation of metrics. Aggregated metric values will be shown in rows
|
|
621
|
-
* where the dimension_values are set to "RESERVED_(MetricAggregation)".
|
|
622
|
-
* @param {number[]} request.orderBys
|
|
623
|
-
* Specifies how rows are ordered in the response.
|
|
624
|
-
* @param {boolean} request.returnPropertyQuota
|
|
625
|
-
* Toggles whether to return the current state of this Analytics Property's
|
|
626
|
-
* Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
|
|
627
|
-
* @param {number[]} request.minuteRanges
|
|
628
|
-
* The minute ranges of event data to read. If unspecified, one minute range
|
|
629
|
-
* for the last 30 minutes will be used. If multiple minute ranges are
|
|
630
|
-
* requested, each response row will contain a zero based minute range index.
|
|
631
|
-
* If two minute ranges overlap, the event data for the overlapping minutes is
|
|
632
|
-
* included in the response rows for both minute ranges.
|
|
633
|
-
* @param {object} [options]
|
|
634
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
635
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
636
|
-
* The first element of the array is an object representing [RunRealtimeReportResponse]{@link google.analytics.data.v1beta.RunRealtimeReportResponse}.
|
|
637
|
-
* Please see the
|
|
638
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
639
|
-
* for more details and examples.
|
|
640
|
-
* @example
|
|
641
|
-
* const [response] = await client.runRealtimeReport(request);
|
|
642
|
-
*/
|
|
643
343
|
runRealtimeReport(request, optionsOrCallback, callback) {
|
|
644
344
|
request = request || {};
|
|
645
345
|
let options;
|
|
@@ -654,63 +354,12 @@ class BetaAnalyticsDataClient {
|
|
|
654
354
|
options.otherArgs = options.otherArgs || {};
|
|
655
355
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
656
356
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
657
|
-
|
|
357
|
+
this._gaxModule.routingHeader.fromParams({
|
|
658
358
|
property: request.property || '',
|
|
659
359
|
});
|
|
660
360
|
this.initialize();
|
|
661
361
|
return this.innerApiCalls.runRealtimeReport(request, options, callback);
|
|
662
362
|
}
|
|
663
|
-
/**
|
|
664
|
-
* This compatibility method lists dimensions and metrics that can be added to
|
|
665
|
-
* a report request and maintain compatibility. This method fails if the
|
|
666
|
-
* request's dimensions and metrics are incompatible.
|
|
667
|
-
*
|
|
668
|
-
* In Google Analytics, reports fail if they request incompatible dimensions
|
|
669
|
-
* and/or metrics; in that case, you will need to remove dimensions and/or
|
|
670
|
-
* metrics from the incompatible report until the report is compatible.
|
|
671
|
-
*
|
|
672
|
-
* The Realtime and Core reports have different compatibility rules. This
|
|
673
|
-
* method checks compatibility for Core reports.
|
|
674
|
-
*
|
|
675
|
-
* @param {Object} request
|
|
676
|
-
* The request object that will be sent.
|
|
677
|
-
* @param {string} request.property
|
|
678
|
-
* A Google Analytics GA4 property identifier whose events are tracked. To
|
|
679
|
-
* learn more, see [where to find your Property
|
|
680
|
-
* ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
|
|
681
|
-
* `property` should be the same value as in your `runReport` request.
|
|
682
|
-
*
|
|
683
|
-
* Example: properties/1234
|
|
684
|
-
*
|
|
685
|
-
* Set the Property ID to 0 for compatibility checking on dimensions and
|
|
686
|
-
* metrics common to all properties. In this special mode, this method will
|
|
687
|
-
* not return custom dimensions and metrics.
|
|
688
|
-
* @param {number[]} request.dimensions
|
|
689
|
-
* The dimensions in this report. `dimensions` should be the same value as in
|
|
690
|
-
* your `runReport` request.
|
|
691
|
-
* @param {number[]} request.metrics
|
|
692
|
-
* The metrics in this report. `metrics` should be the same value as in your
|
|
693
|
-
* `runReport` request.
|
|
694
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.dimensionFilter
|
|
695
|
-
* The filter clause of dimensions. `dimensionFilter` should be the same value
|
|
696
|
-
* as in your `runReport` request.
|
|
697
|
-
* @param {google.analytics.data.v1beta.FilterExpression} request.metricFilter
|
|
698
|
-
* The filter clause of metrics. `metricFilter` should be the same value as in
|
|
699
|
-
* your `runReport` request
|
|
700
|
-
* @param {google.analytics.data.v1beta.Compatibility} request.compatibilityFilter
|
|
701
|
-
* Filters the dimensions and metrics in the response to just this
|
|
702
|
-
* compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
|
|
703
|
-
* to only return compatible dimensions & metrics.
|
|
704
|
-
* @param {object} [options]
|
|
705
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
706
|
-
* @returns {Promise} - The promise which resolves to an array.
|
|
707
|
-
* The first element of the array is an object representing [CheckCompatibilityResponse]{@link google.analytics.data.v1beta.CheckCompatibilityResponse}.
|
|
708
|
-
* Please see the
|
|
709
|
-
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
710
|
-
* for more details and examples.
|
|
711
|
-
* @example
|
|
712
|
-
* const [response] = await client.checkCompatibility(request);
|
|
713
|
-
*/
|
|
714
363
|
checkCompatibility(request, optionsOrCallback, callback) {
|
|
715
364
|
request = request || {};
|
|
716
365
|
let options;
|
|
@@ -725,7 +374,7 @@ class BetaAnalyticsDataClient {
|
|
|
725
374
|
options.otherArgs = options.otherArgs || {};
|
|
726
375
|
options.otherArgs.headers = options.otherArgs.headers || {};
|
|
727
376
|
options.otherArgs.headers['x-goog-request-params'] =
|
|
728
|
-
|
|
377
|
+
this._gaxModule.routingHeader.fromParams({
|
|
729
378
|
property: request.property || '',
|
|
730
379
|
});
|
|
731
380
|
this.initialize();
|
|
@@ -762,8 +411,7 @@ class BetaAnalyticsDataClient {
|
|
|
762
411
|
* @returns {Promise} A promise that resolves when the client is closed.
|
|
763
412
|
*/
|
|
764
413
|
close() {
|
|
765
|
-
this.
|
|
766
|
-
if (!this._terminated) {
|
|
414
|
+
if (this.betaAnalyticsDataStub && !this._terminated) {
|
|
767
415
|
return this.betaAnalyticsDataStub.then(stub => {
|
|
768
416
|
this._terminated = true;
|
|
769
417
|
stub.close();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beta_analytics_data_client.js","sourceRoot":"","sources":["../../../src/v1beta/beta_analytics_data_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mBAAmB;AACnB,kCAAkC;AAIlC,uDAAwD;AACxD;;;;GAIG;AACH,wEAAwE;AAExE,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;GAIG;AACH,MAAa,uBAAuB;IAoBlC;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yqCC"}
|
|
1
|
+
{"version":3,"file":"beta_analytics_data_client.js","sourceRoot":"","sources":["../../../src/v1beta/beta_analytics_data_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAYrD,uDAAwD;AACxD;;;;GAIG;AACH,wEAAwE;AACxE,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;GAIG;AACH,MAAa,uBAAuB;IAoBlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,YACE,IAAoB,EACpB,WAA8C;;QA7DxC,gBAAW,GAAG,KAAK,CAAC;QAQ5B,gBAAW,GAAgB;YACzB,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE;YACV,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb,CAAC;QAkDA,uDAAuD;QACvD,MAAM,aAAa,GAAG,IAAI,CAAC,WAA6C,CAAC;QACzE,MAAM,WAAW,GACf,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,MAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,CAAA,IAAI,aAAa,CAAC,WAAW,CAAC;QACtE,IAAI,CAAC,0BAA0B,GAAG,CAAC,CAAC,CAClC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,MAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,CAAA,CACvC,CAAC;QACF,MAAM,IAAI,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,KAAI,aAA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E;YACnD,OAAO,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;SACJ;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AAvrCD,0DAurCC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
// ** https://github.com/googleapis/gapic-generator-typescript **
|
|
18
18
|
// ** All changes to this file may be overwritten. **
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.BetaAnalyticsDataClient = void 0;
|
|
20
21
|
var beta_analytics_data_client_1 = require("./beta_analytics_data_client");
|
|
21
22
|
Object.defineProperty(exports, "BetaAnalyticsDataClient", { enumerable: true, get: function () { return beta_analytics_data_client_1.BetaAnalyticsDataClient; } });
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1beta/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1beta/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,2EAAqE;AAA7D,qIAAA,uBAAuB,OAAA"}
|