google-apis-serviceusage_v1beta1 0.78.0 → 0.80.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0626c5cbd71f0a2fa5c9d75536591d2b07208f6f6fc1eaaf9afdd949f0357cf8
|
|
4
|
+
data.tar.gz: 32d4f509c259456e0541220108e00bb7bd46db1ffb403970b7c2633114475687
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5336840d4eff2e9a335b7e0944bdeba300477f98bb0c566d670a0a4b3cf39e2f23bf6c88ee7c19a426486b4cb019a5923a642ba4c341b1c32c55f97c6bb211d9
|
|
7
|
+
data.tar.gz: 68815acc461e29ecd9c81e08743f52819db642ac455ea48149f0ef988adbfc39083b4493812b4fbbc15c10044f50b7b1f9c546fa76e37e1fd73cc86a6a7cff96
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-serviceusage_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.80.0 (2026-08-09)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260731
|
|
6
|
+
|
|
7
|
+
### v0.79.0 (2026-08-02)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260721
|
|
10
|
+
|
|
3
11
|
### v0.78.0 (2026-07-19)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260713
|
|
@@ -1198,6 +1198,12 @@ module Google
|
|
|
1198
1198
|
# @return [Array<String>]
|
|
1199
1199
|
attr_accessor :supported_locations
|
|
1200
1200
|
|
|
1201
|
+
# Indicates the traffic type attribution for this quota limit (e.g. agentic).
|
|
1202
|
+
# This is an informational field used to categorize and filter the quota limits.
|
|
1203
|
+
# Corresponds to the JSON property `trafficSource`
|
|
1204
|
+
# @return [String]
|
|
1205
|
+
attr_accessor :traffic_source
|
|
1206
|
+
|
|
1201
1207
|
# The limit unit. An example unit would be `1/`project`/`region`` Note that ``
|
|
1202
1208
|
# project`` and ``region`` are not placeholders in this example; the literal
|
|
1203
1209
|
# characters ``` and ``` occur in the string.
|
|
@@ -1217,6 +1223,7 @@ module Google
|
|
|
1217
1223
|
@name = args[:name] if args.key?(:name)
|
|
1218
1224
|
@quota_buckets = args[:quota_buckets] if args.key?(:quota_buckets)
|
|
1219
1225
|
@supported_locations = args[:supported_locations] if args.key?(:supported_locations)
|
|
1226
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
1220
1227
|
@unit = args[:unit] if args.key?(:unit)
|
|
1221
1228
|
end
|
|
1222
1229
|
end
|
|
@@ -1884,9 +1891,9 @@ module Google
|
|
|
1884
1891
|
# @return [Array<String>]
|
|
1885
1892
|
attr_accessor :services
|
|
1886
1893
|
|
|
1887
|
-
#
|
|
1888
|
-
# services/storage.googleapis.com`, `
|
|
1889
|
-
#
|
|
1894
|
+
# Deprecated: Use the `services` field instead. The names of the services or
|
|
1895
|
+
# service groups that are enabled. Example: `services/storage.googleapis.com`, `
|
|
1896
|
+
# groups/googleServices`, `groups/allServices`.
|
|
1890
1897
|
# Corresponds to the JSON property `values`
|
|
1891
1898
|
# @return [Array<String>]
|
|
1892
1899
|
attr_accessor :values
|
|
@@ -4668,6 +4675,15 @@ module Google
|
|
|
4668
4675
|
class MetricRule
|
|
4669
4676
|
include Google::Apis::Core::Hashable
|
|
4670
4677
|
|
|
4678
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
4679
|
+
# associated cost applied to each metric, iff the source of the call is an agent.
|
|
4680
|
+
# The key of the map is the metric name, and the values are the amount
|
|
4681
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
4682
|
+
# must not be negative.
|
|
4683
|
+
# Corresponds to the JSON property `agenticMetricCosts`
|
|
4684
|
+
# @return [Hash<String,Fixnum>]
|
|
4685
|
+
attr_accessor :agentic_metric_costs
|
|
4686
|
+
|
|
4671
4687
|
# Metrics to update when the selected methods are called, and the associated
|
|
4672
4688
|
# cost applied to each metric. The key of the map is the metric name, and the
|
|
4673
4689
|
# values are the amount increased for the metric against which the quota limits
|
|
@@ -4676,6 +4692,15 @@ module Google
|
|
|
4676
4692
|
# @return [Hash<String,Fixnum>]
|
|
4677
4693
|
attr_accessor :metric_costs
|
|
4678
4694
|
|
|
4695
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
4696
|
+
# associated cost applied to each metric, iff the source of the call is not an
|
|
4697
|
+
# agent. The key of the map is the metric name, and the values are the amount
|
|
4698
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
4699
|
+
# must not be negative.
|
|
4700
|
+
# Corresponds to the JSON property `nonagenticMetricCosts`
|
|
4701
|
+
# @return [Hash<String,Fixnum>]
|
|
4702
|
+
attr_accessor :nonagentic_metric_costs
|
|
4703
|
+
|
|
4679
4704
|
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
4680
4705
|
# details.
|
|
4681
4706
|
# Corresponds to the JSON property `selector`
|
|
@@ -4688,7 +4713,9 @@ module Google
|
|
|
4688
4713
|
|
|
4689
4714
|
# Update properties of this object
|
|
4690
4715
|
def update!(**args)
|
|
4716
|
+
@agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
|
|
4691
4717
|
@metric_costs = args[:metric_costs] if args.key?(:metric_costs)
|
|
4718
|
+
@nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
|
|
4692
4719
|
@selector = args[:selector] if args.key?(:selector)
|
|
4693
4720
|
end
|
|
4694
4721
|
end
|
|
@@ -5533,6 +5560,13 @@ module Google
|
|
|
5533
5560
|
# @return [String]
|
|
5534
5561
|
attr_accessor :name
|
|
5535
5562
|
|
|
5563
|
+
# Optional. This is only informational, the logic to allocate the quota to the
|
|
5564
|
+
# correct metric (such as in `metric_rules`) should identify which quota metrics
|
|
5565
|
+
# to allocate to.
|
|
5566
|
+
# Corresponds to the JSON property `trafficSource`
|
|
5567
|
+
# @return [String]
|
|
5568
|
+
attr_accessor :traffic_source
|
|
5569
|
+
|
|
5536
5570
|
# Specify the unit of the quota limit. It uses the same syntax as
|
|
5537
5571
|
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
|
|
5538
5572
|
# backend system. Here are some examples: * "1/min/`project`" for quota per
|
|
@@ -5563,6 +5597,7 @@ module Google
|
|
|
5563
5597
|
@max_limit = args[:max_limit] if args.key?(:max_limit)
|
|
5564
5598
|
@metric = args[:metric] if args.key?(:metric)
|
|
5565
5599
|
@name = args[:name] if args.key?(:name)
|
|
5600
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
5566
5601
|
@unit = args[:unit] if args.key?(:unit)
|
|
5567
5602
|
@values = args[:values] if args.key?(:values)
|
|
5568
5603
|
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.
|
|
19
|
+
GEM_VERSION = "0.80.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 = "
|
|
25
|
+
REVISION = "20260731"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1257,6 +1257,7 @@ module Google
|
|
|
1257
1257
|
collection :quota_buckets, as: 'quotaBuckets', class: Google::Apis::ServiceusageV1beta1::QuotaBucket, decorator: Google::Apis::ServiceusageV1beta1::QuotaBucket::Representation
|
|
1258
1258
|
|
|
1259
1259
|
collection :supported_locations, as: 'supportedLocations'
|
|
1260
|
+
property :traffic_source, as: 'trafficSource'
|
|
1260
1261
|
property :unit, as: 'unit'
|
|
1261
1262
|
end
|
|
1262
1263
|
end
|
|
@@ -2127,7 +2128,9 @@ module Google
|
|
|
2127
2128
|
class MetricRule
|
|
2128
2129
|
# @private
|
|
2129
2130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2131
|
+
hash :agentic_metric_costs, as: 'agenticMetricCosts'
|
|
2130
2132
|
hash :metric_costs, as: 'metricCosts'
|
|
2133
|
+
hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
|
|
2131
2134
|
property :selector, as: 'selector'
|
|
2132
2135
|
end
|
|
2133
2136
|
end
|
|
@@ -2321,6 +2324,7 @@ module Google
|
|
|
2321
2324
|
property :max_limit, :numeric_string => true, as: 'maxLimit'
|
|
2322
2325
|
property :metric, as: 'metric'
|
|
2323
2326
|
property :name, as: 'name'
|
|
2327
|
+
property :traffic_source, as: 'trafficSource'
|
|
2324
2328
|
property :unit, as: 'unit'
|
|
2325
2329
|
hash :values, as: 'values'
|
|
2326
2330
|
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.
|
|
4
|
+
version: 0.80.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.80.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:
|