@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
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "1.0",
|
|
3
|
+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
4
|
+
"language": "typescript",
|
|
5
|
+
"protoPackage": "google.analytics.data.v1alpha",
|
|
6
|
+
"libraryPackage": "@google-cloud/data",
|
|
7
|
+
"services": {
|
|
8
|
+
"AlphaAnalyticsData": {
|
|
9
|
+
"clients": {
|
|
10
|
+
"grpc": {
|
|
11
|
+
"libraryClient": "AlphaAnalyticsDataClient",
|
|
12
|
+
"rpcs": {
|
|
13
|
+
"RunFunnelReport": {
|
|
14
|
+
"methods": [
|
|
15
|
+
"runFunnelReport"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"QueryAudienceList": {
|
|
19
|
+
"methods": [
|
|
20
|
+
"queryAudienceList"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"SheetExportAudienceList": {
|
|
24
|
+
"methods": [
|
|
25
|
+
"sheetExportAudienceList"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"GetAudienceList": {
|
|
29
|
+
"methods": [
|
|
30
|
+
"getAudienceList"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"CreateRecurringAudienceList": {
|
|
34
|
+
"methods": [
|
|
35
|
+
"createRecurringAudienceList"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"GetRecurringAudienceList": {
|
|
39
|
+
"methods": [
|
|
40
|
+
"getRecurringAudienceList"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"GetPropertyQuotasSnapshot": {
|
|
44
|
+
"methods": [
|
|
45
|
+
"getPropertyQuotasSnapshot"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"QueryReportTask": {
|
|
49
|
+
"methods": [
|
|
50
|
+
"queryReportTask"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"GetReportTask": {
|
|
54
|
+
"methods": [
|
|
55
|
+
"getReportTask"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"CreateAudienceList": {
|
|
59
|
+
"methods": [
|
|
60
|
+
"createAudienceList"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"CreateReportTask": {
|
|
64
|
+
"methods": [
|
|
65
|
+
"createReportTask"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"ListAudienceLists": {
|
|
69
|
+
"methods": [
|
|
70
|
+
"listAudienceLists",
|
|
71
|
+
"listAudienceListsStream",
|
|
72
|
+
"listAudienceListsAsync"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"ListRecurringAudienceLists": {
|
|
76
|
+
"methods": [
|
|
77
|
+
"listRecurringAudienceLists",
|
|
78
|
+
"listRecurringAudienceListsStream",
|
|
79
|
+
"listRecurringAudienceListsAsync"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"ListReportTasks": {
|
|
83
|
+
"methods": [
|
|
84
|
+
"listReportTasks",
|
|
85
|
+
"listReportTasksStream",
|
|
86
|
+
"listReportTasksAsync"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"grpc-fallback": {
|
|
92
|
+
"libraryClient": "AlphaAnalyticsDataClient",
|
|
93
|
+
"rpcs": {
|
|
94
|
+
"RunFunnelReport": {
|
|
95
|
+
"methods": [
|
|
96
|
+
"runFunnelReport"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"QueryAudienceList": {
|
|
100
|
+
"methods": [
|
|
101
|
+
"queryAudienceList"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"SheetExportAudienceList": {
|
|
105
|
+
"methods": [
|
|
106
|
+
"sheetExportAudienceList"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"GetAudienceList": {
|
|
110
|
+
"methods": [
|
|
111
|
+
"getAudienceList"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"CreateRecurringAudienceList": {
|
|
115
|
+
"methods": [
|
|
116
|
+
"createRecurringAudienceList"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"GetRecurringAudienceList": {
|
|
120
|
+
"methods": [
|
|
121
|
+
"getRecurringAudienceList"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"GetPropertyQuotasSnapshot": {
|
|
125
|
+
"methods": [
|
|
126
|
+
"getPropertyQuotasSnapshot"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"QueryReportTask": {
|
|
130
|
+
"methods": [
|
|
131
|
+
"queryReportTask"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"GetReportTask": {
|
|
135
|
+
"methods": [
|
|
136
|
+
"getReportTask"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"CreateAudienceList": {
|
|
140
|
+
"methods": [
|
|
141
|
+
"createAudienceList"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"CreateReportTask": {
|
|
145
|
+
"methods": [
|
|
146
|
+
"createReportTask"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"ListAudienceLists": {
|
|
150
|
+
"methods": [
|
|
151
|
+
"listAudienceLists",
|
|
152
|
+
"listAudienceListsStream",
|
|
153
|
+
"listAudienceListsAsync"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"ListRecurringAudienceLists": {
|
|
157
|
+
"methods": [
|
|
158
|
+
"listRecurringAudienceLists",
|
|
159
|
+
"listRecurringAudienceListsStream",
|
|
160
|
+
"listRecurringAudienceListsAsync"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"ListReportTasks": {
|
|
164
|
+
"methods": [
|
|
165
|
+
"listReportTasks",
|
|
166
|
+
"listReportTasksStream",
|
|
167
|
+
"listReportTasksAsync"
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -17,6 +17,7 @@ export declare class BetaAnalyticsDataClient {
|
|
|
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 BetaAnalyticsDataClient {
|
|
|
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.
|
|
@@ -762,7 +763,7 @@ export declare class BetaAnalyticsDataClient {
|
|
|
762
763
|
listAudienceExports(request: protos.google.analytics.data.v1beta.IListAudienceExportsRequest, options: CallOptions, callback: PaginationCallback<protos.google.analytics.data.v1beta.IListAudienceExportsRequest, protos.google.analytics.data.v1beta.IListAudienceExportsResponse | null | undefined, protos.google.analytics.data.v1beta.IAudienceExport>): void;
|
|
763
764
|
listAudienceExports(request: protos.google.analytics.data.v1beta.IListAudienceExportsRequest, callback: PaginationCallback<protos.google.analytics.data.v1beta.IListAudienceExportsRequest, protos.google.analytics.data.v1beta.IListAudienceExportsResponse | null | undefined, protos.google.analytics.data.v1beta.IAudienceExport>): void;
|
|
764
765
|
/**
|
|
765
|
-
* Equivalent to `
|
|
766
|
+
* Equivalent to `listAudienceExports`, but returns a NodeJS Stream object.
|
|
766
767
|
* @param {Object} request
|
|
767
768
|
* The request object that will be sent.
|
|
768
769
|
* @param {string} request.parent
|
|
@@ -854,7 +855,7 @@ export declare class BetaAnalyticsDataClient {
|
|
|
854
855
|
* // doThingsWith(response)
|
|
855
856
|
* ```
|
|
856
857
|
*/
|
|
857
|
-
getOperation(request: protos.google.longrunning.GetOperationRequest,
|
|
858
|
+
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]>;
|
|
858
859
|
/**
|
|
859
860
|
* Lists operations that match the specified filter in the request. If the
|
|
860
861
|
* server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
|
|
@@ -917,7 +918,7 @@ export declare class BetaAnalyticsDataClient {
|
|
|
917
918
|
* await client.cancelOperation({name: ''});
|
|
918
919
|
* ```
|
|
919
920
|
*/
|
|
920
|
-
cancelOperation(request: protos.google.longrunning.CancelOperationRequest,
|
|
921
|
+
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>;
|
|
921
922
|
/**
|
|
922
923
|
* Deletes a long-running operation. This method indicates that the client is
|
|
923
924
|
* no longer interested in the operation result. It does not cancel the
|
|
@@ -943,7 +944,7 @@ export declare class BetaAnalyticsDataClient {
|
|
|
943
944
|
* await client.deleteOperation({name: ''});
|
|
944
945
|
* ```
|
|
945
946
|
*/
|
|
946
|
-
deleteOperation(request: protos.google.longrunning.DeleteOperationRequest,
|
|
947
|
+
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>;
|
|
947
948
|
/**
|
|
948
949
|
* Return a fully-qualified audienceExport resource name string.
|
|
949
950
|
*
|