@maxim_mazurok/gapi.client.analyticsadmin-v1beta 0.2.20260622 → 0.3.20260628

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 +4 -8
  2. package/package.json +1 -1
  3. package/readme.md +1 -1
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: 20260622
12
+ // Revision: 20260628
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -307,9 +307,7 @@ declare namespace gapi.client {
307
307
  parameterName?: string;
308
308
  /** Optional. Types of restricted data that this metric may contain. Required for metrics with CURRENCY measurement unit. Must be empty for metrics with a non-CURRENCY measurement unit. */
309
309
  restrictedMetricType?:
310
- | 'RESTRICTED_METRIC_TYPE_UNSPECIFIED'
311
- | 'COST_DATA'
312
- | 'REVENUE_DATA'[];
310
+ 'RESTRICTED_METRIC_TYPE_UNSPECIFIED' | 'COST_DATA' | 'REVENUE_DATA'[];
313
311
  /** Required. Immutable. The scope of this custom metric. */
314
312
  scope?: 'METRIC_SCOPE_UNSPECIFIED' | 'EVENT';
315
313
  }
@@ -418,9 +416,7 @@ declare namespace gapi.client {
418
416
  interface GoogleAnalyticsAdminV1betaKeyEvent {
419
417
  /** Required. The method by which Key Events will be counted across multiple events within a session. */
420
418
  countingMethod?:
421
- | 'COUNTING_METHOD_UNSPECIFIED'
422
- | 'ONCE_PER_EVENT'
423
- | 'ONCE_PER_SESSION';
419
+ 'COUNTING_METHOD_UNSPECIFIED' | 'ONCE_PER_EVENT' | 'ONCE_PER_SESSION';
424
420
  /** Output only. Time when this key event was created in the property. */
425
421
  createTime?: string;
426
422
  /** Output only. If set to true, this key event refers to a custom event. If set to false, this key event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom key events that may be created per property. */
@@ -768,7 +764,7 @@ declare namespace gapi.client {
768
764
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
769
765
  uploadType?: string;
770
766
  }): Request<GoogleAnalyticsAdminV1betaDataSharingSettings>;
771
- /** 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. */
767
+ /** 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. Note: The easiest way to retrieve a list of all properties you have access to is by using `ListAccountSummaries`. */
772
768
  list(request?: {
773
769
  /** V1 error format. */
774
770
  '$.xgafv'?: '1' | '2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticsadmin-v1beta",
3
- "version": "0.2.20260622",
3
+ "version": "0.3.20260628",
4
4
  "description": "TypeScript typings for Google Analytics Admin API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -107,7 +107,7 @@ await gapi.client.analyticsadmin.accounts.getDataSharingSettings({
107
107
  });
108
108
 
109
109
  /*
110
- 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.
110
+ 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. Note: The easiest way to retrieve a list of all properties you have access to is by using `ListAccountSummaries`.
111
111
  */
112
112
  await gapi.client.analyticsadmin.accounts.list({});
113
113