google-apis-serviceconsumermanagement_v1 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: ec9867d2ca2839be7844711c113d5a10b562f20c23bd8be50d0f1af1d495a57a
4
- data.tar.gz: e4af3e6b52c2b1649a983aab52809fff1c689677021eb77f29cdab8e9b7aaa40
3
+ metadata.gz: 5ad8f01b30d7fd21c88caa710d96b7dc481d47d24bc76cd552ab375352170f65
4
+ data.tar.gz: 4827f81a75a0f9b95c93594b150df0561efbad66034c005fd781573ac83da43c
5
5
  SHA512:
6
- metadata.gz: 7e369b1e3417ea8b8a1476364327b96e7f08ab1c14d7fac69ec2bef26074b063da60bc3ff6310b4e5f65246fbce3d19d094ddbc86cee32a1e42f4c50e4daa154
7
- data.tar.gz: 1600746a64d53879a959648c31313496e6879ba6d32c040462f703bf5ab374ea80dcd5749ffb5667448fa248e054dc1fd863c8fb14adcbcc03e19e753d2effaa
6
+ metadata.gz: b75c1de654a5db2cfd7803dcfb47dd1b91aaaaf43b7ebf2c0e24220dbab1cf60e7728fe3a9733677efd1caf7ecda877a64fca02ca2a2de97c36c79150c34e7a7
7
+ data.tar.gz: 19ce722124e9673b3362b8242c8e439ee7a91aefb029181a10737e2d6aff38d6ca0f497bd876c07d3167e12523faf08e45448dad7e3b42839df5e1dcf4b78383
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1
2
2
 
3
+ ### v0.20.0 (2022-06-09)
4
+
5
+ * Regenerated from discovery document revision 20220607
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.19.0 (2022-05-17)
9
+
10
+ * Regenerated from discovery document revision 20220513
11
+
12
+ ### v0.18.0 (2022-04-07)
13
+
14
+ * Regenerated from discovery document revision 20220405
15
+
3
16
  ### v0.17.0 (2022-03-22)
4
17
 
5
18
  * Regenerated from discovery document revision 20220319
@@ -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
@@ -1409,6 +1410,11 @@ module Google
1409
1410
  class JwtLocation
1410
1411
  include Google::Apis::Core::Hashable
1411
1412
 
1413
+ # Specifies cookie name to extract JWT token.
1414
+ # Corresponds to the JSON property `cookie`
1415
+ # @return [String]
1416
+ attr_accessor :cookie
1417
+
1412
1418
  # Specifies HTTP header name to extract JWT token.
1413
1419
  # Corresponds to the JSON property `header`
1414
1420
  # @return [String]
@@ -1435,6 +1441,7 @@ module Google
1435
1441
 
1436
1442
  # Update properties of this object
1437
1443
  def update!(**args)
1444
+ @cookie = args[:cookie] if args.key?(:cookie)
1438
1445
  @header = args[:header] if args.key?(:header)
1439
1446
  @query = args[:query] if args.key?(:query)
1440
1447
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -1877,6 +1884,15 @@ module Google
1877
1884
  class MetricRule
1878
1885
  include Google::Apis::Core::Hashable
1879
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
+
1880
1896
  # Metrics to update when the selected methods are called, and the associated
1881
1897
  # cost applied to each metric. The key of the map is the metric name, and the
1882
1898
  # values are the amount increased for the metric against which the quota limits
@@ -1897,6 +1913,7 @@ module Google
1897
1913
 
1898
1914
  # Update properties of this object
1899
1915
  def update!(**args)
1916
+ @dynamic_metric_costs = args[:dynamic_metric_costs] if args.key?(:dynamic_metric_costs)
1900
1917
  @metric_costs = args[:metric_costs] if args.key?(:metric_costs)
1901
1918
  @selector = args[:selector] if args.key?(:selector)
1902
1919
  end
@@ -3119,7 +3136,7 @@ module Google
3119
3136
  # @return [Array<String>]
3120
3137
  attr_accessor :services
3121
3138
 
3122
- # Describes policy settings that need to be applied to a newly created tenant
3139
+ # Describes policy settings that can be applied to a newly created tenant
3123
3140
  # project.
3124
3141
  # Corresponds to the JSON property `tenantProjectPolicy`
3125
3142
  # @return [Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy]
@@ -3140,14 +3157,13 @@ module Google
3140
3157
  end
3141
3158
  end
3142
3159
 
3143
- # Describes policy settings that need to be applied to a newly created tenant
3160
+ # Describes policy settings that can be applied to a newly created tenant
3144
3161
  # project.
3145
3162
  class TenantProjectPolicy
3146
3163
  include Google::Apis::Core::Hashable
3147
3164
 
3148
3165
  # Policy bindings to be applied to the tenant project, in addition to the 'roles/
3149
- # owner' role granted to the Service Consumer Management service account. At
3150
- # least one binding must have the role `roles/owner`.
3166
+ # owner' role granted to the Service Consumer Management service account.
3151
3167
  # Corresponds to the JSON property `policyBindings`
3152
3168
  # @return [Array<Google::Apis::ServiceconsumermanagementV1::PolicyBinding>]
3153
3169
  attr_accessor :policy_bindings
@@ -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.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.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 = "20220607"
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.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-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.20.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.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 V1