@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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021 Google LLC
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.AlphaAnalyticsDataClient = 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 AlphaAnalyticsDataClient {
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/master/client-libraries.md#creating-the-client-instance).
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 AlphaAnalyticsDataClient {
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
- * In fallback mode, a special browser-compatible transport implementation is used
67
- * instead of gRPC transport. In browser context (if the `window` object is defined)
68
- * the fallback mode is enabled automatically; set `options.fallback` to `false`
69
- * if you need to override this behavior.
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 AlphaAnalyticsDataClient({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 AlphaAnalyticsDataClient {
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 ? gax.fallback : gax;
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.
@@ -124,12 +132,6 @@ class AlphaAnalyticsDataClient {
124
132
  }
125
133
  // Load the applicable protos.
126
134
  this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos);
127
- // This API contains "path templates"; forward-slash-separated
128
- // identifiers to uniquely identify resources within the API.
129
- // Create useful helper objects for these.
130
- this.pathTemplates = {
131
- metadataPathTemplate: new this._gaxModule.PathTemplate('properties/{property}/metadata'),
132
- };
133
135
  // Put together the default options sent with requests.
134
136
  this._defaults = this._gaxGrpc.constructSettings('google.analytics.data.v1alpha.AlphaAnalyticsData', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
135
137
  // Set up a dictionary of "inner API calls"; the core implementation
@@ -137,7 +139,7 @@ class AlphaAnalyticsDataClient {
137
139
  // merely providing the destination and request information.
138
140
  this.innerApiCalls = {};
139
141
  // Add a warn function to the client constructor so it can be easily tested.
140
- this.warn = gax.warn;
142
+ this.warn = this._gaxModule.warn;
141
143
  }
142
144
  /**
143
145
  * Initialize the client.
@@ -164,14 +166,7 @@ class AlphaAnalyticsDataClient {
164
166
  .AlphaAnalyticsData, this._opts, this._providedCustomServicePath);
165
167
  // Iterate over each of the methods that the service provides
166
168
  // and create an API call method for each.
167
- const alphaAnalyticsDataStubMethods = [
168
- 'runReport',
169
- 'runPivotReport',
170
- 'batchRunReports',
171
- 'batchRunPivotReports',
172
- 'getMetadata',
173
- 'runRealtimeReport',
174
- ];
169
+ const alphaAnalyticsDataStubMethods = ['runFunnelReport'];
175
170
  for (const methodName of alphaAnalyticsDataStubMethods) {
176
171
  const callPromise = this.alphaAnalyticsDataStub.then(stub => (...args) => {
177
172
  if (this._terminated) {
@@ -183,7 +178,7 @@ class AlphaAnalyticsDataClient {
183
178
  throw err;
184
179
  });
185
180
  const descriptor = undefined;
186
- const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor);
181
+ const apiCall = this._gaxModule.createApiCall(callPromise, this._defaults[methodName], descriptor, this._opts.fallback);
187
182
  this.innerApiCalls[methodName] = apiCall;
188
183
  }
189
184
  return this.alphaAnalyticsDataStub;
@@ -232,341 +227,7 @@ class AlphaAnalyticsDataClient {
232
227
  }
233
228
  return this.auth.getProjectId();
234
229
  }
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 {google.analytics.data.v1alpha.Entity} request.entity
247
- * A property whose events are tracked. Within a batch request, this entity
248
- * should either be unspecified or consistent with the batch-level entity.
249
- * @param {number[]} request.dimensions
250
- * The dimensions requested and displayed.
251
- * @param {number[]} request.metrics
252
- * The metrics requested and displayed.
253
- * @param {number[]} request.dateRanges
254
- * Date ranges of data to read. If multiple date ranges are requested, each
255
- * response row will contain a zero based date range index. If two date
256
- * ranges overlap, the event data for the overlapping days is included in the
257
- * response rows for both date ranges. In a cohort request, this `dateRanges`
258
- * must be unspecified.
259
- * @param {number} request.offset
260
- * The row count of the start row. The first row is counted as row 0.
261
- *
262
- * To learn more about this pagination parameter, see
263
- * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
264
- * @param {number} request.limit
265
- * The number of rows to return. If unspecified, 10 rows are returned. If
266
- * -1, all rows are returned.
267
- *
268
- * To learn more about this pagination parameter, see
269
- * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).
270
- * @param {number[]} request.metricAggregations
271
- * Aggregation of metrics. Aggregated metric values will be shown in rows
272
- * where the dimension_values are set to "RESERVED_(MetricAggregation)".
273
- * @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
274
- * The filter clause of dimensions. Dimensions must be requested to be used in
275
- * this filter. Metrics cannot be used in this filter.
276
- * @param {google.analytics.data.v1alpha.FilterExpression} request.metricFilter
277
- * The filter clause of metrics. Applied at post aggregation phase, similar to
278
- * SQL having-clause. Metrics must be requested to be used in this filter.
279
- * Dimensions cannot be used in this filter.
280
- * @param {number[]} request.orderBys
281
- * Specifies how rows are ordered in the response.
282
- * @param {string} request.currencyCode
283
- * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
284
- * If the field is empty, the report uses the entity's default currency.
285
- * @param {google.analytics.data.v1alpha.CohortSpec} request.cohortSpec
286
- * Cohort group associated with this request. If there is a cohort group
287
- * in the request the 'cohort' dimension must be present.
288
- * @param {boolean} request.keepEmptyRows
289
- * If false or unspecified, each row with all metrics equal to 0 will not be
290
- * returned. If true, these rows will be returned if they are not separately
291
- * removed by a filter.
292
- * @param {boolean} request.returnPropertyQuota
293
- * Toggles whether to return the current state of this Analytics Property's
294
- * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
295
- * @param {object} [options]
296
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
297
- * @returns {Promise} - The promise which resolves to an array.
298
- * The first element of the array is an object representing [RunReportResponse]{@link google.analytics.data.v1alpha.RunReportResponse}.
299
- * Please see the
300
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
301
- * for more details and examples.
302
- * @example
303
- * const [response] = await client.runReport(request);
304
- */
305
- runReport(request, optionsOrCallback, callback) {
306
- request = request || {};
307
- let options;
308
- if (typeof optionsOrCallback === 'function' && callback === undefined) {
309
- callback = optionsOrCallback;
310
- options = {};
311
- }
312
- else {
313
- options = optionsOrCallback;
314
- }
315
- options = options || {};
316
- this.initialize();
317
- return this.innerApiCalls.runReport(request, options, callback);
318
- }
319
- /**
320
- * Returns a customized pivot report of your Google Analytics event data.
321
- * Pivot reports are more advanced and expressive formats than regular
322
- * reports. In a pivot report, dimensions are only visible if they are
323
- * included in a pivot. Multiple pivots can be specified to further dissect
324
- * your data.
325
- *
326
- * @param {Object} request
327
- * The request object that will be sent.
328
- * @param {google.analytics.data.v1alpha.Entity} request.entity
329
- * A property whose events are tracked. Within a batch request, this entity
330
- * should either be unspecified or consistent with the batch-level entity.
331
- * @param {number[]} request.dimensions
332
- * The dimensions requested. All defined dimensions must be used by one of the
333
- * following: dimension_expression, dimension_filter, pivots, order_bys.
334
- * @param {number[]} request.metrics
335
- * The metrics requested, at least one metric needs to be specified. All
336
- * defined metrics must be used by one of the following: metric_expression,
337
- * metric_filter, order_bys.
338
- * @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
339
- * The filter clause of dimensions. Dimensions must be requested to be used in
340
- * this filter. Metrics cannot be used in this filter.
341
- * @param {google.analytics.data.v1alpha.FilterExpression} request.metricFilter
342
- * The filter clause of metrics. Applied at post aggregation phase, similar to
343
- * SQL having-clause. Metrics must be requested to be used in this filter.
344
- * Dimensions cannot be used in this filter.
345
- * @param {number[]} request.pivots
346
- * Describes the visual format of the report's dimensions in columns or rows.
347
- * The union of the fieldNames (dimension names) in all pivots must be a
348
- * subset of dimension names defined in Dimensions. No two pivots can share a
349
- * dimension. A dimension is only visible if it appears in a pivot.
350
- * @param {number[]} request.dateRanges
351
- * The date range to retrieve event data for the report. If multiple date
352
- * ranges are specified, event data from each date range is used in the
353
- * report. A special dimension with field name "dateRange" can be included in
354
- * a Pivot's field names; if included, the report compares between date
355
- * ranges. In a cohort request, this `dateRanges` must be unspecified.
356
- * @param {string} request.currencyCode
357
- * A currency code in ISO4217 format, such as "AED", "USD", "JPY".
358
- * If the field is empty, the report uses the entity's default currency.
359
- * @param {google.analytics.data.v1alpha.CohortSpec} request.cohortSpec
360
- * Cohort group associated with this request. If there is a cohort group
361
- * in the request the 'cohort' dimension must be present.
362
- * @param {boolean} request.keepEmptyRows
363
- * If false or unspecified, each row with all metrics equal to 0 will not be
364
- * returned. If true, these rows will be returned if they are not separately
365
- * removed by a filter.
366
- * @param {boolean} request.returnPropertyQuota
367
- * Toggles whether to return the current state of this Analytics Property's
368
- * quota. Quota is returned in [PropertyQuota](#PropertyQuota).
369
- * @param {object} [options]
370
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
371
- * @returns {Promise} - The promise which resolves to an array.
372
- * The first element of the array is an object representing [RunPivotReportResponse]{@link google.analytics.data.v1alpha.RunPivotReportResponse}.
373
- * Please see the
374
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
375
- * for more details and examples.
376
- * @example
377
- * const [response] = await client.runPivotReport(request);
378
- */
379
- runPivotReport(request, optionsOrCallback, callback) {
380
- request = request || {};
381
- let options;
382
- if (typeof optionsOrCallback === 'function' && callback === undefined) {
383
- callback = optionsOrCallback;
384
- options = {};
385
- }
386
- else {
387
- options = optionsOrCallback;
388
- }
389
- options = options || {};
390
- this.initialize();
391
- return this.innerApiCalls.runPivotReport(request, options, callback);
392
- }
393
- /**
394
- * Returns multiple reports in a batch. All reports must be for the same
395
- * Entity.
396
- *
397
- * @param {Object} request
398
- * The request object that will be sent.
399
- * @param {google.analytics.data.v1alpha.Entity} request.entity
400
- * A property whose events are tracked. This entity must be specified for the
401
- * batch. The entity within RunReportRequest may either be unspecified or
402
- * consistent with this entity.
403
- * @param {number[]} request.requests
404
- * Individual requests. Each request has a separate report response. Each
405
- * batch request is allowed up to 5 requests.
406
- * @param {object} [options]
407
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
408
- * @returns {Promise} - The promise which resolves to an array.
409
- * The first element of the array is an object representing [BatchRunReportsResponse]{@link google.analytics.data.v1alpha.BatchRunReportsResponse}.
410
- * Please see the
411
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
412
- * for more details and examples.
413
- * @example
414
- * const [response] = await client.batchRunReports(request);
415
- */
416
- batchRunReports(request, optionsOrCallback, callback) {
417
- request = request || {};
418
- let options;
419
- if (typeof optionsOrCallback === 'function' && callback === undefined) {
420
- callback = optionsOrCallback;
421
- options = {};
422
- }
423
- else {
424
- options = optionsOrCallback;
425
- }
426
- options = options || {};
427
- this.initialize();
428
- return this.innerApiCalls.batchRunReports(request, options, callback);
429
- }
430
- /**
431
- * Returns multiple pivot reports in a batch. All reports must be for the same
432
- * Entity.
433
- *
434
- * @param {Object} request
435
- * The request object that will be sent.
436
- * @param {google.analytics.data.v1alpha.Entity} request.entity
437
- * A property whose events are tracked. This entity must be specified for the
438
- * batch. The entity within RunPivotReportRequest may either be unspecified or
439
- * consistent with this entity.
440
- * @param {number[]} request.requests
441
- * Individual requests. Each request has a separate pivot report response.
442
- * Each batch request is allowed up to 5 requests.
443
- * @param {object} [options]
444
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
445
- * @returns {Promise} - The promise which resolves to an array.
446
- * The first element of the array is an object representing [BatchRunPivotReportsResponse]{@link google.analytics.data.v1alpha.BatchRunPivotReportsResponse}.
447
- * Please see the
448
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
449
- * for more details and examples.
450
- * @example
451
- * const [response] = await client.batchRunPivotReports(request);
452
- */
453
- batchRunPivotReports(request, optionsOrCallback, callback) {
454
- request = request || {};
455
- let options;
456
- if (typeof optionsOrCallback === 'function' && callback === undefined) {
457
- callback = optionsOrCallback;
458
- options = {};
459
- }
460
- else {
461
- options = optionsOrCallback;
462
- }
463
- options = options || {};
464
- this.initialize();
465
- return this.innerApiCalls.batchRunPivotReports(request, options, callback);
466
- }
467
- /**
468
- * Returns metadata for dimensions and metrics available in reporting methods.
469
- * Used to explore the dimensions and metrics. In this method, a Google
470
- * Analytics GA4 Property Identifier is specified in the request, and
471
- * the metadata response includes Custom dimensions and metrics as well as
472
- * Universal metadata.
473
- *
474
- * For example if a custom metric with parameter name `levels_unlocked` is
475
- * registered to a property, the Metadata response will contain
476
- * `customEvent:levels_unlocked`. Universal metadata are dimensions and
477
- * metrics applicable to any property such as `country` and `totalUsers`.
478
- *
479
- * @param {Object} request
480
- * The request object that will be sent.
481
- * @param {string} request.name
482
- * Required. The resource name of the metadata to retrieve. This name field is
483
- * specified in the URL path and not URL parameters. Property is a numeric
484
- * Google Analytics GA4 Property identifier. To learn more, see [where to find
485
- * your Property
486
- * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
487
- *
488
- * Example: properties/1234/metadata
489
- *
490
- * Set the Property ID to 0 for dimensions and metrics common to all
491
- * properties. In this special mode, this method will not return custom
492
- * dimensions and metrics.
493
- * @param {object} [options]
494
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
495
- * @returns {Promise} - The promise which resolves to an array.
496
- * The first element of the array is an object representing [Metadata]{@link google.analytics.data.v1alpha.Metadata}.
497
- * Please see the
498
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
499
- * for more details and examples.
500
- * @example
501
- * const [response] = await client.getMetadata(request);
502
- */
503
- getMetadata(request, optionsOrCallback, callback) {
504
- request = request || {};
505
- let options;
506
- if (typeof optionsOrCallback === 'function' && callback === undefined) {
507
- callback = optionsOrCallback;
508
- options = {};
509
- }
510
- else {
511
- options = optionsOrCallback;
512
- }
513
- options = options || {};
514
- options.otherArgs = options.otherArgs || {};
515
- options.otherArgs.headers = options.otherArgs.headers || {};
516
- options.otherArgs.headers['x-goog-request-params'] =
517
- gax.routingHeader.fromParams({
518
- name: request.name || '',
519
- });
520
- this.initialize();
521
- return this.innerApiCalls.getMetadata(request, options, callback);
522
- }
523
- /**
524
- * The Google Analytics Realtime API returns a customized report of realtime
525
- * event data for your property. These reports show events and usage from the
526
- * last 30 minutes.
527
- *
528
- * @param {Object} request
529
- * The request object that will be sent.
530
- * @param {string} request.property
531
- * A Google Analytics GA4 property identifier whose events are tracked.
532
- * Specified in the URL path and not the body. To learn more, see [where to
533
- * find your Property
534
- * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
535
- *
536
- * Example: properties/1234
537
- * @param {number[]} request.dimensions
538
- * The dimensions requested and displayed.
539
- * @param {number[]} request.metrics
540
- * The metrics requested and displayed.
541
- * @param {number} request.limit
542
- * The number of rows to return. If unspecified, 10 rows are returned. If
543
- * -1, all rows are returned.
544
- * @param {google.analytics.data.v1alpha.FilterExpression} request.dimensionFilter
545
- * The filter clause of dimensions. Dimensions must be requested to be used in
546
- * this filter. Metrics cannot be used in this filter.
547
- * @param {google.analytics.data.v1alpha.FilterExpression} request.metricFilter
548
- * The filter clause of metrics. Applied at post aggregation phase, similar to
549
- * SQL having-clause. Metrics must be requested to be used in this filter.
550
- * Dimensions cannot be used in this filter.
551
- * @param {number[]} request.metricAggregations
552
- * Aggregation of metrics. Aggregated metric values will be shown in rows
553
- * where the dimension_values are set to "RESERVED_(MetricAggregation)".
554
- * @param {number[]} request.orderBys
555
- * Specifies how rows are ordered in the response.
556
- * @param {boolean} request.returnPropertyQuota
557
- * Toggles whether to return the current state of this Analytics Property's
558
- * Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
559
- * @param {object} [options]
560
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
561
- * @returns {Promise} - The promise which resolves to an array.
562
- * The first element of the array is an object representing [RunRealtimeReportResponse]{@link google.analytics.data.v1alpha.RunRealtimeReportResponse}.
563
- * Please see the
564
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
565
- * for more details and examples.
566
- * @example
567
- * const [response] = await client.runRealtimeReport(request);
568
- */
569
- runRealtimeReport(request, optionsOrCallback, callback) {
230
+ runFunnelReport(request, optionsOrCallback, callback) {
570
231
  request = request || {};
571
232
  let options;
572
233
  if (typeof optionsOrCallback === 'function' && callback === undefined) {
@@ -580,35 +241,11 @@ class AlphaAnalyticsDataClient {
580
241
  options.otherArgs = options.otherArgs || {};
581
242
  options.otherArgs.headers = options.otherArgs.headers || {};
582
243
  options.otherArgs.headers['x-goog-request-params'] =
583
- gax.routingHeader.fromParams({
244
+ this._gaxModule.routingHeader.fromParams({
584
245
  property: request.property || '',
585
246
  });
586
247
  this.initialize();
587
- return this.innerApiCalls.runRealtimeReport(request, options, callback);
588
- }
589
- // --------------------
590
- // -- Path templates --
591
- // --------------------
592
- /**
593
- * Return a fully-qualified metadata resource name string.
594
- *
595
- * @param {string} property
596
- * @returns {string} Resource name string.
597
- */
598
- metadataPath(property) {
599
- return this.pathTemplates.metadataPathTemplate.render({
600
- property: property,
601
- });
602
- }
603
- /**
604
- * Parse the property from Metadata resource.
605
- *
606
- * @param {string} metadataName
607
- * A fully-qualified path representing Metadata resource.
608
- * @returns {string} A string representing the property.
609
- */
610
- matchPropertyFromMetadataName(metadataName) {
611
- return this.pathTemplates.metadataPathTemplate.match(metadataName).property;
248
+ return this.innerApiCalls.runFunnelReport(request, options, callback);
612
249
  }
613
250
  /**
614
251
  * Terminate the gRPC channel and close the client.
@@ -617,8 +254,7 @@ class AlphaAnalyticsDataClient {
617
254
  * @returns {Promise} A promise that resolves when the client is closed.
618
255
  */
619
256
  close() {
620
- this.initialize();
621
- if (!this._terminated) {
257
+ if (this.alphaAnalyticsDataStub && !this._terminated) {
622
258
  return this.alphaAnalyticsDataStub.then(stub => {
623
259
  this._terminated = true;
624
260
  stub.close();
@@ -1 +1 @@
1
- {"version":3,"file":"alpha_analytics_data_client.js","sourceRoot":"","sources":["../../../src/v1alpha/alpha_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,yEAAyE;AAEzE,MAAM,OAAO,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AAEzD;;;;GAIG;AACH,MAAa,wBAAwB;IAoBnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,YAAY,IAAoB;;QArDxB,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;QAyCA,uDAAuD;QACvD,MAAM,aAAa,GAAG,IAAI,CAAC,WAA8C,CAAC;QAC1E,MAAM,WAAW,GACf,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAA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,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,IAAI,EAAE,CAAC;QAC5D,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,uBAAuB,CAAC;YAChD,GAAG,CAAC,aAAa,CAAC,UAAU,CAAC;gBAC3B,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,EAAE;aACjC,CAAC,CAAC;QACL,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC1E,CAAC;IAED,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IAEvB;;;;;OAKG;IACH,YAAY,CAAC,QAAgB;QAC3B,OAAO,IAAI,CAAC,aAAa,CAAC,oBAAoB,CAAC,MAAM,CAAC;YACpD,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,6BAA6B,CAAC,YAAoB;QAChD,OAAO,IAAI,CAAC,aAAa,CAAC,oBAAoB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC;IAC9E,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,OAAO,IAAI,CAAC,sBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC9C,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;AAl+BD,4DAk+BC"}
1
+ {"version":3,"file":"alpha_analytics_data_client.js","sourceRoot":"","sources":["../../../src/v1alpha/alpha_analytics_data_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAm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OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,IAAI,EAAE,CAAC;QAC5D,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,uBAAuB,CAAC;YAChD,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC;gBACvC,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,EAAE;aACjC,CAAC,CAAC;QACL,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;IACxE,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,IAAI,CAAC,sBAAsB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACpD,OAAO,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC7C,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;AAtbD,4DAsbC"}
@@ -6,9 +6,6 @@
6
6
  "idempotent": [
7
7
  "DEADLINE_EXCEEDED",
8
8
  "UNAVAILABLE"
9
- ],
10
- "unknown": [
11
- "UNKNOWN"
12
9
  ]
13
10
  },
14
11
  "retry_params": {
@@ -20,47 +17,13 @@
20
17
  "rpc_timeout_multiplier": 1,
21
18
  "max_rpc_timeout_millis": 60000,
22
19
  "total_timeout_millis": 600000
23
- },
24
- "01d6d956b4dadd7e38ee9dec12ed8720e6e6f90c": {
25
- "initial_retry_delay_millis": 1000,
26
- "retry_delay_multiplier": 1.3,
27
- "max_retry_delay_millis": 60000,
28
- "initial_rpc_timeout_millis": 60000,
29
- "rpc_timeout_multiplier": 1,
30
- "max_rpc_timeout_millis": 60000,
31
- "total_timeout_millis": 600000
32
20
  }
33
21
  },
34
22
  "methods": {
35
- "RunReport": {
36
- "timeout_millis": 60000,
37
- "retry_codes_name": "non_idempotent",
38
- "retry_params_name": "default"
39
- },
40
- "RunPivotReport": {
23
+ "RunFunnelReport": {
41
24
  "timeout_millis": 60000,
42
25
  "retry_codes_name": "non_idempotent",
43
26
  "retry_params_name": "default"
44
- },
45
- "BatchRunReports": {
46
- "timeout_millis": 60000,
47
- "retry_codes_name": "non_idempotent",
48
- "retry_params_name": "default"
49
- },
50
- "BatchRunPivotReports": {
51
- "timeout_millis": 60000,
52
- "retry_codes_name": "non_idempotent",
53
- "retry_params_name": "default"
54
- },
55
- "GetMetadata": {
56
- "timeout_millis": 60000,
57
- "retry_codes_name": "unknown",
58
- "retry_params_name": "01d6d956b4dadd7e38ee9dec12ed8720e6e6f90c"
59
- },
60
- "RunRealtimeReport": {
61
- "timeout_millis": 60000,
62
- "retry_codes_name": "unknown",
63
- "retry_params_name": "01d6d956b4dadd7e38ee9dec12ed8720e6e6f90c"
64
27
  }
65
28
  }
66
29
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021 Google LLC
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.AlphaAnalyticsDataClient = void 0;
20
21
  var alpha_analytics_data_client_1 = require("./alpha_analytics_data_client");
21
22
  Object.defineProperty(exports, "AlphaAnalyticsDataClient", { enumerable: true, get: function () { return alpha_analytics_data_client_1.AlphaAnalyticsDataClient; } });
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1alpha/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,6EAAuE;AAA/D,uIAAA,wBAAwB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1alpha/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,6EAAuE;AAA/D,uIAAA,wBAAwB,OAAA"}