Socket
Socket
Sign inDemoInstall

@google-analytics/data

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-analytics/data - npm Package Compare versions

Comparing version 3.3.0 to 4.0.0

38

build/src/v1alpha/alpha_analytics_data_client.d.ts

@@ -194,5 +194,4 @@ /// <reference types="node" />

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1alpha.RunFunnelReportResponse | RunFunnelReportResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1alpha.RunFunnelReportResponse|RunFunnelReportResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -247,5 +246,4 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.run_funnel_report.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1alpha.QueryAudienceListResponse | QueryAudienceListResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1alpha.QueryAudienceListResponse|QueryAudienceListResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -274,5 +272,4 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.query_audience_list.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1alpha.AudienceList | AudienceList}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -319,4 +316,3 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.get_audience_list.js</caption>

* you can `await` for.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.

@@ -339,4 +335,3 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.create_audience_list.js</caption>

* The decoded operation object has result and metadata field to get information from.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.

@@ -372,3 +367,3 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.create_audience_list.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is Array of {@link google.analytics.data.v1alpha.AudienceList | AudienceList}.
* The first element of the array is Array of {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList}.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -379,4 +374,3 @@ * times as needed and will merge results from all the pages into this array.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -412,3 +406,3 @@ */

* @returns {Stream}
* An object stream which emits an object representing {@link google.analytics.data.v1alpha.AudienceList | AudienceList} on 'data' event.
* An object stream which emits an object representing {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -418,4 +412,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -447,8 +440,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.analytics.data.v1alpha.AudienceList | AudienceList}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -455,0 +447,0 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.list_audience_lists.js</caption>

@@ -363,4 +363,3 @@ "use strict";

* The decoded operation object has result and metadata field to get information from.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.

@@ -418,3 +417,3 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.create_audience_list.js</caption>

* @returns {Stream}
* An object stream which emits an object representing {@link google.analytics.data.v1alpha.AudienceList | AudienceList} on 'data' event.
* An object stream which emits an object representing {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -424,4 +423,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -467,8 +465,7 @@ */

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.analytics.data.v1alpha.AudienceList | AudienceList}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -475,0 +472,0 @@ * @example <caption>include:samples/generated/v1alpha/alpha_analytics_data.list_audience_lists.js</caption>

@@ -143,3 +143,3 @@ import type * as gax from 'google-gax';

* @param {google.analytics.data.v1beta.FilterExpression} request.dimensionFilter
* Dimension filters allow you to ask for only specific dimension values in
* Dimension filters let you ask for only specific dimension values in
* the report. To learn more, see [Fundamentals of Dimension

@@ -163,3 +163,3 @@ * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)

* The number of rows to return. If unspecified, 10,000 rows are returned. The
* API returns a maximum of 100,000 rows per request, no matter how many you
* API returns a maximum of 250,000 rows per request, no matter how many you
* ask for. `limit` must be positive.

@@ -190,2 +190,9 @@ *

* removed by a filter.
*
* Regardless of this `keep_empty_rows` setting, only data recorded by the
* Google Analytics (GA4) property can be displayed in a report.
*
* For example if a property never logs a `purchase` event, then a query for
* the `eventName` dimension and `eventCount` metric will not have a row
* eventName: "purchase" and eventCount: 0.
* @param {boolean} request.returnPropertyQuota

@@ -197,5 +204,4 @@ * Toggles whether to return the current state of this Analytics Property's

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.RunReportResponse | RunReportResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.RunReportResponse|RunReportResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -265,2 +271,9 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.run_report.js</caption>

* removed by a filter.
*
* Regardless of this `keep_empty_rows` setting, only data recorded by the
* Google Analytics (GA4) property can be displayed in a report.
*
* For example if a property never logs a `purchase` event, then a query for
* the `eventName` dimension and `eventCount` metric will not have a row
* eventName: "purchase" and eventCount: 0.
* @param {boolean} request.returnPropertyQuota

@@ -272,5 +285,4 @@ * Toggles whether to return the current state of this Analytics Property's

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.RunPivotReportResponse | RunPivotReportResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.RunPivotReportResponse|RunPivotReportResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -309,5 +321,4 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.run_pivot_report.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.BatchRunReportsResponse | BatchRunReportsResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.BatchRunReportsResponse|BatchRunReportsResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -346,5 +357,4 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.batch_run_reports.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.BatchRunPivotReportsResponse | BatchRunPivotReportsResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.BatchRunPivotReportsResponse|BatchRunPivotReportsResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -390,5 +400,4 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.batch_run_pivot_reports.js</caption>

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.Metadata | Metadata}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.Metadata|Metadata}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -436,3 +445,3 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.get_metadata.js</caption>

* The number of rows to return. If unspecified, 10,000 rows are returned. The
* API returns a maximum of 100,000 rows per request, no matter how many you
* API returns a maximum of 250,000 rows per request, no matter how many you
* ask for. `limit` must be positive.

@@ -462,5 +471,4 @@ *

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.RunRealtimeReportResponse | RunRealtimeReportResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.RunRealtimeReportResponse|RunRealtimeReportResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -498,6 +506,2 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.run_realtime_report.js</caption>

* Example: properties/1234
*
* Set the Property ID to 0 for compatibility checking on dimensions and
* metrics common to all properties. In this special mode, this method will
* not return custom dimensions and metrics.
* @param {number[]} request.dimensions

@@ -522,5 +526,4 @@ * The dimensions in this report. `dimensions` should be the same value as in

* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.analytics.data.v1beta.CheckCompatibilityResponse | CheckCompatibilityResponse}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* The first element of the array is an object representing {@link protos.google.analytics.data.v1beta.CheckCompatibilityResponse|CheckCompatibilityResponse}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -527,0 +530,0 @@ * @example <caption>include:samples/generated/v1beta/beta_analytics_data.check_compatibility.js</caption>

# Changelog
## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/data-v3.3.0...data-v4.0.0) (2023-08-06)
### ⚠ BREAKING CHANGES
* migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443))
### Bug Fixes
* [Many APIs] fix typings for IAM methods ([#4459](https://github.com/googleapis/google-cloud-node/issues/4459)) ([1d510be](https://github.com/googleapis/google-cloud-node/commit/1d510bef5bd7b0ac3552b4729ef3d9ebe1ac3dc4))
### Miscellaneous Chores
* Migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443)) ([2260f12](https://github.com/googleapis/google-cloud-node/commit/2260f12543d171bda95345e53475f5f0fdc45770))
## [3.3.0](https://github.com/googleapis/google-cloud-node/compare/data-v3.2.2...data-v3.3.0) (2023-07-11)

@@ -4,0 +20,0 @@

{
"name": "@google-analytics/data",
"version": "3.3.0",
"version": "4.0.0",
"description": "Data client for Node.js",

@@ -48,10 +48,11 @@ "repository": {

"dependencies": {
"google-gax": "^3.5.8"
"google-gax": "^4.0.3"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^18.0.0",
"@types/node": "^20.4.5",
"@types/sinon": "^10.0.0",
"c8": "^7.2.0",
"gts": "^3.1.0",
"c8": "^8.0.1",
"gapic-tools": "^0.1.8",
"gts": "^5.0.0",
"jsdoc": "^4.0.0",

@@ -63,14 +64,10 @@ "jsdoc-fresh": "^2.0.0",

"mocha": "^9.2.2",
"null-loader": "^4.0.0",
"pack-n-play": "^1.0.0-2",
"sinon": "^15.0.0",
"ts-loader": "^9.0.0",
"typescript": "^4.6.4",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0"
"typescript": "^5.1.6"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-data"
}

@@ -133,3 +133,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of

@@ -136,0 +136,0 @@ Node.js.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc