google-apis-serviceconsumermanagement_v1 0.69.0 → 0.70.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: e774b434746fb1ad61670b330d4611e74baf00943790d7ad296c57938dc573d6
|
|
4
|
+
data.tar.gz: 0bb1c698bf9ad889d58211449f9f457201cd954e560ebf976510d6b36343f597
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 016b900fac172bcfd69a96e885d0b1728a1a803e749d740f188e9e3d4917702920b5476f852254d18a2ce514641f4ef68708e780ed01655cc30f3971c7850db3
|
|
7
|
+
data.tar.gz: 1247e8323794dc9b9ac9bc960e4976545befb2a6da070f2a1b445604cc0763eba8f0ff3dc63cdd679ec0789e0d82047bc13c01abb0fcea9753224cd70e8c9611
|
data/CHANGELOG.md
CHANGED
|
@@ -2658,6 +2658,15 @@ module Google
|
|
|
2658
2658
|
class MetricRule
|
|
2659
2659
|
include Google::Apis::Core::Hashable
|
|
2660
2660
|
|
|
2661
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
2662
|
+
# associated cost applied to each metric, iff the source of the call is an agent.
|
|
2663
|
+
# The key of the map is the metric name, and the values are the amount
|
|
2664
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
2665
|
+
# must not be negative.
|
|
2666
|
+
# Corresponds to the JSON property `agenticMetricCosts`
|
|
2667
|
+
# @return [Hash<String,Fixnum>]
|
|
2668
|
+
attr_accessor :agentic_metric_costs
|
|
2669
|
+
|
|
2661
2670
|
# Metrics to update when the selected methods are called, and the associated
|
|
2662
2671
|
# cost applied to each metric. The key of the map is the metric name, and the
|
|
2663
2672
|
# values are the amount increased for the metric against which the quota limits
|
|
@@ -2666,6 +2675,15 @@ module Google
|
|
|
2666
2675
|
# @return [Hash<String,Fixnum>]
|
|
2667
2676
|
attr_accessor :metric_costs
|
|
2668
2677
|
|
|
2678
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
2679
|
+
# associated cost applied to each metric, iff the source of the call is not an
|
|
2680
|
+
# agent. The key of the map is the metric name, and the values are the amount
|
|
2681
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
2682
|
+
# must not be negative.
|
|
2683
|
+
# Corresponds to the JSON property `nonagenticMetricCosts`
|
|
2684
|
+
# @return [Hash<String,Fixnum>]
|
|
2685
|
+
attr_accessor :nonagentic_metric_costs
|
|
2686
|
+
|
|
2669
2687
|
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
2670
2688
|
# details.
|
|
2671
2689
|
# Corresponds to the JSON property `selector`
|
|
@@ -2678,7 +2696,9 @@ module Google
|
|
|
2678
2696
|
|
|
2679
2697
|
# Update properties of this object
|
|
2680
2698
|
def update!(**args)
|
|
2699
|
+
@agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
|
|
2681
2700
|
@metric_costs = args[:metric_costs] if args.key?(:metric_costs)
|
|
2701
|
+
@nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
|
|
2682
2702
|
@selector = args[:selector] if args.key?(:selector)
|
|
2683
2703
|
end
|
|
2684
2704
|
end
|
|
@@ -3371,6 +3391,13 @@ module Google
|
|
|
3371
3391
|
# @return [String]
|
|
3372
3392
|
attr_accessor :name
|
|
3373
3393
|
|
|
3394
|
+
# Optional. This is only informational, the logic to allocate the quota to the
|
|
3395
|
+
# correct metric (such as in `metric_rules`) should identify which quota metrics
|
|
3396
|
+
# to allocate to.
|
|
3397
|
+
# Corresponds to the JSON property `trafficSource`
|
|
3398
|
+
# @return [String]
|
|
3399
|
+
attr_accessor :traffic_source
|
|
3400
|
+
|
|
3374
3401
|
# Specify the unit of the quota limit. It uses the same syntax as
|
|
3375
3402
|
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
|
|
3376
3403
|
# backend system. Here are some examples: * "1/min/`project`" for quota per
|
|
@@ -3401,6 +3428,7 @@ module Google
|
|
|
3401
3428
|
@max_limit = args[:max_limit] if args.key?(:max_limit)
|
|
3402
3429
|
@metric = args[:metric] if args.key?(:metric)
|
|
3403
3430
|
@name = args[:name] if args.key?(:name)
|
|
3431
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
3404
3432
|
@unit = args[:unit] if args.key?(:unit)
|
|
3405
3433
|
@values = args[:values] if args.key?(:values)
|
|
3406
3434
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServiceconsumermanagementV1
|
|
18
18
|
# Version of the google-apis-serviceconsumermanagement_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.70.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 = "20260721"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1305,7 +1305,9 @@ module Google
|
|
|
1305
1305
|
class MetricRule
|
|
1306
1306
|
# @private
|
|
1307
1307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1308
|
+
hash :agentic_metric_costs, as: 'agenticMetricCosts'
|
|
1308
1309
|
hash :metric_costs, as: 'metricCosts'
|
|
1310
|
+
hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
|
|
1309
1311
|
property :selector, as: 'selector'
|
|
1310
1312
|
end
|
|
1311
1313
|
end
|
|
@@ -1461,6 +1463,7 @@ module Google
|
|
|
1461
1463
|
property :max_limit, :numeric_string => true, as: 'maxLimit'
|
|
1462
1464
|
property :metric, as: 'metric'
|
|
1463
1465
|
property :name, as: 'name'
|
|
1466
|
+
property :traffic_source, as: 'trafficSource'
|
|
1464
1467
|
property :unit, as: 'unit'
|
|
1465
1468
|
hash :values, as: 'values'
|
|
1466
1469
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-serviceconsumermanagement_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.70.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.70.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|