google-apis-serviceconsumermanagement_v1beta1 0.68.0 → 0.69.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eff89269fab339fb05fd99d35665d2b840aeabe12357d58da10249356261d709
4
- data.tar.gz: ff16691803c2354a94f45efcb0960c769185ad06fdf47cc6e13e5a1a8bd0e8cb
3
+ metadata.gz: 576f53f93e2bff4d28c814ab72c30d44e06904f4b09f01ebc09ac0282276a219
4
+ data.tar.gz: 637f5f6b7bdd3373d4fa4839ff1eb357623b47220c3a5706bd7c273c8aedca98
5
5
  SHA512:
6
- metadata.gz: 2aff56223079ecc4eec3655f3b63e2a56d36e51c304099db69ecfbf14ee7e78505470d72de6cbebc51d9ff574cba12862047c87442ff7e5b5784f1fe71972cba
7
- data.tar.gz: 7b967f0b15a7214da727a7fa29a9ee8b42e4557704ce0f96e1e1cb83c428706717d5c2e78915b50afffe08cc53a73232e912176285ad7804963696809b367081
6
+ metadata.gz: b66265459c8c7b60f3f5774f042d12709fac2cef69d4587e5c97c2a019bd160a4536325cd85db8011f0c121ffdce6ba6d5fc6c6ce21c91979a8aaf9eedb4a6aa
7
+ data.tar.gz: 3e4c574f72f26e349a000701ab561c7ec9812d50a23408ae013bee36ccdd69cff2d16d5846dd283c56c084be21c8ffe1b852881eea0c808567df24f6ac80dbe0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.69.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260721
6
+
3
7
  ### v0.68.0 (2026-06-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20260423
@@ -2430,6 +2430,15 @@ module Google
2430
2430
  class MetricRule
2431
2431
  include Google::Apis::Core::Hashable
2432
2432
 
2433
+ # Optional. Metrics to update when the selected methods are called, and the
2434
+ # associated cost applied to each metric, iff the source of the call is an agent.
2435
+ # The key of the map is the metric name, and the values are the amount
2436
+ # increased for the metric against which the quota limits are defined. The value
2437
+ # must not be negative.
2438
+ # Corresponds to the JSON property `agenticMetricCosts`
2439
+ # @return [Hash<String,Fixnum>]
2440
+ attr_accessor :agentic_metric_costs
2441
+
2433
2442
  # Metrics to update when the selected methods are called, and the associated
2434
2443
  # cost applied to each metric. The key of the map is the metric name, and the
2435
2444
  # values are the amount increased for the metric against which the quota limits
@@ -2438,6 +2447,15 @@ module Google
2438
2447
  # @return [Hash<String,Fixnum>]
2439
2448
  attr_accessor :metric_costs
2440
2449
 
2450
+ # Optional. Metrics to update when the selected methods are called, and the
2451
+ # associated cost applied to each metric, iff the source of the call is not an
2452
+ # agent. The key of the map is the metric name, and the values are the amount
2453
+ # increased for the metric against which the quota limits are defined. The value
2454
+ # must not be negative.
2455
+ # Corresponds to the JSON property `nonagenticMetricCosts`
2456
+ # @return [Hash<String,Fixnum>]
2457
+ attr_accessor :nonagentic_metric_costs
2458
+
2441
2459
  # Selects the methods to which this rule applies. Refer to selector for syntax
2442
2460
  # details.
2443
2461
  # Corresponds to the JSON property `selector`
@@ -2450,7 +2468,9 @@ module Google
2450
2468
 
2451
2469
  # Update properties of this object
2452
2470
  def update!(**args)
2471
+ @agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
2453
2472
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
2473
+ @nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
2454
2474
  @selector = args[:selector] if args.key?(:selector)
2455
2475
  end
2456
2476
  end
@@ -3115,6 +3135,13 @@ module Google
3115
3135
  # @return [String]
3116
3136
  attr_accessor :name
3117
3137
 
3138
+ # Optional. This is only informational, the logic to allocate the quota to the
3139
+ # correct metric (such as in `metric_rules`) should identify which quota metrics
3140
+ # to allocate to.
3141
+ # Corresponds to the JSON property `trafficSource`
3142
+ # @return [String]
3143
+ attr_accessor :traffic_source
3144
+
3118
3145
  # Specify the unit of the quota limit. It uses the same syntax as
3119
3146
  # MetricDescriptor.unit. The supported unit kinds are determined by the quota
3120
3147
  # backend system. Here are some examples: * "1/min/`project`" for quota per
@@ -3145,6 +3172,7 @@ module Google
3145
3172
  @max_limit = args[:max_limit] if args.key?(:max_limit)
3146
3173
  @metric = args[:metric] if args.key?(:metric)
3147
3174
  @name = args[:name] if args.key?(:name)
3175
+ @traffic_source = args[:traffic_source] if args.key?(:traffic_source)
3148
3176
  @unit = args[:unit] if args.key?(:unit)
3149
3177
  @values = args[:values] if args.key?(:values)
3150
3178
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceconsumermanagementV1beta1
18
18
  # Version of the google-apis-serviceconsumermanagement_v1beta1 gem
19
- GEM_VERSION = "0.68.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260423"
25
+ REVISION = "20260721"
26
26
  end
27
27
  end
28
28
  end
@@ -1190,7 +1190,9 @@ module Google
1190
1190
  class MetricRule
1191
1191
  # @private
1192
1192
  class Representation < Google::Apis::Core::JsonRepresentation
1193
+ hash :agentic_metric_costs, as: 'agenticMetricCosts'
1193
1194
  hash :metric_costs, as: 'metricCosts'
1195
+ hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
1194
1196
  property :selector, as: 'selector'
1195
1197
  end
1196
1198
  end
@@ -1338,6 +1340,7 @@ module Google
1338
1340
  property :max_limit, :numeric_string => true, as: 'maxLimit'
1339
1341
  property :metric, as: 'metric'
1340
1342
  property :name, as: 'name'
1343
+ property :traffic_source, as: 'trafficSource'
1341
1344
  property :unit, as: 'unit'
1342
1345
  hash :values, as: 'values'
1343
1346
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceconsumermanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.68.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.69.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: