@maxim_mazurok/gapi.client.analyticsadmin-v1beta 0.0.20240821 → 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.
Files changed (3) hide show
  1. package/index.d.ts +13 -13
  2. package/package.json +1 -1
  3. 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=v1beta
12
- // Revision: 20240821
12
+ // Revision: 20240823
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -658,7 +658,7 @@ declare namespace gapi.client {
658
658
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
659
659
  uploadType?: string;
660
660
  }): Request<GoogleAnalyticsAdminV1betaDataSharingSettings>;
661
- /** Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found. */
661
+ /** 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. */
662
662
  list(request?: {
663
663
  /** V1 error format. */
664
664
  '$.xgafv'?: string;
@@ -805,7 +805,7 @@ declare namespace gapi.client {
805
805
  },
806
806
  body: GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest
807
807
  ): Request<GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse>;
808
- /** 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 GA4 UI Reporting, GA4 UI Explorations, GA4 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). */
808
+ /** 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). */
809
809
  runAccessReport(request: {
810
810
  /** V1 error format. */
811
811
  '$.xgafv'?: string;
@@ -815,7 +815,7 @@ declare namespace gapi.client {
815
815
  alt?: string;
816
816
  /** JSONP */
817
817
  callback?: string;
818
- /** 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 GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your GA4 Account ID. */
818
+ /** 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. */
819
819
  entity: string;
820
820
  /** Selector specifying which fields to include in a partial response. */
821
821
  fields?: string;
@@ -844,7 +844,7 @@ declare namespace gapi.client {
844
844
  alt?: string;
845
845
  /** JSONP */
846
846
  callback?: string;
847
- /** 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 GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your GA4 Account ID. */
847
+ /** 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. */
848
848
  entity: string;
849
849
  /** Selector specifying which fields to include in a partial response. */
850
850
  fields?: string;
@@ -1722,7 +1722,7 @@ declare namespace gapi.client {
1722
1722
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1723
1723
  uploadType?: string;
1724
1724
  }): Request<{}>;
1725
- /** Lookup for a single "GA4" MeasurementProtocolSecret. */
1725
+ /** Lookup for a single MeasurementProtocolSecret. */
1726
1726
  get(request?: {
1727
1727
  /** V1 error format. */
1728
1728
  '$.xgafv'?: string;
@@ -2615,7 +2615,7 @@ declare namespace gapi.client {
2615
2615
  },
2616
2616
  body: GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest
2617
2617
  ): Request<{}>;
2618
- /** Creates an "GA4" property with the specified location and attributes. */
2618
+ /** Creates a Google Analytics property with the specified location and attributes. */
2619
2619
  create(request: {
2620
2620
  /** V1 error format. */
2621
2621
  '$.xgafv'?: string;
@@ -2669,7 +2669,7 @@ declare namespace gapi.client {
2669
2669
  },
2670
2670
  body: GoogleAnalyticsAdminV1betaProperty
2671
2671
  ): Request<GoogleAnalyticsAdminV1betaProperty>;
2672
- /** 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, or is not a GA4 Property. */
2672
+ /** 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. */
2673
2673
  delete(request?: {
2674
2674
  /** V1 error format. */
2675
2675
  '$.xgafv'?: string;
@@ -2696,7 +2696,7 @@ declare namespace gapi.client {
2696
2696
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2697
2697
  uploadType?: string;
2698
2698
  }): Request<GoogleAnalyticsAdminV1betaProperty>;
2699
- /** Lookup for a single "GA4" Property. */
2699
+ /** Lookup for a single GA Property. */
2700
2700
  get(request?: {
2701
2701
  /** V1 error format. */
2702
2702
  '$.xgafv'?: string;
@@ -2750,7 +2750,7 @@ declare namespace gapi.client {
2750
2750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2751
2751
  uploadType?: string;
2752
2752
  }): Request<GoogleAnalyticsAdminV1betaDataRetentionSettings>;
2753
- /** Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. 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. */
2753
+ /** 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. */
2754
2754
  list(request?: {
2755
2755
  /** V1 error format. */
2756
2756
  '$.xgafv'?: string;
@@ -2845,7 +2845,7 @@ declare namespace gapi.client {
2845
2845
  },
2846
2846
  body: GoogleAnalyticsAdminV1betaProperty
2847
2847
  ): Request<GoogleAnalyticsAdminV1betaProperty>;
2848
- /** 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 GA4 UI Reporting, GA4 UI Explorations, GA4 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). */
2848
+ /** 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). */
2849
2849
  runAccessReport(request: {
2850
2850
  /** V1 error format. */
2851
2851
  '$.xgafv'?: string;
@@ -2855,7 +2855,7 @@ declare namespace gapi.client {
2855
2855
  alt?: string;
2856
2856
  /** JSONP */
2857
2857
  callback?: string;
2858
- /** 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 GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your GA4 Account ID. */
2858
+ /** 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. */
2859
2859
  entity: string;
2860
2860
  /** Selector specifying which fields to include in a partial response. */
2861
2861
  fields?: string;
@@ -2884,7 +2884,7 @@ declare namespace gapi.client {
2884
2884
  alt?: string;
2885
2885
  /** JSONP */
2886
2886
  callback?: string;
2887
- /** 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 GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if "1234" is your GA4 Account ID. */
2887
+ /** 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. */
2888
2888
  entity: string;
2889
2889
  /** Selector specifying which fields to include in a partial response. */
2890
2890
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticsadmin-v1beta",
3
- "version": "0.0.20240821",
3
+ "version": "0.0.20240823",
4
4
  "description": "TypeScript typings for Google Analytics Admin API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -90,7 +90,7 @@ await gapi.client.analyticsadmin.accounts.getDataSharingSettings({
90
90
  });
91
91
 
92
92
  /*
93
- Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found.
93
+ 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.
94
94
  */
95
95
  await gapi.client.analyticsadmin.accounts.list({});
96
96
 
@@ -105,7 +105,7 @@ Requests a ticket for creating an account.
105
105
  await gapi.client.analyticsadmin.accounts.provisionAccountTicket({});
106
106
 
107
107
  /*
108
- 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 GA4 UI Reporting, GA4 UI Explorations, GA4 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).
108
+ 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).
109
109
  */
110
110
  await gapi.client.analyticsadmin.accounts.runAccessReport({entity: 'entity'});
111
111
 
@@ -129,17 +129,17 @@ await gapi.client.analyticsadmin.properties.acknowledgeUserDataCollection({
129
129
  });
130
130
 
131
131
  /*
132
- Creates an "GA4" property with the specified location and attributes.
132
+ Creates a Google Analytics property with the specified location and attributes.
133
133
  */
134
134
  await gapi.client.analyticsadmin.properties.create({});
135
135
 
136
136
  /*
137
- 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, or is not a GA4 Property.
137
+ 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.
138
138
  */
139
139
  await gapi.client.analyticsadmin.properties.delete({name: 'name'});
140
140
 
141
141
  /*
142
- Lookup for a single "GA4" Property.
142
+ Lookup for a single GA Property.
143
143
  */
144
144
  await gapi.client.analyticsadmin.properties.get({name: 'name'});
145
145
 
@@ -151,7 +151,7 @@ await gapi.client.analyticsadmin.properties.getDataRetentionSettings({
151
151
  });
152
152
 
153
153
  /*
154
- Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. 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.
154
+ 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.
155
155
  */
156
156
  await gapi.client.analyticsadmin.properties.list({});
157
157
 
@@ -161,7 +161,7 @@ Updates a property.
161
161
  await gapi.client.analyticsadmin.properties.patch({name: 'name'});
162
162
 
163
163
  /*
164
- 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 GA4 UI Reporting, GA4 UI Explorations, GA4 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).
164
+ 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).
165
165
  */
166
166
  await gapi.client.analyticsadmin.properties.runAccessReport({entity: 'entity'});
167
167