@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.1.20260316 → 0.2.20260603
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 +877 -591
- package/package.json +1 -1
- package/readme.md +24 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -11,6 +11,23 @@ Install typings for Google Analytics Admin API:
|
|
|
11
11
|
npm install @types/gapi.client.analyticsadmin-v1alpha --save-dev
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
## TypeScript 6.0+
|
|
15
|
+
|
|
16
|
+
TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"types": [
|
|
22
|
+
"gapi",
|
|
23
|
+
"gapi.auth2",
|
|
24
|
+
"gapi.client",
|
|
25
|
+
"gapi.client.analyticsadmin-v1alpha"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
14
31
|
## Usage
|
|
15
32
|
|
|
16
33
|
You need to initialize Google API client in your code:
|
|
@@ -182,6 +199,13 @@ await gapi.client.analyticsadmin.properties.getReportingIdentitySettings({
|
|
|
182
199
|
name: 'name',
|
|
183
200
|
});
|
|
184
201
|
|
|
202
|
+
/*
|
|
203
|
+
Looks up settings related to user-provided data for a property.
|
|
204
|
+
*/
|
|
205
|
+
await gapi.client.analyticsadmin.properties.getUserProvidedDataSettings({
|
|
206
|
+
name: 'name',
|
|
207
|
+
});
|
|
208
|
+
|
|
185
209
|
/*
|
|
186
210
|
Returns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
|
|
187
211
|
*/
|