google-apis-networkconnectivity_v1 0.46.0 → 0.47.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: 3aff303236cc67f61b3eb13a670fae2cdd5685a33150bfd42c63686703a58718
4
- data.tar.gz: 637b0b3d23f70587f4fe79ec0ec4a76ec99c4992c5773f72e501d2c58a50c450
3
+ metadata.gz: 99cfa9927dd569ac9a8f920453047e21ebd6b06186a4e945e4fd0798c6280a04
4
+ data.tar.gz: 244244ec5a5b0be1f68676a630d45d1c9efa3e5c05e57ea0e39f4c4e598b3b60
5
5
  SHA512:
6
- metadata.gz: bdb0717973b594119258878ad3b333b81ff8e7ef45d7757239bc448515293da8d47fa90688b290bd35db8e6fffbc65a60f621a165a3558754a08e3512c2c762d
7
- data.tar.gz: 8264e3f6ef88ba69bb317b1fdb84c336548c65c9e809c5c8000bfecb82dfdf353fd9451d1abbbce9f76301660daef29ce5025cf4042a2e1517eeaa6e37cfc5b7
6
+ metadata.gz: d836ed36c7ef1a9825b46b9c5cbcede558d93558f6979b33c7e17d295d30b390a109c33e0534c2da586e3b5e3740b76f73767f54db3037505dc1346d1bdcb615
7
+ data.tar.gz: 0ce4608db2ffe09b184965dc9f75573d5e50361a033d6daa959495d975e654e12240062a219aec1c078266dabbc53f909809e8ab143fb9ef5cc6805c388c3398
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.46.0 (2024-08-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20240807
@@ -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)
@@ -1781,6 +1806,36 @@ module Google
1781
1806
  end
1782
1807
  end
1783
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
+
1784
1839
  # A route next hop that leads to an interconnect attachment resource.
1785
1840
  class NextHopInterconnectAttachment
1786
1841
  include Google::Apis::Core::Hashable
@@ -2301,11 +2356,17 @@ module Google
2301
2356
  # @return [String]
2302
2357
  attr_accessor :gce_operation
2303
2358
 
2304
- # Immutable. An immutable identifier for the producer instance.
2359
+ # Immutable. Deprecated. Use producer_instance_metadata instead. An immutable
2360
+ # identifier for the producer instance.
2305
2361
  # Corresponds to the JSON property `producerInstanceId`
2306
2362
  # @return [String]
2307
2363
  attr_accessor :producer_instance_id
2308
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
+
2309
2370
  # The PSC connection id of the PSC forwarding rule.
2310
2371
  # Corresponds to the JSON property `pscConnectionId`
2311
2372
  # @return [String]
@@ -2317,6 +2378,13 @@ module Google
2317
2378
  # @return [String]
2318
2379
  attr_accessor :selected_subnetwork
2319
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
+
2320
2388
  # State of the PSC Connection
2321
2389
  # Corresponds to the JSON property `state`
2322
2390
  # @return [String]
@@ -2336,8 +2404,10 @@ module Google
2336
2404
  @error_type = args[:error_type] if args.key?(:error_type)
2337
2405
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
2338
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)
2339
2408
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
2340
2409
  @selected_subnetwork = args[:selected_subnetwork] if args.key?(:selected_subnetwork)
2410
+ @service_class = args[:service_class] if args.key?(:service_class)
2341
2411
  @state = args[:state] if args.key?(:state)
2342
2412
  end
2343
2413
  end
@@ -2908,7 +2978,7 @@ module Google
2908
2978
  class ServiceConnectionPolicy
2909
2979
  include Google::Apis::Core::Hashable
2910
2980
 
2911
- # Output only. Time when the ServiceConnectionMap was created.
2981
+ # Output only. Time when the ServiceConnectionPolicy was created.
2912
2982
  # Corresponds to the JSON property `createTime`
2913
2983
  # @return [String]
2914
2984
  attr_accessor :create_time
@@ -2968,7 +3038,7 @@ module Google
2968
3038
  # @return [String]
2969
3039
  attr_accessor :service_class
2970
3040
 
2971
- # Output only. Time when the ServiceConnectionMap was updated.
3041
+ # Output only. Time when the ServiceConnectionPolicy was updated.
2972
3042
  # Corresponds to the JSON property `updateTime`
2973
3043
  # @return [String]
2974
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.46.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 = "20240807"
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'
@@ -870,6 +880,14 @@ module Google
870
880
  end
871
881
  end
872
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
+
873
891
  class NextHopInterconnectAttachment
874
892
  # @private
875
893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -984,8 +1002,10 @@ module Google
984
1002
  property :error_type, as: 'errorType'
985
1003
  property :gce_operation, as: 'gceOperation'
986
1004
  property :producer_instance_id, as: 'producerInstanceId'
1005
+ hash :producer_instance_metadata, as: 'producerInstanceMetadata'
987
1006
  property :psc_connection_id, as: 'pscConnectionId'
988
1007
  property :selected_subnetwork, as: 'selectedSubnetwork'
1008
+ property :service_class, as: 'serviceClass'
989
1009
  property :state, as: 'state'
990
1010
  end
991
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.46.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-18 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.46.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: []