google-apis-networkconnectivity_v1 0.45.0 → 0.47.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: 3bbea17364bbf04adba66c7a49ab4e7802d86bebf0a471bb07ff0af5a4aa425c
4
- data.tar.gz: a50b31a2dcf5ee36ab783ce85d379f334dcf7e5d5228cdbbf97cb3bbe2f2f449
3
+ metadata.gz: 99cfa9927dd569ac9a8f920453047e21ebd6b06186a4e945e4fd0798c6280a04
4
+ data.tar.gz: 244244ec5a5b0be1f68676a630d45d1c9efa3e5c05e57ea0e39f4c4e598b3b60
5
5
  SHA512:
6
- metadata.gz: 63c560ba0da151148c0a86f3d77a7f9f5bbd5a8dc0dbfb8134ece561045fff5bb9c1c23adfd4210d0826d5d36a2edc800e6c1bce07841f5d54896dea35435a97
7
- data.tar.gz: a92d4d8a3063e5816f3ef79b96a731d65cbf0b81f0c342f2238db16f1bab268878abab088529ed355deb1fef7c98f5e2c254cb7fe3a3c4b7c098f0e9f9d1a64b
6
+ metadata.gz: d836ed36c7ef1a9825b46b9c5cbcede558d93558f6979b33c7e17d295d30b390a109c33e0534c2da586e3b5e3740b76f73767f54db3037505dc1346d1bdcb615
7
+ data.tar.gz: 0ce4608db2ffe09b184965dc9f75573d5e50361a033d6daa959495d975e654e12240062a219aec1c078266dabbc53f909809e8ab143fb9ef5cc6805c388c3398
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.47.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240911
6
+
7
+ ### v0.46.0 (2024-08-18)
8
+
9
+ * Regenerated from discovery document revision 20240807
10
+
3
11
  ### v0.45.0 (2024-08-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240717
@@ -306,11 +306,17 @@ module Google
306
306
  # @return [String]
307
307
  attr_accessor :network
308
308
 
309
- # Immutable. An immutable identifier for the producer instance.
309
+ # Immutable. Deprecated. Use producer_instance_metadata instead. An immutable
310
+ # identifier for the producer instance.
310
311
  # Corresponds to the JSON property `producerInstanceId`
311
312
  # @return [String]
312
313
  attr_accessor :producer_instance_id
313
314
 
315
+ # Immutable. An immutable map for the producer instance metadata.
316
+ # Corresponds to the JSON property `producerInstanceMetadata`
317
+ # @return [Hash<String,String>]
318
+ attr_accessor :producer_instance_metadata
319
+
314
320
  # The consumer project where PSC connections are allowed to be created in.
315
321
  # Corresponds to the JSON property `project`
316
322
  # @return [String]
@@ -339,6 +345,7 @@ module Google
339
345
  @disable_global_access = args[:disable_global_access] if args.key?(:disable_global_access)
340
346
  @network = args[:network] if args.key?(:network)
341
347
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
348
+ @producer_instance_metadata = args[:producer_instance_metadata] if args.key?(:producer_instance_metadata)
342
349
  @project = args[:project] if args.key?(:project)
343
350
  @service_attachment_ip_address_map = args[:service_attachment_ip_address_map] if args.key?(:service_attachment_ip_address_map)
344
351
  @state = args[:state] if args.key?(:state)
@@ -402,11 +409,17 @@ module Google
402
409
  # @return [String]
403
410
  attr_accessor :network
404
411
 
405
- # Immutable. An immutable identifier for the producer instance.
412
+ # Immutable. Deprecated. Use producer_instance_metadata instead. An immutable
413
+ # identifier for the producer instance.
406
414
  # Corresponds to the JSON property `producerInstanceId`
407
415
  # @return [String]
408
416
  attr_accessor :producer_instance_id
409
417
 
418
+ # Immutable. An immutable map for the producer instance metadata.
419
+ # Corresponds to the JSON property `producerInstanceMetadata`
420
+ # @return [Hash<String,String>]
421
+ attr_accessor :producer_instance_metadata
422
+
410
423
  # The consumer project whose PSC forwarding rule is connected to the service
411
424
  # attachments in this service connection map.
412
425
  # Corresponds to the JSON property `project`
@@ -449,6 +462,7 @@ module Google
449
462
  @ip = args[:ip] if args.key?(:ip)
450
463
  @network = args[:network] if args.key?(:network)
451
464
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
465
+ @producer_instance_metadata = args[:producer_instance_metadata] if args.key?(:producer_instance_metadata)
452
466
  @project = args[:project] if args.key?(:project)
453
467
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
454
468
  @selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
@@ -994,7 +1008,9 @@ module Google
994
1008
  # @return [String]
995
1009
  attr_accessor :description
996
1010
 
997
- # The IP range that this internal range defines.
1011
+ # The IP range that this internal range defines. NOTE: IPv6 ranges are limited
1012
+ # to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this
1013
+ # field is compulsory, i.e. the address range must be specified explicitly.
998
1014
  # Corresponds to the JSON property `ipCidrRange`
999
1015
  # @return [String]
1000
1016
  attr_accessor :ip_cidr_range
@@ -1004,6 +1020,11 @@ module Google
1004
1020
  # @return [Hash<String,String>]
1005
1021
  attr_accessor :labels
1006
1022
 
1023
+ # Specification for migration with source and target resource names.
1024
+ # Corresponds to the JSON property `migration`
1025
+ # @return [Google::Apis::NetworkconnectivityV1::Migration]
1026
+ attr_accessor :migration
1027
+
1007
1028
  # Immutable. The name of an internal range. Format: projects/`project`/locations/
1008
1029
  # `location`/internalRanges/`internal_range` See: https://google.aip.dev/122#
1009
1030
  # fields-representing-resource-names
@@ -1031,10 +1052,13 @@ module Google
1031
1052
  # @return [String]
1032
1053
  attr_accessor :peering
1033
1054
 
1034
- # An alternate to ip_cidr_range. Can be set when trying to create a reservation
1035
- # that automatically finds a free range of the given size. If both ip_cidr_range
1036
- # and prefix_length are set, there is an error if the range sizes do not match.
1037
- # Can also be used during updates to change the range size.
1055
+ # An alternate to ip_cidr_range. Can be set when trying to create an IPv4
1056
+ # reservation that automatically finds a free range of the given size. If both
1057
+ # ip_cidr_range and prefix_length are set, there is an error if the range sizes
1058
+ # do not match. Can also be used during updates to change the range size. NOTE:
1059
+ # For IPv6 this field only works if ip_cidr_range is set as well, and both
1060
+ # fields must match. In other words, with IPv6 this field only works as a
1061
+ # redundant parameter.
1038
1062
  # Corresponds to the JSON property `prefixLength`
1039
1063
  # @return [Fixnum]
1040
1064
  attr_accessor :prefix_length
@@ -1077,6 +1101,7 @@ module Google
1077
1101
  @description = args[:description] if args.key?(:description)
1078
1102
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
1079
1103
  @labels = args[:labels] if args.key?(:labels)
1104
+ @migration = args[:migration] if args.key?(:migration)
1080
1105
  @name = args[:name] if args.key?(:name)
1081
1106
  @network = args[:network] if args.key?(:network)
1082
1107
  @overlaps = args[:overlaps] if args.key?(:overlaps)
@@ -1196,6 +1221,13 @@ module Google
1196
1221
  # @return [Array<String>]
1197
1222
  attr_accessor :include_export_ranges
1198
1223
 
1224
+ # Output only. The list of Producer VPC spokes that this VPC spoke is a service
1225
+ # consumer VPC spoke for. These producer VPCs are connected through VPC peering
1226
+ # to this spoke's backing VPC network.
1227
+ # Corresponds to the JSON property `producerVpcSpokes`
1228
+ # @return [Array<String>]
1229
+ attr_accessor :producer_vpc_spokes
1230
+
1199
1231
  # Required. The URI of the VPC network resource.
1200
1232
  # Corresponds to the JSON property `uri`
1201
1233
  # @return [String]
@@ -1209,6 +1241,7 @@ module Google
1209
1241
  def update!(**args)
1210
1242
  @exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges)
1211
1243
  @include_export_ranges = args[:include_export_ranges] if args.key?(:include_export_ranges)
1244
+ @producer_vpc_spokes = args[:producer_vpc_spokes] if args.key?(:producer_vpc_spokes)
1212
1245
  @uri = args[:uri] if args.key?(:uri)
1213
1246
  end
1214
1247
  end
@@ -1773,6 +1806,36 @@ module Google
1773
1806
  end
1774
1807
  end
1775
1808
 
1809
+ # Specification for migration with source and target resource names.
1810
+ class Migration
1811
+ include Google::Apis::Core::Hashable
1812
+
1813
+ # Immutable. Resource path as an URI of the source resource, for example a
1814
+ # subnet. The project for the source resource should match the project for the
1815
+ # InternalRange. An example: /projects/`project`/regions/`region`/subnetworks/`
1816
+ # subnet`
1817
+ # Corresponds to the JSON property `source`
1818
+ # @return [String]
1819
+ attr_accessor :source
1820
+
1821
+ # Immutable. Resource path of the target resource. The target project can be
1822
+ # different, as in the cases when migrating to peer networks. The resource For
1823
+ # example: /projects/`project`/regions/`region`/subnetworks/`subnet`
1824
+ # Corresponds to the JSON property `target`
1825
+ # @return [String]
1826
+ attr_accessor :target
1827
+
1828
+ def initialize(**args)
1829
+ update!(**args)
1830
+ end
1831
+
1832
+ # Update properties of this object
1833
+ def update!(**args)
1834
+ @source = args[:source] if args.key?(:source)
1835
+ @target = args[:target] if args.key?(:target)
1836
+ end
1837
+ end
1838
+
1776
1839
  # A route next hop that leads to an interconnect attachment resource.
1777
1840
  class NextHopInterconnectAttachment
1778
1841
  include Google::Apis::Core::Hashable
@@ -2293,11 +2356,17 @@ module Google
2293
2356
  # @return [String]
2294
2357
  attr_accessor :gce_operation
2295
2358
 
2296
- # Immutable. An immutable identifier for the producer instance.
2359
+ # Immutable. Deprecated. Use producer_instance_metadata instead. An immutable
2360
+ # identifier for the producer instance.
2297
2361
  # Corresponds to the JSON property `producerInstanceId`
2298
2362
  # @return [String]
2299
2363
  attr_accessor :producer_instance_id
2300
2364
 
2365
+ # Immutable. An immutable map for the producer instance metadata.
2366
+ # Corresponds to the JSON property `producerInstanceMetadata`
2367
+ # @return [Hash<String,String>]
2368
+ attr_accessor :producer_instance_metadata
2369
+
2301
2370
  # The PSC connection id of the PSC forwarding rule.
2302
2371
  # Corresponds to the JSON property `pscConnectionId`
2303
2372
  # @return [String]
@@ -2309,6 +2378,13 @@ module Google
2309
2378
  # @return [String]
2310
2379
  attr_accessor :selected_subnetwork
2311
2380
 
2381
+ # Output only. [Output only] The service class associated with this PSC
2382
+ # Connection. The value is derived from the SCPolicy and matches the service
2383
+ # class name provided by the customer.
2384
+ # Corresponds to the JSON property `serviceClass`
2385
+ # @return [String]
2386
+ attr_accessor :service_class
2387
+
2312
2388
  # State of the PSC Connection
2313
2389
  # Corresponds to the JSON property `state`
2314
2390
  # @return [String]
@@ -2328,8 +2404,10 @@ module Google
2328
2404
  @error_type = args[:error_type] if args.key?(:error_type)
2329
2405
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
2330
2406
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
2407
+ @producer_instance_metadata = args[:producer_instance_metadata] if args.key?(:producer_instance_metadata)
2331
2408
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
2332
2409
  @selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
2410
+ @service_class = args[:service_class] if args.key?(:service_class)
2333
2411
  @state = args[:state] if args.key?(:state)
2334
2412
  end
2335
2413
  end
@@ -2900,7 +2978,7 @@ module Google
2900
2978
  class ServiceConnectionPolicy
2901
2979
  include Google::Apis::Core::Hashable
2902
2980
 
2903
- # Output only. Time when the ServiceConnectionMap was created.
2981
+ # Output only. Time when the ServiceConnectionPolicy was created.
2904
2982
  # Corresponds to the JSON property `createTime`
2905
2983
  # @return [String]
2906
2984
  attr_accessor :create_time
@@ -2960,7 +3038,7 @@ module Google
2960
3038
  # @return [String]
2961
3039
  attr_accessor :service_class
2962
3040
 
2963
- # Output only. Time when the ServiceConnectionMap was updated.
3041
+ # Output only. Time when the ServiceConnectionPolicy was updated.
2964
3042
  # Corresponds to the JSON property `updateTime`
2965
3043
  # @return [String]
2966
3044
  attr_accessor :update_time
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkconnectivityV1
18
18
  # Version of the google-apis-networkconnectivity_v1 gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240717"
25
+ REVISION = "20240911"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,12 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class Migration
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
265
271
  class NextHopInterconnectAttachment
266
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
273
 
@@ -511,6 +517,7 @@ module Google
511
517
  property :disable_global_access, as: 'disableGlobalAccess'
512
518
  property :network, as: 'network'
513
519
  property :producer_instance_id, as: 'producerInstanceId'
520
+ hash :producer_instance_metadata, as: 'producerInstanceMetadata'
514
521
  property :project, as: 'project'
515
522
  hash :service_attachment_ip_address_map, as: 'serviceAttachmentIpAddressMap'
516
523
  property :state, as: 'state'
@@ -530,6 +537,7 @@ module Google
530
537
  property :ip, as: 'ip'
531
538
  property :network, as: 'network'
532
539
  property :producer_instance_id, as: 'producerInstanceId'
540
+ hash :producer_instance_metadata, as: 'producerInstanceMetadata'
533
541
  property :project, as: 'project'
534
542
  property :psc_connection_id, as: 'pscConnectionId'
535
543
  property :selected_subnetwork, as: 'selectedSubnetwork'
@@ -660,6 +668,8 @@ module Google
660
668
  property :description, as: 'description'
661
669
  property :ip_cidr_range, as: 'ipCidrRange'
662
670
  hash :labels, as: 'labels'
671
+ property :migration, as: 'migration', class: Google::Apis::NetworkconnectivityV1::Migration, decorator: Google::Apis::NetworkconnectivityV1::Migration::Representation
672
+
663
673
  property :name, as: 'name'
664
674
  property :network, as: 'network'
665
675
  collection :overlaps, as: 'overlaps'
@@ -698,6 +708,7 @@ module Google
698
708
  class Representation < Google::Apis::Core::JsonRepresentation
699
709
  collection :exclude_export_ranges, as: 'excludeExportRanges'
700
710
  collection :include_export_ranges, as: 'includeExportRanges'
711
+ collection :producer_vpc_spokes, as: 'producerVpcSpokes'
701
712
  property :uri, as: 'uri'
702
713
  end
703
714
  end
@@ -869,6 +880,14 @@ module Google
869
880
  end
870
881
  end
871
882
 
883
+ class Migration
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ property :source, as: 'source'
887
+ property :target, as: 'target'
888
+ end
889
+ end
890
+
872
891
  class NextHopInterconnectAttachment
873
892
  # @private
874
893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -983,8 +1002,10 @@ module Google
983
1002
  property :error_type, as: 'errorType'
984
1003
  property :gce_operation, as: 'gceOperation'
985
1004
  property :producer_instance_id, as: 'producerInstanceId'
1005
+ hash :producer_instance_metadata, as: 'producerInstanceMetadata'
986
1006
  property :psc_connection_id, as: 'pscConnectionId'
987
1007
  property :selected_subnetwork, as: 'selectedSubnetwork'
1008
+ property :service_class, as: 'serviceClass'
988
1009
  property :state, as: 'state'
989
1010
  end
990
1011
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.47.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: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2024-09-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-networkconnectivity_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []