google-apis-serviceconsumermanagement_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: bb3e8c49c5cec529b000258144e0cbef0c63743d47cf0328e2049dcb9a43ab13
4
- data.tar.gz: ac911eaafd2724a564638898bf617f02e25bbd130973315ad4e57fb4e6f24db1
3
+ metadata.gz: d7e5eac7d3cc1843ce3149885a4e9fda12633ab5bf8d72868332203b2cf6fbde
4
+ data.tar.gz: 4ebd02f591a6b7df1a57885b76ea5629cec77ff7cc933e00db8b21b973fabc65
5
5
  SHA512:
6
- metadata.gz: 99b243a6170fc063ec883bbcbcaa5d2d176715e3b8d56d733fd2408c919caa075580af905130491022489081be2b3c2c5f308d7dbb6136626edf0ad91b2bb634
7
- data.tar.gz: 9b3241d4e54124aa19718890159b345d4f086abca476bbc24b75863634382877e0afee3bf0d7e93cc22a062280dbba6624605cfcaf34faa217bee82346551e52
6
+ metadata.gz: b673d42865bc07d35cf50d3e05b851c4e228479bb8a17947d9f510ce1ccb31806224f57d6ba6150c503d5f743920fac6c8d4db5ad4344a6707defecf82961cbb
7
+ data.tar.gz: c991df8f25774fad408a2ff595790badb3b5024d079eb79272ffdc0e548dd4b810fa3b15a54910d27e0cbd100207df8b04bd2f1531ff309d75166ff7c087a21b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_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
@@ -146,14 +146,15 @@ module Google
146
146
  # @return [String]
147
147
  attr_accessor :jwks_uri
148
148
 
149
- # Defines the locations to extract the JWT. JWT locations can be either from
150
- # HTTP headers or URL query parameters. The rule is that the first match wins.
151
- # The checking order is: checking all headers first, then URL query parameters.
152
- # If not specified, default to use following 3 locations: 1) Authorization:
153
- # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
154
- # locations can be specified as followings: jwt_locations: - header:
155
- # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
156
- # query: access_token
149
+ # Defines the locations to extract the JWT. For now it is only used by the Cloud
150
+ # Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://
151
+ # cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-
152
+ # locations) JWT locations can be one of HTTP headers, URL query parameters or
153
+ # cookies. The rule is that the first match wins. If not specified, default to
154
+ # use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-
155
+ # assertion 3) access_token query parameter Default locations can be specified
156
+ # as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " -
157
+ # header: x-goog-iap-jwt-assertion - query: access_token
157
158
  # Corresponds to the JSON property `jwtLocations`
158
159
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::JwtLocation>]
159
160
  attr_accessor :jwt_locations
@@ -780,8 +781,7 @@ module Google
780
781
  # A generic empty message that you can re-use to avoid defining duplicated empty
781
782
  # messages in your APIs. A typical example is to use it as the request or the
782
783
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
783
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
784
- # `Empty` is empty JSON object ````.
784
+ # protobuf.Empty) returns (google.protobuf.Empty); `
785
785
  class Empty
786
786
  include Google::Apis::Core::Hashable
787
787
 
@@ -1241,6 +1241,11 @@ module Google
1241
1241
  class JwtLocation
1242
1242
  include Google::Apis::Core::Hashable
1243
1243
 
1244
+ # Specifies cookie name to extract JWT token.
1245
+ # Corresponds to the JSON property `cookie`
1246
+ # @return [String]
1247
+ attr_accessor :cookie
1248
+
1244
1249
  # Specifies HTTP header name to extract JWT token.
1245
1250
  # Corresponds to the JSON property `header`
1246
1251
  # @return [String]
@@ -1267,6 +1272,7 @@ module Google
1267
1272
 
1268
1273
  # Update properties of this object
1269
1274
  def update!(**args)
1275
+ @cookie = args[:cookie] if args.key?(:cookie)
1270
1276
  @header = args[:header] if args.key?(:header)
1271
1277
  @query = args[:query] if args.key?(:query)
1272
1278
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -1659,6 +1665,15 @@ module Google
1659
1665
  class MetricRule
1660
1666
  include Google::Apis::Core::Hashable
1661
1667
 
1668
+ # Metrics to update when the selected methods are called. The key of the map is
1669
+ # the metric name, the value is the DynamicCostType to specify how to calculate
1670
+ # the cost from the request. The cost amount will be increased for the metric
1671
+ # against which the quota limits are defined. It is only implemented in CloudESF(
1672
+ # go/cloudesf)
1673
+ # Corresponds to the JSON property `dynamicMetricCosts`
1674
+ # @return [Hash<String,String>]
1675
+ attr_accessor :dynamic_metric_costs
1676
+
1662
1677
  # Metrics to update when the selected methods are called, and the associated
1663
1678
  # cost applied to each metric. The key of the map is the metric name, and the
1664
1679
  # values are the amount increased for the metric against which the quota limits
@@ -1679,6 +1694,7 @@ module Google
1679
1694
 
1680
1695
  # Update properties of this object
1681
1696
  def update!(**args)
1697
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
1682
1698
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
1683
1699
  @selector = args[:selector] if args.key?(:selector)
1684
1700
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceconsumermanagementV1beta1
18
18
  # Version of the google-apis-serviceconsumermanagement_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
@@ -754,6 +754,7 @@ module Google
754
754
  class JwtLocation
755
755
  # @private
756
756
  class Representation < Google::Apis::Core::JsonRepresentation
757
+ property :cookie, as: 'cookie'
757
758
  property :header, as: 'header'
758
759
  property :query, as: 'query'
759
760
  property :value_prefix, as: 'valuePrefix'
@@ -843,6 +844,7 @@ module Google
843
844
  class MetricRule
844
845
  # @private
845
846
  class Representation < Google::Apis::Core::JsonRepresentation
847
+ hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
846
848
  hash :metric_costs, as: 'metricCosts'
847
849
  property :selector, as: 'selector'
848
850
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceconsumermanagement_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-serviceconsumermanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_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 Consumer Management API V1beta1