google-apis-networkconnectivity_v1 0.41.0 → 0.42.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: 809f3e47d3f3e706dfcc12e40b1e83dc243d359ccc13795d12535e59e88cd052
4
- data.tar.gz: 1ce90de86fa54d412df0fda5b8b480c61f7ff712bff725459f9e13b8fdd64b00
3
+ metadata.gz: 86238777fa2cab6e97a5853cca943334decdaa277fc025506611a9a2cd2f9574
4
+ data.tar.gz: de7b45622779ea828eefd04684230adf70d5e46ca5519e5d7e490a6e4a140ea0
5
5
  SHA512:
6
- metadata.gz: a279841db02caed6b78b102a112053781bc2a108b497b320404ca4b320a650e3b7ca6100110a8e6dc56151b0517c179608f7cb90bb81ec418c2c61eeabd0ce86
7
- data.tar.gz: d0f60795efbc8b8db4cd76245dfab15976e52dff13e90b888ab9634b9e0ddb7512f44b1dbca9f7af85c91b1f64f318651a01b06305b58e3ed80d23ee555cd434
6
+ metadata.gz: 80544c612b0497c6a4548e8c40ba9cd2ac841606ca2c9f3d986adc2385410532e514ab83f26baf2d0e529d1316de3d7b8475524430787aa56968d3794c2fdf2a
7
+ data.tar.gz: 23b2f858f0c86a4ce057b612b85df1fe008f19546acd39b055e676a8332331a5172c396ba4d5435430e5fb264fb2cf38abc124cc1b07b6c3cd7d5c9f3d942b57
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.42.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240523
6
+
3
7
  ### v0.41.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240506
@@ -307,6 +307,13 @@ module Google
307
307
  # @return [String]
308
308
  attr_accessor :project
309
309
 
310
+ # Output only. A map to store mapping between customer vip and target service
311
+ # attachment. Only service attachment with producer specified ip addresses are
312
+ # stored here.
313
+ # Corresponds to the JSON property `serviceAttachmentIpAddressMap`
314
+ # @return [Hash<String,String>]
315
+ attr_accessor :service_attachment_ip_address_map
316
+
310
317
  # Output only. Overall state of PSC Connections management for this consumer psc
311
318
  # config.
312
319
  # Corresponds to the JSON property `state`
@@ -323,6 +330,7 @@ module Google
323
330
  @network = args[:network] if args.key?(:network)
324
331
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
325
332
  @project = args[:project] if args.key?(:project)
333
+ @service_attachment_ip_address_map = args[:service_attachment_ip_address_map] if args.key?(:service_attachment_ip_address_map)
326
334
  @state = args[:state] if args.key?(:state)
327
335
  end
328
336
  end
@@ -526,7 +534,7 @@ module Google
526
534
  attr_accessor :ip_protocol
527
535
 
528
536
  # Required. Internet protocol versions this policy-based route applies to. For
529
- # this version, only IPV4 is supported.
537
+ # this version, only IPV4 is supported. IPV6 is supported in preview.
530
538
  # Corresponds to the JSON property `protocolVersion`
531
539
  # @return [String]
532
540
  attr_accessor :protocol_version
@@ -1725,6 +1733,111 @@ module Google
1725
1733
  end
1726
1734
  end
1727
1735
 
1736
+ # A route next hop that leads to an interconnect attachment resource.
1737
+ class NextHopInterconnectAttachment
1738
+ include Google::Apis::Core::Hashable
1739
+
1740
+ # Indicates whether site-to-site data transfer is allowed for this interconnect
1741
+ # attachment resource. Data transfer is available only in [supported locations](
1742
+ # https://cloud.google.com/network-connectivity/docs/network-connectivity-center/
1743
+ # concepts/locations).
1744
+ # Corresponds to the JSON property `siteToSiteDataTransfer`
1745
+ # @return [Boolean]
1746
+ attr_accessor :site_to_site_data_transfer
1747
+ alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
1748
+
1749
+ # The URI of the interconnect attachment resource.
1750
+ # Corresponds to the JSON property `uri`
1751
+ # @return [String]
1752
+ attr_accessor :uri
1753
+
1754
+ # The VPC network where this interconnect attachment is located.
1755
+ # Corresponds to the JSON property `vpcNetwork`
1756
+ # @return [String]
1757
+ attr_accessor :vpc_network
1758
+
1759
+ def initialize(**args)
1760
+ update!(**args)
1761
+ end
1762
+
1763
+ # Update properties of this object
1764
+ def update!(**args)
1765
+ @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
1766
+ @uri = args[:uri] if args.key?(:uri)
1767
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
1768
+ end
1769
+ end
1770
+
1771
+ # A route next hop that leads to a Router appliance instance.
1772
+ class NextHopRouterApplianceInstance
1773
+ include Google::Apis::Core::Hashable
1774
+
1775
+ # Indicates whether site-to-site data transfer is allowed for this Router
1776
+ # appliance instance resource. Data transfer is available only in [supported
1777
+ # locations](https://cloud.google.com/network-connectivity/docs/network-
1778
+ # connectivity-center/concepts/locations).
1779
+ # Corresponds to the JSON property `siteToSiteDataTransfer`
1780
+ # @return [Boolean]
1781
+ attr_accessor :site_to_site_data_transfer
1782
+ alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
1783
+
1784
+ # The URI of the Router appliance instance.
1785
+ # Corresponds to the JSON property `uri`
1786
+ # @return [String]
1787
+ attr_accessor :uri
1788
+
1789
+ # The VPC network where this VM is located.
1790
+ # Corresponds to the JSON property `vpcNetwork`
1791
+ # @return [String]
1792
+ attr_accessor :vpc_network
1793
+
1794
+ def initialize(**args)
1795
+ update!(**args)
1796
+ end
1797
+
1798
+ # Update properties of this object
1799
+ def update!(**args)
1800
+ @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
1801
+ @uri = args[:uri] if args.key?(:uri)
1802
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
1803
+ end
1804
+ end
1805
+
1806
+ # A route next hop that leads to a VPN tunnel resource.
1807
+ class NextHopVpnTunnel
1808
+ include Google::Apis::Core::Hashable
1809
+
1810
+ # Indicates whether site-to-site data transfer is allowed for this VPN tunnel
1811
+ # resource. Data transfer is available only in [supported locations](https://
1812
+ # cloud.google.com/network-connectivity/docs/network-connectivity-center/
1813
+ # concepts/locations).
1814
+ # Corresponds to the JSON property `siteToSiteDataTransfer`
1815
+ # @return [Boolean]
1816
+ attr_accessor :site_to_site_data_transfer
1817
+ alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
1818
+
1819
+ # The URI of the VPN tunnel resource.
1820
+ # Corresponds to the JSON property `uri`
1821
+ # @return [String]
1822
+ attr_accessor :uri
1823
+
1824
+ # The VPC network where this VPN tunnel is located.
1825
+ # Corresponds to the JSON property `vpcNetwork`
1826
+ # @return [String]
1827
+ attr_accessor :vpc_network
1828
+
1829
+ def initialize(**args)
1830
+ update!(**args)
1831
+ end
1832
+
1833
+ # Update properties of this object
1834
+ def update!(**args)
1835
+ @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
1836
+ @uri = args[:uri] if args.key?(:uri)
1837
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
1838
+ end
1839
+ end
1840
+
1728
1841
  #
1729
1842
  class NextHopVpcNetwork
1730
1843
  include Google::Apis::Core::Hashable
@@ -1900,8 +2013,8 @@ module Google
1900
2013
 
1901
2014
  # Policy-based routes route L4 network traffic based on not just destination IP
1902
2015
  # address, but also source IP address, protocol, and more. If a policy-based
1903
- # route conflicts with other types of routes, the policy-based route always take
1904
- # precedence.
2016
+ # route conflicts with other types of routes, the policy-based route always
2017
+ # takes precedence.
1905
2018
  class PolicyBasedRoute
1906
2019
  include Google::Apis::Core::Hashable
1907
2020
 
@@ -1980,7 +2093,7 @@ module Google
1980
2093
  # @return [String]
1981
2094
  attr_accessor :update_time
1982
2095
 
1983
- # VM instances to which this policy-based route applies to.
2096
+ # VM instances that this policy-based route applies to.
1984
2097
  # Corresponds to the JSON property `virtualMachine`
1985
2098
  # @return [Google::Apis::NetworkconnectivityV1::VirtualMachine]
1986
2099
  attr_accessor :virtual_machine
@@ -2357,11 +2470,33 @@ module Google
2357
2470
  # @return [String]
2358
2471
  attr_accessor :name
2359
2472
 
2473
+ # A route next hop that leads to an interconnect attachment resource.
2474
+ # Corresponds to the JSON property `nextHopInterconnectAttachment`
2475
+ # @return [Google::Apis::NetworkconnectivityV1::NextHopInterconnectAttachment]
2476
+ attr_accessor :next_hop_interconnect_attachment
2477
+
2478
+ # A route next hop that leads to a Router appliance instance.
2479
+ # Corresponds to the JSON property `nextHopRouterApplianceInstance`
2480
+ # @return [Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance]
2481
+ attr_accessor :next_hop_router_appliance_instance
2482
+
2360
2483
  # Immutable. The destination VPC network for packets on this route.
2361
2484
  # Corresponds to the JSON property `nextHopVpcNetwork`
2362
2485
  # @return [Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork]
2363
2486
  attr_accessor :next_hop_vpc_network
2364
2487
 
2488
+ # A route next hop that leads to a VPN tunnel resource.
2489
+ # Corresponds to the JSON property `nextHopVpnTunnel`
2490
+ # @return [Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel]
2491
+ attr_accessor :next_hop_vpn_tunnel
2492
+
2493
+ # Output only. The priority of this route. Priority is used to break ties in
2494
+ # cases where a destination matches more than one route. In these cases the
2495
+ # route with the lowest-numbered priority value wins.
2496
+ # Corresponds to the JSON property `priority`
2497
+ # @return [Fixnum]
2498
+ attr_accessor :priority
2499
+
2365
2500
  # Immutable. The spoke that this route leads to. Example: projects/12345/
2366
2501
  # locations/global/spokes/SPOKE
2367
2502
  # Corresponds to the JSON property `spoke`
@@ -2404,7 +2539,11 @@ module Google
2404
2539
  @labels = args[:labels] if args.key?(:labels)
2405
2540
  @location = args[:location] if args.key?(:location)
2406
2541
  @name = args[:name] if args.key?(:name)
2542
+ @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
2543
+ @next_hop_router_appliance_instance = args[:next_hop_router_appliance_instance] if args.key?(:next_hop_router_appliance_instance)
2407
2544
  @next_hop_vpc_network = args[:next_hop_vpc_network] if args.key?(:next_hop_vpc_network)
2545
+ @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
2546
+ @priority = args[:priority] if args.key?(:priority)
2408
2547
  @spoke = args[:spoke] if args.key?(:spoke)
2409
2548
  @state = args[:state] if args.key?(:state)
2410
2549
  @type = args[:type] if args.key?(:type)
@@ -3215,12 +3354,12 @@ module Google
3215
3354
  end
3216
3355
  end
3217
3356
 
3218
- # VM instances to which this policy-based route applies to.
3357
+ # VM instances that this policy-based route applies to.
3219
3358
  class VirtualMachine
3220
3359
  include Google::Apis::Core::Hashable
3221
3360
 
3222
- # Optional. A list of VM instance tags the this policy-based route applies to.
3223
- # VM instances that have ANY of tags specified here will install this PBR.
3361
+ # Optional. A list of VM instance tags that this policy-based route applies to.
3362
+ # VM instances that have ANY of tags specified here installs this PBR.
3224
3363
  # Corresponds to the JSON property `tags`
3225
3364
  # @return [Array<String>]
3226
3365
  attr_accessor :tags
@@ -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.41.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240506"
25
+ REVISION = "20240523"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,24 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class NextHopInterconnectAttachment
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class NextHopRouterApplianceInstance
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class NextHopVpnTunnel
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
265
283
  class NextHopVpcNetwork
266
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
285
 
@@ -493,6 +511,7 @@ module Google
493
511
  property :network, as: 'network'
494
512
  property :producer_instance_id, as: 'producerInstanceId'
495
513
  property :project, as: 'project'
514
+ hash :service_attachment_ip_address_map, as: 'serviceAttachmentIpAddressMap'
496
515
  property :state, as: 'state'
497
516
  end
498
517
  end
@@ -845,6 +864,33 @@ module Google
845
864
  end
846
865
  end
847
866
 
867
+ class NextHopInterconnectAttachment
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
871
+ property :uri, as: 'uri'
872
+ property :vpc_network, as: 'vpcNetwork'
873
+ end
874
+ end
875
+
876
+ class NextHopRouterApplianceInstance
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
880
+ property :uri, as: 'uri'
881
+ property :vpc_network, as: 'vpcNetwork'
882
+ end
883
+ end
884
+
885
+ class NextHopVpnTunnel
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
889
+ property :uri, as: 'uri'
890
+ property :vpc_network, as: 'vpcNetwork'
891
+ end
892
+ end
893
+
848
894
  class NextHopVpcNetwork
849
895
  # @private
850
896
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -980,8 +1026,15 @@ module Google
980
1026
  hash :labels, as: 'labels'
981
1027
  property :location, as: 'location'
982
1028
  property :name, as: 'name'
1029
+ property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment', class: Google::Apis::NetworkconnectivityV1::NextHopInterconnectAttachment, decorator: Google::Apis::NetworkconnectivityV1::NextHopInterconnectAttachment::Representation
1030
+
1031
+ property :next_hop_router_appliance_instance, as: 'nextHopRouterApplianceInstance', class: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance, decorator: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance::Representation
1032
+
983
1033
  property :next_hop_vpc_network, as: 'nextHopVpcNetwork', class: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork::Representation
984
1034
 
1035
+ property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel', class: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel::Representation
1036
+
1037
+ property :priority, :numeric_string => true, as: 'priority'
985
1038
  property :spoke, as: 'spoke'
986
1039
  property :state, as: 'state'
987
1040
  property :type, as: 'type'
@@ -988,15 +988,15 @@ module Google
988
988
  # Required. Unique id for the policy-based route to create.
989
989
  # @param [String] request_id
990
990
  # Optional. An optional request ID to identify requests. Specify a unique
991
- # request ID so that if you must retry your request, the server will know to
992
- # ignore the request if it has already been completed. The server will guarantee
993
- # that for at least 60 minutes since the first request. For example, consider a
994
- # situation where you make an initial request and the request times out. If you
995
- # make the request again with the same request ID, the server can check if
996
- # original operation with the same request ID was received, and if so, will
997
- # ignore the second request. This prevents clients from accidentally creating
998
- # duplicate commitments. The request ID must be a valid UUID with the exception
999
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
991
+ # request ID so that if you must retry your request, the server knows to ignore
992
+ # the request if it has already been completed. The server guarantees that for
993
+ # at least 60 minutes since the first request. For example, consider a situation
994
+ # where you make an initial request and the request times out. If you make the
995
+ # request again with the same request ID, the server can check if original
996
+ # operation with the same request ID was received, and if so, ignores the second
997
+ # request. This prevents clients from accidentally creating duplicate
998
+ # commitments. The request ID must be a valid UUID with the exception that zero
999
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1000
1000
  # @param [String] fields
1001
1001
  # Selector specifying which fields to include in a partial response.
1002
1002
  # @param [String] quota_user
@@ -1033,15 +1033,15 @@ module Google
1033
1033
  # Required. Name of the policy-based route resource to delete.
1034
1034
  # @param [String] request_id
1035
1035
  # Optional. An optional request ID to identify requests. Specify a unique
1036
- # request ID so that if you must retry your request, the server will know to
1037
- # ignore the request if it has already been completed. The server will guarantee
1038
- # that for at least 60 minutes after the first request. For example, consider a
1039
- # situation where you make an initial request and the request times out. If you
1040
- # make the request again with the same request ID, the server can check if
1041
- # original operation with the same request ID was received, and if so, will
1042
- # ignore the second request. This prevents clients from accidentally creating
1043
- # duplicate commitments. The request ID must be a valid UUID with the exception
1044
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1036
+ # request ID so that if you must retry your request, the server knows to ignore
1037
+ # the request if it has already been completed. The server guarantees that for
1038
+ # at least 60 minutes after the first request. For example, consider a situation
1039
+ # where you make an initial request and the request times out. If you make the
1040
+ # request again with the same request ID, the server can check if original
1041
+ # operation with the same request ID was received, and if so, ignores the second
1042
+ # request. This prevents clients from accidentally creating duplicate
1043
+ # commitments. The request ID must be a valid UUID with the exception that zero
1044
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1045
1045
  # @param [String] fields
1046
1046
  # Selector specifying which fields to include in a partial response.
1047
1047
  # @param [String] quota_user
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.41.0
4
+ version: 0.42.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-06-02 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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.42.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: []