google-apis-serviceconsumermanagement_v1 0.16.0 → 0.19.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: 4d3420338ed25be8d82dd64bcf0156d37271a98060ba6b81394ba192c6fee80c
4
- data.tar.gz: 2c330e2aa77e060fe36543588669871e288b7c2d13ac136082d91f8845094f70
3
+ metadata.gz: 90fa2ee7e9feac8e8d7e003c9f491da25b851452fcff1e5245ecb85105890b91
4
+ data.tar.gz: 9a8d3c659960a7d664f9520d0d2488c3249fa04a6df1e1dd29bdaeb55dd14590
5
5
  SHA512:
6
- metadata.gz: 66dbfe9c95c3649e5aab81413c9d0bcd462bec49ab1b81026af287b1acfb126b06cd58b6279ccc6fb5cacf61cc64d63a2d44d43f9124d2148eb7d01e80fe0833
7
- data.tar.gz: f3bbe45d613de6073aa895245a0b7c948d8029cd3b2fa7a8508f5b652c2e0bbf098f449628a3ce29ffd53492871fb1e94029b3a6a77652ff844e4b1e3b175b86
6
+ metadata.gz: d3e7889e9c77851f4eae7751f18699037e030fc39337dece3d24d592edcbd4c5bfd78c9325f3807f7fcef1be7bff8acf5d114469bf2b91648c5e895cb6493a22
7
+ data.tar.gz: 2fa9b910c6c020e60ff795b9f4ee9e2b35503e2e02e471621c10466b42ed1279a3ddb9bc3ca1b6087d796bff4f547ebef73a461ab973b5e2115732378e1f5488
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_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
@@ -238,14 +238,15 @@ module Google
238
238
  # @return [String]
239
239
  attr_accessor :jwks_uri
240
240
 
241
- # Defines the locations to extract the JWT. JWT locations can be either from
242
- # HTTP headers or URL query parameters. The rule is that the first match wins.
243
- # The checking order is: checking all headers first, then URL query parameters.
244
- # If not specified, default to use following 3 locations: 1) Authorization:
245
- # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
246
- # locations can be specified as followings: jwt_locations: - header:
247
- # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
248
- # query: access_token
241
+ # Defines the locations to extract the JWT. For now it is only used by the Cloud
242
+ # Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://
243
+ # cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-
244
+ # locations) JWT locations can be one of HTTP headers, URL query parameters or
245
+ # cookies. The rule is that the first match wins. If not specified, default to
246
+ # use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-
247
+ # assertion 3) access_token query parameter Default locations can be specified
248
+ # as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " -
249
+ # header: x-goog-iap-jwt-assertion - query: access_token
249
250
  # Corresponds to the JSON property `jwtLocations`
250
251
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::JwtLocation>]
251
252
  attr_accessor :jwt_locations
@@ -949,8 +950,7 @@ module Google
949
950
  # A generic empty message that you can re-use to avoid defining duplicated empty
950
951
  # messages in your APIs. A typical example is to use it as the request or the
951
952
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
952
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
953
- # `Empty` is empty JSON object ````.
953
+ # protobuf.Empty) returns (google.protobuf.Empty); `
954
954
  class Empty
955
955
  include Google::Apis::Core::Hashable
956
956
 
@@ -1410,6 +1410,11 @@ module Google
1410
1410
  class JwtLocation
1411
1411
  include Google::Apis::Core::Hashable
1412
1412
 
1413
+ # Specifies cookie name to extract JWT token.
1414
+ # Corresponds to the JSON property `cookie`
1415
+ # @return [String]
1416
+ attr_accessor :cookie
1417
+
1413
1418
  # Specifies HTTP header name to extract JWT token.
1414
1419
  # Corresponds to the JSON property `header`
1415
1420
  # @return [String]
@@ -1436,6 +1441,7 @@ module Google
1436
1441
 
1437
1442
  # Update properties of this object
1438
1443
  def update!(**args)
1444
+ @cookie = args[:cookie] if args.key?(:cookie)
1439
1445
  @header = args[:header] if args.key?(:header)
1440
1446
  @query = args[:query] if args.key?(:query)
1441
1447
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -1878,6 +1884,15 @@ module Google
1878
1884
  class MetricRule
1879
1885
  include Google::Apis::Core::Hashable
1880
1886
 
1887
+ # Metrics to update when the selected methods are called. The key of the map is
1888
+ # the metric name, the value is the DynamicCostType to specify how to calculate
1889
+ # the cost from the request. The cost amount will be increased for the metric
1890
+ # against which the quota limits are defined. It is only implemented in CloudESF(
1891
+ # go/cloudesf)
1892
+ # Corresponds to the JSON property `dynamicMetricCosts`
1893
+ # @return [Hash<String,String>]
1894
+ attr_accessor :dynamic_metric_costs
1895
+
1881
1896
  # Metrics to update when the selected methods are called, and the associated
1882
1897
  # cost applied to each metric. The key of the map is the metric name, and the
1883
1898
  # values are the amount increased for the metric against which the quota limits
@@ -1898,6 +1913,7 @@ module Google
1898
1913
 
1899
1914
  # Update properties of this object
1900
1915
  def update!(**args)
1916
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
1901
1917
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
1902
1918
  @selector = args[:selector] if args.key?(:selector)
1903
1919
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceconsumermanagementV1
18
18
  # Version of the google-apis-serviceconsumermanagement_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
@@ -874,6 +874,7 @@ module Google
874
874
  class JwtLocation
875
875
  # @private
876
876
  class Representation < Google::Apis::Core::JsonRepresentation
877
+ property :cookie, as: 'cookie'
877
878
  property :header, as: 'header'
878
879
  property :query, as: 'query'
879
880
  property :value_prefix, as: 'valuePrefix'
@@ -981,6 +982,7 @@ module Google
981
982
  class MetricRule
982
983
  # @private
983
984
  class Representation < Google::Apis::Core::JsonRepresentation
985
+ hash :dynamic_metric_costs, as: 'dynamicMetricCosts'
984
986
  hash :metric_costs, as: 'metricCosts'
985
987
  property :selector, as: 'selector'
986
988
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceconsumermanagement_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-serviceconsumermanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_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 Consumer Management API V1