google-apis-servicenetworking_v1beta 0.73.0 → 0.74.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: 6b9ff42604106b6a66d314423cf742a74cfaba3b164e292bb864db9fe205fbdd
|
|
4
|
+
data.tar.gz: baf5084e6b346370861c63d0bd39afc7e602bfd86e00c4d67d758dfaad75e54f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ce7c82463873326ff618e4a37914a0593421f168005a51b9053587202dac4cde02527c877baf411820a0ca5fb9bf1f93e20489e6c9655c764e9548f0a3e0f38
|
|
7
|
+
data.tar.gz: 50a617578fbae127596da431d2e2c85d05f4820c8555eef0256c0926dfd49b98affc3d7243116699c95474b026f7c08b48dbdad35cc19ce8b8c9c5945944e706
|
data/CHANGELOG.md
CHANGED
|
@@ -3045,6 +3045,15 @@ module Google
|
|
|
3045
3045
|
class MetricRule
|
|
3046
3046
|
include Google::Apis::Core::Hashable
|
|
3047
3047
|
|
|
3048
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
3049
|
+
# associated cost applied to each metric, iff the source of the call is an agent.
|
|
3050
|
+
# The key of the map is the metric name, and the values are the amount
|
|
3051
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
3052
|
+
# must not be negative.
|
|
3053
|
+
# Corresponds to the JSON property `agenticMetricCosts`
|
|
3054
|
+
# @return [Hash<String,Fixnum>]
|
|
3055
|
+
attr_accessor :agentic_metric_costs
|
|
3056
|
+
|
|
3048
3057
|
# Metrics to update when the selected methods are called, and the associated
|
|
3049
3058
|
# cost applied to each metric. The key of the map is the metric name, and the
|
|
3050
3059
|
# values are the amount increased for the metric against which the quota limits
|
|
@@ -3053,6 +3062,15 @@ module Google
|
|
|
3053
3062
|
# @return [Hash<String,Fixnum>]
|
|
3054
3063
|
attr_accessor :metric_costs
|
|
3055
3064
|
|
|
3065
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
3066
|
+
# associated cost applied to each metric, iff the source of the call is not an
|
|
3067
|
+
# agent. The key of the map is the metric name, and the values are the amount
|
|
3068
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
3069
|
+
# must not be negative.
|
|
3070
|
+
# Corresponds to the JSON property `nonagenticMetricCosts`
|
|
3071
|
+
# @return [Hash<String,Fixnum>]
|
|
3072
|
+
attr_accessor :nonagentic_metric_costs
|
|
3073
|
+
|
|
3056
3074
|
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
3057
3075
|
# details.
|
|
3058
3076
|
# Corresponds to the JSON property `selector`
|
|
@@ -3065,7 +3083,9 @@ module Google
|
|
|
3065
3083
|
|
|
3066
3084
|
# Update properties of this object
|
|
3067
3085
|
def update!(**args)
|
|
3086
|
+
@agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
|
|
3068
3087
|
@metric_costs = args[:metric_costs] if args.key?(:metric_costs)
|
|
3088
|
+
@nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
|
|
3069
3089
|
@selector = args[:selector] if args.key?(:selector)
|
|
3070
3090
|
end
|
|
3071
3091
|
end
|
|
@@ -3823,6 +3843,13 @@ module Google
|
|
|
3823
3843
|
# @return [String]
|
|
3824
3844
|
attr_accessor :name
|
|
3825
3845
|
|
|
3846
|
+
# Optional. This is only informational, the logic to allocate the quota to the
|
|
3847
|
+
# correct metric (such as in `metric_rules`) should identify which quota metrics
|
|
3848
|
+
# to allocate to.
|
|
3849
|
+
# Corresponds to the JSON property `trafficSource`
|
|
3850
|
+
# @return [String]
|
|
3851
|
+
attr_accessor :traffic_source
|
|
3852
|
+
|
|
3826
3853
|
# Specify the unit of the quota limit. It uses the same syntax as
|
|
3827
3854
|
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
|
|
3828
3855
|
# backend system. Here are some examples: * "1/min/`project`" for quota per
|
|
@@ -3853,6 +3880,7 @@ module Google
|
|
|
3853
3880
|
@max_limit = args[:max_limit] if args.key?(:max_limit)
|
|
3854
3881
|
@metric = args[:metric] if args.key?(:metric)
|
|
3855
3882
|
@name = args[:name] if args.key?(:name)
|
|
3883
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
3856
3884
|
@unit = args[:unit] if args.key?(:unit)
|
|
3857
3885
|
@values = args[:values] if args.key?(:values)
|
|
3858
3886
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServicenetworkingV1beta
|
|
18
18
|
# Version of the google-apis-servicenetworking_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.74.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 = "20260727"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1372,7 +1372,9 @@ module Google
|
|
|
1372
1372
|
class MetricRule
|
|
1373
1373
|
# @private
|
|
1374
1374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1375
|
+
hash :agentic_metric_costs, as: 'agenticMetricCosts'
|
|
1375
1376
|
hash :metric_costs, as: 'metricCosts'
|
|
1377
|
+
hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
|
|
1376
1378
|
property :selector, as: 'selector'
|
|
1377
1379
|
end
|
|
1378
1380
|
end
|
|
@@ -1548,6 +1550,7 @@ module Google
|
|
|
1548
1550
|
property :max_limit, :numeric_string => true, as: 'maxLimit'
|
|
1549
1551
|
property :metric, as: 'metric'
|
|
1550
1552
|
property :name, as: 'name'
|
|
1553
|
+
property :traffic_source, as: 'trafficSource'
|
|
1551
1554
|
property :unit, as: 'unit'
|
|
1552
1555
|
hash :values, as: 'values'
|
|
1553
1556
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-servicenetworking_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.74.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-servicenetworking_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1beta/v0.74.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|