google-apis-servicenetworking_v1 0.18.0 → 0.21.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: a6f10986f53c9bf823df50fe5f2fed7c863cb5db8e1ba6a8fe90ca64ec2d6617
4
- data.tar.gz: e63605577738a816dc9f11767728e7456b638b85dd01fd60574fa977d4790ae7
3
+ metadata.gz: 725556be29f6455c9df66a946856b6255f69c6de3c6983e23be131361c6e4f46
4
+ data.tar.gz: be4c13853e3f0b03a99037ae885e9aab33a084e321c133aab746005a642ea461
5
5
  SHA512:
6
- metadata.gz: b17fe8600a370cd98007d6aec49c78435827127315a4ed599a6aa531fd56d21fb3ea997e5c3b5b5b93b61afc7a25b794d10ee6d13213a652526951ad41fa5df3
7
- data.tar.gz: 90314f96d788bbeca5b3ba619072bb005974895e7b081285bda9a653d2c3737a750bbba8a9b801a247d4e71a920126e4d2d0f5ece3a5400dcf164a0c6b3f113a
6
+ metadata.gz: 5ca4137420b53573f9933644735a93baca1d000a44639b758e3fc709757268022294534699281615310ad5169592346e2777a7d2e316d49bc03a074b96da61a9
7
+ data.tar.gz: c45c9c9f7052c61726560dd88e99462d0dddaf010e32a7a478c9d98bf59bbc9345b3caff17fdd72a4fcd00028613630374ef3afee4855ea80adb2ec9f8b4758f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.21.0 (2022-04-12)
4
+
5
+ * Regenerated from discovery document revision 20220406
6
+
7
+ ### v0.20.0 (2022-03-22)
8
+
9
+ * Regenerated from discovery document revision 20220319
10
+
11
+ ### v0.19.0 (2022-01-27)
12
+
13
+ * Regenerated from discovery document revision 20220125
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.18.0 (2022-01-07)
4
17
 
5
18
  * Regenerated from discovery document revision 20211222
@@ -215,6 +215,13 @@ module Google
215
215
  class AddSubnetworkRequest
216
216
  include Google::Apis::Core::Hashable
217
217
 
218
+ # Optional. The IAM permission check determines whether the consumer project has
219
+ # 'servicenetworking.services.use' permission or not.
220
+ # Corresponds to the JSON property `checkServiceNetworkingUsePermission`
221
+ # @return [Boolean]
222
+ attr_accessor :check_service_networking_use_permission
223
+ alias_method :check_service_networking_use_permission?, :check_service_networking_use_permission
224
+
218
225
  # Required. A resource that represents the service consumer, such as `projects/
219
226
  # 123456`. The project number can be different from the value in the consumer
220
227
  # network parameter. For example, the network might be part of a Shared VPC
@@ -318,6 +325,7 @@ module Google
318
325
 
319
326
  # Update properties of this object
320
327
  def update!(**args)
328
+ @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
321
329
  @consumer = args[:consumer] if args.key?(:consumer)
322
330
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
323
331
  @description = args[:description] if args.key?(:description)
@@ -458,14 +466,15 @@ module Google
458
466
  # @return [String]
459
467
  attr_accessor :jwks_uri
460
468
 
461
- # Defines the locations to extract the JWT. JWT locations can be either from
462
- # HTTP headers or URL query parameters. The rule is that the first match wins.
463
- # The checking order is: checking all headers first, then URL query parameters.
464
- # If not specified, default to use following 3 locations: 1) Authorization:
465
- # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
466
- # locations can be specified as followings: jwt_locations: - header:
467
- # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
468
- # query: access_token
469
+ # Defines the locations to extract the JWT. For now it is only used by the Cloud
470
+ # Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://
471
+ # cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-
472
+ # locations) JWT locations can be one of HTTP headers, URL query parameters or
473
+ # cookies. The rule is that the first match wins. If not specified, default to
474
+ # use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-
475
+ # assertion 3) access_token query parameter Default locations can be specified
476
+ # as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " -
477
+ # header: x-goog-iap-jwt-assertion - query: access_token
469
478
  # Corresponds to the JSON property `jwtLocations`
470
479
  # @return [Array<Google::Apis::ServicenetworkingV1::JwtLocation>]
471
480
  attr_accessor :jwt_locations
@@ -1424,8 +1433,7 @@ module Google
1424
1433
  # A generic empty message that you can re-use to avoid defining duplicated empty
1425
1434
  # messages in your APIs. A typical example is to use it as the request or the
1426
1435
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1427
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1428
- # `Empty` is empty JSON object ````.
1436
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1429
1437
  class Empty
1430
1438
  include Google::Apis::Core::Hashable
1431
1439
 
@@ -2028,6 +2036,11 @@ module Google
2028
2036
  class JwtLocation
2029
2037
  include Google::Apis::Core::Hashable
2030
2038
 
2039
+ # Specifies cookie name to extract JWT token.
2040
+ # Corresponds to the JSON property `cookie`
2041
+ # @return [String]
2042
+ attr_accessor :cookie
2043
+
2031
2044
  # Specifies HTTP header name to extract JWT token.
2032
2045
  # Corresponds to the JSON property `header`
2033
2046
  # @return [String]
@@ -2054,6 +2067,7 @@ module Google
2054
2067
 
2055
2068
  # Update properties of this object
2056
2069
  def update!(**args)
2070
+ @cookie = args[:cookie] if args.key?(:cookie)
2057
2071
  @header = args[:header] if args.key?(:header)
2058
2072
  @query = args[:query] if args.key?(:query)
2059
2073
  @value_prefix = args[:value_prefix] if args.key?(:value_prefix)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1
18
18
  # Version of the google-apis-servicenetworking_v1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.21.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 = "20211222"
25
+ REVISION = "20220406"
26
26
  end
27
27
  end
28
28
  end
@@ -701,6 +701,7 @@ module Google
701
701
  class AddSubnetworkRequest
702
702
  # @private
703
703
  class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :check_service_networking_use_permission, as: 'checkServiceNetworkingUsePermission'
704
705
  property :consumer, as: 'consumer'
705
706
  property :consumer_network, as: 'consumerNetwork'
706
707
  property :description, as: 'description'
@@ -1103,6 +1104,7 @@ module Google
1103
1104
  class JwtLocation
1104
1105
  # @private
1105
1106
  class Representation < Google::Apis::Core::JsonRepresentation
1107
+ property :cookie, as: 'cookie'
1106
1108
  property :header, as: 'header'
1107
1109
  property :query, as: 'query'
1108
1110
  property :value_prefix, as: 'valuePrefix'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.21.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-04-18 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-servicenetworking_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_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.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Networking API V1