google-apis-serviceconsumermanagement_v1beta1 0.18.0 → 0.21.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: c1b8bb79b14dc24b5772a5c559304a1dff2bc7ff32366fa6563ce73831fdbced
4
- data.tar.gz: 3c1a58853696162056275dd9ccd54138dde1a908f787be3fe592ad0464715fe5
3
+ metadata.gz: 940df5e54c4301dbd55e583e4c2a3fef1abcfbf1f79f5e57fa897e271f037861
4
+ data.tar.gz: da3f17b895ffb7d6d95ee18de72ff4b115e0ffef80a7182a566f3a3fe14112f3
5
5
  SHA512:
6
- metadata.gz: 58b6d7b6e514db7c51a8bfbe47fb96ae8785b1e44ee97a31d021ef89a84ab1c62ad7f1cb65bf58cb7a4b83e897a3bf1c0f1061dfadbd14144d9c5e8dba04c13f
7
- data.tar.gz: e7be4a5bd5b9570e328994d3e0ff69a727c1b4aad32dc48c98b4d22fb0cc5d7cb3848717500ccf0046b2591ea4138ad62bf92de0aca18e91266541839139f348
6
+ metadata.gz: 2b098385ba70a8a5c0a6be5662dda4a63b20aed00b405b258fe37792bd3d7a114efe83d31eaf7574630630cbd3b7d4e718d4deddef569f204408ba5be1c6b2ef
7
+ data.tar.gz: 2673425bde08104ad77f43a713ffcc0222bc302c3b72d4c267e5ad03aacb8bf3e9a73f9bae6b94a7554b9266b40c484e85b370ba844d25b83059d9799a50314a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-06-02)
4
+
5
+ * Unspecified changes
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
@@ -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
@@ -1240,6 +1241,11 @@ module Google
1240
1241
  class JwtLocation
1241
1242
  include Google::Apis::Core::Hashable
1242
1243
 
1244
+ # Specifies cookie name to extract JWT token.
1245
+ # Corresponds to the JSON property `cookie`
1246
+ # @return [String]
1247
+ attr_accessor :cookie
1248
+
1243
1249
  # Specifies HTTP header name to extract JWT token.
1244
1250
  # Corresponds to the JSON property `header`
1245
1251
  # @return [String]
@@ -1266,6 +1272,7 @@ module Google
1266
1272
 
1267
1273
  # Update properties of this object
1268
1274
  def update!(**args)
1275
+ @cookie = args[:cookie] if args.key?(:cookie)
1269
1276
  @header = args[:header] if args.key?(:header)
1270
1277
  @query = args[:query] if args.key?(:query)
1271
1278
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -1658,6 +1665,15 @@ module Google
1658
1665
  class MetricRule
1659
1666
  include Google::Apis::Core::Hashable
1660
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
+
1661
1677
  # Metrics to update when the selected methods are called, and the associated
1662
1678
  # cost applied to each metric. The key of the map is the metric name, and the
1663
1679
  # values are the amount increased for the metric against which the quota limits
@@ -1678,6 +1694,7 @@ module Google
1678
1694
 
1679
1695
  # Update properties of this object
1680
1696
  def update!(**args)
1697
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
1681
1698
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
1682
1699
  @selector = args[:selector] if args.key?(:selector)
1683
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.18.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
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
@@ -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.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-serviceconsumermanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.21.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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Consumer Management API V1beta1