@maxim_mazurok/gapi.client.analyticsadmin-v1beta 0.2.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 +49 -49
- package/package.json +1 -1
- package/readme.md +17 -0
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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260603
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -178,7 +178,7 @@ declare namespace gapi.client {
|
|
|
178
178
|
displayName?: string;
|
|
179
179
|
/** Output only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id} */
|
|
180
180
|
gmpOrganization?: string;
|
|
181
|
-
/**
|
|
181
|
+
/** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
|
|
182
182
|
name?: string;
|
|
183
183
|
/** Country of business. Must be a Unicode CLDR region code. */
|
|
184
184
|
regionCode?: string;
|
|
@@ -190,7 +190,7 @@ declare namespace gapi.client {
|
|
|
190
190
|
account?: string;
|
|
191
191
|
/** Display name for the account referred to in this account summary. */
|
|
192
192
|
displayName?: string;
|
|
193
|
-
/** Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" */
|
|
193
|
+
/** Identifier. Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000" */
|
|
194
194
|
name?: string;
|
|
195
195
|
/** List of summaries for child accounts of this account. */
|
|
196
196
|
propertySummaries?: GoogleAnalyticsAdminV1betaPropertySummary[];
|
|
@@ -260,7 +260,7 @@ declare namespace gapi.client {
|
|
|
260
260
|
deletable?: boolean;
|
|
261
261
|
/** Immutable. The event name for this conversion event. Examples: 'click', 'purchase' */
|
|
262
262
|
eventName?: string;
|
|
263
|
-
/**
|
|
263
|
+
/** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
|
|
264
264
|
name?: string;
|
|
265
265
|
}
|
|
266
266
|
interface GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue {
|
|
@@ -276,7 +276,7 @@ declare namespace gapi.client {
|
|
|
276
276
|
disallowAdsPersonalization?: boolean;
|
|
277
277
|
/** Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets. */
|
|
278
278
|
displayName?: string;
|
|
279
|
-
/**
|
|
279
|
+
/** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
|
|
280
280
|
name?: string;
|
|
281
281
|
/** Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions. */
|
|
282
282
|
parameterName?: string;
|
|
@@ -301,7 +301,7 @@ declare namespace gapi.client {
|
|
|
301
301
|
| 'SECONDS'
|
|
302
302
|
| 'MINUTES'
|
|
303
303
|
| 'HOURS';
|
|
304
|
-
/**
|
|
304
|
+
/** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
|
|
305
305
|
name?: string;
|
|
306
306
|
/** Required. Immutable. Tagging name for this custom metric. If this is an event-scoped metric, then this is the event parameter name. May only contain alphanumeric and underscore charactes, starting with a letter. Max length of 40 characters for event-scoped metrics. */
|
|
307
307
|
parameterName?: string;
|
|
@@ -322,7 +322,7 @@ declare namespace gapi.client {
|
|
|
322
322
|
| 'TWENTY_SIX_MONTHS'
|
|
323
323
|
| 'THIRTY_EIGHT_MONTHS'
|
|
324
324
|
| 'FIFTY_MONTHS';
|
|
325
|
-
/**
|
|
325
|
+
/** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
|
|
326
326
|
name?: string;
|
|
327
327
|
/** If true, reset the retention period for the user identifier with every event from that user. */
|
|
328
328
|
resetUserDataOnNewActivity?: boolean;
|
|
@@ -336,7 +336,7 @@ declare namespace gapi.client {
|
|
|
336
336
|
| 'FIFTY_MONTHS';
|
|
337
337
|
}
|
|
338
338
|
interface GoogleAnalyticsAdminV1betaDataSharingSettings {
|
|
339
|
-
/**
|
|
339
|
+
/** Identifier. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" */
|
|
340
340
|
name?: string;
|
|
341
341
|
/** Deprecated. This field is no longer used and always returns false. */
|
|
342
342
|
sharingWithGoogleAnySalesEnabled?: boolean;
|
|
@@ -358,7 +358,7 @@ declare namespace gapi.client {
|
|
|
358
358
|
displayName?: string;
|
|
359
359
|
/** Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM. */
|
|
360
360
|
iosAppStreamData?: GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData;
|
|
361
|
-
/**
|
|
361
|
+
/** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
|
|
362
362
|
name?: string;
|
|
363
363
|
/** Required. Immutable. The type of this DataStream resource. */
|
|
364
364
|
type?:
|
|
@@ -394,7 +394,7 @@ declare namespace gapi.client {
|
|
|
394
394
|
interface GoogleAnalyticsAdminV1betaFirebaseLink {
|
|
395
395
|
/** Output only. Time when this FirebaseLink was originally created. */
|
|
396
396
|
createTime?: string;
|
|
397
|
-
/**
|
|
397
|
+
/** Identifier. Example format: properties/1234/firebaseLinks/5678 */
|
|
398
398
|
name?: string;
|
|
399
399
|
/** Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234' */
|
|
400
400
|
project?: string;
|
|
@@ -410,7 +410,7 @@ declare namespace gapi.client {
|
|
|
410
410
|
creatorEmailAddress?: string;
|
|
411
411
|
/** Immutable. Google Ads customer ID. */
|
|
412
412
|
customerId?: string;
|
|
413
|
-
/**
|
|
413
|
+
/** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
|
|
414
414
|
name?: string;
|
|
415
415
|
/** Output only. Time when this link was last updated. */
|
|
416
416
|
updateTime?: string;
|
|
@@ -509,7 +509,7 @@ declare namespace gapi.client {
|
|
|
509
509
|
interface GoogleAnalyticsAdminV1betaMeasurementProtocolSecret {
|
|
510
510
|
/** Required. Human-readable display name for this secret. */
|
|
511
511
|
displayName?: string;
|
|
512
|
-
/**
|
|
512
|
+
/** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
|
|
513
513
|
name?: string;
|
|
514
514
|
/** Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property. */
|
|
515
515
|
secretValue?: string;
|
|
@@ -562,7 +562,7 @@ declare namespace gapi.client {
|
|
|
562
562
|
| 'SPORTS'
|
|
563
563
|
| 'JOBS_AND_EDUCATION'
|
|
564
564
|
| 'SHOPPING';
|
|
565
|
-
/**
|
|
565
|
+
/** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
|
|
566
566
|
name?: string;
|
|
567
567
|
/** Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101" */
|
|
568
568
|
parent?: string;
|
|
@@ -782,9 +782,9 @@ declare namespace gapi.client {
|
|
|
782
782
|
key?: string;
|
|
783
783
|
/** OAuth 2.0 token for the current user. */
|
|
784
784
|
oauth_token?: string;
|
|
785
|
-
/** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
785
|
+
/** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
786
786
|
pageSize?: number;
|
|
787
|
-
/** A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. */
|
|
787
|
+
/** Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. */
|
|
788
788
|
pageToken?: string;
|
|
789
789
|
/** Returns response with indentations and line breaks. */
|
|
790
790
|
prettyPrint?: boolean;
|
|
@@ -811,7 +811,7 @@ declare namespace gapi.client {
|
|
|
811
811
|
fields?: string;
|
|
812
812
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
813
813
|
key?: string;
|
|
814
|
-
/**
|
|
814
|
+
/** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
|
|
815
815
|
name: string;
|
|
816
816
|
/** OAuth 2.0 token for the current user. */
|
|
817
817
|
oauth_token?: string;
|
|
@@ -842,7 +842,7 @@ declare namespace gapi.client {
|
|
|
842
842
|
fields?: string;
|
|
843
843
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
844
844
|
key?: string;
|
|
845
|
-
/**
|
|
845
|
+
/** Identifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100" */
|
|
846
846
|
name: string;
|
|
847
847
|
/** OAuth 2.0 token for the current user. */
|
|
848
848
|
oauth_token?: string;
|
|
@@ -1047,9 +1047,9 @@ declare namespace gapi.client {
|
|
|
1047
1047
|
key?: string;
|
|
1048
1048
|
/** OAuth 2.0 token for the current user. */
|
|
1049
1049
|
oauth_token?: string;
|
|
1050
|
-
/** The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
1050
|
+
/** Optional. The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
1051
1051
|
pageSize?: number;
|
|
1052
|
-
/** A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token. */
|
|
1052
|
+
/** Optional. A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token. */
|
|
1053
1053
|
pageToken?: string;
|
|
1054
1054
|
/** Returns response with indentations and line breaks. */
|
|
1055
1055
|
prettyPrint?: boolean;
|
|
@@ -1190,9 +1190,9 @@ declare namespace gapi.client {
|
|
|
1190
1190
|
key?: string;
|
|
1191
1191
|
/** OAuth 2.0 token for the current user. */
|
|
1192
1192
|
oauth_token?: string;
|
|
1193
|
-
/** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
1193
|
+
/** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
1194
1194
|
pageSize?: number;
|
|
1195
|
-
/** A page token, received from a previous `ListConversionEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConversionEvents` must match the call that provided the page token. */
|
|
1195
|
+
/** Optional. A page token, received from a previous `ListConversionEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConversionEvents` must match the call that provided the page token. */
|
|
1196
1196
|
pageToken?: string;
|
|
1197
1197
|
/** Required. The resource name of the parent property. Example: 'properties/123' */
|
|
1198
1198
|
parent: string;
|
|
@@ -1219,7 +1219,7 @@ declare namespace gapi.client {
|
|
|
1219
1219
|
fields?: string;
|
|
1220
1220
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1221
1221
|
key?: string;
|
|
1222
|
-
/**
|
|
1222
|
+
/** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
|
|
1223
1223
|
name: string;
|
|
1224
1224
|
/** OAuth 2.0 token for the current user. */
|
|
1225
1225
|
oauth_token?: string;
|
|
@@ -1250,7 +1250,7 @@ declare namespace gapi.client {
|
|
|
1250
1250
|
fields?: string;
|
|
1251
1251
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1252
1252
|
key?: string;
|
|
1253
|
-
/**
|
|
1253
|
+
/** Identifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event} */
|
|
1254
1254
|
name: string;
|
|
1255
1255
|
/** OAuth 2.0 token for the current user. */
|
|
1256
1256
|
oauth_token?: string;
|
|
@@ -1428,9 +1428,9 @@ declare namespace gapi.client {
|
|
|
1428
1428
|
key?: string;
|
|
1429
1429
|
/** OAuth 2.0 token for the current user. */
|
|
1430
1430
|
oauth_token?: string;
|
|
1431
|
-
/** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
|
|
1431
|
+
/** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
|
|
1432
1432
|
pageSize?: number;
|
|
1433
|
-
/** A page token, received from a previous `ListCustomDimensions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomDimensions` must match the call that provided the page token. */
|
|
1433
|
+
/** Optional. A page token, received from a previous `ListCustomDimensions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomDimensions` must match the call that provided the page token. */
|
|
1434
1434
|
pageToken?: string;
|
|
1435
1435
|
/** Required. Example format: properties/1234 */
|
|
1436
1436
|
parent: string;
|
|
@@ -1457,7 +1457,7 @@ declare namespace gapi.client {
|
|
|
1457
1457
|
fields?: string;
|
|
1458
1458
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1459
1459
|
key?: string;
|
|
1460
|
-
/**
|
|
1460
|
+
/** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
|
|
1461
1461
|
name: string;
|
|
1462
1462
|
/** OAuth 2.0 token for the current user. */
|
|
1463
1463
|
oauth_token?: string;
|
|
@@ -1488,7 +1488,7 @@ declare namespace gapi.client {
|
|
|
1488
1488
|
fields?: string;
|
|
1489
1489
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1490
1490
|
key?: string;
|
|
1491
|
-
/**
|
|
1491
|
+
/** Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension} */
|
|
1492
1492
|
name: string;
|
|
1493
1493
|
/** OAuth 2.0 token for the current user. */
|
|
1494
1494
|
oauth_token?: string;
|
|
@@ -1695,7 +1695,7 @@ declare namespace gapi.client {
|
|
|
1695
1695
|
fields?: string;
|
|
1696
1696
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1697
1697
|
key?: string;
|
|
1698
|
-
/**
|
|
1698
|
+
/** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
|
|
1699
1699
|
name: string;
|
|
1700
1700
|
/** OAuth 2.0 token for the current user. */
|
|
1701
1701
|
oauth_token?: string;
|
|
@@ -1726,7 +1726,7 @@ declare namespace gapi.client {
|
|
|
1726
1726
|
fields?: string;
|
|
1727
1727
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1728
1728
|
key?: string;
|
|
1729
|
-
/**
|
|
1729
|
+
/** Identifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric} */
|
|
1730
1730
|
name: string;
|
|
1731
1731
|
/** OAuth 2.0 token for the current user. */
|
|
1732
1732
|
oauth_token?: string;
|
|
@@ -1873,9 +1873,9 @@ declare namespace gapi.client {
|
|
|
1873
1873
|
key?: string;
|
|
1874
1874
|
/** OAuth 2.0 token for the current user. */
|
|
1875
1875
|
oauth_token?: string;
|
|
1876
|
-
/** The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum. */
|
|
1876
|
+
/** Optional. The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum. */
|
|
1877
1877
|
pageSize?: number;
|
|
1878
|
-
/** A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token. */
|
|
1878
|
+
/** Optional. A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token. */
|
|
1879
1879
|
pageToken?: string;
|
|
1880
1880
|
/** Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets */
|
|
1881
1881
|
parent: string;
|
|
@@ -1902,7 +1902,7 @@ declare namespace gapi.client {
|
|
|
1902
1902
|
fields?: string;
|
|
1903
1903
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1904
1904
|
key?: string;
|
|
1905
|
-
/**
|
|
1905
|
+
/** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
|
|
1906
1906
|
name: string;
|
|
1907
1907
|
/** OAuth 2.0 token for the current user. */
|
|
1908
1908
|
oauth_token?: string;
|
|
@@ -1933,7 +1933,7 @@ declare namespace gapi.client {
|
|
|
1933
1933
|
fields?: string;
|
|
1934
1934
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1935
1935
|
key?: string;
|
|
1936
|
-
/**
|
|
1936
|
+
/** Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} */
|
|
1937
1937
|
name: string;
|
|
1938
1938
|
/** OAuth 2.0 token for the current user. */
|
|
1939
1939
|
oauth_token?: string;
|
|
@@ -2109,7 +2109,7 @@ declare namespace gapi.client {
|
|
|
2109
2109
|
fields?: string;
|
|
2110
2110
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2111
2111
|
key?: string;
|
|
2112
|
-
/**
|
|
2112
|
+
/** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
|
|
2113
2113
|
name: string;
|
|
2114
2114
|
/** OAuth 2.0 token for the current user. */
|
|
2115
2115
|
oauth_token?: string;
|
|
@@ -2140,7 +2140,7 @@ declare namespace gapi.client {
|
|
|
2140
2140
|
fields?: string;
|
|
2141
2141
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2142
2142
|
key?: string;
|
|
2143
|
-
/**
|
|
2143
|
+
/** Identifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000" */
|
|
2144
2144
|
name: string;
|
|
2145
2145
|
/** OAuth 2.0 token for the current user. */
|
|
2146
2146
|
oauth_token?: string;
|
|
@@ -2261,9 +2261,9 @@ declare namespace gapi.client {
|
|
|
2261
2261
|
key?: string;
|
|
2262
2262
|
/** OAuth 2.0 token for the current user. */
|
|
2263
2263
|
oauth_token?: string;
|
|
2264
|
-
/** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
2264
|
+
/** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
2265
2265
|
pageSize?: number;
|
|
2266
|
-
/** A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFirebaseLinks` must match the call that provided the page token. */
|
|
2266
|
+
/** Optional. A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFirebaseLinks` must match the call that provided the page token. */
|
|
2267
2267
|
pageToken?: string;
|
|
2268
2268
|
/** Required. Format: properties/{property_id} Example: `properties/1234` */
|
|
2269
2269
|
parent: string;
|
|
@@ -2379,9 +2379,9 @@ declare namespace gapi.client {
|
|
|
2379
2379
|
key?: string;
|
|
2380
2380
|
/** OAuth 2.0 token for the current user. */
|
|
2381
2381
|
oauth_token?: string;
|
|
2382
|
-
/** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
|
|
2382
|
+
/** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
|
|
2383
2383
|
pageSize?: number;
|
|
2384
|
-
/** A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token. */
|
|
2384
|
+
/** Optional. A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token. */
|
|
2385
2385
|
pageToken?: string;
|
|
2386
2386
|
/** Required. Example format: properties/1234 */
|
|
2387
2387
|
parent: string;
|
|
@@ -2408,7 +2408,7 @@ declare namespace gapi.client {
|
|
|
2408
2408
|
fields?: string;
|
|
2409
2409
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2410
2410
|
key?: string;
|
|
2411
|
-
/**
|
|
2411
|
+
/** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
|
|
2412
2412
|
name: string;
|
|
2413
2413
|
/** OAuth 2.0 token for the current user. */
|
|
2414
2414
|
oauth_token?: string;
|
|
@@ -2439,7 +2439,7 @@ declare namespace gapi.client {
|
|
|
2439
2439
|
fields?: string;
|
|
2440
2440
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2441
2441
|
key?: string;
|
|
2442
|
-
/**
|
|
2442
|
+
/** Identifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. */
|
|
2443
2443
|
name: string;
|
|
2444
2444
|
/** OAuth 2.0 token for the current user. */
|
|
2445
2445
|
oauth_token?: string;
|
|
@@ -2586,9 +2586,9 @@ declare namespace gapi.client {
|
|
|
2586
2586
|
key?: string;
|
|
2587
2587
|
/** OAuth 2.0 token for the current user. */
|
|
2588
2588
|
oauth_token?: string;
|
|
2589
|
-
/** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
2589
|
+
/** Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
2590
2590
|
pageSize?: number;
|
|
2591
|
-
/** A page token, received from a previous `ListKeyEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListKeyEvents` must match the call that provided the page token. */
|
|
2591
|
+
/** Optional. A page token, received from a previous `ListKeyEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListKeyEvents` must match the call that provided the page token. */
|
|
2592
2592
|
pageToken?: string;
|
|
2593
2593
|
/** Required. The resource name of the parent property. Example: 'properties/123' */
|
|
2594
2594
|
parent: string;
|
|
@@ -2876,9 +2876,9 @@ declare namespace gapi.client {
|
|
|
2876
2876
|
key?: string;
|
|
2877
2877
|
/** OAuth 2.0 token for the current user. */
|
|
2878
2878
|
oauth_token?: string;
|
|
2879
|
-
/** The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
2879
|
+
/** Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) */
|
|
2880
2880
|
pageSize?: number;
|
|
2881
|
-
/** A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. */
|
|
2881
|
+
/** Optional. A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. */
|
|
2882
2882
|
pageToken?: string;
|
|
2883
2883
|
/** Returns response with indentations and line breaks. */
|
|
2884
2884
|
prettyPrint?: boolean;
|
|
@@ -2905,7 +2905,7 @@ declare namespace gapi.client {
|
|
|
2905
2905
|
fields?: string;
|
|
2906
2906
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2907
2907
|
key?: string;
|
|
2908
|
-
/**
|
|
2908
|
+
/** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
|
|
2909
2909
|
name: string;
|
|
2910
2910
|
/** OAuth 2.0 token for the current user. */
|
|
2911
2911
|
oauth_token?: string;
|
|
@@ -2936,7 +2936,7 @@ declare namespace gapi.client {
|
|
|
2936
2936
|
fields?: string;
|
|
2937
2937
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2938
2938
|
key?: string;
|
|
2939
|
-
/**
|
|
2939
|
+
/** Identifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" */
|
|
2940
2940
|
name: string;
|
|
2941
2941
|
/** OAuth 2.0 token for the current user. */
|
|
2942
2942
|
oauth_token?: string;
|
|
@@ -3025,7 +3025,7 @@ declare namespace gapi.client {
|
|
|
3025
3025
|
fields?: string;
|
|
3026
3026
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3027
3027
|
key?: string;
|
|
3028
|
-
/**
|
|
3028
|
+
/** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
|
|
3029
3029
|
name: string;
|
|
3030
3030
|
/** OAuth 2.0 token for the current user. */
|
|
3031
3031
|
oauth_token?: string;
|
|
@@ -3056,7 +3056,7 @@ declare namespace gapi.client {
|
|
|
3056
3056
|
fields?: string;
|
|
3057
3057
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3058
3058
|
key?: string;
|
|
3059
|
-
/**
|
|
3059
|
+
/** Identifier. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings */
|
|
3060
3060
|
name: string;
|
|
3061
3061
|
/** OAuth 2.0 token for the current user. */
|
|
3062
3062
|
oauth_token?: string;
|
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-v1beta --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-v1beta"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
14
31
|
## Usage
|
|
15
32
|
|
|
16
33
|
You need to initialize Google API client in your code:
|