google-apis-serviceconsumermanagement_v1beta1 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: c323d4e752cce247eff79e45e54c02f87092ed06fbe0d095af5b872908bf268b
4
- data.tar.gz: 2f38ca805abe11783060e1c6a452b4467d647ca032a85b4d1c5c9b55980d82f8
3
+ metadata.gz: 3ff033b99289baf78feb413e1259b4f5847f41a42922ac2e3514ef1001a89256
4
+ data.tar.gz: 19bc2a28e7cc583e7c86124235b39ee768fc853a31b96261ca6ec6e312217282
5
5
  SHA512:
6
- metadata.gz: 73f1310702131e6cd22f635354bf200d3048104e665c1082fe9524bd0b9a1e45699c6f39c33e1f16d1ca85ef8204fb156a8afb6513f25a061d9f5e336dc4637f
7
- data.tar.gz: 06a19d804d4e0a41491902523bd5663d4ef80ce5be4290d68742c8e1173ae82ccb6abafd866ff1714cd176e7a38ef89333dd59c547b956487b2459868146f764
6
+ metadata.gz: f21bd8cd3bc4aa91ae5dd65cc838057f015833f6a5a0d204004eb234ca4240e1e40baaf8e24e475362d49953e6e11f9e33bc8ba7a0d2758386ccdde650f97522
7
+ data.tar.gz: 9fac8f8ceead7f9832a60af46c766e11dae4834d15b8da94988afafc6c6296954740d1e8d58586aeeb55797068200370b9c85047362590bdc2c500df3fdddcc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.19.0 (2022-04-07)
4
+
5
+ * Regenerated from discovery document revision 20220405
6
+
7
+ ### v0.18.0 (2022-03-22)
8
+
9
+ * Regenerated from discovery document revision 20220319
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.17.0 (2021-12-17)
13
+
14
+ * Regenerated from discovery document revision 20211214
15
+ * Unspecified changes
16
+
3
17
  ### v0.16.0 (2021-10-20)
4
18
 
5
19
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/serviceconsumermanagement_v1beta1"
51
51
  client = Google::Apis::ServiceconsumermanagementV1beta1::ServiceConsumerManagementService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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
@@ -544,13 +545,20 @@ module Google
544
545
  end
545
546
 
546
547
  # Selects and configures the service controller used by the service. The service
547
- # controller handles features like abuse, quota, billing, logging, monitoring,
548
- # etc.
548
+ # controller handles two things: - **What is allowed:** for each API request,
549
+ # Chemist checks the project status, activation status, abuse status, billing
550
+ # status, service status, location restrictions, VPC Service Controls,
551
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
552
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
553
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
554
+ # not associated with API traffic, such as billing metrics. Example: control:
555
+ # environment: servicecontrol.googleapis.com
549
556
  class Control
550
557
  include Google::Apis::Core::Hashable
551
558
 
552
- # The service control environment to use. If empty, no control plane feature (
553
- # like quota and billing) will be enabled.
559
+ # The service controller environment to use. If empty, no control plane feature (
560
+ # like quota and billing) will be enabled. The recommended value for most
561
+ # services is servicecontrol.googleapis.com
554
562
  # Corresponds to the JSON property `environment`
555
563
  # @return [String]
556
564
  attr_accessor :environment
@@ -773,8 +781,7 @@ module Google
773
781
  # A generic empty message that you can re-use to avoid defining duplicated empty
774
782
  # messages in your APIs. A typical example is to use it as the request or the
775
783
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
776
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
777
- # `Empty` is empty JSON object ````.
784
+ # protobuf.Empty) returns (google.protobuf.Empty); `
778
785
  class Empty
779
786
  include Google::Apis::Core::Hashable
780
787
 
@@ -1234,6 +1241,11 @@ module Google
1234
1241
  class JwtLocation
1235
1242
  include Google::Apis::Core::Hashable
1236
1243
 
1244
+ # Specifies cookie name to extract JWT token.
1245
+ # Corresponds to the JSON property `cookie`
1246
+ # @return [String]
1247
+ attr_accessor :cookie
1248
+
1237
1249
  # Specifies HTTP header name to extract JWT token.
1238
1250
  # Corresponds to the JSON property `header`
1239
1251
  # @return [String]
@@ -1260,6 +1272,7 @@ module Google
1260
1272
 
1261
1273
  # Update properties of this object
1262
1274
  def update!(**args)
1275
+ @cookie = args[:cookie] if args.key?(:cookie)
1263
1276
  @header = args[:header] if args.key?(:header)
1264
1277
  @query = args[:query] if args.key?(:query)
1265
1278
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2287,8 +2300,14 @@ module Google
2287
2300
  attr_accessor :context
2288
2301
 
2289
2302
  # Selects and configures the service controller used by the service. The service
2290
- # controller handles features like abuse, quota, billing, logging, monitoring,
2291
- # etc.
2303
+ # controller handles two things: - **What is allowed:** for each API request,
2304
+ # Chemist checks the project status, activation status, abuse status, billing
2305
+ # status, service status, location restrictions, VPC Service Controls,
2306
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
2307
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
2308
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
2309
+ # not associated with API traffic, such as billing metrics. Example: control:
2310
+ # environment: servicecontrol.googleapis.com
2292
2311
  # Corresponds to the JSON property `control`
2293
2312
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Control]
2294
2313
  attr_accessor :control
@@ -2894,6 +2913,12 @@ module Google
2894
2913
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaBucket>]
2895
2914
  attr_accessor :quota_buckets
2896
2915
 
2916
+ # List of all supported locations. This field is present only if the limit has a
2917
+ # `region` or `zone` dimension.
2918
+ # Corresponds to the JSON property `supportedLocations`
2919
+ # @return [Array<String>]
2920
+ attr_accessor :supported_locations
2921
+
2897
2922
  # The limit unit. An example unit would be: `1/`project`/`region`` Note that ``
2898
2923
  # project`` and ``region`` are not placeholders in this example; the literal
2899
2924
  # characters ``` and ``` occur in the string.
@@ -2911,6 +2936,7 @@ module Google
2911
2936
  @metric = args[:metric] if args.key?(:metric)
2912
2937
  @name = args[:name] if args.key?(:name)
2913
2938
  @quota_buckets = args[:quota_buckets] if args.key?(:quota_buckets)
2939
+ @supported_locations = args[:supported_locations] if args.key?(:supported_locations)
2914
2940
  @unit = args[:unit] if args.key?(:unit)
2915
2941
  end
2916
2942
  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.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 = "20210806"
25
+ REVISION = "20220405"
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'
@@ -1104,6 +1105,7 @@ module Google
1104
1105
  property :name, as: 'name'
1105
1106
  collection :quota_buckets, as: 'quotaBuckets', class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaBucket, decorator: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaBucket::Representation
1106
1107
 
1108
+ collection :supported_locations, as: 'supportedLocations'
1107
1109
  property :unit, as: 'unit'
1108
1110
  end
1109
1111
  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.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.19.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.2.17
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