@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20230212 → 0.0.20230215
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/index.d.ts +10 -10
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230215
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1061,7 +1061,7 @@ declare namespace gapi.client {
|
|
|
1061
1061
|
interface GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest {
|
|
1062
1062
|
/** The account to create. */
|
|
1063
1063
|
account?: GoogleAnalyticsAdminV1alphaAccount;
|
|
1064
|
-
/** Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Developers Console as a Redirect URI */
|
|
1064
|
+
/** Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Developers Console as a Redirect URI. */
|
|
1065
1065
|
redirectUri?: string;
|
|
1066
1066
|
}
|
|
1067
1067
|
interface GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse {
|
|
@@ -1075,9 +1075,9 @@ declare namespace gapi.client {
|
|
|
1075
1075
|
*/
|
|
1076
1076
|
dateRanges?: GoogleAnalyticsAdminV1alphaAccessDateRange[];
|
|
1077
1077
|
/**
|
|
1078
|
-
* Dimension filters
|
|
1079
|
-
*
|
|
1080
|
-
*
|
|
1078
|
+
* Dimension filters let you restrict report response to specific dimension values which match the filter. For example, filtering on access records of a single user. To learn more, see
|
|
1079
|
+
* [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this
|
|
1080
|
+
* filter.
|
|
1081
1081
|
*/
|
|
1082
1082
|
dimensionFilter?: GoogleAnalyticsAdminV1alphaAccessFilterExpression;
|
|
1083
1083
|
/** The dimensions requested and displayed in the response. Requests are allowed up to 9 dimensions. */
|
|
@@ -2291,8 +2291,8 @@ declare namespace gapi.client {
|
|
|
2291
2291
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2292
2292
|
quotaUser?: string;
|
|
2293
2293
|
/**
|
|
2294
|
-
* Required. The list of fields to be updated. Field names must be in snake case (
|
|
2295
|
-
* one path with the string "*" to match all fields.
|
|
2294
|
+
* Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity,
|
|
2295
|
+
* use one path with the string "*" to match all fields.
|
|
2296
2296
|
*/
|
|
2297
2297
|
updateMask?: string;
|
|
2298
2298
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2324,8 +2324,8 @@ declare namespace gapi.client {
|
|
|
2324
2324
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2325
2325
|
quotaUser?: string;
|
|
2326
2326
|
/**
|
|
2327
|
-
* Required. The list of fields to be updated. Field names must be in snake case (
|
|
2328
|
-
* one path with the string "*" to match all fields.
|
|
2327
|
+
* Required. The list of fields to be updated. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity,
|
|
2328
|
+
* use one path with the string "*" to match all fields.
|
|
2329
2329
|
*/
|
|
2330
2330
|
updateMask?: string;
|
|
2331
2331
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -5776,7 +5776,7 @@ declare namespace gapi.client {
|
|
|
5776
5776
|
}
|
|
5777
5777
|
interface PropertiesResource {
|
|
5778
5778
|
/**
|
|
5779
|
-
* Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or
|
|
5779
|
+
* Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before
|
|
5780
5780
|
* MeasurementProtocolSecret resources may be created.
|
|
5781
5781
|
*/
|
|
5782
5782
|
acknowledgeUserDataCollection(request: {
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -116,7 +116,7 @@ Returns summaries of all accounts accessible by the caller.
|
|
|
116
116
|
await gapi.client.analyticsadmin.accountSummaries.list({ });
|
|
117
117
|
|
|
118
118
|
/*
|
|
119
|
-
Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or
|
|
119
|
+
Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.
|
|
120
120
|
*/
|
|
121
121
|
await gapi.client.analyticsadmin.properties.acknowledgeUserDataCollection({ property: "property", });
|
|
122
122
|
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230215
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -294,7 +294,7 @@ gapi.load('client', async () => {
|
|
|
294
294
|
pageToken: "Test string",
|
|
295
295
|
});
|
|
296
296
|
/**
|
|
297
|
-
* Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or
|
|
297
|
+
* Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before
|
|
298
298
|
* MeasurementProtocolSecret resources may be created.
|
|
299
299
|
*/
|
|
300
300
|
await gapi.client.analyticsadmin.properties.acknowledgeUserDataCollection({
|