google-apis-servicenetworking_v1 0.35.0 → 0.36.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: abc574e9c39023a0294521ceeda7e3f78254f66269adaeae206d47d3ae4f2f00
4
- data.tar.gz: 644825198d154ae6aab68763d095a1ec6ddb23354b3434ddec124482de9de3e7
3
+ metadata.gz: c7bec40e239b9b98eea0171037f30226cc458d47c733ace1a55115d395a4011b
4
+ data.tar.gz: 4cfbe6c5f613db2d6a337d53b7d02d3b3ae17572600855d5dc1799fa15a93d50
5
5
  SHA512:
6
- metadata.gz: beeaa98ae4df347cf675c320b1c16d336be81c41a438f07a42e9432bffdd6b4e982ee85653c84fa5deacee88aada7015d647227a9257271fdfc95b73b983d130
7
- data.tar.gz: aaf5173eca81f2e2621c703c3b3398eac01d2013d8011a66c5bf78cebce532f288350ea9c898c388b7cb4792ac5c2bf2ca81d0ad61724ec090e9b11eaf833acd
6
+ metadata.gz: 0cd8131ef45dd4381a9a0d5b8694a3d8429d8bdb37ff86093b04e4c07cb3a421a8516b99cf2001f9a3f81fe8b2c6d97dfbc0881639894939300c0d93c0996f90
7
+ data.tar.gz: bb319721fb189a0ab7eb1e1145329667731ccc2ca953e18c827a2efb18987795f699c9d1595b58df2f6929220ad420831b3638daaad51e975afc61db09dba789
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.36.0 (2023-01-04)
4
+
5
+ * Regenerated from discovery document revision 20221218
6
+
3
7
  ### v0.35.0 (2022-11-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20221115
@@ -215,6 +215,14 @@ module Google
215
215
  class AddSubnetworkRequest
216
216
  include Google::Apis::Core::Hashable
217
217
 
218
+ # Optional. Defines the allowSubnetCidrRoutesOverlap field of the subnet, e.g.
219
+ # Available in alpha and beta according to [Compute API documentation](https://
220
+ # cloud.google.com/compute/docs/reference/rest/beta/subnetworks/insert)
221
+ # Corresponds to the JSON property `allowSubnetCidrRoutesOverlap`
222
+ # @return [Boolean]
223
+ attr_accessor :allow_subnet_cidr_routes_overlap
224
+ alias_method :allow_subnet_cidr_routes_overlap?, :allow_subnet_cidr_routes_overlap
225
+
218
226
  # Optional. The IAM permission check determines whether the consumer project has
219
227
  # 'servicenetworking.services.use' permission or not.
220
228
  # Corresponds to the JSON property `checkServiceNetworkingUsePermission`
@@ -259,9 +267,9 @@ module Google
259
267
  attr_accessor :description
260
268
 
261
269
  # Required. The prefix length of the subnet's IP address range. Use CIDR range
262
- # notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range.
270
+ # notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range.
263
271
  # The IP address range is drawn from a pool of available ranges in the service
264
- # consumer's allocated range.
272
+ # consumer's allocated range. GCE disallows subnets with prefix_length > 29
265
273
  # Corresponds to the JSON property `ipPrefixLength`
266
274
  # @return [Fixnum]
267
275
  attr_accessor :ip_prefix_length
@@ -348,6 +356,7 @@ module Google
348
356
 
349
357
  # Update properties of this object
350
358
  def update!(**args)
359
+ @allow_subnet_cidr_routes_overlap = args[:allow_subnet_cidr_routes_overlap] if args.key?(:allow_subnet_cidr_routes_overlap)
351
360
  @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
352
361
  @compute_idempotency_window = args[:compute_idempotency_window] if args.key?(:compute_idempotency_window)
353
362
  @consumer = args[:consumer] if args.key?(:consumer)
@@ -3683,9 +3692,9 @@ module Google
3683
3692
  include Google::Apis::Core::Hashable
3684
3693
 
3685
3694
  # Required. The size of the desired subnet. Use usual CIDR range notation. For
3686
- # example, '30' to find unused x.x.x.x/30 CIDR range. The goal is to determine
3695
+ # example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine
3687
3696
  # if one of the allocated ranges has enough free space for a subnet of the
3688
- # requested size.
3697
+ # requested size. GCE disallows subnets with prefix_length > 29
3689
3698
  # Corresponds to the JSON property `ipPrefixLength`
3690
3699
  # @return [Fixnum]
3691
3700
  attr_accessor :ip_prefix_length
@@ -3700,9 +3709,10 @@ module Google
3700
3709
  attr_accessor :requested_ranges
3701
3710
 
3702
3711
  # Optional. The size of the desired secondary ranges for the subnet. Use usual
3703
- # CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range.
3712
+ # CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range.
3704
3713
  # The goal is to determine that the allocated ranges have enough free space for
3705
- # all the requested secondary ranges.
3714
+ # all the requested secondary ranges. GCE disallows subnets with prefix_length >
3715
+ # 29
3706
3716
  # Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
3707
3717
  # @return [Array<Fixnum>]
3708
3718
  attr_accessor :secondary_range_ip_prefix_lengths
@@ -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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221115"
25
+ REVISION = "20221218"
26
26
  end
27
27
  end
28
28
  end
@@ -785,6 +785,7 @@ module Google
785
785
  class AddSubnetworkRequest
786
786
  # @private
787
787
  class Representation < Google::Apis::Core::JsonRepresentation
788
+ property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap'
788
789
  property :check_service_networking_use_permission, as: 'checkServiceNetworkingUsePermission'
789
790
  property :compute_idempotency_window, as: 'computeIdempotencyWindow'
790
791
  property :consumer, as: 'consumer'
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.35.0
4
+ version: 0.36.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-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.36.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: []