@@ -306,11 +306,17 @@ class ConsumerPscConfig
306306 # @return [String]
307307 attr_accessor :network
308308
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.
310311 # Corresponds to the JSON property `producerInstanceId`
311312 # @return [String]
312313 attr_accessor :producer_instance_id
313314
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+
314320 # The consumer project where PSC connections are allowed to be created in.
315321 # Corresponds to the JSON property `project`
316322 # @return [String]
@@ -339,6 +345,7 @@ def update!(**args)
339345 @disable_global_access = args [ :disable_global_access ] if args . key? ( :disable_global_access )
340346 @network = args [ :network ] if args . key? ( :network )
341347 @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 )
342349 @project = args [ :project ] if args . key? ( :project )
343350 @service_attachment_ip_address_map = args [ :service_attachment_ip_address_map ] if args . key? ( :service_attachment_ip_address_map )
344351 @state = args [ :state ] if args . key? ( :state )
@@ -402,11 +409,17 @@ class ConsumerPscConnection
402409 # @return [String]
403410 attr_accessor :network
404411
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.
406414 # Corresponds to the JSON property `producerInstanceId`
407415 # @return [String]
408416 attr_accessor :producer_instance_id
409417
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+
410423 # The consumer project whose PSC forwarding rule is connected to the service
411424 # attachments in this service connection map.
412425 # Corresponds to the JSON property `project`
@@ -449,6 +462,7 @@ def update!(**args)
449462 @ip = args [ :ip ] if args . key? ( :ip )
450463 @network = args [ :network ] if args . key? ( :network )
451464 @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 )
452466 @project = args [ :project ] if args . key? ( :project )
453467 @psc_connection_id = args [ :psc_connection_id ] if args . key? ( :psc_connection_id )
454468 @selected_subnetwork = args [ :selected_subnetwork ] if args . key? ( :selected_subnetwork )
@@ -994,7 +1008,9 @@ class InternalRange
9941008 # @return [String]
9951009 attr_accessor :description
9961010
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.
9981014 # Corresponds to the JSON property `ipCidrRange`
9991015 # @return [String]
10001016 attr_accessor :ip_cidr_range
@@ -1004,6 +1020,11 @@ class InternalRange
10041020 # @return [Hash<String,String>]
10051021 attr_accessor :labels
10061022
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+
10071028 # Immutable. The name of an internal range. Format: projects/`project`/locations/
10081029 # `location`/internalRanges/`internal_range` See: https://google.aip.dev/122#
10091030 # fields-representing-resource-names
@@ -1031,10 +1052,13 @@ class InternalRange
10311052 # @return [String]
10321053 attr_accessor :peering
10331054
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.
10381062 # Corresponds to the JSON property `prefixLength`
10391063 # @return [Fixnum]
10401064 attr_accessor :prefix_length
@@ -1077,6 +1101,7 @@ def update!(**args)
10771101 @description = args [ :description ] if args . key? ( :description )
10781102 @ip_cidr_range = args [ :ip_cidr_range ] if args . key? ( :ip_cidr_range )
10791103 @labels = args [ :labels ] if args . key? ( :labels )
1104+ @migration = args [ :migration ] if args . key? ( :migration )
10801105 @name = args [ :name ] if args . key? ( :name )
10811106 @network = args [ :network ] if args . key? ( :network )
10821107 @overlaps = args [ :overlaps ] if args . key? ( :overlaps )
@@ -1781,6 +1806,36 @@ def update!(**args)
17811806 end
17821807 end
17831808
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+
17841839 # A route next hop that leads to an interconnect attachment resource.
17851840 class NextHopInterconnectAttachment
17861841 include Google ::Apis ::Core ::Hashable
@@ -2301,11 +2356,17 @@ class PscConnection
23012356 # @return [String]
23022357 attr_accessor :gce_operation
23032358
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.
23052361 # Corresponds to the JSON property `producerInstanceId`
23062362 # @return [String]
23072363 attr_accessor :producer_instance_id
23082364
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+
23092370 # The PSC connection id of the PSC forwarding rule.
23102371 # Corresponds to the JSON property `pscConnectionId`
23112372 # @return [String]
@@ -2317,6 +2378,13 @@ class PscConnection
23172378 # @return [String]
23182379 attr_accessor :selected_subnetwork
23192380
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+
23202388 # State of the PSC Connection
23212389 # Corresponds to the JSON property `state`
23222390 # @return [String]
@@ -2336,8 +2404,10 @@ def update!(**args)
23362404 @error_type = args [ :error_type ] if args . key? ( :error_type )
23372405 @gce_operation = args [ :gce_operation ] if args . key? ( :gce_operation )
23382406 @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 )
23392408 @psc_connection_id = args [ :psc_connection_id ] if args . key? ( :psc_connection_id )
23402409 @selected_subnetwork = args [ :selected_subnetwork ] if args . key? ( :selected_subnetwork )
2410+ @service_class = args [ :service_class ] if args . key? ( :service_class )
23412411 @state = args [ :state ] if args . key? ( :state )
23422412 end
23432413 end
@@ -2908,7 +2978,7 @@ def update!(**args)
29082978 class ServiceConnectionPolicy
29092979 include Google ::Apis ::Core ::Hashable
29102980
2911- # Output only. Time when the ServiceConnectionMap was created.
2981+ # Output only. Time when the ServiceConnectionPolicy was created.
29122982 # Corresponds to the JSON property `createTime`
29132983 # @return [String]
29142984 attr_accessor :create_time
@@ -2968,7 +3038,7 @@ class ServiceConnectionPolicy
29683038 # @return [String]
29693039 attr_accessor :service_class
29703040
2971- # Output only. Time when the ServiceConnectionMap was updated.
3041+ # Output only. Time when the ServiceConnectionPolicy was updated.
29723042 # Corresponds to the JSON property `updateTime`
29733043 # @return [String]
29743044 attr_accessor :update_time
0 commit comments