google-apis-servicemanagement_v1 0.77.0 → 0.78.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: 180b2e7a1ee9060e33ebc569df59e5b4a309f10b287df6f69cabfd6fa0f6a00b
|
|
4
|
+
data.tar.gz: 8321706d7585d4d9045d64a2d0267a29f095c95a183315540f3386fdf8412537
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 726b77c83c2727e2b17f8e33b089135dc0f999bf386d7e2333109ac77ca20ba3a14ee07163210a53069bd4532726d7f5d6694fc067ff6fe6845c1eee66a90c21
|
|
7
|
+
data.tar.gz: 7e90cc061351e3cb523e7c4059db15c0bd6a8d424478ae76d8980f812d36f8776d1f7f6602b7f97197d31eeac9f6b73990671ba352a1949d2e3060e8fb9e6122
|
data/CHANGELOG.md
CHANGED
|
@@ -3158,6 +3158,15 @@ module Google
|
|
|
3158
3158
|
class MetricRule
|
|
3159
3159
|
include Google::Apis::Core::Hashable
|
|
3160
3160
|
|
|
3161
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
3162
|
+
# associated cost applied to each metric, iff the source of the call is an agent.
|
|
3163
|
+
# The key of the map is the metric name, and the values are the amount
|
|
3164
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
3165
|
+
# must not be negative.
|
|
3166
|
+
# Corresponds to the JSON property `agenticMetricCosts`
|
|
3167
|
+
# @return [Hash<String,Fixnum>]
|
|
3168
|
+
attr_accessor :agentic_metric_costs
|
|
3169
|
+
|
|
3161
3170
|
# Metrics to update when the selected methods are called, and the associated
|
|
3162
3171
|
# cost applied to each metric. The key of the map is the metric name, and the
|
|
3163
3172
|
# values are the amount increased for the metric against which the quota limits
|
|
@@ -3166,6 +3175,15 @@ module Google
|
|
|
3166
3175
|
# @return [Hash<String,Fixnum>]
|
|
3167
3176
|
attr_accessor :metric_costs
|
|
3168
3177
|
|
|
3178
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
3179
|
+
# associated cost applied to each metric, iff the source of the call is not an
|
|
3180
|
+
# agent. The key of the map is the metric name, and the values are the amount
|
|
3181
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
3182
|
+
# must not be negative.
|
|
3183
|
+
# Corresponds to the JSON property `nonagenticMetricCosts`
|
|
3184
|
+
# @return [Hash<String,Fixnum>]
|
|
3185
|
+
attr_accessor :nonagentic_metric_costs
|
|
3186
|
+
|
|
3169
3187
|
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
3170
3188
|
# details.
|
|
3171
3189
|
# Corresponds to the JSON property `selector`
|
|
@@ -3178,7 +3196,9 @@ module Google
|
|
|
3178
3196
|
|
|
3179
3197
|
# Update properties of this object
|
|
3180
3198
|
def update!(**args)
|
|
3199
|
+
@agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
|
|
3181
3200
|
@metric_costs = args[:metric_costs] if args.key?(:metric_costs)
|
|
3201
|
+
@nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
|
|
3182
3202
|
@selector = args[:selector] if args.key?(:selector)
|
|
3183
3203
|
end
|
|
3184
3204
|
end
|
|
@@ -4010,6 +4030,13 @@ module Google
|
|
|
4010
4030
|
# @return [String]
|
|
4011
4031
|
attr_accessor :name
|
|
4012
4032
|
|
|
4033
|
+
# Optional. This is only informational, the logic to allocate the quota to the
|
|
4034
|
+
# correct metric (such as in `metric_rules`) should identify which quota metrics
|
|
4035
|
+
# to allocate to.
|
|
4036
|
+
# Corresponds to the JSON property `trafficSource`
|
|
4037
|
+
# @return [String]
|
|
4038
|
+
attr_accessor :traffic_source
|
|
4039
|
+
|
|
4013
4040
|
# Specify the unit of the quota limit. It uses the same syntax as
|
|
4014
4041
|
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
|
|
4015
4042
|
# backend system. Here are some examples: * "1/min/`project`" for quota per
|
|
@@ -4040,6 +4067,7 @@ module Google
|
|
|
4040
4067
|
@max_limit = args[:max_limit] if args.key?(:max_limit)
|
|
4041
4068
|
@metric = args[:metric] if args.key?(:metric)
|
|
4042
4069
|
@name = args[:name] if args.key?(:name)
|
|
4070
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
4043
4071
|
@unit = args[:unit] if args.key?(:unit)
|
|
4044
4072
|
@values = args[:values] if args.key?(:values)
|
|
4045
4073
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServicemanagementV1
|
|
18
18
|
# Version of the google-apis-servicemanagement_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.78.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
|
|
@@ -1412,7 +1412,9 @@ module Google
|
|
|
1412
1412
|
class MetricRule
|
|
1413
1413
|
# @private
|
|
1414
1414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1415
|
+
hash :agentic_metric_costs, as: 'agenticMetricCosts'
|
|
1415
1416
|
hash :metric_costs, as: 'metricCosts'
|
|
1417
|
+
hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
|
|
1416
1418
|
property :selector, as: 'selector'
|
|
1417
1419
|
end
|
|
1418
1420
|
end
|
|
@@ -1591,6 +1593,7 @@ module Google
|
|
|
1591
1593
|
property :max_limit, :numeric_string => true, as: 'maxLimit'
|
|
1592
1594
|
property :metric, as: 'metric'
|
|
1593
1595
|
property :name, as: 'name'
|
|
1596
|
+
property :traffic_source, as: 'trafficSource'
|
|
1594
1597
|
property :unit, as: 'unit'
|
|
1595
1598
|
hash :values, as: 'values'
|
|
1596
1599
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-servicemanagement_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.78.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-servicemanagement_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.78.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|