@google-analytics/data 6.0.0 → 7.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/README.md +2 -4
- package/build/protos/protos.d.ts +518 -4
- package/build/protos/protos.js +1 -75986
- package/build/protos/protos.json +202 -23
- package/build/src/index.d.ts +3 -3
- package/build/src/index.js +5 -5
- package/build/src/v1alpha/alpha_analytics_data_client.d.ts +143 -143
- package/build/src/v1alpha/alpha_analytics_data_client.js +292 -156
- package/build/src/v1beta/beta_analytics_data_client.d.ts +76 -76
- package/build/src/v1beta/beta_analytics_data_client.js +218 -120
- package/package.json +9 -12
- package/LICENSE +0 -202
|
@@ -270,7 +270,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
270
270
|
*/
|
|
271
271
|
queryAudienceList(request?: protos.google.analytics.data.v1alpha.IQueryAudienceListRequest, options?: CallOptions): Promise<[
|
|
272
272
|
protos.google.analytics.data.v1alpha.IQueryAudienceListResponse,
|
|
273
|
-
protos.google.analytics.data.v1alpha.IQueryAudienceListRequest | undefined,
|
|
273
|
+
(protos.google.analytics.data.v1alpha.IQueryAudienceListRequest | undefined),
|
|
274
274
|
{} | undefined
|
|
275
275
|
]>;
|
|
276
276
|
queryAudienceList(request: protos.google.analytics.data.v1alpha.IQueryAudienceListRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IQueryAudienceListResponse, protos.google.analytics.data.v1alpha.IQueryAudienceListRequest | null | undefined, {} | null | undefined>): void;
|
|
@@ -348,7 +348,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
348
348
|
*/
|
|
349
349
|
createRecurringAudienceList(request?: protos.google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest, options?: CallOptions): Promise<[
|
|
350
350
|
protos.google.analytics.data.v1alpha.IRecurringAudienceList,
|
|
351
|
-
protos.google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest | undefined,
|
|
351
|
+
(protos.google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest | undefined),
|
|
352
352
|
{} | undefined
|
|
353
353
|
]>;
|
|
354
354
|
createRecurringAudienceList(request: protos.google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IRecurringAudienceList, protos.google.analytics.data.v1alpha.ICreateRecurringAudienceListRequest | null | undefined, {} | null | undefined>): void;
|
|
@@ -383,7 +383,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
383
383
|
*/
|
|
384
384
|
getRecurringAudienceList(request?: protos.google.analytics.data.v1alpha.IGetRecurringAudienceListRequest, options?: CallOptions): Promise<[
|
|
385
385
|
protos.google.analytics.data.v1alpha.IRecurringAudienceList,
|
|
386
|
-
protos.google.analytics.data.v1alpha.IGetRecurringAudienceListRequest | undefined,
|
|
386
|
+
(protos.google.analytics.data.v1alpha.IGetRecurringAudienceListRequest | undefined),
|
|
387
387
|
{} | undefined
|
|
388
388
|
]>;
|
|
389
389
|
getRecurringAudienceList(request: protos.google.analytics.data.v1alpha.IGetRecurringAudienceListRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IRecurringAudienceList, protos.google.analytics.data.v1alpha.IGetRecurringAudienceListRequest | null | undefined, {} | null | undefined>): void;
|
|
@@ -408,7 +408,7 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
408
408
|
*/
|
|
409
409
|
getPropertyQuotasSnapshot(request?: protos.google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, options?: CallOptions): Promise<[
|
|
410
410
|
protos.google.analytics.data.v1alpha.IPropertyQuotasSnapshot,
|
|
411
|
-
protos.google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest | undefined,
|
|
411
|
+
(protos.google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest | undefined),
|
|
412
412
|
{} | undefined
|
|
413
413
|
]>;
|
|
414
414
|
getPropertyQuotasSnapshot(request: protos.google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest, options: CallOptions, callback: Callback<protos.google.analytics.data.v1alpha.IPropertyQuotasSnapshot, protos.google.analytics.data.v1alpha.IGetPropertyQuotasSnapshotRequest | null | undefined, {} | null | undefined>): void;
|
|
@@ -765,49 +765,49 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
765
765
|
*/
|
|
766
766
|
checkCreateReportTaskProgress(name: string): Promise<LROperation<protos.google.analytics.data.v1alpha.ReportTask, protos.google.analytics.data.v1alpha.ReportTaskMetadata>>;
|
|
767
767
|
/**
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
768
|
+
* Lists all audience lists for a property. This method can be used for you to
|
|
769
|
+
* find and reuse existing audience lists rather than creating unnecessary new
|
|
770
|
+
* audience lists. The same audience can have multiple audience lists that
|
|
771
|
+
* represent the list of users that were in an audience on different days.
|
|
772
|
+
*
|
|
773
|
+
* See [Creating an Audience
|
|
774
|
+
* List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics)
|
|
775
|
+
* for an introduction to Audience Lists with examples.
|
|
776
|
+
*
|
|
777
|
+
* This method is available at beta stability at
|
|
778
|
+
* [audienceExports.list](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/list).
|
|
779
|
+
* To give your feedback on this API, complete the
|
|
780
|
+
* [Google Analytics Audience Export API
|
|
781
|
+
* Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
782
|
+
*
|
|
783
|
+
* @param {Object} request
|
|
784
|
+
* The request object that will be sent.
|
|
785
|
+
* @param {string} request.parent
|
|
786
|
+
* Required. All audience lists for this property will be listed in the
|
|
787
|
+
* response. Format: `properties/{property}`
|
|
788
|
+
* @param {number} [request.pageSize]
|
|
789
|
+
* Optional. The maximum number of audience lists to return. The service may
|
|
790
|
+
* return fewer than this value. If unspecified, at most 200 audience lists
|
|
791
|
+
* will be returned. The maximum value is 1000 (higher values will be coerced
|
|
792
|
+
* to the maximum).
|
|
793
|
+
* @param {string} [request.pageToken]
|
|
794
|
+
* Optional. A page token, received from a previous `ListAudienceLists` call.
|
|
795
|
+
* Provide this to retrieve the subsequent page.
|
|
796
|
+
*
|
|
797
|
+
* When paginating, all other parameters provided to `ListAudienceLists` must
|
|
798
|
+
* match the call that provided the page token.
|
|
799
|
+
* @param {object} [options]
|
|
800
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
801
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
802
|
+
* The first element of the array is Array of {@link protos.google.analytics.data.v1alpha.AudienceList|AudienceList}.
|
|
803
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
804
|
+
* times as needed and will merge results from all the pages into this array.
|
|
805
|
+
* Note that it can affect your quota.
|
|
806
|
+
* We recommend using `listAudienceListsAsync()`
|
|
807
|
+
* method described below for async iteration which you can stop as needed.
|
|
808
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
809
|
+
* for more details and examples.
|
|
810
|
+
*/
|
|
811
811
|
listAudienceLists(request?: protos.google.analytics.data.v1alpha.IListAudienceListsRequest, options?: CallOptions): Promise<[
|
|
812
812
|
protos.google.analytics.data.v1alpha.IAudienceList[],
|
|
813
813
|
protos.google.analytics.data.v1alpha.IListAudienceListsRequest | null,
|
|
@@ -879,49 +879,49 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
879
879
|
*/
|
|
880
880
|
listAudienceListsAsync(request?: protos.google.analytics.data.v1alpha.IListAudienceListsRequest, options?: CallOptions): AsyncIterable<protos.google.analytics.data.v1alpha.IAudienceList>;
|
|
881
881
|
/**
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
882
|
+
* Lists all recurring audience lists for a property. This method can be used
|
|
883
|
+
* for you to find and reuse existing recurring audience lists rather than
|
|
884
|
+
* creating unnecessary new recurring audience lists. The same audience can
|
|
885
|
+
* have multiple recurring audience lists that represent different dimension
|
|
886
|
+
* combinations; for example, just the dimension `deviceId` or both the
|
|
887
|
+
* dimensions `deviceId` and `userId`.
|
|
888
|
+
*
|
|
889
|
+
* This method is introduced at alpha stability with the intention of
|
|
890
|
+
* gathering feedback on syntax and capabilities before entering beta. To give
|
|
891
|
+
* your feedback on this API, complete the
|
|
892
|
+
* [Google Analytics Audience Export API
|
|
893
|
+
* Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
|
|
894
|
+
*
|
|
895
|
+
* @param {Object} request
|
|
896
|
+
* The request object that will be sent.
|
|
897
|
+
* @param {string} request.parent
|
|
898
|
+
* Required. All recurring audience lists for this property will be listed in
|
|
899
|
+
* the response. Format: `properties/{property}`
|
|
900
|
+
* @param {number} [request.pageSize]
|
|
901
|
+
* Optional. The maximum number of recurring audience lists to return. The
|
|
902
|
+
* service may return fewer than this value. If unspecified, at most 200
|
|
903
|
+
* recurring audience lists will be returned. The maximum value is 1000
|
|
904
|
+
* (higher values will be coerced to the maximum).
|
|
905
|
+
* @param {string} [request.pageToken]
|
|
906
|
+
* Optional. A page token, received from a previous
|
|
907
|
+
* `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
|
|
908
|
+
* page.
|
|
909
|
+
*
|
|
910
|
+
* When paginating, all other parameters provided to
|
|
911
|
+
* `ListRecurringAudienceLists` must match the call that provided the page
|
|
912
|
+
* token.
|
|
913
|
+
* @param {object} [options]
|
|
914
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
915
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
916
|
+
* The first element of the array is Array of {@link protos.google.analytics.data.v1alpha.RecurringAudienceList|RecurringAudienceList}.
|
|
917
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
918
|
+
* times as needed and will merge results from all the pages into this array.
|
|
919
|
+
* Note that it can affect your quota.
|
|
920
|
+
* We recommend using `listRecurringAudienceListsAsync()`
|
|
921
|
+
* method described below for async iteration which you can stop as needed.
|
|
922
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
923
|
+
* for more details and examples.
|
|
924
|
+
*/
|
|
925
925
|
listRecurringAudienceLists(request?: protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, options?: CallOptions): Promise<[
|
|
926
926
|
protos.google.analytics.data.v1alpha.IRecurringAudienceList[],
|
|
927
927
|
protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest | null,
|
|
@@ -997,30 +997,30 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
997
997
|
*/
|
|
998
998
|
listRecurringAudienceListsAsync(request?: protos.google.analytics.data.v1alpha.IListRecurringAudienceListsRequest, options?: CallOptions): AsyncIterable<protos.google.analytics.data.v1alpha.IRecurringAudienceList>;
|
|
999
999
|
/**
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1000
|
+
* Lists all report tasks for a property.
|
|
1001
|
+
*
|
|
1002
|
+
* @param {Object} request
|
|
1003
|
+
* The request object that will be sent.
|
|
1004
|
+
* @param {string} request.parent
|
|
1005
|
+
* Required. All report tasks for this property will be listed in the
|
|
1006
|
+
* response. Format: `properties/{property}`
|
|
1007
|
+
* @param {number} [request.pageSize]
|
|
1008
|
+
* Optional. The maximum number of report tasks to return.
|
|
1009
|
+
* @param {string} [request.pageToken]
|
|
1010
|
+
* Optional. A page token, received from a previous `ListReportTasks` call.
|
|
1011
|
+
* Provide this to retrieve the subsequent page.
|
|
1012
|
+
* @param {object} [options]
|
|
1013
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1014
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1015
|
+
* The first element of the array is Array of {@link protos.google.analytics.data.v1alpha.ReportTask|ReportTask}.
|
|
1016
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1017
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1018
|
+
* Note that it can affect your quota.
|
|
1019
|
+
* We recommend using `listReportTasksAsync()`
|
|
1020
|
+
* method described below for async iteration which you can stop as needed.
|
|
1021
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1022
|
+
* for more details and examples.
|
|
1023
|
+
*/
|
|
1024
1024
|
listReportTasks(request?: protos.google.analytics.data.v1alpha.IListReportTasksRequest, options?: CallOptions): Promise<[
|
|
1025
1025
|
protos.google.analytics.data.v1alpha.IReportTask[],
|
|
1026
1026
|
protos.google.analytics.data.v1alpha.IListReportTasksRequest | null,
|
|
@@ -1080,35 +1080,35 @@ export declare class AlphaAnalyticsDataClient {
|
|
|
1080
1080
|
*/
|
|
1081
1081
|
listReportTasksAsync(request?: protos.google.analytics.data.v1alpha.IListReportTasksRequest, options?: CallOptions): AsyncIterable<protos.google.analytics.data.v1alpha.IReportTask>;
|
|
1082
1082
|
/**
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1083
|
+
* Gets the latest state of a long-running operation. Clients can use this
|
|
1084
|
+
* method to poll the operation result at intervals as recommended by the API
|
|
1085
|
+
* service.
|
|
1086
|
+
*
|
|
1087
|
+
* @param {Object} request - The request object that will be sent.
|
|
1088
|
+
* @param {string} request.name - The name of the operation resource.
|
|
1089
|
+
* @param {Object=} options
|
|
1090
|
+
* Optional parameters. You can override the default settings for this call,
|
|
1091
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
1092
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
|
1093
|
+
* for the details.
|
|
1094
|
+
* @param {function(?Error, ?Object)=} callback
|
|
1095
|
+
* The function which will be called with the result of the API call.
|
|
1096
|
+
*
|
|
1097
|
+
* The second parameter to the callback is an object representing
|
|
1098
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
1099
|
+
* @return {Promise} - The promise which resolves to an array.
|
|
1100
|
+
* The first element of the array is an object representing
|
|
1101
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
1102
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
|
1103
|
+
*
|
|
1104
|
+
* @example
|
|
1105
|
+
* ```
|
|
1106
|
+
* const client = longrunning.operationsClient();
|
|
1107
|
+
* const name = '';
|
|
1108
|
+
* const [response] = await client.getOperation({name});
|
|
1109
|
+
* // doThingsWith(response)
|
|
1110
|
+
* ```
|
|
1111
|
+
*/
|
|
1112
1112
|
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]>;
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Lists operations that match the specified filter in the request. If the
|