google-apis-serviceusage_v1 0.15.0 → 0.18.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: 67eb6dfa8fc3eb9f338dde40a98602636411236ca4b0c64a43ca7cd31b8457ce
4
- data.tar.gz: b8bf4df8621009c203a486a7f21deb00135c324c5b991eb1ab672856e8badde3
3
+ metadata.gz: 1bfdd6bda0067aa10d0babfe49f211f55689d38a05ae3d58d7e18c51b8402dda
4
+ data.tar.gz: 1996b5f61a83ce51f20730836b774e8604ba35c85f31186ead64dfd399b5bebc
5
5
  SHA512:
6
- metadata.gz: 524ad50d6f626ee69737c3d13b9a450a7185eef15eb491c3bdc6484d263b6079dbaa2c29d7e2724c13ca7ef945d7231fdf16494ea0d6fe32cc00e03ff4abb57b
7
- data.tar.gz: c6bb09d227992e93d0999eaef7f4ed54e9198ad07164050f85a66b42157220c1965c0cd0dbae78c55cfeff630f7cd471c7199123ff86d9c1909974a9a4ea8a03
6
+ metadata.gz: cbe635aaea6ee3c429e0bdb3ca9a9ad7a7ed0fdb49480cd121404cfdf2eb015a4b0c697ac692c1789334b3a4967a6f8b78765f0b42f0af940c3bd9d0e16c10e4
7
+ data.tar.gz: 80d527ba7ffa96ff954ca1c55ac225a41e2808e0339ab78a86f11cfe4c81db63c0342cdb253259539e97fb9ea567c3593f089be035a5e5ab1b22f69fbfd9d084
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-serviceusage_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/serviceusage_v1"
51
51
  client = Google::Apis::ServiceusageV1::ServiceUsageService.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.
@@ -211,14 +211,15 @@ module Google
211
211
  # @return [String]
212
212
  attr_accessor :jwks_uri
213
213
 
214
- # Defines the locations to extract the JWT. JWT locations can be either from
215
- # HTTP headers or URL query parameters. The rule is that the first match wins.
216
- # The checking order is: checking all headers first, then URL query parameters.
217
- # If not specified, default to use following 3 locations: 1) Authorization:
218
- # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
219
- # locations can be specified as followings: jwt_locations: - header:
220
- # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
221
- # query: access_token
214
+ # Defines the locations to extract the JWT. For now it is only used by the Cloud
215
+ # Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://
216
+ # cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-
217
+ # locations) JWT locations can be one of HTTP headers, URL query parameters or
218
+ # cookies. The rule is that the first match wins. If not specified, default to
219
+ # use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-
220
+ # assertion 3) access_token query parameter Default locations can be specified
221
+ # as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " -
222
+ # header: x-goog-iap-jwt-assertion - query: access_token
222
223
  # Corresponds to the JSON property `jwtLocations`
223
224
  # @return [Array<Google::Apis::ServiceusageV1::JwtLocation>]
224
225
  attr_accessor :jwt_locations
@@ -730,13 +731,20 @@ module Google
730
731
  end
731
732
 
732
733
  # Selects and configures the service controller used by the service. The service
733
- # controller handles features like abuse, quota, billing, logging, monitoring,
734
- # etc.
734
+ # controller handles two things: - **What is allowed:** for each API request,
735
+ # Chemist checks the project status, activation status, abuse status, billing
736
+ # status, service status, location restrictions, VPC Service Controls,
737
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
738
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
739
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
740
+ # not associated with API traffic, such as billing metrics. Example: control:
741
+ # environment: servicecontrol.googleapis.com
735
742
  class Control
736
743
  include Google::Apis::Core::Hashable
737
744
 
738
- # The service control environment to use. If empty, no control plane feature (
739
- # like quota and billing) will be enabled.
745
+ # The service controller environment to use. If empty, no control plane feature (
746
+ # like quota and billing) will be enabled. The recommended value for most
747
+ # services is servicecontrol.googleapis.com
740
748
  # Corresponds to the JSON property `environment`
741
749
  # @return [String]
742
750
  attr_accessor :environment
@@ -1039,8 +1047,7 @@ module Google
1039
1047
  # A generic empty message that you can re-use to avoid defining duplicated empty
1040
1048
  # messages in your APIs. A typical example is to use it as the request or the
1041
1049
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1042
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1043
- # `Empty` is empty JSON object ````.
1050
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1044
1051
  class Empty
1045
1052
  include Google::Apis::Core::Hashable
1046
1053
 
@@ -1436,8 +1443,14 @@ module Google
1436
1443
  attr_accessor :context
1437
1444
 
1438
1445
  # Selects and configures the service controller used by the service. The service
1439
- # controller handles features like abuse, quota, billing, logging, monitoring,
1440
- # etc.
1446
+ # controller handles two things: - **What is allowed:** for each API request,
1447
+ # Chemist checks the project status, activation status, abuse status, billing
1448
+ # status, service status, location restrictions, VPC Service Controls,
1449
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
1450
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
1451
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
1452
+ # not associated with API traffic, such as billing metrics. Example: control:
1453
+ # environment: servicecontrol.googleapis.com
1441
1454
  # Corresponds to the JSON property `control`
1442
1455
  # @return [Google::Apis::ServiceusageV1::Control]
1443
1456
  attr_accessor :control
@@ -2285,6 +2298,11 @@ module Google
2285
2298
  class JwtLocation
2286
2299
  include Google::Apis::Core::Hashable
2287
2300
 
2301
+ # Specifies cookie name to extract JWT token.
2302
+ # Corresponds to the JSON property `cookie`
2303
+ # @return [String]
2304
+ attr_accessor :cookie
2305
+
2288
2306
  # Specifies HTTP header name to extract JWT token.
2289
2307
  # Corresponds to the JSON property `header`
2290
2308
  # @return [String]
@@ -2311,6 +2329,7 @@ module Google
2311
2329
 
2312
2330
  # Update properties of this object
2313
2331
  def update!(**args)
2332
+ @cookie = args[:cookie] if args.key?(:cookie)
2314
2333
  @header = args[:header] if args.key?(:header)
2315
2334
  @query = args[:query] if args.key?(:query)
2316
2335
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_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
@@ -1076,6 +1076,7 @@ module Google
1076
1076
  class JwtLocation
1077
1077
  # @private
1078
1078
  class Representation < Google::Apis::Core::JsonRepresentation
1079
+ property :cookie, as: 'cookie'
1079
1080
  property :header, as: 'header'
1080
1081
  property :query, as: 'query'
1081
1082
  property :value_prefix, as: 'valuePrefix'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_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-serviceusage_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_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 Usage API V1