google-apis-serviceconsumermanagement_v1 0.15.0 → 0.18.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: c441cca5a0b1dffbf309fd6a3d1445428f9a4c2e3776940e2ba015ca9fd6139e
4
- data.tar.gz: 5104f30742cb7ada6c2d51c506fbfb6c023bd3640c19db139aa28185936114d7
3
+ metadata.gz: '08187df52e81c70643d64ba802db31940554e4632755b1d38b83d7a8f233b858'
4
+ data.tar.gz: 0b3091b2762f1de9ec1597838d8b44d777684c8b104637ad3fa0a31280cb7e03
5
5
  SHA512:
6
- metadata.gz: cd7cc272e85f04cbf9ae9fca0fcfd7df0222ecc4f00a23cef5680a7f5ade3e21a1770ce9acd75ca1943260737b5683a0c0d5bfa42361923e8faea8623861270b
7
- data.tar.gz: 3ef88f3dc9fbfc56b560c398683adc926769a726d7d3d285a8fb8ad767078dcd0cfe2d9f4253a19de2e75a0f3fdb857e9de377c0bffce8ae108b17567ba62bd8
6
+ metadata.gz: 4bf6a4d2efa09d63d6f00e41254872d74680cdbed9fd026b4717572b4d4489477d92844f8056035dbc5f770c9246867eb2de73893d65c5294428e9ef3c841803
7
+ data.tar.gz: 689369fdee5a20b1c7f47f2807ebbd322b56f3826f80688a0f975e820eca4fcd998b87a5e345af3e7a1757411280d05ee966a0639a58c27df857c4f9709c0fe8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1
2
2
 
3
+ ### v0.18.0 (2022-04-07)
4
+
5
+ * Regenerated from discovery document revision 20220405
6
+
7
+ ### v0.17.0 (2022-03-22)
8
+
9
+ * Regenerated from discovery document revision 20220319
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.16.0 (2021-12-17)
13
+
14
+ * Regenerated from discovery document revision 20211214
15
+ * Unspecified changes
16
+
3
17
  ### v0.15.0 (2021-10-20)
4
18
 
5
19
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/serviceconsumermanagement_v1"
51
51
  client = Google::Apis::ServiceconsumermanagementV1::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.
@@ -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
@@ -669,13 +670,20 @@ module Google
669
670
  end
670
671
 
671
672
  # Selects and configures the service controller used by the service. The service
672
- # controller handles features like abuse, quota, billing, logging, monitoring,
673
- # etc.
673
+ # controller handles two things: - **What is allowed:** for each API request,
674
+ # Chemist checks the project status, activation status, abuse status, billing
675
+ # status, service status, location restrictions, VPC Service Controls,
676
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
677
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
678
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
679
+ # not associated with API traffic, such as billing metrics. Example: control:
680
+ # environment: servicecontrol.googleapis.com
674
681
  class Control
675
682
  include Google::Apis::Core::Hashable
676
683
 
677
- # The service control environment to use. If empty, no control plane feature (
678
- # like quota and billing) will be enabled.
684
+ # The service controller environment to use. If empty, no control plane feature (
685
+ # like quota and billing) will be enabled. The recommended value for most
686
+ # services is servicecontrol.googleapis.com
679
687
  # Corresponds to the JSON property `environment`
680
688
  # @return [String]
681
689
  attr_accessor :environment
@@ -942,8 +950,7 @@ module Google
942
950
  # A generic empty message that you can re-use to avoid defining duplicated empty
943
951
  # messages in your APIs. A typical example is to use it as the request or the
944
952
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
945
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
946
- # `Empty` is empty JSON object ````.
953
+ # protobuf.Empty) returns (google.protobuf.Empty); `
947
954
  class Empty
948
955
  include Google::Apis::Core::Hashable
949
956
 
@@ -1403,6 +1410,11 @@ module Google
1403
1410
  class JwtLocation
1404
1411
  include Google::Apis::Core::Hashable
1405
1412
 
1413
+ # Specifies cookie name to extract JWT token.
1414
+ # Corresponds to the JSON property `cookie`
1415
+ # @return [String]
1416
+ attr_accessor :cookie
1417
+
1406
1418
  # Specifies HTTP header name to extract JWT token.
1407
1419
  # Corresponds to the JSON property `header`
1408
1420
  # @return [String]
@@ -1429,6 +1441,7 @@ module Google
1429
1441
 
1430
1442
  # Update properties of this object
1431
1443
  def update!(**args)
1444
+ @cookie = args[:cookie] if args.key?(:cookie)
1432
1445
  @header = args[:header] if args.key?(:header)
1433
1446
  @query = args[:query] if args.key?(:query)
1434
1447
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -2578,8 +2591,14 @@ module Google
2578
2591
  attr_accessor :context
2579
2592
 
2580
2593
  # Selects and configures the service controller used by the service. The service
2581
- # controller handles features like abuse, quota, billing, logging, monitoring,
2582
- # etc.
2594
+ # controller handles two things: - **What is allowed:** for each API request,
2595
+ # Chemist checks the project status, activation status, abuse status, billing
2596
+ # status, service status, location restrictions, VPC Service Controls,
2597
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
2598
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
2599
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
2600
+ # not associated with API traffic, such as billing metrics. Example: control:
2601
+ # environment: servicecontrol.googleapis.com
2583
2602
  # Corresponds to the JSON property `control`
2584
2603
  # @return [Google::Apis::ServiceconsumermanagementV1::Control]
2585
2604
  attr_accessor :control
@@ -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.15.0"
19
+ GEM_VERSION = "0.18.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
@@ -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'
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.15.0
4
+ version: 0.18.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1/v0.18.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.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 V1