google-apis-serviceusage_v1 0.78.0 → 0.79.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: b2c9bdc8f751e8df54891a2f295cf21f293880ffe45d1b0726d4b2123526bbc6
|
|
4
|
+
data.tar.gz: ae6cc39304348120f40514e6de842fd5c51f8fb521c7c5a96a71115351305b57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f294e8d3be341c65a0ce0b832050d877c1b93f94043823461884a721c82d174f24ac0b55cc2fb009413a48305556489817d99c8a7514e1d1140efb2a17b7ac16
|
|
7
|
+
data.tar.gz: 9b50d2bf78d98b7817dd0cc9c2aec3ea96a89ec57ad9d4537bbf7cc7573805b430a24233c89d65d9bdc184256e657622c21e40144d2922459834b703274cf293
|
data/CHANGELOG.md
CHANGED
|
@@ -1806,9 +1806,9 @@ module Google
|
|
|
1806
1806
|
# @return [Array<String>]
|
|
1807
1807
|
attr_accessor :services
|
|
1808
1808
|
|
|
1809
|
-
#
|
|
1810
|
-
# services/storage.googleapis.com`, `
|
|
1811
|
-
#
|
|
1809
|
+
# Deprecated: Use the `services` field instead. The names of the services or
|
|
1810
|
+
# service groups that are enabled. Example: `services/storage.googleapis.com`, `
|
|
1811
|
+
# groups/googleServices`, `groups/allServices`.
|
|
1812
1812
|
# Corresponds to the JSON property `values`
|
|
1813
1813
|
# @return [Array<String>]
|
|
1814
1814
|
attr_accessor :values
|
|
@@ -4433,6 +4433,15 @@ module Google
|
|
|
4433
4433
|
class MetricRule
|
|
4434
4434
|
include Google::Apis::Core::Hashable
|
|
4435
4435
|
|
|
4436
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
4437
|
+
# associated cost applied to each metric, iff the source of the call is an agent.
|
|
4438
|
+
# The key of the map is the metric name, and the values are the amount
|
|
4439
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
4440
|
+
# must not be negative.
|
|
4441
|
+
# Corresponds to the JSON property `agenticMetricCosts`
|
|
4442
|
+
# @return [Hash<String,Fixnum>]
|
|
4443
|
+
attr_accessor :agentic_metric_costs
|
|
4444
|
+
|
|
4436
4445
|
# Metrics to update when the selected methods are called, and the associated
|
|
4437
4446
|
# cost applied to each metric. The key of the map is the metric name, and the
|
|
4438
4447
|
# values are the amount increased for the metric against which the quota limits
|
|
@@ -4441,6 +4450,15 @@ module Google
|
|
|
4441
4450
|
# @return [Hash<String,Fixnum>]
|
|
4442
4451
|
attr_accessor :metric_costs
|
|
4443
4452
|
|
|
4453
|
+
# Optional. Metrics to update when the selected methods are called, and the
|
|
4454
|
+
# associated cost applied to each metric, iff the source of the call is not an
|
|
4455
|
+
# agent. The key of the map is the metric name, and the values are the amount
|
|
4456
|
+
# increased for the metric against which the quota limits are defined. The value
|
|
4457
|
+
# must not be negative.
|
|
4458
|
+
# Corresponds to the JSON property `nonagenticMetricCosts`
|
|
4459
|
+
# @return [Hash<String,Fixnum>]
|
|
4460
|
+
attr_accessor :nonagentic_metric_costs
|
|
4461
|
+
|
|
4444
4462
|
# Selects the methods to which this rule applies. Refer to selector for syntax
|
|
4445
4463
|
# details.
|
|
4446
4464
|
# Corresponds to the JSON property `selector`
|
|
@@ -4453,7 +4471,9 @@ module Google
|
|
|
4453
4471
|
|
|
4454
4472
|
# Update properties of this object
|
|
4455
4473
|
def update!(**args)
|
|
4474
|
+
@agentic_metric_costs = args[:agentic_metric_costs] if args.key?(:agentic_metric_costs)
|
|
4456
4475
|
@metric_costs = args[:metric_costs] if args.key?(:metric_costs)
|
|
4476
|
+
@nonagentic_metric_costs = args[:nonagentic_metric_costs] if args.key?(:nonagentic_metric_costs)
|
|
4457
4477
|
@selector = args[:selector] if args.key?(:selector)
|
|
4458
4478
|
end
|
|
4459
4479
|
end
|
|
@@ -5137,6 +5157,13 @@ module Google
|
|
|
5137
5157
|
# @return [String]
|
|
5138
5158
|
attr_accessor :name
|
|
5139
5159
|
|
|
5160
|
+
# Optional. This is only informational, the logic to allocate the quota to the
|
|
5161
|
+
# correct metric (such as in `metric_rules`) should identify which quota metrics
|
|
5162
|
+
# to allocate to.
|
|
5163
|
+
# Corresponds to the JSON property `trafficSource`
|
|
5164
|
+
# @return [String]
|
|
5165
|
+
attr_accessor :traffic_source
|
|
5166
|
+
|
|
5140
5167
|
# Specify the unit of the quota limit. It uses the same syntax as
|
|
5141
5168
|
# MetricDescriptor.unit. The supported unit kinds are determined by the quota
|
|
5142
5169
|
# backend system. Here are some examples: * "1/min/`project`" for quota per
|
|
@@ -5167,6 +5194,7 @@ module Google
|
|
|
5167
5194
|
@max_limit = args[:max_limit] if args.key?(:max_limit)
|
|
5168
5195
|
@metric = args[:metric] if args.key?(:metric)
|
|
5169
5196
|
@name = args[:name] if args.key?(:name)
|
|
5197
|
+
@traffic_source = args[:traffic_source] if args.key?(:traffic_source)
|
|
5170
5198
|
@unit = args[:unit] if args.key?(:unit)
|
|
5171
5199
|
@values = args[:values] if args.key?(:values)
|
|
5172
5200
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServiceusageV1
|
|
18
18
|
# Version of the google-apis-serviceusage_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.79.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
|
|
@@ -2002,7 +2002,9 @@ module Google
|
|
|
2002
2002
|
class MetricRule
|
|
2003
2003
|
# @private
|
|
2004
2004
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2005
|
+
hash :agentic_metric_costs, as: 'agenticMetricCosts'
|
|
2005
2006
|
hash :metric_costs, as: 'metricCosts'
|
|
2007
|
+
hash :nonagentic_metric_costs, as: 'nonagenticMetricCosts'
|
|
2006
2008
|
property :selector, as: 'selector'
|
|
2007
2009
|
end
|
|
2008
2010
|
end
|
|
@@ -2157,6 +2159,7 @@ module Google
|
|
|
2157
2159
|
property :max_limit, :numeric_string => true, as: 'maxLimit'
|
|
2158
2160
|
property :metric, as: 'metric'
|
|
2159
2161
|
property :name, as: 'name'
|
|
2162
|
+
property :traffic_source, as: 'trafficSource'
|
|
2160
2163
|
property :unit, as: 'unit'
|
|
2161
2164
|
hash :values, as: 'values'
|
|
2162
2165
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-serviceusage_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.79.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.79.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|