google-apis-servicenetworking_v1 0.35.0 → 0.37.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: 6fd6e6d9d9d05af40305eca9a0c4be3a009356c5600c0a2dc962bdf1565c9ae5
4
+ data.tar.gz: 835d1660f7610174313f45273baa3abb7609c280c72f63ce1dcd08e5f9e384c0
5
5
  SHA512:
6
- metadata.gz: beeaa98ae4df347cf675c320b1c16d336be81c41a438f07a42e9432bffdd6b4e982ee85653c84fa5deacee88aada7015d647227a9257271fdfc95b73b983d130
7
- data.tar.gz: aaf5173eca81f2e2621c703c3b3398eac01d2013d8011a66c5bf78cebce532f288350ea9c898c388b7cb4792ac5c2bf2ca81d0ad61724ec090e9b11eaf833acd
6
+ metadata.gz: 8f4c3ac53617d15ad01098fa67d996c224bd01f5d18c47bcca805e787793ba8078247c36f8740f5b48b732a1e3cd9e9080e028ca8071dda03510ff7641cbe9d8
7
+ data.tar.gz: ccd3ea4cb7a63e9cf41ffdb6e9dcd1aeae4c7b37e1d14a398503ec23beb017a53a33a8efafdf17e30524e44c6dffe3c73c4ec18b6bc989e671a81b0ac149b3ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.37.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230115
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.36.0 (2023-01-04)
9
+
10
+ * Regenerated from discovery document revision 20221218
11
+
3
12
  ### v0.35.0 (2022-11-17)
4
13
 
5
14
  * 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
@@ -313,6 +321,14 @@ module Google
313
321
  # @return [Array<String>]
314
322
  attr_accessor :requested_ranges
315
323
 
324
+ # Optional. Defines the role field of the subnet, e.g. 'ACTIVE'. For information
325
+ # about the roles that can be set using this field, see [subnetwork](https://
326
+ # cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute
327
+ # API documentation.
328
+ # Corresponds to the JSON property `role`
329
+ # @return [String]
330
+ attr_accessor :role
331
+
316
332
  # Optional. A list of secondary IP ranges to be created within the new
317
333
  # subnetwork.
318
334
  # Corresponds to the JSON property `secondaryIpRangeSpecs`
@@ -348,6 +364,7 @@ module Google
348
364
 
349
365
  # Update properties of this object
350
366
  def update!(**args)
367
+ @allow_subnet_cidr_routes_overlap = args[:allow_subnet_cidr_routes_overlap] if args.key?(:allow_subnet_cidr_routes_overlap)
351
368
  @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
352
369
  @compute_idempotency_window = args[:compute_idempotency_window] if args.key?(:compute_idempotency_window)
353
370
  @consumer = args[:consumer] if args.key?(:consumer)
@@ -360,6 +377,7 @@ module Google
360
377
  @region = args[:region] if args.key?(:region)
361
378
  @requested_address = args[:requested_address] if args.key?(:requested_address)
362
379
  @requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
380
+ @role = args[:role] if args.key?(:role)
363
381
  @secondary_ip_range_specs = args[:secondary_ip_range_specs] if args.key?(:secondary_ip_range_specs)
364
382
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
365
383
  @subnetwork_users = args[:subnetwork_users] if args.key?(:subnetwork_users)
@@ -3683,9 +3701,9 @@ module Google
3683
3701
  include Google::Apis::Core::Hashable
3684
3702
 
3685
3703
  # 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
3704
+ # example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine
3687
3705
  # if one of the allocated ranges has enough free space for a subnet of the
3688
- # requested size.
3706
+ # requested size. GCE disallows subnets with prefix_length > 29
3689
3707
  # Corresponds to the JSON property `ipPrefixLength`
3690
3708
  # @return [Fixnum]
3691
3709
  attr_accessor :ip_prefix_length
@@ -3700,9 +3718,10 @@ module Google
3700
3718
  attr_accessor :requested_ranges
3701
3719
 
3702
3720
  # 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.
3721
+ # CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range.
3704
3722
  # The goal is to determine that the allocated ranges have enough free space for
3705
- # all the requested secondary ranges.
3723
+ # all the requested secondary ranges. GCE disallows subnets with prefix_length >
3724
+ # 29
3706
3725
  # Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
3707
3726
  # @return [Array<Fixnum>]
3708
3727
  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.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221115"
25
+ REVISION = "20230115"
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'
@@ -797,6 +798,7 @@ module Google
797
798
  property :region, as: 'region'
798
799
  property :requested_address, as: 'requestedAddress'
799
800
  collection :requested_ranges, as: 'requestedRanges'
801
+ property :role, as: 'role'
800
802
  collection :secondary_ip_range_specs, as: 'secondaryIpRangeSpecs', class: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec::Representation
801
803
 
802
804
  property :subnetwork, as: 'subnetwork'
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.37.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-22 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.37.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.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Networking API V1