google-apis-serviceusage_v1 0.16.0 → 0.19.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: 6936e085d48a7bf70680ef31b68246eb05e2584b93ee3a08644f46e2755760d4
4
- data.tar.gz: e763d598859359ab7568d81620cb0a2176cdb8621b79315518cdce9e00ec2fa9
3
+ metadata.gz: 61ec63105914e588816fcb7b3e7fe771d7ca2dd9ae1b930285f5a24ba27bf16e
4
+ data.tar.gz: 8c3f32aa3354051e0cb778933fb21006623a4e54ed7c6889f9f27e909c8aa4a3
5
5
  SHA512:
6
- metadata.gz: 6340c0a8265e6e62ce414d70582b3fa7ba952d4c69a1de3d3da9f9e90ef396ec49eb9fab0a8c5593d929c5b716e2e96d42280c8f8cfcc710e9f8b9fea95a9bf3
7
- data.tar.gz: 4a7094e7fbb409c370c684a8391ca9136634b589029442c178ef2798fab76e182f66832426dfe77daf81d982e2043c3ddce1e66f263770c153fd7708f85f322a
6
+ metadata.gz: b139b4aac6760e51c9bdb61386b05bd72258ed986a7d360590d4a5f0382d9cf002094fdcf1764532050e6dd670167859535ff674915cce6210e29dba16987f11
7
+ data.tar.gz: 58385922a8c0cc50c861cb8f2ffd68bd624e636e793df51bc4f5f7078d8619342a9d10d00272f4b29a4ed8bee9ddf9a5c6df430c309a40183167d2b6e4df04be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.19.0 (2022-05-17)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.18.0 (2022-04-07)
8
+
9
+ * Regenerated from discovery document revision 20220405
10
+
11
+ ### v0.17.0 (2022-03-22)
12
+
13
+ * Regenerated from discovery document revision 20220319
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.16.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::ServiceusageV1::JwtLocation>]
224
225
  attr_accessor :jwt_locations
@@ -1046,8 +1047,7 @@ module Google
1046
1047
  # A generic empty message that you can re-use to avoid defining duplicated empty
1047
1048
  # messages in your APIs. A typical example is to use it as the request or the
1048
1049
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1049
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1050
- # `Empty` is empty JSON object ````.
1050
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1051
1051
  class Empty
1052
1052
  include Google::Apis::Core::Hashable
1053
1053
 
@@ -2298,6 +2298,11 @@ module Google
2298
2298
  class JwtLocation
2299
2299
  include Google::Apis::Core::Hashable
2300
2300
 
2301
+ # Specifies cookie name to extract JWT token.
2302
+ # Corresponds to the JSON property `cookie`
2303
+ # @return [String]
2304
+ attr_accessor :cookie
2305
+
2301
2306
  # Specifies HTTP header name to extract JWT token.
2302
2307
  # Corresponds to the JSON property `header`
2303
2308
  # @return [String]
@@ -2324,6 +2329,7 @@ module Google
2324
2329
 
2325
2330
  # Update properties of this object
2326
2331
  def update!(**args)
2332
+ @cookie = args[:cookie] if args.key?(:cookie)
2327
2333
  @header = args[:header] if args.key?(:header)
2328
2334
  @query = args[:query] if args.key?(:query)
2329
2335
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2766,6 +2772,15 @@ module Google
2766
2772
  class MetricRule
2767
2773
  include Google::Apis::Core::Hashable
2768
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
+
2769
2784
  # Metrics to update when the selected methods are called, and the associated
2770
2785
  # cost applied to each metric. The key of the map is the metric name, and the
2771
2786
  # values are the amount increased for the metric against which the quota limits
@@ -2786,6 +2801,7 @@ module Google
2786
2801
 
2787
2802
  # Update properties of this object
2788
2803
  def update!(**args)
2804
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
2789
2805
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
2790
2806
  @selector = args[:selector] if args.key?(:selector)
2791
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.16.0"
19
+ GEM_VERSION = "0.19.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
@@ -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.16.0
4
+ version: 0.19.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.19.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.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 V1