@maxim_mazurok/gapi.client.serviceusage-v1 0.3.20260713 → 0.3.20260721

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 (2) hide show
  1. package/index.d.ts +11 -2
  2. package/package.json +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://serviceusage.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260713
12
+ // Revision: 20260721
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -415,7 +415,7 @@ declare namespace gapi.client {
415
415
  'ENABLE_TYPE_UNSPECIFIED' | 'CLIENT' | 'RESOURCE' | 'V1_COMPATIBLE';
416
416
  /** The names of the services that are enabled. Example: `services/storage.googleapis.com`. */
417
417
  services?: string[];
418
- /** The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`. */
418
+ /** Deprecated: Use the `services` field instead. The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`. */
419
419
  values?: string[];
420
420
  }
421
421
  interface EnableServiceRequest {}
@@ -983,8 +983,12 @@ declare namespace gapi.client {
983
983
  | 'FOLDER'[];
984
984
  }
985
985
  interface MetricRule {
986
+ /** Optional. Metrics to update when the selected methods are called, and the associated cost applied to each metric, iff the source of the call is an agent. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. */
987
+ agenticMetricCosts?: {[P in string]: string};
986
988
  /** Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. */
987
989
  metricCosts?: {[P in string]: string};
990
+ /** Optional. Metrics to update when the selected methods are called, and the associated cost applied to each metric, iff the source of the call is not an agent. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. */
991
+ nonagenticMetricCosts?: {[P in string]: string};
988
992
  /** Selects the methods to which this rule applies. Refer to selector for syntax details. */
989
993
  selector?: string;
990
994
  }
@@ -1134,6 +1138,11 @@ declare namespace gapi.client {
1134
1138
  metric?: string;
1135
1139
  /** Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters. */
1136
1140
  name?: string;
1141
+ /** Optional. This is only informational, the logic to allocate the quota to the correct metric (such as in `metric_rules`) should identify which quota metrics to allocate to. */
1142
+ trafficSource?:
1143
+ | 'TRAFFIC_SOURCE_UNSPECIFIED'
1144
+ | 'TRAFFIC_SOURCE_NONAGENTIC'
1145
+ | 'TRAFFIC_SOURCE_AGENTIC';
1137
1146
  /** Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax. */
1138
1147
  unit?: string;
1139
1148
  /** Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.serviceusage-v1",
3
- "version": "0.3.20260713",
3
+ "version": "0.3.20260721",
4
4
  "description": "TypeScript typings for Service Usage API v1",
5
5
  "repository": {
6
6
  "type": "git",