google-apis-networkconnectivity_v1 0.41.0 → 0.43.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: 809f3e47d3f3e706dfcc12e40b1e83dc243d359ccc13795d12535e59e88cd052
4
- data.tar.gz: 1ce90de86fa54d412df0fda5b8b480c61f7ff712bff725459f9e13b8fdd64b00
3
+ metadata.gz: 90cb9e1b7e232e2add3da9bc8fe6b4227f8b87fcde7a4ea3a695a94a071fb4c0
4
+ data.tar.gz: 19b468fe5af7d99dd10eadcac391c3ca626ffe15ba54d7384844289f8f2dda3c
5
5
  SHA512:
6
- metadata.gz: a279841db02caed6b78b102a112053781bc2a108b497b320404ca4b320a650e3b7ca6100110a8e6dc56151b0517c179608f7cb90bb81ec418c2c61eeabd0ce86
7
- data.tar.gz: d0f60795efbc8b8db4cd76245dfab15976e52dff13e90b888ab9634b9e0ddb7512f44b1dbca9f7af85c91b1f64f318651a01b06305b58e3ed80d23ee555cd434
6
+ metadata.gz: 153e04ec79efe98df8c2bbb7cb451bac4cc23042cf97ee843c93e7cefed87e5a3ba147c063e66345b2c0b92a264a88f6eae7ef4f448036ee8620d6a0bf21137d
7
+ data.tar.gz: b73cac692c15faae09743fb28186097b29fbb3594d6ae3a0ce3fbbb86dfd0c53c5ec0ccc01a564dcb15898cac23add414d95b822d1de5193fe1d975f017f908f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.43.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240529
6
+
7
+ ### v0.42.0 (2024-06-02)
8
+
9
+ * Regenerated from discovery document revision 20240523
10
+
3
11
  ### v0.41.0 (2024-05-19)
4
12
 
5
13
  * 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
@@ -1157,6 +1165,11 @@ module Google
1157
1165
  # @return [Array<String>]
1158
1166
  attr_accessor :exclude_export_ranges
1159
1167
 
1168
+ # Optional. IP ranges allowed to be included from peering.
1169
+ # Corresponds to the JSON property `includeExportRanges`
1170
+ # @return [Array<String>]
1171
+ attr_accessor :include_export_ranges
1172
+
1160
1173
  # Required. The URI of the VPC network resource.
1161
1174
  # Corresponds to the JSON property `uri`
1162
1175
  # @return [String]
@@ -1169,6 +1182,7 @@ module Google
1169
1182
  # Update properties of this object
1170
1183
  def update!(**args)
1171
1184
  @exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges)
1185
+ @include_export_ranges = args[:include_export_ranges] if args.key?(:include_export_ranges)
1172
1186
  @uri = args[:uri] if args.key?(:uri)
1173
1187
  end
1174
1188
  end
@@ -1725,6 +1739,111 @@ module Google
1725
1739
  end
1726
1740
  end
1727
1741
 
1742
+ # A route next hop that leads to an interconnect attachment resource.
1743
+ class NextHopInterconnectAttachment
1744
+ include Google::Apis::Core::Hashable
1745
+
1746
+ # Indicates whether site-to-site data transfer is allowed for this interconnect
1747
+ # attachment resource. Data transfer is available only in [supported locations](
1748
+ # https://cloud.google.com/network-connectivity/docs/network-connectivity-center/
1749
+ # concepts/locations).
1750
+ # Corresponds to the JSON property `siteToSiteDataTransfer`
1751
+ # @return [Boolean]
1752
+ attr_accessor :site_to_site_data_transfer
1753
+ alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
1754
+
1755
+ # The URI of the interconnect attachment resource.
1756
+ # Corresponds to the JSON property `uri`
1757
+ # @return [String]
1758
+ attr_accessor :uri
1759
+
1760
+ # The VPC network where this interconnect attachment is located.
1761
+ # Corresponds to the JSON property `vpcNetwork`
1762
+ # @return [String]
1763
+ attr_accessor :vpc_network
1764
+
1765
+ def initialize(**args)
1766
+ update!(**args)
1767
+ end
1768
+
1769
+ # Update properties of this object
1770
+ def update!(**args)
1771
+ @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
1772
+ @uri = args[:uri] if args.key?(:uri)
1773
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
1774
+ end
1775
+ end
1776
+
1777
+ # A route next hop that leads to a Router appliance instance.
1778
+ class NextHopRouterApplianceInstance
1779
+ include Google::Apis::Core::Hashable
1780
+
1781
+ # Indicates whether site-to-site data transfer is allowed for this Router
1782
+ # appliance instance resource. Data transfer is available only in [supported
1783
+ # locations](https://cloud.google.com/network-connectivity/docs/network-
1784
+ # connectivity-center/concepts/locations).
1785
+ # Corresponds to the JSON property `siteToSiteDataTransfer`
1786
+ # @return [Boolean]
1787
+ attr_accessor :site_to_site_data_transfer
1788
+ alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
1789
+
1790
+ # The URI of the Router appliance instance.
1791
+ # Corresponds to the JSON property `uri`
1792
+ # @return [String]
1793
+ attr_accessor :uri
1794
+
1795
+ # The VPC network where this VM is located.
1796
+ # Corresponds to the JSON property `vpcNetwork`
1797
+ # @return [String]
1798
+ attr_accessor :vpc_network
1799
+
1800
+ def initialize(**args)
1801
+ update!(**args)
1802
+ end
1803
+
1804
+ # Update properties of this object
1805
+ def update!(**args)
1806
+ @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
1807
+ @uri = args[:uri] if args.key?(:uri)
1808
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
1809
+ end
1810
+ end
1811
+
1812
+ # A route next hop that leads to a VPN tunnel resource.
1813
+ class NextHopVpnTunnel
1814
+ include Google::Apis::Core::Hashable
1815
+
1816
+ # Indicates whether site-to-site data transfer is allowed for this VPN tunnel
1817
+ # resource. Data transfer is available only in [supported locations](https://
1818
+ # cloud.google.com/network-connectivity/docs/network-connectivity-center/
1819
+ # concepts/locations).
1820
+ # Corresponds to the JSON property `siteToSiteDataTransfer`
1821
+ # @return [Boolean]
1822
+ attr_accessor :site_to_site_data_transfer
1823
+ alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
1824
+
1825
+ # The URI of the VPN tunnel resource.
1826
+ # Corresponds to the JSON property `uri`
1827
+ # @return [String]
1828
+ attr_accessor :uri
1829
+
1830
+ # The VPC network where this VPN tunnel is located.
1831
+ # Corresponds to the JSON property `vpcNetwork`
1832
+ # @return [String]
1833
+ attr_accessor :vpc_network
1834
+
1835
+ def initialize(**args)
1836
+ update!(**args)
1837
+ end
1838
+
1839
+ # Update properties of this object
1840
+ def update!(**args)
1841
+ @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
1842
+ @uri = args[:uri] if args.key?(:uri)
1843
+ @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
1844
+ end
1845
+ end
1846
+
1728
1847
  #
1729
1848
  class NextHopVpcNetwork
1730
1849
  include Google::Apis::Core::Hashable
@@ -1900,8 +2019,8 @@ module Google
1900
2019
 
1901
2020
  # Policy-based routes route L4 network traffic based on not just destination IP
1902
2021
  # 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.
2022
+ # route conflicts with other types of routes, the policy-based route always
2023
+ # takes precedence.
1905
2024
  class PolicyBasedRoute
1906
2025
  include Google::Apis::Core::Hashable
1907
2026
 
@@ -1980,7 +2099,7 @@ module Google
1980
2099
  # @return [String]
1981
2100
  attr_accessor :update_time
1982
2101
 
1983
- # VM instances to which this policy-based route applies to.
2102
+ # VM instances that this policy-based route applies to.
1984
2103
  # Corresponds to the JSON property `virtualMachine`
1985
2104
  # @return [Google::Apis::NetworkconnectivityV1::VirtualMachine]
1986
2105
  attr_accessor :virtual_machine
@@ -2357,11 +2476,33 @@ module Google
2357
2476
  # @return [String]
2358
2477
  attr_accessor :name
2359
2478
 
2479
+ # A route next hop that leads to an interconnect attachment resource.
2480
+ # Corresponds to the JSON property `nextHopInterconnectAttachment`
2481
+ # @return [Google::Apis::NetworkconnectivityV1::NextHopInterconnectAttachment]
2482
+ attr_accessor :next_hop_interconnect_attachment
2483
+
2484
+ # A route next hop that leads to a Router appliance instance.
2485
+ # Corresponds to the JSON property `nextHopRouterApplianceInstance`
2486
+ # @return [Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance]
2487
+ attr_accessor :next_hop_router_appliance_instance
2488
+
2360
2489
  # Immutable. The destination VPC network for packets on this route.
2361
2490
  # Corresponds to the JSON property `nextHopVpcNetwork`
2362
2491
  # @return [Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork]
2363
2492
  attr_accessor :next_hop_vpc_network
2364
2493
 
2494
+ # A route next hop that leads to a VPN tunnel resource.
2495
+ # Corresponds to the JSON property `nextHopVpnTunnel`
2496
+ # @return [Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel]
2497
+ attr_accessor :next_hop_vpn_tunnel
2498
+
2499
+ # Output only. The priority of this route. Priority is used to break ties in
2500
+ # cases where a destination matches more than one route. In these cases the
2501
+ # route with the lowest-numbered priority value wins.
2502
+ # Corresponds to the JSON property `priority`
2503
+ # @return [Fixnum]
2504
+ attr_accessor :priority
2505
+
2365
2506
  # Immutable. The spoke that this route leads to. Example: projects/12345/
2366
2507
  # locations/global/spokes/SPOKE
2367
2508
  # Corresponds to the JSON property `spoke`
@@ -2404,7 +2545,11 @@ module Google
2404
2545
  @labels = args[:labels] if args.key?(:labels)
2405
2546
  @location = args[:location] if args.key?(:location)
2406
2547
  @name = args[:name] if args.key?(:name)
2548
+ @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
2549
+ @next_hop_router_appliance_instance = args[:next_hop_router_appliance_instance] if args.key?(:next_hop_router_appliance_instance)
2407
2550
  @next_hop_vpc_network = args[:next_hop_vpc_network] if args.key?(:next_hop_vpc_network)
2551
+ @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
2552
+ @priority = args[:priority] if args.key?(:priority)
2408
2553
  @spoke = args[:spoke] if args.key?(:spoke)
2409
2554
  @state = args[:state] if args.key?(:state)
2410
2555
  @type = args[:type] if args.key?(:type)
@@ -3215,12 +3360,12 @@ module Google
3215
3360
  end
3216
3361
  end
3217
3362
 
3218
- # VM instances to which this policy-based route applies to.
3363
+ # VM instances that this policy-based route applies to.
3219
3364
  class VirtualMachine
3220
3365
  include Google::Apis::Core::Hashable
3221
3366
 
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.
3367
+ # Optional. A list of VM instance tags that this policy-based route applies to.
3368
+ # VM instances that have ANY of tags specified here installs this PBR.
3224
3369
  # Corresponds to the JSON property `tags`
3225
3370
  # @return [Array<String>]
3226
3371
  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.43.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 = "20240529"
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
@@ -675,6 +694,7 @@ module Google
675
694
  # @private
676
695
  class Representation < Google::Apis::Core::JsonRepresentation
677
696
  collection :exclude_export_ranges, as: 'excludeExportRanges'
697
+ collection :include_export_ranges, as: 'includeExportRanges'
678
698
  property :uri, as: 'uri'
679
699
  end
680
700
  end
@@ -845,6 +865,33 @@ module Google
845
865
  end
846
866
  end
847
867
 
868
+ class NextHopInterconnectAttachment
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
872
+ property :uri, as: 'uri'
873
+ property :vpc_network, as: 'vpcNetwork'
874
+ end
875
+ end
876
+
877
+ class NextHopRouterApplianceInstance
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
881
+ property :uri, as: 'uri'
882
+ property :vpc_network, as: 'vpcNetwork'
883
+ end
884
+ end
885
+
886
+ class NextHopVpnTunnel
887
+ # @private
888
+ class Representation < Google::Apis::Core::JsonRepresentation
889
+ property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
890
+ property :uri, as: 'uri'
891
+ property :vpc_network, as: 'vpcNetwork'
892
+ end
893
+ end
894
+
848
895
  class NextHopVpcNetwork
849
896
  # @private
850
897
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -980,8 +1027,15 @@ module Google
980
1027
  hash :labels, as: 'labels'
981
1028
  property :location, as: 'location'
982
1029
  property :name, as: 'name'
1030
+ property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment', class: Google::Apis::NetworkconnectivityV1::NextHopInterconnectAttachment, decorator: Google::Apis::NetworkconnectivityV1::NextHopInterconnectAttachment::Representation
1031
+
1032
+ property :next_hop_router_appliance_instance, as: 'nextHopRouterApplianceInstance', class: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance, decorator: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance::Representation
1033
+
983
1034
  property :next_hop_vpc_network, as: 'nextHopVpcNetwork', class: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork::Representation
984
1035
 
1036
+ property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel', class: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel::Representation
1037
+
1038
+ property :priority, :numeric_string => true, as: 'priority'
985
1039
  property :spoke, as: 'spoke'
986
1040
  property :state, as: 'state'
987
1041
  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.43.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-16 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.43.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: []