google-apis-serviceusage_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: f2e7ee201c729d8599dc09866f7d2ad3b6d48c201fa7c2d0c2cb13472f4a4acf
4
- data.tar.gz: 1269938319bc3bb2f31fb56924f86bab181b9246ce55ee8c298ca5c1c51c6b17
3
+ metadata.gz: 8a019431de682f744342045ae2e2c5bdbbf0f06370153db2fa2ed636cec9bf5b
4
+ data.tar.gz: 5fa83fbbb3381e16547e8f6cb6da5f8aec0b2de547c9a152eb1d0c20f416191e
5
5
  SHA512:
6
- metadata.gz: 6d1bfa315ae9802a84cb7f1e21b180a5cb14742a2dfafc069e78d9dac07d76c66a0d7c3207949c27fd4b107500c09d5626c8fd63a0524a31d86c9cfbe81297ad
7
- data.tar.gz: 60ccc664d5ca9f72a822d003ce5b75738c7308a8fffee156695e5614284f8084999bcbb60b3547aa6cd4bd960c28a60e5d16df1522090e365d50193912b7192f
6
+ metadata.gz: e243076166be837a6d67bd98e06320242232cb011d2922a9bf2af4db444ee72384ee12a7672e287fe2223f36e7d114e037b67ab5e07616cf5856082eb3de4e52
7
+ data.tar.gz: 3cf18ab5b9f5ace56e00aaf44f422338f6ea4d4c50b4737b5f69d31f39dcf00c818166e2323b9e0f9665b1f59353ce38e57a3d99feab0e23e93b3330b14cef1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-serviceusage_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/serviceusage_v1beta1"
51
51
  client = Google::Apis::ServiceusageV1beta1::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::ServiceusageV1beta1::JwtLocation>]
224
225
  attr_accessor :jwt_locations
@@ -658,6 +659,12 @@ module Google
658
659
  # @return [Array<Google::Apis::ServiceusageV1beta1::QuotaBucket>]
659
660
  attr_accessor :quota_buckets
660
661
 
662
+ # List of all supported locations. This field is present only if the limit has a
663
+ # `region` or `zone` dimension.
664
+ # Corresponds to the JSON property `supportedLocations`
665
+ # @return [Array<String>]
666
+ attr_accessor :supported_locations
667
+
661
668
  # The limit unit. An example unit would be `1/`project`/`region`` Note that ``
662
669
  # project`` and ``region`` are not placeholders in this example; the literal
663
670
  # characters ``` and ``` occur in the string.
@@ -676,6 +683,7 @@ module Google
676
683
  @metric = args[:metric] if args.key?(:metric)
677
684
  @name = args[:name] if args.key?(:name)
678
685
  @quota_buckets = args[:quota_buckets] if args.key?(:quota_buckets)
686
+ @supported_locations = args[:supported_locations] if args.key?(:supported_locations)
679
687
  @unit = args[:unit] if args.key?(:unit)
680
688
  end
681
689
  end
@@ -817,13 +825,20 @@ module Google
817
825
  end
818
826
 
819
827
  # Selects and configures the service controller used by the service. The service
820
- # controller handles features like abuse, quota, billing, logging, monitoring,
821
- # etc.
828
+ # controller handles two things: - **What is allowed:** for each API request,
829
+ # Chemist checks the project status, activation status, abuse status, billing
830
+ # status, service status, location restrictions, VPC Service Controls,
831
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
832
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
833
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
834
+ # not associated with API traffic, such as billing metrics. Example: control:
835
+ # environment: servicecontrol.googleapis.com
822
836
  class Control
823
837
  include Google::Apis::Core::Hashable
824
838
 
825
- # The service control environment to use. If empty, no control plane feature (
826
- # like quota and billing) will be enabled.
839
+ # The service controller environment to use. If empty, no control plane feature (
840
+ # like quota and billing) will be enabled. The recommended value for most
841
+ # services is servicecontrol.googleapis.com
827
842
  # Corresponds to the JSON property `environment`
828
843
  # @return [String]
829
844
  attr_accessor :environment
@@ -1110,8 +1125,7 @@ module Google
1110
1125
  # A generic empty message that you can re-use to avoid defining duplicated empty
1111
1126
  # messages in your APIs. A typical example is to use it as the request or the
1112
1127
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1113
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1114
- # `Empty` is empty JSON object ````.
1128
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1115
1129
  class Empty
1116
1130
  include Google::Apis::Core::Hashable
1117
1131
 
@@ -1507,8 +1521,14 @@ module Google
1507
1521
  attr_accessor :context
1508
1522
 
1509
1523
  # Selects and configures the service controller used by the service. The service
1510
- # controller handles features like abuse, quota, billing, logging, monitoring,
1511
- # etc.
1524
+ # controller handles two things: - **What is allowed:** for each API request,
1525
+ # Chemist checks the project status, activation status, abuse status, billing
1526
+ # status, service status, location restrictions, VPC Service Controls,
1527
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
1528
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
1529
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
1530
+ # not associated with API traffic, such as billing metrics. Example: control:
1531
+ # environment: servicecontrol.googleapis.com
1512
1532
  # Corresponds to the JSON property `control`
1513
1533
  # @return [Google::Apis::ServiceusageV1beta1::Control]
1514
1534
  attr_accessor :control
@@ -2430,6 +2450,11 @@ module Google
2430
2450
  class JwtLocation
2431
2451
  include Google::Apis::Core::Hashable
2432
2452
 
2453
+ # Specifies cookie name to extract JWT token.
2454
+ # Corresponds to the JSON property `cookie`
2455
+ # @return [String]
2456
+ attr_accessor :cookie
2457
+
2433
2458
  # Specifies HTTP header name to extract JWT token.
2434
2459
  # Corresponds to the JSON property `header`
2435
2460
  # @return [String]
@@ -2456,6 +2481,7 @@ module Google
2456
2481
 
2457
2482
  # Update properties of this object
2458
2483
  def update!(**args)
2484
+ @cookie = args[:cookie] if args.key?(:cookie)
2459
2485
  @header = args[:header] if args.key?(:header)
2460
2486
  @query = args[:query] if args.key?(:query)
2461
2487
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1beta1
18
18
  # Version of the google-apis-serviceusage_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
@@ -744,6 +744,7 @@ module Google
744
744
  property :name, as: 'name'
745
745
  collection :quota_buckets, as: 'quotaBuckets', class: Google::Apis::ServiceusageV1beta1::QuotaBucket, decorator: Google::Apis::ServiceusageV1beta1::QuotaBucket::Representation
746
746
 
747
+ collection :supported_locations, as: 'supportedLocations'
747
748
  property :unit, as: 'unit'
748
749
  end
749
750
  end
@@ -1161,6 +1162,7 @@ module Google
1161
1162
  class JwtLocation
1162
1163
  # @private
1163
1164
  class Representation < Google::Apis::Core::JsonRepresentation
1165
+ property :cookie, as: 'cookie'
1164
1166
  property :header, as: 'header'
1165
1167
  property :query, as: 'query'
1166
1168
  property :value_prefix, as: 'valuePrefix'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_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-serviceusage_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_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 Usage API V1beta1