@google-analytics/data 4.12.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +2 -2
- package/build/protos/google/analytics/data/v1alpha/analytics_data_api.proto +1 -1
- package/build/protos/google/analytics/data/v1alpha/data.proto +1 -1
- package/build/protos/google/analytics/data/v1beta/analytics_data_api.proto +1 -1
- package/build/protos/google/analytics/data/v1beta/data.proto +1 -1
- package/build/protos/protos.d.ts +1 -1
- package/build/protos/protos.js +1 -1
- package/build/protos/protos.json +0 -3
- package/build/src/index.js +1 -1
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +8 -7
- package/build/src/v1alpha/alpha_analytics_data_client.js +307 -79
- package/build/src/v1alpha/alpha_analytics_data_proto_list.json +4 -0
- package/build/src/v1alpha/gapic_metadata.json +175 -0
- package/build/src/v1alpha/index.js +1 -1
- package/build/src/v1beta/beta_analytics_data_client.d.ts +6 -5
- package/build/src/v1beta/beta_analytics_data_client.js +254 -60
- package/build/src/v1beta/beta_analytics_data_proto_list.json +4 -0
- package/build/src/v1beta/gapic_metadata.json +137 -0
- package/build/src/v1beta/index.js +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.0.0](https://github.com/googleapis/google-cloud-node/compare/data-v4.12.1...data-v5.0.0) (2025-03-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096))
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* [Many APIs] add request/response debug logging to gapics, update templates to gax 5 ([54a73fe](https://github.com/googleapis/google-cloud-node/commit/54a73fe74eab0675c006f24d5f1e4574c44d829b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Miscellaneous Chores
|
|
16
|
+
|
|
17
|
+
* Upgrade to Node 18 ([#6096](https://github.com/googleapis/google-cloud-node/issues/6096)) ([eadae64](https://github.com/googleapis/google-cloud-node/commit/eadae64d54e07aa2c65097ea52e65008d4e87436))
|
|
18
|
+
|
|
19
|
+
## [4.12.1](https://github.com/googleapis/google-cloud-node/compare/data-v4.12.0...data-v4.12.1) (2025-02-12)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* [Many APIs] finalize fixing typings for headers in generator ([#6011](https://github.com/googleapis/google-cloud-node/issues/6011)) ([ee865ff](https://github.com/googleapis/google-cloud-node/commit/ee865ff34a696fbd657e4cfb6cc4be2f6651f77a))
|
|
25
|
+
|
|
3
26
|
## [4.12.0](https://github.com/googleapis/google-cloud-node/compare/data-v4.11.0...data-v4.12.0) (2024-12-18)
|
|
4
27
|
|
|
5
28
|
|
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
43
43
|
|
|
44
44
|
1. [Select or create a Cloud Platform project][projects].
|
|
45
45
|
1. [Enable the Google Analytics Data API][enable_api].
|
|
46
|
-
1. [Set up authentication][auth] so you can access the
|
|
46
|
+
1. [Set up authentication with a service account][auth] so you can access the
|
|
47
47
|
API from your local workstation.
|
|
48
48
|
|
|
49
49
|
### Installing the client library
|
|
@@ -203,4 +203,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
|
|
|
203
203
|
[projects]: https://console.cloud.google.com/project
|
|
204
204
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
205
205
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=analyticsdata.googleapis.com
|
|
206
|
-
[auth]: https://cloud.google.com/docs/authentication/
|
|
206
|
+
[auth]: https://cloud.google.com/docs/authentication/getting-started
|
package/build/protos/protos.d.ts
CHANGED
package/build/protos/protos.js
CHANGED
package/build/protos/protos.json
CHANGED
package/build/src/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
17
17
|
private _defaults;
|
|
18
18
|
private _universeDomain;
|
|
19
19
|
private _servicePath;
|
|
20
|
+
private _log;
|
|
20
21
|
auth: gax.GoogleAuth;
|
|
21
22
|
descriptors: Descriptors;
|
|
22
23
|
warn: (code: string, message: string, warnType?: string) => void;
|
|
@@ -52,7 +53,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
52
53
|
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
|
53
54
|
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
|
54
55
|
* app is running in an environment which supports
|
|
55
|
-
* {@link https://
|
|
56
|
+
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
|
|
56
57
|
* your project ID will be detected automatically.
|
|
57
58
|
* @param {string} [options.apiEndpoint] - The domain name of the
|
|
58
59
|
* API remote host.
|
|
@@ -719,7 +720,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
719
720
|
listAudienceLists(request: protos.google.analytics.data.v1alpha.IListAudienceListsRequest, options: CallOptions, callback: PaginationCallback<protos.google.analytics.data.v1alpha.IListAudienceListsRequest, protos.google.analytics.data.v1alpha.IListAudienceListsResponse | null | undefined, protos.google.analytics.data.v1alpha.IAudienceList>): void;
|
|
720
721
|
listAudienceLists(request: protos.google.analytics.data.v1alpha.IListAudienceListsRequest, callback: PaginationCallback<protos.google.analytics.data.v1alpha.IListAudienceListsRequest, protos.google.analytics.data.v1alpha.IListAudienceListsResponse | null | undefined, protos.google.analytics.data.v1alpha.IAudienceList>): void;
|
|
721
722
|
/**
|
|
722
|
-
* Equivalent to `
|
|
723
|
+
* Equivalent to `listAudienceLists`, but returns a NodeJS Stream object.
|
|
723
724
|
* @param {Object} request
|
|
724
725
|
* The request object that will be sent.
|
|
725
726
|
* @param {string} request.parent
|
|
@@ -833,7 +834,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
833
834
|
listRecurringAudienceLists(request: protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, options: CallOptions, callback: PaginationCallback<protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, protos.google.analytics.data.v1alpha.IListRecurringAudienceListsResponse | null | undefined, protos.google.analytics.data.v1alpha.IRecurringAudienceList>): void;
|
|
834
835
|
listRecurringAudienceLists(request: protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, callback: PaginationCallback<protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, protos.google.analytics.data.v1alpha.IListRecurringAudienceListsResponse | null | undefined, protos.google.analytics.data.v1alpha.IRecurringAudienceList>): void;
|
|
835
836
|
/**
|
|
836
|
-
* Equivalent to `
|
|
837
|
+
* Equivalent to `listRecurringAudienceLists`, but returns a NodeJS Stream object.
|
|
837
838
|
* @param {Object} request
|
|
838
839
|
* The request object that will be sent.
|
|
839
840
|
* @param {string} request.parent
|
|
@@ -932,7 +933,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
932
933
|
listReportTasks(request: protos.google.analytics.data.v1alpha.IListReportTasksRequest, options: CallOptions, callback: PaginationCallback<protos.google.analytics.data.v1alpha.IListReportTasksRequest, protos.google.analytics.data.v1alpha.IListReportTasksResponse | null | undefined, protos.google.analytics.data.v1alpha.IReportTask>): void;
|
|
933
934
|
listReportTasks(request: protos.google.analytics.data.v1alpha.IListReportTasksRequest, callback: PaginationCallback<protos.google.analytics.data.v1alpha.IListReportTasksRequest, protos.google.analytics.data.v1alpha.IListReportTasksResponse | null | undefined, protos.google.analytics.data.v1alpha.IReportTask>): void;
|
|
934
935
|
/**
|
|
935
|
-
* Equivalent to `
|
|
936
|
+
* Equivalent to `listReportTasks`, but returns a NodeJS Stream object.
|
|
936
937
|
* @param {Object} request
|
|
937
938
|
* The request object that will be sent.
|
|
938
939
|
* @param {string} request.parent
|
|
@@ -1012,7 +1013,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
1012
1013
|
* // doThingsWith(response)
|
|
1013
1014
|
* ```
|
|
1014
1015
|
*/
|
|
1015
|
-
getOperation(request: protos.google.longrunning.GetOperationRequest,
|
|
1016
|
+
getOperation(request: protos.google.longrunning.GetOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
|
|
1016
1017
|
/**
|
|
1017
1018
|
* Lists operations that match the specified filter in the request. If the
|
|
1018
1019
|
* server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
|
|
@@ -1075,7 +1076,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
1075
1076
|
* await client.cancelOperation({name: ''});
|
|
1076
1077
|
* ```
|
|
1077
1078
|
*/
|
|
1078
|
-
cancelOperation(request: protos.google.longrunning.CancelOperationRequest,
|
|
1079
|
+
cancelOperation(request: protos.google.longrunning.CancelOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
|
|
1079
1080
|
/**
|
|
1080
1081
|
* Deletes a long-running operation. This method indicates that the client is
|
|
1081
1082
|
* no longer interested in the operation result. It does not cancel the
|
|
@@ -1101,7 +1102,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
1101
1102
|
* await client.deleteOperation({name: ''});
|
|
1102
1103
|
* ```
|
|
1103
1104
|
*/
|
|
1104
|
-
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest,
|
|
1105
|
+
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, optionsOrCallback?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
|
|
1105
1106
|
/**
|
|
1106
1107
|
* Return a fully-qualified audienceList resource name string.
|
|
1107
1108
|
*
|