google-apis-serviceusage_v1beta1 0.17.0 → 0.20.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: 7c6f5494ce65a70337396eda02466c2d86b03b7029c67f7bd23e07df172120d5
4
- data.tar.gz: a1f22d9c15d27215adfe1c1b97299a7f9d64bc49091d2105fc62b7c60a8889c7
3
+ metadata.gz: cb7f795e51de24943abe53a8894145f9546642b3f4d49ba300382ea06e9ee363
4
+ data.tar.gz: dbe0a90c849d4464c1ed8e318f64376368926d026402a8ab2f9d871dfa6b7d2f
5
5
  SHA512:
6
- metadata.gz: ab1185adceeda8dd5921d3314c6508195f79009cb569d7e191f81d4b066e7e637d9ddc4bc1b2e8a581b858ca48c7efda3df37e148ae750cb1eb00a84e68d46bf
7
- data.tar.gz: 01f2589d89f02469b489ec38d7862f4ac5cee99cb3a993acc311bae7fcb543ea74c654289c8793f26a356615ada3a859528be245e7b6ff6af80ec755e86b9162
6
+ metadata.gz: 19c16c6377a248fbcd3c608397b596e52c030e2a93a728ccdfc7b50f4be9140a83add129060b6e0fc1b86c5ba2f96e2606cfff964a5fa613073a2a6b9577aee5
7
+ data.tar.gz: 21c56421f9a54acb822e6c3e6eb33fe7a339c21091e357a6c26578fb2df57c712671fc3f94c47623f94ee00652e31efeafbb7d42f69f1d8bf15cdc6621ab1f79
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.20.0 (2022-05-17)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.19.0 (2022-04-07)
8
+
9
+ * Regenerated from discovery document revision 20220405
10
+
11
+ ### v0.18.0 (2022-03-22)
12
+
13
+ * Regenerated from discovery document revision 20220319
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.17.0 (2021-12-17)
4
17
 
5
18
  * Regenerated from discovery document revision 20211214
@@ -211,14 +211,15 @@ module Google
211
211
  # @return [String]
212
212
  attr_accessor :jwks_uri
213
213
 
214
- # Defines the locations to extract the JWT. JWT locations can be either from
215
- # HTTP headers or URL query parameters. The rule is that the first match wins.
216
- # The checking order is: checking all headers first, then URL query parameters.
217
- # If not specified, default to use following 3 locations: 1) Authorization:
218
- # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
219
- # locations can be specified as followings: jwt_locations: - header:
220
- # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
221
- # query: access_token
214
+ # Defines the locations to extract the JWT. For now it is only used by the Cloud
215
+ # Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://
216
+ # cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-
217
+ # locations) JWT locations can be one of HTTP headers, URL query parameters or
218
+ # cookies. The rule is that the first match wins. If not specified, default to
219
+ # use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-
220
+ # assertion 3) access_token query parameter Default locations can be specified
221
+ # as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " -
222
+ # header: x-goog-iap-jwt-assertion - query: access_token
222
223
  # Corresponds to the JSON property `jwtLocations`
223
224
  # @return [Array<Google::Apis::ServiceusageV1beta1::JwtLocation>]
224
225
  attr_accessor :jwt_locations
@@ -1124,8 +1125,7 @@ module Google
1124
1125
  # A generic empty message that you can re-use to avoid defining duplicated empty
1125
1126
  # messages in your APIs. A typical example is to use it as the request or the
1126
1127
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1127
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1128
- # `Empty` is empty JSON object ````.
1128
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1129
1129
  class Empty
1130
1130
  include Google::Apis::Core::Hashable
1131
1131
 
@@ -2450,6 +2450,11 @@ module Google
2450
2450
  class JwtLocation
2451
2451
  include Google::Apis::Core::Hashable
2452
2452
 
2453
+ # Specifies cookie name to extract JWT token.
2454
+ # Corresponds to the JSON property `cookie`
2455
+ # @return [String]
2456
+ attr_accessor :cookie
2457
+
2453
2458
  # Specifies HTTP header name to extract JWT token.
2454
2459
  # Corresponds to the JSON property `header`
2455
2460
  # @return [String]
@@ -2476,6 +2481,7 @@ module Google
2476
2481
 
2477
2482
  # Update properties of this object
2478
2483
  def update!(**args)
2484
+ @cookie = args[:cookie] if args.key?(:cookie)
2479
2485
  @header = args[:header] if args.key?(:header)
2480
2486
  @query = args[:query] if args.key?(:query)
2481
2487
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2993,6 +2999,15 @@ module Google
2993
2999
  class MetricRule
2994
3000
  include Google::Apis::Core::Hashable
2995
3001
 
3002
+ # Metrics to update when the selected methods are called. The key of the map is
3003
+ # the metric name, the value is the DynamicCostType to specify how to calculate
3004
+ # the cost from the request. The cost amount will be increased for the metric
3005
+ # against which the quota limits are defined. It is only implemented in CloudESF(
3006
+ # go/cloudesf)
3007
+ # Corresponds to the JSON property `dynamicMetricCosts`
3008
+ # @return [Hash<String,String>]
3009
+ attr_accessor :dynamic_metric_costs
3010
+
2996
3011
  # Metrics to update when the selected methods are called, and the associated
2997
3012
  # cost applied to each metric. The key of the map is the metric name, and the
2998
3013
  # values are the amount increased for the metric against which the quota limits
@@ -3013,6 +3028,7 @@ module Google
3013
3028
 
3014
3029
  # Update properties of this object
3015
3030
  def update!(**args)
3031
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
3016
3032
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
3017
3033
  @selector = args[:selector] if args.key?(:selector)
3018
3034
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1beta1
18
18
  # Version of the google-apis-serviceusage_v1beta1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211214"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -1162,6 +1162,7 @@ module Google
1162
1162
  class JwtLocation
1163
1163
  # @private
1164
1164
  class Representation < Google::Apis::Core::JsonRepresentation
1165
+ property :cookie, as: 'cookie'
1165
1166
  property :header, as: 'header'
1166
1167
  property :query, as: 'query'
1167
1168
  property :value_prefix, as: 'valuePrefix'
@@ -1296,6 +1297,7 @@ module Google
1296
1297
  class MetricRule
1297
1298
  # @private
1298
1299
  class Representation < Google::Apis::Core::JsonRepresentation
1300
+ hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
1299
1301
  hash :metric_costs, as: 'metricCosts'
1300
1302
  property :selector, as: 'selector'
1301
1303
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Usage API V1beta1