google-apis-serviceusage_v1 0.17.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e64f1ac8f5b7d9b3797ea561fd1e9d3b0d84beb4cb413f3c5b963b0e6a16298c
4
- data.tar.gz: 330f7e99ba498a31a2d6b4c4ab1d1b1d86e6e20e4f79a19180bce101c9ce0877
3
+ metadata.gz: 00e56770effc83005850b81a215b8ea53f3800cd97d0736063c26db60ce2e28e
4
+ data.tar.gz: 229fa9195adce8fd111d5340a3142c5883e9b8de18230338a1284ff14a4f847a
5
5
  SHA512:
6
- metadata.gz: 18ace5f31585e4dc81cfd4440fec876f17d51046eb018486be3fa5ec7a4df520e2aad8de5367500a588af0e49d109b16381c81f0e27d40b53cf57a867ff2a7d5
7
- data.tar.gz: 8ea853110d453ab5cc9333596f0546dd2cbdaebe77533cf8c40e484e5a956179e88a79ce0aa40cbca76f1ff5dd4be0b79625a1f953561f26a8de2f2ff4ce2d4a
6
+ metadata.gz: 042d7688340a64d23a0908fefc45e6e397af2082ab03b8e21958393730615989d1dad3172bdb3c66e7e80d82d7e4a49be78eccc48ca8741431ca54f8f0533fe2
7
+ data.tar.gz: 2197545c795c4711e7ca5b292edd3b7453d67874e936d59b80cf2ff33b18c0fb12b7482b4bd1320bd3df80984be4ed24d4b2d3b426650194471247984058f15e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.20.0 (2022-06-04)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.19.0 (2022-05-17)
8
+
9
+ * Regenerated from discovery document revision 20220513
10
+
11
+ ### v0.18.0 (2022-04-07)
12
+
13
+ * Regenerated from discovery document revision 20220405
14
+
3
15
  ### v0.17.0 (2022-03-22)
4
16
 
5
17
  * Regenerated from discovery document revision 20220319
@@ -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::ServiceusageV1::JwtLocation>]
224
225
  attr_accessor :jwt_locations
@@ -2297,6 +2298,11 @@ module Google
2297
2298
  class JwtLocation
2298
2299
  include Google::Apis::Core::Hashable
2299
2300
 
2301
+ # Specifies cookie name to extract JWT token.
2302
+ # Corresponds to the JSON property `cookie`
2303
+ # @return [String]
2304
+ attr_accessor :cookie
2305
+
2300
2306
  # Specifies HTTP header name to extract JWT token.
2301
2307
  # Corresponds to the JSON property `header`
2302
2308
  # @return [String]
@@ -2323,6 +2329,7 @@ module Google
2323
2329
 
2324
2330
  # Update properties of this object
2325
2331
  def update!(**args)
2332
+ @cookie = args[:cookie] if args.key?(:cookie)
2326
2333
  @header = args[:header] if args.key?(:header)
2327
2334
  @query = args[:query] if args.key?(:query)
2328
2335
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2765,6 +2772,15 @@ module Google
2765
2772
  class MetricRule
2766
2773
  include Google::Apis::Core::Hashable
2767
2774
 
2775
+ # Metrics to update when the selected methods are called. The key of the map is
2776
+ # the metric name, the value is the DynamicCostType to specify how to calculate
2777
+ # the cost from the request. The cost amount will be increased for the metric
2778
+ # against which the quota limits are defined. It is only implemented in CloudESF(
2779
+ # go/cloudesf)
2780
+ # Corresponds to the JSON property `dynamicMetricCosts`
2781
+ # @return [Hash<String,String>]
2782
+ attr_accessor :dynamic_metric_costs
2783
+
2768
2784
  # Metrics to update when the selected methods are called, and the associated
2769
2785
  # cost applied to each metric. The key of the map is the metric name, and the
2770
2786
  # values are the amount increased for the metric against which the quota limits
@@ -2785,6 +2801,7 @@ module Google
2785
2801
 
2786
2802
  # Update properties of this object
2787
2803
  def update!(**args)
2804
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
2788
2805
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
2789
2806
  @selector = args[:selector] if args.key?(:selector)
2790
2807
  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.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.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -1076,6 +1076,7 @@ module Google
1076
1076
  class JwtLocation
1077
1077
  # @private
1078
1078
  class Representation < Google::Apis::Core::JsonRepresentation
1079
+ property :cookie, as: 'cookie'
1079
1080
  property :header, as: 'header'
1080
1081
  property :query, as: 'query'
1081
1082
  property :value_prefix, as: 'valuePrefix'
@@ -1183,6 +1184,7 @@ module Google
1183
1184
  class MetricRule
1184
1185
  # @private
1185
1186
  class Representation < Google::Apis::Core::JsonRepresentation
1187
+ hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
1186
1188
  hash :metric_costs, as: 'metricCosts'
1187
1189
  property :selector, as: 'selector'
1188
1190
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
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-03-28 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Usage API V1