@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 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 +9 -24
  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=v1alpha
12
- // Revision: 20260622
12
+ // Revision: 20260628
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -303,10 +303,7 @@ declare namespace gapi.client {
303
303
  interface GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter {
304
304
  /** Required. The operation applied to a numeric filter. */
305
305
  operation?:
306
- | 'OPERATION_UNSPECIFIED'
307
- | 'EQUAL'
308
- | 'LESS_THAN'
309
- | 'GREATER_THAN';
306
+ 'OPERATION_UNSPECIFIED' | 'EQUAL' | 'LESS_THAN' | 'GREATER_THAN';
310
307
  /** Required. The numeric or date value to match against. */
311
308
  value?: GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue;
312
309
  }
@@ -479,9 +476,7 @@ declare namespace gapi.client {
479
476
  name?: string;
480
477
  /** Output only. Types of restricted data that this metric contains. */
481
478
  restrictedMetricType?:
482
- | 'RESTRICTED_METRIC_TYPE_UNSPECIFIED'
483
- | 'COST_DATA'
484
- | 'REVENUE_DATA'[];
479
+ 'RESTRICTED_METRIC_TYPE_UNSPECIFIED' | 'COST_DATA' | 'REVENUE_DATA'[];
485
480
  }
486
481
  interface GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest {}
487
482
  interface GoogleAnalyticsAdminV1alphaChangeHistoryChange {
@@ -720,9 +715,7 @@ declare namespace gapi.client {
720
715
  parameterName?: string;
721
716
  /** 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. */
722
717
  restrictedMetricType?:
723
- | 'RESTRICTED_METRIC_TYPE_UNSPECIFIED'
724
- | 'COST_DATA'
725
- | 'REVENUE_DATA'[];
718
+ 'RESTRICTED_METRIC_TYPE_UNSPECIFIED' | 'COST_DATA' | 'REVENUE_DATA'[];
726
719
  /** Required. Immutable. The scope of this custom metric. */
727
720
  scope?: 'METRIC_SCOPE_UNSPECIFIED' | 'EVENT';
728
721
  }
@@ -1013,9 +1006,7 @@ declare namespace gapi.client {
1013
1006
  interface GoogleAnalyticsAdminV1alphaKeyEvent {
1014
1007
  /** Required. The method by which Key Events will be counted across multiple events within a session. */
1015
1008
  countingMethod?:
1016
- | 'COUNTING_METHOD_UNSPECIFIED'
1017
- | 'ONCE_PER_EVENT'
1018
- | 'ONCE_PER_SESSION';
1009
+ 'COUNTING_METHOD_UNSPECIFIED' | 'ONCE_PER_EVENT' | 'ONCE_PER_SESSION';
1019
1010
  /** Output only. Time when this key event was created in the property. */
1020
1011
  createTime?: string;
1021
1012
  /** 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. */
@@ -1363,9 +1354,7 @@ declare namespace gapi.client {
1363
1354
  interface GoogleAnalyticsAdminV1alphaProvisionSubpropertyRequest {
1364
1355
  /** Optional. The subproperty feature synchronization mode for Custom Dimensions and Metrics */
1365
1356
  customDimensionAndMetricSynchronizationMode?:
1366
- | 'SYNCHRONIZATION_MODE_UNSPECIFIED'
1367
- | 'NONE'
1368
- | 'ALL';
1357
+ 'SYNCHRONIZATION_MODE_UNSPECIFIED' | 'NONE' | 'ALL';
1369
1358
  /** Required. The subproperty to create. */
1370
1359
  subproperty?: GoogleAnalyticsAdminV1alphaProperty;
1371
1360
  /** Optional. The subproperty event filter to create on an ordinary property. */
@@ -1573,9 +1562,7 @@ declare namespace gapi.client {
1573
1562
  interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause {
1574
1563
  /** Required. The type for the filter clause. */
1575
1564
  filterClauseType?:
1576
- | 'FILTER_CLAUSE_TYPE_UNSPECIFIED'
1577
- | 'INCLUDE'
1578
- | 'EXCLUDE';
1565
+ 'FILTER_CLAUSE_TYPE_UNSPECIFIED' | 'INCLUDE' | 'EXCLUDE';
1579
1566
  /** Required. The logical expression for what events are sent to the subproperty. */
1580
1567
  filterExpression?: GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression;
1581
1568
  }
@@ -1619,9 +1606,7 @@ declare namespace gapi.client {
1619
1606
  applyToProperty?: string;
1620
1607
  /** Required. Specifies the Custom Dimension / Metric synchronization mode for the subproperty. If set to ALL, Custom Dimension / Metric synchronization will be immediately enabled. Local configuration of Custom Dimensions / Metrics will not be allowed on the subproperty so long as the synchronization mode is set to ALL. If set to NONE, Custom Dimensions / Metric synchronization is disabled. Custom Dimensions / Metrics must be configured explicitly on the Subproperty. */
1621
1608
  customDimensionAndMetricSyncMode?:
1622
- | 'SYNCHRONIZATION_MODE_UNSPECIFIED'
1623
- | 'NONE'
1624
- | 'ALL';
1609
+ 'SYNCHRONIZATION_MODE_UNSPECIFIED' | 'NONE' | 'ALL';
1625
1610
  /** Output only. Identifier. Format: properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} Example: properties/1234/subpropertySyncConfigs/5678 */
1626
1611
  name?: string;
1627
1612
  }
@@ -2134,7 +2119,7 @@ declare namespace gapi.client {
2134
2119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2135
2120
  uploadType?: string;
2136
2121
  }): Request<GoogleAnalyticsAdminV1alphaDataSharingSettings>;
2137
- /** 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. */
2122
+ /** 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`. */
2138
2123
  list(request?: {
2139
2124
  /** V1 error format. */
2140
2125
  '$.xgafv'?: '1' | '2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.analyticsadmin-v1alpha",
3
- "version": "0.2.20260622",
3
+ "version": "0.3.20260628",
4
4
  "description": "TypeScript typings for Google Analytics Admin API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -113,7 +113,7 @@ await gapi.client.analyticsadmin.accounts.getDataSharingSettings({
113
113
  });
114
114
 
115
115
  /*
116
- 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.
116
+ 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`.
117
117
  */
118
118
  await gapi.client.analyticsadmin.accounts.list({});
119
119