google-apis-servicenetworking_v1 0.86.0 → 0.87.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: f2b106eb2c2921cebf2a81993713431ded6f39114ae5f4c2b396388bded68e51
|
|
4
|
+
data.tar.gz: 44aa332142ab0f8333aaa643f961ebe19a8d76dec6f4366e1203b958883953ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19e940583fdb8c454dddacc87cb6366dfbc450bfdfc420e53f9ec319b956bc253fb0506bf717fa8f124d5019a58545045f0f6172744d9119e29474004a5cb795
|
|
7
|
+
data.tar.gz: 21af32a0aa9a34d1139ee3bf0f9c30e18c9568f007d92caf236ae46749295f509fcc4452cfccb02355a08e4896f6a9574e8c0559fc9ffb5e1965a24895439e6d
|
data/CHANGELOG.md
CHANGED
|
@@ -3519,6 +3519,15 @@ module Google
|
|
|
3519
3519
|
class MetricRule
|
|
3520
3520
|
include Google::Apis::Core::Hashable
|
|
3521
3521
|
|
|
3522
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
3523
|
+
# associated cost applied to each metric, iff the source of the call is an agent.
|
|
3524
|
+
# The key of the map is the metric name, and the values are the amount
|
|
3525
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
3526
|
+
# must not be negative.
|
|
3527
|
+
# Corresponds to the JSON property `agenticMetricCosts`
|
|
3528
|
+
# @return [Hash<String,Fixnum>]
|
|
3529
|
+
attr_accessor :agentic_metric_costs
|
|
3530
|
+
|
|
3522
3531
|
# Metrics to update when the selected methods are called, and the associated
|
|
3523
3532
|
# cost applied to each metric. The key of the map is the metric name, and the
|
|
3524
3533
|
# values are the amount increased for the metric against which the quota limits
|
|
@@ -3527,6 +3536,15 @@ module Google
|
|
|
3527
3536
|
# @return [Hash<String,Fixnum>]
|
|
3528
3537
|
attr_accessor :metric_costs
|
|
3529
3538
|
|
|
3539
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
3540
|
+
# associated cost applied to each metric, iff the source of the call is not an
|
|
3541
|
+
# agent. The key of the map is the metric name, and the values are the amount
|
|
3542
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
3543
|
+
# must not be negative.
|
|
3544
|
+
# Corresponds to the JSON property `nonagenticMetricCosts`
|
|
3545
|
+
# @return [Hash<String,Fixnum>]
|
|
3546
|
+
attr_accessor :nonagentic_metric_costs
|
|
3547
|
+
|
|
3530
3548
|
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
3531
3549
|
# details.
|
|
3532
3550
|
# Corresponds to the JSON property `selector`
|
|
@@ -3539,7 +3557,9 @@ module Google
|
|
|
3539
3557
|
|
|
3540
3558
|
# Update properties of this object
|
|
3541
3559
|
def update!(**args)
|
|
3560
|
+
@agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
|
|
3542
3561
|
@metric_costs = args[:metric_costs] if args.key?(:metric_costs)
|
|
3562
|
+
@nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
|
|
3543
3563
|
@selector = args[:selector] if args.key?(:selector)
|
|
3544
3564
|
end
|
|
3545
3565
|
end
|
|
@@ -4297,6 +4317,13 @@ module Google
|
|
|
4297
4317
|
# @return [String]
|
|
4298
4318
|
attr_accessor :name
|
|
4299
4319
|
|
|
4320
|
+
# Optional. This is only informational, the logic to allocate the quota to the
|
|
4321
|
+
# correct metric (such as in `metric_rules`) should identify which quota metrics
|
|
4322
|
+
# to allocate to.
|
|
4323
|
+
# Corresponds to the JSON property `trafficSource`
|
|
4324
|
+
# @return [String]
|
|
4325
|
+
attr_accessor :traffic_source
|
|
4326
|
+
|
|
4300
4327
|
# Specify the unit of the quota limit. It uses the same syntax as
|
|
4301
4328
|
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
|
|
4302
4329
|
# backend system. Here are some examples: * "1/min/`project`" for quota per
|
|
@@ -4327,6 +4354,7 @@ module Google
|
|
|
4327
4354
|
@max_limit = args[:max_limit] if args.key?(:max_limit)
|
|
4328
4355
|
@metric = args[:metric] if args.key?(:metric)
|
|
4329
4356
|
@name = args[:name] if args.key?(:name)
|
|
4357
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
4330
4358
|
@unit = args[:unit] if args.key?(:unit)
|
|
4331
4359
|
@values = args[:values] if args.key?(:values)
|
|
4332
4360
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServicenetworkingV1
|
|
18
18
|
# Version of the google-apis-servicenetworking_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.87.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
|
|
@@ -1645,7 +1645,9 @@ module Google
|
|
|
1645
1645
|
class MetricRule
|
|
1646
1646
|
# @private
|
|
1647
1647
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1648
|
+
hash :agentic_metric_costs, as: 'agenticMetricCosts'
|
|
1648
1649
|
hash :metric_costs, as: 'metricCosts'
|
|
1650
|
+
hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
|
|
1649
1651
|
property :selector, as: 'selector'
|
|
1650
1652
|
end
|
|
1651
1653
|
end
|
|
@@ -1821,6 +1823,7 @@ module Google
|
|
|
1821
1823
|
property :max_limit, :numeric_string => true, as: 'maxLimit'
|
|
1822
1824
|
property :metric, as: 'metric'
|
|
1823
1825
|
property :name, as: 'name'
|
|
1826
|
+
property :traffic_source, as: 'trafficSource'
|
|
1824
1827
|
property :unit, as: 'unit'
|
|
1825
1828
|
hash :values, as: 'values'
|
|
1826
1829
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-servicenetworking_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.87.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.87.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|