google-apis-serviceusage_v1beta1 0.78.0 → 0.79.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: 5ca5fe44247f31d006ae75c15d12e78f00c23edfa8bbf1a11efa120e7b012c43
4
- data.tar.gz: 890bdcb5ce8d774ef858e4138d007b8650f65e7cedd150587442318d5058ba07
3
+ metadata.gz: 5ff5929b95392971bbc9744285118025fb3a8bc78432bd70b85077338af42ee7
4
+ data.tar.gz: 82e0a52525f898cb4149f9d1bb8350c4b1ab721b2a07fa02bdd45423fba3798f
5
5
  SHA512:
6
- metadata.gz: 1ff200589f296f282216842aca1a84244ceae9df01ee3b2940ce92c0a51bc70d42871e7fdf23b4bdf054d97024338a4116f0552fc915492ae22dcc6d040588fe
7
- data.tar.gz: fcf1cf457c42698a51babf147ec5759ee031a538dc42925502ebcdfb38f94097e9afa97df5adf88b3eccb8bfb2c2de3490de6d6e3e1b75ab91e731a98989e4d0
6
+ metadata.gz: d950c8d3643e59a1cec84ee238925745e40d1c7f80f19ae1fbb089e4ffc98eee5953a672c52e4c170a185c20af674f09ab75d75cf1a7e6cbe29a559a9a8ddb42
7
+ data.tar.gz: d11740306d125f2c37f37b801767bbfa1e8dd0e448074b344814eae58f4a9d95012782975e178d7a21c1a9047e44a35c2c946a12283919d88f6ab874749f3e8f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.79.0 (2026-08-02)
4
+
5
+ * Regenerated from discovery document revision 20260721
6
+
3
7
  ### v0.78.0 (2026-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20260713
@@ -1884,9 +1884,9 @@ module Google
1884
1884
  # @return [Array<String>]
1885
1885
  attr_accessor :services
1886
1886
 
1887
- # The names of the services or service groups that are enabled. Example: `
1888
- # services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`
1889
- # .
1887
+ # Deprecated: Use the `services` field instead. The names of the services or
1888
+ # service groups that are enabled. Example: `services/storage.googleapis.com`, `
1889
+ # groups/googleServices`, `groups/allServices`.
1890
1890
  # Corresponds to the JSON property `values`
1891
1891
  # @return [Array<String>]
1892
1892
  attr_accessor :values
@@ -4668,6 +4668,15 @@ module Google
4668
4668
  class MetricRule
4669
4669
  include Google::Apis::Core::Hashable
4670
4670
 
4671
+ # Optional. Metrics to update when the selected methods are called, and the
4672
+ # associated cost applied to each metric, iff the source of the call is an agent.
4673
+ # The key of the map is the metric name, and the values are the amount
4674
+ # increased for the metric against which the quota limits are defined. The value
4675
+ # must not be negative.
4676
+ # Corresponds to the JSON property `agenticMetricCosts`
4677
+ # @return [Hash<String,Fixnum>]
4678
+ attr_accessor :agentic_metric_costs
4679
+
4671
4680
  # Metrics to update when the selected methods are called, and the associated
4672
4681
  # cost applied to each metric. The key of the map is the metric name, and the
4673
4682
  # values are the amount increased for the metric against which the quota limits
@@ -4676,6 +4685,15 @@ module Google
4676
4685
  # @return [Hash<String,Fixnum>]
4677
4686
  attr_accessor :metric_costs
4678
4687
 
4688
+ # Optional. Metrics to update when the selected methods are called, and the
4689
+ # associated cost applied to each metric, iff the source of the call is not an
4690
+ # agent. The key of the map is the metric name, and the values are the amount
4691
+ # increased for the metric against which the quota limits are defined. The value
4692
+ # must not be negative.
4693
+ # Corresponds to the JSON property `nonagenticMetricCosts`
4694
+ # @return [Hash<String,Fixnum>]
4695
+ attr_accessor :nonagentic_metric_costs
4696
+
4679
4697
  # Selects the methods to which this rule applies. Refer to selector for syntax
4680
4698
  # details.
4681
4699
  # Corresponds to the JSON property `selector`
@@ -4688,7 +4706,9 @@ module Google
4688
4706
 
4689
4707
  # Update properties of this object
4690
4708
  def update!(**args)
4709
+ @agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
4691
4710
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
4711
+ @nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
4692
4712
  @selector = args[:selector] if args.key?(:selector)
4693
4713
  end
4694
4714
  end
@@ -5533,6 +5553,13 @@ module Google
5533
5553
  # @return [String]
5534
5554
  attr_accessor :name
5535
5555
 
5556
+ # Optional. This is only informational, the logic to allocate the quota to the
5557
+ # correct metric (such as in `metric_rules`) should identify which quota metrics
5558
+ # to allocate to.
5559
+ # Corresponds to the JSON property `trafficSource`
5560
+ # @return [String]
5561
+ attr_accessor :traffic_source
5562
+
5536
5563
  # Specify the unit of the quota limit. It uses the same syntax as
5537
5564
  # MetricDescriptor.unit. The supported unit kinds are determined by the quota
5538
5565
  # backend system. Here are some examples: * "1/min/`project`" for quota per
@@ -5563,6 +5590,7 @@ module Google
5563
5590
  @max_limit = args[:max_limit] if args.key?(:max_limit)
5564
5591
  @metric = args[:metric] if args.key?(:metric)
5565
5592
  @name = args[:name] if args.key?(:name)
5593
+ @traffic_source = args[:traffic_source] if args.key?(:traffic_source)
5566
5594
  @unit = args[:unit] if args.key?(:unit)
5567
5595
  @values = args[:values] if args.key?(:values)
5568
5596
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1beta1
18
18
  # Version of the google-apis-serviceusage_v1beta1 gem
19
- GEM_VERSION = "0.78.0"
19
+ GEM_VERSION = "0.79.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 = "20260713"
25
+ REVISION = "20260721"
26
26
  end
27
27
  end
28
28
  end
@@ -2127,7 +2127,9 @@ module Google
2127
2127
  class MetricRule
2128
2128
  # @private
2129
2129
  class Representation < Google::Apis::Core::JsonRepresentation
2130
+ hash :agentic_metric_costs, as: 'agenticMetricCosts'
2130
2131
  hash :metric_costs, as: 'metricCosts'
2132
+ hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
2131
2133
  property :selector, as: 'selector'
2132
2134
  end
2133
2135
  end
@@ -2321,6 +2323,7 @@ module Google
2321
2323
  property :max_limit, :numeric_string => true, as: 'maxLimit'
2322
2324
  property :metric, as: 'metric'
2323
2325
  property :name, as: 'name'
2326
+ property :traffic_source, as: 'trafficSource'
2324
2327
  property :unit, as: 'unit'
2325
2328
  hash :values, as: 'values'
2326
2329
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.0
4
+ version: 0.79.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-serviceusage_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.78.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.79.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: