google-apis-serviceusage_v1beta1 0.18.0 → 0.21.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: 555c50ea21a8e17792993651d3d4e1114c48fa1bffee44a8cd94ac6347232790
4
- data.tar.gz: fac72442e1eab7df9dfe44d5b17476c03c5ec05d6c44649a2f686586d96b6fc2
3
+ metadata.gz: c2cf78f6c37ca31f9f7da671541116dc0d6f17f2c2072f830fe4a8edaf7a6293
4
+ data.tar.gz: 4027e18bf9b7f7417742c2c64e6455319c6dff8662abd8b6ea7576815c23867f
5
5
  SHA512:
6
- metadata.gz: d762d62b49ec6690ccec1b0f9a058718669e6428097e05e28620d00b228cff850d1f2dda337a4638d7aeb483e833a9dc67713d2449e1e0300d13e9590a2f2bda
7
- data.tar.gz: 6f697e6024a66d6ed9a0c959c7637d8fde9738654df0f7ea8940015175c65cfb8e5c9a58fb21b270ed2b1eebc16cc1930f0cc780479da29bc218cd01988b1471
6
+ metadata.gz: 765da2401bfb5b09cd554bf24e20771a181fba7cf3ebbe215d28309c0da73cde5927cfaaf4406f74983d030eeaf610a6fa998e3fcaf5e51d9739b704651ec556
7
+ data.tar.gz: 615df29ca839e2aebb88b20a042fd37ea53549a55fd567c2b57f5c796e20c076fa12bfdb38e72a4e0f090bc83fb2674f4b8292fcd8763e234fa0b5b210913dc8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-serviceusage_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-06-06)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.20.0 (2022-05-17)
8
+
9
+ * Regenerated from discovery document revision 20220513
10
+
11
+ ### v0.19.0 (2022-04-07)
12
+
13
+ * Regenerated from discovery document revision 20220405
14
+
3
15
  ### v0.18.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::ServiceusageV1beta1::JwtLocation>]
224
225
  attr_accessor :jwt_locations
@@ -2449,6 +2450,11 @@ module Google
2449
2450
  class JwtLocation
2450
2451
  include Google::Apis::Core::Hashable
2451
2452
 
2453
+ # Specifies cookie name to extract JWT token.
2454
+ # Corresponds to the JSON property `cookie`
2455
+ # @return [String]
2456
+ attr_accessor :cookie
2457
+
2452
2458
  # Specifies HTTP header name to extract JWT token.
2453
2459
  # Corresponds to the JSON property `header`
2454
2460
  # @return [String]
@@ -2475,6 +2481,7 @@ module Google
2475
2481
 
2476
2482
  # Update properties of this object
2477
2483
  def update!(**args)
2484
+ @cookie = args[:cookie] if args.key?(:cookie)
2478
2485
  @header = args[:header] if args.key?(:header)
2479
2486
  @query = args[:query] if args.key?(:query)
2480
2487
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2992,6 +2999,15 @@ module Google
2992
2999
  class MetricRule
2993
3000
  include Google::Apis::Core::Hashable
2994
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
+
2995
3011
  # Metrics to update when the selected methods are called, and the associated
2996
3012
  # cost applied to each metric. The key of the map is the metric name, and the
2997
3013
  # values are the amount increased for the metric against which the quota limits
@@ -3012,6 +3028,7 @@ module Google
3012
3028
 
3013
3029
  # Update properties of this object
3014
3030
  def update!(**args)
3031
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
3015
3032
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
3016
3033
  @selector = args[:selector] if args.key?(:selector)
3017
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.18.0"
19
+ GEM_VERSION = "0.21.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
@@ -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.18.0
4
+ version: 0.21.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.21.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.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 V1beta1