google-apis-networkconnectivity_v1 0.40.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: 98faf7dfb26c98c780fe27093be21e67fc3e854a844aa7a741a54b55856f6c46
4
- data.tar.gz: 3fda9bd8bd7d8178653570c98fa24d7acd62113949d54cf5a827e71505d097d3
3
+ metadata.gz: 86238777fa2cab6e97a5853cca943334decdaa277fc025506611a9a2cd2f9574
4
+ data.tar.gz: de7b45622779ea828eefd04684230adf70d5e46ca5519e5d7e490a6e4a140ea0
5
5
  SHA512:
6
- metadata.gz: 8dcd43882b9584efc1b2c95b778c52cb1f9ccaeb35a2fcdb28c8f73f2705adbf111ac61ceaddb612b431509c4640ceb3f30a853dbca24ae8202b3a256067ba4f
7
- data.tar.gz: 11bb2cb1f6e17137eafcf16c3a68d4f7b1ba56bdcd4aefdac36d688d7d42ce4b07f3f5fc556769382e1ea45a50f24d87b512ccb6c679deef36a293c7f3ced355
6
+ metadata.gz: 80544c612b0497c6a4548e8c40ba9cd2ac841606ca2c9f3d986adc2385410532e514ab83f26baf2d0e529d1316de3d7b8475524430787aa56968d3794c2fdf2a
7
+ data.tar.gz: 23b2f858f0c86a4ce057b612b85df1fe008f19546acd39b055e676a8332331a5172c396ba4d5435430e5fb264fb2cf38abc124cc1b07b6c3cd7d5c9f3d942b57
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
7
+ ### v0.41.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240506
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.40.0 (2024-04-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240423
@@ -151,6 +151,32 @@ module Google
151
151
  end
152
152
  end
153
153
 
154
+ # The auto-accept setting for a group controls whether proposed spokes are
155
+ # automatically attached to the hub. If auto-accept is enabled, the spoke
156
+ # immediately is attached to the hub and becomes part of the group. In this case,
157
+ # the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke
158
+ # goes to the INACTIVE state, and it must be reviewed and accepted by a hub
159
+ # administrator.
160
+ class AutoAccept
161
+ include Google::Apis::Core::Hashable
162
+
163
+ # A list of project ids or project numbers for which you want to enable auto-
164
+ # accept. The auto-accept setting is applied to spokes being created or updated
165
+ # in these projects.
166
+ # Corresponds to the JSON property `autoAcceptProjects`
167
+ # @return [Array<String>]
168
+ attr_accessor :auto_accept_projects
169
+
170
+ def initialize(**args)
171
+ update!(**args)
172
+ end
173
+
174
+ # Update properties of this object
175
+ def update!(**args)
176
+ @auto_accept_projects = args[:auto_accept_projects] if args.key?(:auto_accept_projects)
177
+ end
178
+ end
179
+
154
180
  # Associates `members`, or principals, with a `role`.
155
181
  class Binding
156
182
  include Google::Apis::Core::Hashable
@@ -281,6 +307,13 @@ module Google
281
307
  # @return [String]
282
308
  attr_accessor :project
283
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
+
284
317
  # Output only. Overall state of PSC Connections management for this consumer psc
285
318
  # config.
286
319
  # Corresponds to the JSON property `state`
@@ -297,6 +330,7 @@ module Google
297
330
  @network = args[:network] if args.key?(:network)
298
331
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
299
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)
300
334
  @state = args[:state] if args.key?(:state)
301
335
  end
302
336
  end
@@ -500,7 +534,7 @@ module Google
500
534
  attr_accessor :ip_protocol
501
535
 
502
536
  # Required. Internet protocol versions this policy-based route applies to. For
503
- # this version, only IPV4 is supported.
537
+ # this version, only IPV4 is supported. IPV6 is supported in preview.
504
538
  # Corresponds to the JSON property `protocolVersion`
505
539
  # @return [String]
506
540
  attr_accessor :protocol_version
@@ -719,6 +753,16 @@ module Google
719
753
  class Group
720
754
  include Google::Apis::Core::Hashable
721
755
 
756
+ # The auto-accept setting for a group controls whether proposed spokes are
757
+ # automatically attached to the hub. If auto-accept is enabled, the spoke
758
+ # immediately is attached to the hub and becomes part of the group. In this case,
759
+ # the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke
760
+ # goes to the INACTIVE state, and it must be reviewed and accepted by a hub
761
+ # administrator.
762
+ # Corresponds to the JSON property `autoAccept`
763
+ # @return [Google::Apis::NetworkconnectivityV1::AutoAccept]
764
+ attr_accessor :auto_accept
765
+
722
766
  # Output only. The time the group was created.
723
767
  # Corresponds to the JSON property `createTime`
724
768
  # @return [String]
@@ -743,6 +787,13 @@ module Google
743
787
  # @return [String]
744
788
  attr_accessor :name
745
789
 
790
+ # Output only. The name of the route table that corresponds to this group. They
791
+ # use the following form: `projects/`project_number`/locations/global/hubs/`
792
+ # hub_id`/routeTables/`route_table_id``
793
+ # Corresponds to the JSON property `routeTable`
794
+ # @return [String]
795
+ attr_accessor :route_table
796
+
746
797
  # Output only. The current lifecycle state of this group.
747
798
  # Corresponds to the JSON property `state`
748
799
  # @return [String]
@@ -766,10 +817,12 @@ module Google
766
817
 
767
818
  # Update properties of this object
768
819
  def update!(**args)
820
+ @auto_accept = args[:auto_accept] if args.key?(:auto_accept)
769
821
  @create_time = args[:create_time] if args.key?(:create_time)
770
822
  @description = args[:description] if args.key?(:description)
771
823
  @labels = args[:labels] if args.key?(:labels)
772
824
  @name = args[:name] if args.key?(:name)
825
+ @route_table = args[:route_table] if args.key?(:route_table)
773
826
  @state = args[:state] if args.key?(:state)
774
827
  @uid = args[:uid] if args.key?(:uid)
775
828
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -795,6 +848,15 @@ module Google
795
848
  # @return [String]
796
849
  attr_accessor :description
797
850
 
851
+ # Optional. Whether Private Service Connect transitivity is enabled for the hub.
852
+ # If true, Private Service Connect endpoints in VPC spokes attached to the hub
853
+ # are made accessible to other VPC spokes attached to the hub. The default value
854
+ # is false.
855
+ # Corresponds to the JSON property `exportPsc`
856
+ # @return [Boolean]
857
+ attr_accessor :export_psc
858
+ alias_method :export_psc?, :export_psc
859
+
798
860
  # Optional labels in key-value pair format. For more information about labels,
799
861
  # see [Requirements for labels](https://cloud.google.com/resource-manager/docs/
800
862
  # creating-managing-labels#requirements).
@@ -808,6 +870,21 @@ module Google
808
870
  # @return [String]
809
871
  attr_accessor :name
810
872
 
873
+ # Optional. The policy mode of this hub. This field can be either PRESET or
874
+ # CUSTOM. If unspecified, the policy_mode defaults to PRESET.
875
+ # Corresponds to the JSON property `policyMode`
876
+ # @return [String]
877
+ attr_accessor :policy_mode
878
+
879
+ # Optional. The topology implemented in this hub. Currently, this field is only
880
+ # used when policy_mode = PRESET. The available preset topologies are MESH and
881
+ # STAR. If preset_topology is unspecified and policy_mode = PRESET, the
882
+ # preset_topology defaults to MESH. When policy_mode = CUSTOM, the
883
+ # preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.
884
+ # Corresponds to the JSON property `presetTopology`
885
+ # @return [String]
886
+ attr_accessor :preset_topology
887
+
811
888
  # Output only. The route tables that belong to this hub. They use the following
812
889
  # form: `projects/`project_number`/locations/global/hubs/`hub_id`/routeTables/`
813
890
  # route_table_id`` This field is read-only. Network Connectivity Center
@@ -856,8 +933,11 @@ module Google
856
933
  def update!(**args)
857
934
  @create_time = args[:create_time] if args.key?(:create_time)
858
935
  @description = args[:description] if args.key?(:description)
936
+ @export_psc = args[:export_psc] if args.key?(:export_psc)
859
937
  @labels = args[:labels] if args.key?(:labels)
860
938
  @name = args[:name] if args.key?(:name)
939
+ @policy_mode = args[:policy_mode] if args.key?(:policy_mode)
940
+ @preset_topology = args[:preset_topology] if args.key?(:preset_topology)
861
941
  @route_tables = args[:route_tables] if args.key?(:route_tables)
862
942
  @routing_vpcs = args[:routing_vpcs] if args.key?(:routing_vpcs)
863
943
  @spoke_summary = args[:spoke_summary] if args.key?(:spoke_summary)
@@ -1653,6 +1733,111 @@ module Google
1653
1733
  end
1654
1734
  end
1655
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
+
1656
1841
  #
1657
1842
  class NextHopVpcNetwork
1658
1843
  include Google::Apis::Core::Hashable
@@ -1828,8 +2013,8 @@ module Google
1828
2013
 
1829
2014
  # Policy-based routes route L4 network traffic based on not just destination IP
1830
2015
  # address, but also source IP address, protocol, and more. If a policy-based
1831
- # route conflicts with other types of routes, the policy-based route always take
1832
- # precedence.
2016
+ # route conflicts with other types of routes, the policy-based route always
2017
+ # takes precedence.
1833
2018
  class PolicyBasedRoute
1834
2019
  include Google::Apis::Core::Hashable
1835
2020
 
@@ -1908,7 +2093,7 @@ module Google
1908
2093
  # @return [String]
1909
2094
  attr_accessor :update_time
1910
2095
 
1911
- # VM instances to which this policy-based route applies to.
2096
+ # VM instances that this policy-based route applies to.
1912
2097
  # Corresponds to the JSON property `virtualMachine`
1913
2098
  # @return [Google::Apis::NetworkconnectivityV1::VirtualMachine]
1914
2099
  attr_accessor :virtual_machine
@@ -2285,11 +2470,33 @@ module Google
2285
2470
  # @return [String]
2286
2471
  attr_accessor :name
2287
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
+
2288
2483
  # Immutable. The destination VPC network for packets on this route.
2289
2484
  # Corresponds to the JSON property `nextHopVpcNetwork`
2290
2485
  # @return [Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork]
2291
2486
  attr_accessor :next_hop_vpc_network
2292
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
+
2293
2500
  # Immutable. The spoke that this route leads to. Example: projects/12345/
2294
2501
  # locations/global/spokes/SPOKE
2295
2502
  # Corresponds to the JSON property `spoke`
@@ -2332,7 +2539,11 @@ module Google
2332
2539
  @labels = args[:labels] if args.key?(:labels)
2333
2540
  @location = args[:location] if args.key?(:location)
2334
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)
2335
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)
2336
2547
  @spoke = args[:spoke] if args.key?(:spoke)
2337
2548
  @state = args[:state] if args.key?(:state)
2338
2549
  @type = args[:type] if args.key?(:type)
@@ -3143,12 +3354,12 @@ module Google
3143
3354
  end
3144
3355
  end
3145
3356
 
3146
- # VM instances to which this policy-based route applies to.
3357
+ # VM instances that this policy-based route applies to.
3147
3358
  class VirtualMachine
3148
3359
  include Google::Apis::Core::Hashable
3149
3360
 
3150
- # Optional. A list of VM instance tags the this policy-based route applies to.
3151
- # 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.
3152
3363
  # Corresponds to the JSON property `tags`
3153
3364
  # @return [Array<String>]
3154
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.40.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240423"
25
+ REVISION = "20240523"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AutoAccept
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Binding
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -256,6 +262,24 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
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
+
259
283
  class NextHopVpcNetwork
260
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
285
 
@@ -463,6 +487,13 @@ module Google
463
487
  end
464
488
  end
465
489
 
490
+ class AutoAccept
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ collection :auto_accept_projects, as: 'autoAcceptProjects'
494
+ end
495
+ end
496
+
466
497
  class Binding
467
498
  # @private
468
499
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -480,6 +511,7 @@ module Google
480
511
  property :network, as: 'network'
481
512
  property :producer_instance_id, as: 'producerInstanceId'
482
513
  property :project, as: 'project'
514
+ hash :service_attachment_ip_address_map, as: 'serviceAttachmentIpAddressMap'
483
515
  property :state, as: 'state'
484
516
  end
485
517
  end
@@ -579,10 +611,13 @@ module Google
579
611
  class Group
580
612
  # @private
581
613
  class Representation < Google::Apis::Core::JsonRepresentation
614
+ property :auto_accept, as: 'autoAccept', class: Google::Apis::NetworkconnectivityV1::AutoAccept, decorator: Google::Apis::NetworkconnectivityV1::AutoAccept::Representation
615
+
582
616
  property :create_time, as: 'createTime'
583
617
  property :description, as: 'description'
584
618
  hash :labels, as: 'labels'
585
619
  property :name, as: 'name'
620
+ property :route_table, as: 'routeTable'
586
621
  property :state, as: 'state'
587
622
  property :uid, as: 'uid'
588
623
  property :update_time, as: 'updateTime'
@@ -594,8 +629,11 @@ module Google
594
629
  class Representation < Google::Apis::Core::JsonRepresentation
595
630
  property :create_time, as: 'createTime'
596
631
  property :description, as: 'description'
632
+ property :export_psc, as: 'exportPsc'
597
633
  hash :labels, as: 'labels'
598
634
  property :name, as: 'name'
635
+ property :policy_mode, as: 'policyMode'
636
+ property :preset_topology, as: 'presetTopology'
599
637
  collection :route_tables, as: 'routeTables'
600
638
  collection :routing_vpcs, as: 'routingVpcs', class: Google::Apis::NetworkconnectivityV1::RoutingVpc, decorator: Google::Apis::NetworkconnectivityV1::RoutingVpc::Representation
601
639
 
@@ -826,6 +864,33 @@ module Google
826
864
  end
827
865
  end
828
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
+
829
894
  class NextHopVpcNetwork
830
895
  # @private
831
896
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -961,8 +1026,15 @@ module Google
961
1026
  hash :labels, as: 'labels'
962
1027
  property :location, as: 'location'
963
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
+
964
1033
  property :next_hop_vpc_network, as: 'nextHopVpcNetwork', class: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork::Representation
965
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'
966
1038
  property :spoke, as: 'spoke'
967
1039
  property :state, as: 'state'
968
1040
  property :type, as: 'type'
@@ -705,6 +705,61 @@ module Google
705
705
  execute_or_queue_command(command, &block)
706
706
  end
707
707
 
708
+ # Updates the parameters of a Network Connectivity Center group.
709
+ # @param [String] name
710
+ # Immutable. The name of the group. Group names must be unique. They use the
711
+ # following form: `projects/`project_number`/locations/global/hubs/`hub`/groups/`
712
+ # group_id``
713
+ # @param [Google::Apis::NetworkconnectivityV1::Group] group_object
714
+ # @param [String] request_id
715
+ # Optional. A request ID to identify requests. Specify a unique request ID so
716
+ # that if you must retry your request, the server knows to ignore the request if
717
+ # it has already been completed. The server guarantees that a request doesn't
718
+ # result in creation of duplicate commitments for at least 60 minutes. For
719
+ # example, consider a situation where you make an initial request and the
720
+ # request times out. If you make the request again with the same request ID, the
721
+ # server can check to see whether the original operation was received. If it was,
722
+ # the server ignores the second request. This behavior prevents clients from
723
+ # mistakenly creating duplicate commitments. The request ID must be a valid UUID,
724
+ # with the exception that zero UUID is not supported (00000000-0000-0000-0000-
725
+ # 000000000000).
726
+ # @param [String] update_mask
727
+ # Optional. In the case of an update to an existing group, field mask is used to
728
+ # specify the fields to be overwritten. The fields specified in the update_mask
729
+ # are relative to the resource, not the full request. A field is overwritten if
730
+ # it is in the mask. If the user does not provide a mask, then all fields are
731
+ # overwritten.
732
+ # @param [String] fields
733
+ # Selector specifying which fields to include in a partial response.
734
+ # @param [String] quota_user
735
+ # Available to use for quota purposes for server-side applications. Can be any
736
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
737
+ # @param [Google::Apis::RequestOptions] options
738
+ # Request-specific options
739
+ #
740
+ # @yield [result, err] Result & error if block supplied
741
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
742
+ # @yieldparam err [StandardError] error object if request failed
743
+ #
744
+ # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
745
+ #
746
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
747
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
748
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
749
+ def patch_project_location_global_hub_group(name, group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
750
+ command = make_simple_command(:patch, 'v1/{+name}', options)
751
+ command.request_representation = Google::Apis::NetworkconnectivityV1::Group::Representation
752
+ command.request_object = group_object
753
+ command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
754
+ command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
755
+ command.params['name'] = name unless name.nil?
756
+ command.query['requestId'] = request_id unless request_id.nil?
757
+ command.query['updateMask'] = update_mask unless update_mask.nil?
758
+ command.query['fields'] = fields unless fields.nil?
759
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
760
+ execute_or_queue_command(command, &block)
761
+ end
762
+
708
763
  # Sets the access control policy on the specified resource. Replaces any
709
764
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
710
765
  # PERMISSION_DENIED` errors.
@@ -933,15 +988,15 @@ module Google
933
988
  # Required. Unique id for the policy-based route to create.
934
989
  # @param [String] request_id
935
990
  # Optional. An optional request ID to identify requests. Specify a unique
936
- # request ID so that if you must retry your request, the server will know to
937
- # ignore the request if it has already been completed. The server will guarantee
938
- # that for at least 60 minutes since the first request. For example, consider a
939
- # situation where you make an initial request and the request times out. If you
940
- # make the request again with the same request ID, the server can check if
941
- # original operation with the same request ID was received, and if so, will
942
- # ignore the second request. This prevents clients from accidentally creating
943
- # duplicate commitments. The request ID must be a valid UUID with the exception
944
- # 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).
945
1000
  # @param [String] fields
946
1001
  # Selector specifying which fields to include in a partial response.
947
1002
  # @param [String] quota_user
@@ -978,15 +1033,15 @@ module Google
978
1033
  # Required. Name of the policy-based route resource to delete.
979
1034
  # @param [String] request_id
980
1035
  # Optional. An optional request ID to identify requests. Specify a unique
981
- # request ID so that if you must retry your request, the server will know to
982
- # ignore the request if it has already been completed. The server will guarantee
983
- # that for at least 60 minutes after the first request. For example, consider a
984
- # situation where you make an initial request and the request times out. If you
985
- # make the request again with the same request ID, the server can check if
986
- # original operation with the same request ID was received, and if so, will
987
- # ignore the second request. This prevents clients from accidentally creating
988
- # duplicate commitments. The request ID must be a valid UUID with the exception
989
- # 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).
990
1045
  # @param [String] fields
991
1046
  # Selector specifying which fields to include in a partial response.
992
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.40.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-04-28 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.40.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: []