@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20240820 → 0.0.20240823
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 +20 -20
- package/package.json +1 -1
- package/readme.md +7 -7
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: 20240823
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -192,7 +192,7 @@ declare namespace gapi.client {
|
|
|
192
192
|
}
|
|
193
193
|
interface GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse {}
|
|
194
194
|
interface GoogleAnalyticsAdminV1alphaAdSenseLink {
|
|
195
|
-
/** Immutable. The AdSense ad client code that the
|
|
195
|
+
/** Immutable. The AdSense ad client code that the Google Analytics property is linked to. Example format: "ca-pub-1234567890" */
|
|
196
196
|
adClientCode?: string;
|
|
197
197
|
/** Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789 */
|
|
198
198
|
name?: string;
|
|
@@ -386,7 +386,7 @@ declare namespace gapi.client {
|
|
|
386
386
|
includeAdvertisingId?: boolean;
|
|
387
387
|
/** Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567' */
|
|
388
388
|
name?: string;
|
|
389
|
-
/** Immutable. The linked Google Cloud project
|
|
389
|
+
/** Immutable. The linked Google Cloud project resource name. Currently, this API always uses a project number, but may use project IDs in the future. Format: 'projects/{project number}' Example: 'projects/1234' */
|
|
390
390
|
project?: string;
|
|
391
391
|
/** If set true, enables streaming export to the linked Google Cloud project. */
|
|
392
392
|
streamingExportEnabled?: boolean;
|
|
@@ -714,9 +714,9 @@ declare namespace gapi.client {
|
|
|
714
714
|
advertiserDisplayName?: string;
|
|
715
715
|
/** Immutable. The Display & Video 360 Advertiser's advertiser ID. */
|
|
716
716
|
advertiserId?: string;
|
|
717
|
-
/** Immutable. Enables the import of campaign data from Display & Video 360 into the
|
|
717
|
+
/** Immutable. Enables the import of campaign data from Display & Video 360 into the Google Analytics property. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true. */
|
|
718
718
|
campaignDataSharingEnabled?: boolean;
|
|
719
|
-
/** Immutable. Enables the import of cost data from Display & Video 360 into the
|
|
719
|
+
/** Immutable. Enables the import of cost data from Display & Video 360 into the Google Analytics property. This can only be enabled if `campaign_data_sharing_enabled` is true. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true. */
|
|
720
720
|
costDataSharingEnabled?: boolean;
|
|
721
721
|
/** Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID */
|
|
722
722
|
name?: string;
|
|
@@ -788,7 +788,7 @@ declare namespace gapi.client {
|
|
|
788
788
|
processingOrder?: string;
|
|
789
789
|
}
|
|
790
790
|
interface GoogleAnalyticsAdminV1alphaEventMapping {
|
|
791
|
-
/** Required. Name of the
|
|
791
|
+
/** Required. Name of the Google Analytics event. It must always be set. The max allowed display name length is 40 UTF-16 code units. */
|
|
792
792
|
eventName?: string;
|
|
793
793
|
/** The maximum number of times the event occurred. If not set, maximum event count won't be checked. */
|
|
794
794
|
maxEventCount?: string;
|
|
@@ -1250,9 +1250,9 @@ declare namespace gapi.client {
|
|
|
1250
1250
|
advertiserDisplayName?: string;
|
|
1251
1251
|
/** Immutable. This field represents the Advertiser ID of the Search Ads 360 Advertiser. that has been linked. */
|
|
1252
1252
|
advertiserId?: string;
|
|
1253
|
-
/** Immutable. Enables the import of campaign data from Search Ads 360 into the
|
|
1253
|
+
/** Immutable. Enables the import of campaign data from Search Ads 360 into the Google Analytics property. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. */
|
|
1254
1254
|
campaignDataSharingEnabled?: boolean;
|
|
1255
|
-
/** Immutable. Enables the import of cost data from Search Ads 360 to the
|
|
1255
|
+
/** Immutable. Enables the import of cost data from Search Ads 360 to the Google Analytics property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. */
|
|
1256
1256
|
costDataSharingEnabled?: boolean;
|
|
1257
1257
|
/** Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID */
|
|
1258
1258
|
name?: string;
|
|
@@ -1837,7 +1837,7 @@ declare namespace gapi.client {
|
|
|
1837
1837
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1838
1838
|
uploadType?: string;
|
|
1839
1839
|
}): Request<GoogleAnalyticsAdminV1alphaDataSharingSettings>;
|
|
1840
|
-
/** Returns all accounts accessible by the caller. Note that these accounts might not currently have
|
|
1840
|
+
/** Returns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found. */
|
|
1841
1841
|
list(request?: {
|
|
1842
1842
|
/** V1 error format. */
|
|
1843
1843
|
'$.xgafv'?: string;
|
|
@@ -1984,7 +1984,7 @@ declare namespace gapi.client {
|
|
|
1984
1984
|
},
|
|
1985
1985
|
body: GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest
|
|
1986
1986
|
): Request<GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse>;
|
|
1987
|
-
/** Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include
|
|
1987
|
+
/** Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). */
|
|
1988
1988
|
runAccessReport(request: {
|
|
1989
1989
|
/** V1 error format. */
|
|
1990
1990
|
'$.xgafv'?: string;
|
|
@@ -1994,7 +1994,7 @@ declare namespace gapi.client {
|
|
|
1994
1994
|
alt?: string;
|
|
1995
1995
|
/** JSONP */
|
|
1996
1996
|
callback?: string;
|
|
1997
|
-
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your
|
|
1997
|
+
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
|
|
1998
1998
|
entity: string;
|
|
1999
1999
|
/** Selector specifying which fields to include in a partial response. */
|
|
2000
2000
|
fields?: string;
|
|
@@ -2023,7 +2023,7 @@ declare namespace gapi.client {
|
|
|
2023
2023
|
alt?: string;
|
|
2024
2024
|
/** JSONP */
|
|
2025
2025
|
callback?: string;
|
|
2026
|
-
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your
|
|
2026
|
+
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
|
|
2027
2027
|
entity: string;
|
|
2028
2028
|
/** Selector specifying which fields to include in a partial response. */
|
|
2029
2029
|
fields?: string;
|
|
@@ -4788,7 +4788,7 @@ declare namespace gapi.client {
|
|
|
4788
4788
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4789
4789
|
uploadType?: string;
|
|
4790
4790
|
}): Request<{}>;
|
|
4791
|
-
/** Lookup for a single
|
|
4791
|
+
/** Lookup for a single MeasurementProtocolSecret. */
|
|
4792
4792
|
get(request?: {
|
|
4793
4793
|
/** V1 error format. */
|
|
4794
4794
|
'$.xgafv'?: string;
|
|
@@ -7330,7 +7330,7 @@ declare namespace gapi.client {
|
|
|
7330
7330
|
},
|
|
7331
7331
|
body: GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest
|
|
7332
7332
|
): Request<{}>;
|
|
7333
|
-
/** Creates
|
|
7333
|
+
/** Creates a Google Analytics property with the specified location and attributes. */
|
|
7334
7334
|
create(request: {
|
|
7335
7335
|
/** V1 error format. */
|
|
7336
7336
|
'$.xgafv'?: string;
|
|
@@ -7492,7 +7492,7 @@ declare namespace gapi.client {
|
|
|
7492
7492
|
},
|
|
7493
7493
|
body: GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest
|
|
7494
7494
|
): Request<GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse>;
|
|
7495
|
-
/** Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found
|
|
7495
|
+
/** Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found. */
|
|
7496
7496
|
delete(request?: {
|
|
7497
7497
|
/** V1 error format. */
|
|
7498
7498
|
'$.xgafv'?: string;
|
|
@@ -7654,7 +7654,7 @@ declare namespace gapi.client {
|
|
|
7654
7654
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7655
7655
|
uploadType?: string;
|
|
7656
7656
|
}): Request<GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse>;
|
|
7657
|
-
/** Lookup for a single
|
|
7657
|
+
/** Lookup for a single GA Property. */
|
|
7658
7658
|
get(request?: {
|
|
7659
7659
|
/** V1 error format. */
|
|
7660
7660
|
'$.xgafv'?: string;
|
|
@@ -7762,7 +7762,7 @@ declare namespace gapi.client {
|
|
|
7762
7762
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7763
7763
|
uploadType?: string;
|
|
7764
7764
|
}): Request<GoogleAnalyticsAdminV1alphaGoogleSignalsSettings>;
|
|
7765
|
-
/** Returns child Properties under the specified parent Account.
|
|
7765
|
+
/** 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. */
|
|
7766
7766
|
list(request?: {
|
|
7767
7767
|
/** V1 error format. */
|
|
7768
7768
|
'$.xgafv'?: string;
|
|
@@ -7965,7 +7965,7 @@ declare namespace gapi.client {
|
|
|
7965
7965
|
},
|
|
7966
7966
|
body: GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest
|
|
7967
7967
|
): Request<GoogleAnalyticsAdminV1alphaProvisionSubpropertyResponse>;
|
|
7968
|
-
/** Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include
|
|
7968
|
+
/** Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). */
|
|
7969
7969
|
runAccessReport(request: {
|
|
7970
7970
|
/** V1 error format. */
|
|
7971
7971
|
'$.xgafv'?: string;
|
|
@@ -7975,7 +7975,7 @@ declare namespace gapi.client {
|
|
|
7975
7975
|
alt?: string;
|
|
7976
7976
|
/** JSONP */
|
|
7977
7977
|
callback?: string;
|
|
7978
|
-
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your
|
|
7978
|
+
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
|
|
7979
7979
|
entity: string;
|
|
7980
7980
|
/** Selector specifying which fields to include in a partial response. */
|
|
7981
7981
|
fields?: string;
|
|
@@ -8004,7 +8004,7 @@ declare namespace gapi.client {
|
|
|
8004
8004
|
alt?: string;
|
|
8005
8005
|
/** JSONP */
|
|
8006
8006
|
callback?: string;
|
|
8007
|
-
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your
|
|
8007
|
+
/** The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if "123" is your Google Analytics property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your Google Analytics Account ID. */
|
|
8008
8008
|
entity: string;
|
|
8009
8009
|
/** Selector specifying which fields to include in a partial response. */
|
|
8010
8010
|
fields?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -96,7 +96,7 @@ await gapi.client.analyticsadmin.accounts.getDataSharingSettings({
|
|
|
96
96
|
});
|
|
97
97
|
|
|
98
98
|
/*
|
|
99
|
-
Returns all accounts accessible by the caller. Note that these accounts might not currently have
|
|
99
|
+
Returns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.
|
|
100
100
|
*/
|
|
101
101
|
await gapi.client.analyticsadmin.accounts.list({});
|
|
102
102
|
|
|
@@ -111,7 +111,7 @@ Requests a ticket for creating an account.
|
|
|
111
111
|
await gapi.client.analyticsadmin.accounts.provisionAccountTicket({});
|
|
112
112
|
|
|
113
113
|
/*
|
|
114
|
-
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include
|
|
114
|
+
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
|
|
115
115
|
*/
|
|
116
116
|
await gapi.client.analyticsadmin.accounts.runAccessReport({entity: 'entity'});
|
|
117
117
|
|
|
@@ -135,7 +135,7 @@ await gapi.client.analyticsadmin.properties.acknowledgeUserDataCollection({
|
|
|
135
135
|
});
|
|
136
136
|
|
|
137
137
|
/*
|
|
138
|
-
Creates
|
|
138
|
+
Creates a Google Analytics property with the specified location and attributes.
|
|
139
139
|
*/
|
|
140
140
|
await gapi.client.analyticsadmin.properties.create({});
|
|
141
141
|
|
|
@@ -150,7 +150,7 @@ Create a roll-up property and all roll-up property source links.
|
|
|
150
150
|
await gapi.client.analyticsadmin.properties.createRollupProperty({});
|
|
151
151
|
|
|
152
152
|
/*
|
|
153
|
-
Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found
|
|
153
|
+
Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.
|
|
154
154
|
*/
|
|
155
155
|
await gapi.client.analyticsadmin.properties.delete({name: 'name'});
|
|
156
156
|
|
|
@@ -172,7 +172,7 @@ Given a specified UA property, looks up the GA4 property connected to it. Note:
|
|
|
172
172
|
await gapi.client.analyticsadmin.properties.fetchConnectedGa4Property({});
|
|
173
173
|
|
|
174
174
|
/*
|
|
175
|
-
Lookup for a single
|
|
175
|
+
Lookup for a single GA Property.
|
|
176
176
|
*/
|
|
177
177
|
await gapi.client.analyticsadmin.properties.get({name: 'name'});
|
|
178
178
|
|
|
@@ -198,7 +198,7 @@ await gapi.client.analyticsadmin.properties.getGoogleSignalsSettings({
|
|
|
198
198
|
});
|
|
199
199
|
|
|
200
200
|
/*
|
|
201
|
-
Returns child Properties under the specified parent Account.
|
|
201
|
+
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.
|
|
202
202
|
*/
|
|
203
203
|
await gapi.client.analyticsadmin.properties.list({});
|
|
204
204
|
|
|
@@ -218,7 +218,7 @@ Create a subproperty and a subproperty event filter that applies to the created
|
|
|
218
218
|
await gapi.client.analyticsadmin.properties.provisionSubproperty({});
|
|
219
219
|
|
|
220
220
|
/*
|
|
221
|
-
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include
|
|
221
|
+
Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA UI Reporting, GA UI Explorations, GA Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
|
|
222
222
|
*/
|
|
223
223
|
await gapi.client.analyticsadmin.properties.runAccessReport({entity: 'entity'});
|
|
224
224
|
|