google-apis-gkeonprem_v1 0.34.0 → 0.35.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: df67d176ad02875110b8b33b25fa01fe535d9d7b6a23fcaad967558642ed8f45
4
- data.tar.gz: 8074565a70b0fde3c2c4670d0a8b655c1b1c0deafc1d88d1c93cf2925772cc67
3
+ metadata.gz: 9e0d67fb0f838659df7f89ca2f671f57c3acbdac86101fcff075576a97481c04
4
+ data.tar.gz: 3fb691e2ecb2f9fa703a954a845e3e40a8a9aaeaec61d894b01cb4ae4fa2ee42
5
5
  SHA512:
6
- metadata.gz: b632b844a7733679990c0024cf6a42a9283776bdea584173d7cec19a4c8ded3c8151e47a1a96bb80d0db6b3970221c55b4f15402e7398932eb9d3fd2bbb7da84
7
- data.tar.gz: b3fc0bc55a400d366fd01d8f31135ccfbe45344357f15d60ca22fb6301b978e556ab3aa1717bd03cbad7f70d0f30e11a2c95362ffe051ad956ae024002c50f0a
6
+ metadata.gz: 2a0fccb4e9c4196d691368312f7caf17edb367ee40076a1127fe711d727c0fc0004def728e788e0df34fbfb151b930916a5ed58f50e2c622df17139c172309ac
7
+ data.tar.gz: a09dfad9e98883e3e0cf458dd1abfe4b27a0cff4f96a9b9f8bd344a719ae906203e5b125242582e3376f888e19ddcbc033d7a37dcff9e6c723422b6aaf8341c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.35.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251105
6
+
3
7
  ### v0.34.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251022
@@ -75,6 +75,87 @@ module Google
75
75
  end
76
76
  end
77
77
 
78
+ # BareMetalAdminBgpLbConfig represents configuration parameters for a Border
79
+ # Gateway Protocol (BGP) load balancer.
80
+ class BareMetalAdminBgpLbConfig
81
+ include Google::Apis::Core::Hashable
82
+
83
+ # Required. AddressPools is a list of non-overlapping IP pools used by load
84
+ # balancer typed services. All addresses must be routable to load balancer nodes.
85
+ # IngressVIP must be included in the pools.
86
+ # Corresponds to the JSON property `addressPools`
87
+ # @return [Array<Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerAddressPool>]
88
+ attr_accessor :address_pools
89
+
90
+ # Required. BGP autonomous system number (ASN) of the cluster. This field can be
91
+ # updated after cluster creation.
92
+ # Corresponds to the JSON property `asn`
93
+ # @return [Fixnum]
94
+ attr_accessor :asn
95
+
96
+ # Required. The list of BGP peers that the cluster will connect to. At least one
97
+ # peer must be configured for each control plane node. Control plane nodes will
98
+ # connect to these peers to advertise the control plane VIP. The Services load
99
+ # balancer also uses these peers by default. This field can be updated after
100
+ # cluster creation.
101
+ # Corresponds to the JSON property `bgpPeerConfigs`
102
+ # @return [Array<Google::Apis::GkeonpremV1::BareMetalAdminBgpPeerConfig>]
103
+ attr_accessor :bgp_peer_configs
104
+
105
+ # Specifies the load balancer's node pool configuration.
106
+ # Corresponds to the JSON property `loadBalancerNodePoolConfig`
107
+ # @return [Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerNodePoolConfig]
108
+ attr_accessor :load_balancer_node_pool_config
109
+
110
+ def initialize(**args)
111
+ update!(**args)
112
+ end
113
+
114
+ # Update properties of this object
115
+ def update!(**args)
116
+ @address_pools = args[:address_pools] if args.key?(:address_pools)
117
+ @asn = args[:asn] if args.key?(:asn)
118
+ @bgp_peer_configs = args[:bgp_peer_configs] if args.key?(:bgp_peer_configs)
119
+ @load_balancer_node_pool_config = args[:load_balancer_node_pool_config] if args.key?(:load_balancer_node_pool_config)
120
+ end
121
+ end
122
+
123
+ # BareMetalAdminBgpPeerConfig represents configuration parameters for a Border
124
+ # Gateway Protocol (BGP) peer.
125
+ class BareMetalAdminBgpPeerConfig
126
+ include Google::Apis::Core::Hashable
127
+
128
+ # Required. BGP autonomous system number (ASN) for the network that contains the
129
+ # external peer device.
130
+ # Corresponds to the JSON property `asn`
131
+ # @return [Fixnum]
132
+ attr_accessor :asn
133
+
134
+ # The IP address of the control plane node that connects to the external peer.
135
+ # If you don't specify any control plane nodes, all control plane nodes can
136
+ # connect to the external peer. If you specify one or more IP addresses, only
137
+ # the nodes specified participate in peering sessions.
138
+ # Corresponds to the JSON property `controlPlaneNodes`
139
+ # @return [Array<String>]
140
+ attr_accessor :control_plane_nodes
141
+
142
+ # Required. The IP address of the external peer device.
143
+ # Corresponds to the JSON property `ipAddress`
144
+ # @return [String]
145
+ attr_accessor :ip_address
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @asn = args[:asn] if args.key?(:asn)
154
+ @control_plane_nodes = args[:control_plane_nodes] if args.key?(:control_plane_nodes)
155
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
156
+ end
157
+ end
158
+
78
159
  # Resource that represents a bare metal admin cluster.
79
160
  class BareMetalAdminCluster
80
161
  include Google::Apis::Core::Hashable
@@ -435,10 +516,57 @@ module Google
435
516
  end
436
517
  end
437
518
 
519
+ # Represents an IP pool used by the load balancer.
520
+ class BareMetalAdminLoadBalancerAddressPool
521
+ include Google::Apis::Core::Hashable
522
+
523
+ # Required. The addresses that are part of this pool. Each address must be
524
+ # either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5).
525
+ # Corresponds to the JSON property `addresses`
526
+ # @return [Array<String>]
527
+ attr_accessor :addresses
528
+
529
+ # If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer
530
+ # devices mistakenly dropping IPv4 traffic for those special IP addresses.
531
+ # Corresponds to the JSON property `avoidBuggyIps`
532
+ # @return [Boolean]
533
+ attr_accessor :avoid_buggy_ips
534
+ alias_method :avoid_buggy_ips?, :avoid_buggy_ips
535
+
536
+ # If true, prevent IP addresses from being automatically assigned.
537
+ # Corresponds to the JSON property `manualAssign`
538
+ # @return [Boolean]
539
+ attr_accessor :manual_assign
540
+ alias_method :manual_assign?, :manual_assign
541
+
542
+ # Required. The name of the address pool.
543
+ # Corresponds to the JSON property `pool`
544
+ # @return [String]
545
+ attr_accessor :pool
546
+
547
+ def initialize(**args)
548
+ update!(**args)
549
+ end
550
+
551
+ # Update properties of this object
552
+ def update!(**args)
553
+ @addresses = args[:addresses] if args.key?(:addresses)
554
+ @avoid_buggy_ips = args[:avoid_buggy_ips] if args.key?(:avoid_buggy_ips)
555
+ @manual_assign = args[:manual_assign] if args.key?(:manual_assign)
556
+ @pool = args[:pool] if args.key?(:pool)
557
+ end
558
+ end
559
+
438
560
  # BareMetalAdminLoadBalancerConfig specifies the load balancer configuration.
439
561
  class BareMetalAdminLoadBalancerConfig
440
562
  include Google::Apis::Core::Hashable
441
563
 
564
+ # BareMetalAdminBgpLbConfig represents configuration parameters for a Border
565
+ # Gateway Protocol (BGP) load balancer.
566
+ # Corresponds to the JSON property `bgpLbConfig`
567
+ # @return [Google::Apis::GkeonpremV1::BareMetalAdminBgpLbConfig]
568
+ attr_accessor :bgp_lb_config
569
+
442
570
  # BareMetalAdminManualLbConfig represents configuration parameters for a manual
443
571
  # load balancer.
444
572
  # Corresponds to the JSON property `manualLbConfig`
@@ -461,12 +589,33 @@ module Google
461
589
 
462
590
  # Update properties of this object
463
591
  def update!(**args)
592
+ @bgp_lb_config = args[:bgp_lb_config] if args.key?(:bgp_lb_config)
464
593
  @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
465
594
  @port_config = args[:port_config] if args.key?(:port_config)
466
595
  @vip_config = args[:vip_config] if args.key?(:vip_config)
467
596
  end
468
597
  end
469
598
 
599
+ # Specifies the load balancer's node pool configuration.
600
+ class BareMetalAdminLoadBalancerNodePoolConfig
601
+ include Google::Apis::Core::Hashable
602
+
603
+ # BareMetalNodePoolConfig describes the configuration of all nodes within a
604
+ # given bare metal node pool.
605
+ # Corresponds to the JSON property `nodePoolConfig`
606
+ # @return [Google::Apis::GkeonpremV1::BareMetalNodePoolConfig]
607
+ attr_accessor :node_pool_config
608
+
609
+ def initialize(**args)
610
+ update!(**args)
611
+ end
612
+
613
+ # Update properties of this object
614
+ def update!(**args)
615
+ @node_pool_config = args[:node_pool_config] if args.key?(:node_pool_config)
616
+ end
617
+ end
618
+
470
619
  # BareMetalAdminMachineDrainStatus represents the status of bare metal node
471
620
  # machines that are undergoing drain operations.
472
621
  class BareMetalAdminMachineDrainStatus
@@ -558,23 +707,59 @@ module Google
558
707
  end
559
708
  end
560
709
 
710
+ # Specifies the multiple networking interfaces cluster configuration.
711
+ class BareMetalAdminMultipleNetworkInterfacesConfig
712
+ include Google::Apis::Core::Hashable
713
+
714
+ # Whether to enable multiple network interfaces for your pods. When set
715
+ # network_config.advanced_networking is automatically set to true.
716
+ # Corresponds to the JSON property `enabled`
717
+ # @return [Boolean]
718
+ attr_accessor :enabled
719
+ alias_method :enabled?, :enabled
720
+
721
+ def initialize(**args)
722
+ update!(**args)
723
+ end
724
+
725
+ # Update properties of this object
726
+ def update!(**args)
727
+ @enabled = args[:enabled] if args.key?(:enabled)
728
+ end
729
+ end
730
+
561
731
  # BareMetalAdminNetworkConfig specifies the cluster network configuration.
562
732
  class BareMetalAdminNetworkConfig
563
733
  include Google::Apis::Core::Hashable
564
734
 
735
+ # Enables the use of advanced Anthos networking features, such as Bundled Load
736
+ # Balancing with BGP or the egress NAT gateway. Setting configuration for
737
+ # advanced networking features will automatically set this flag.
738
+ # Corresponds to the JSON property `advancedNetworking`
739
+ # @return [Boolean]
740
+ attr_accessor :advanced_networking
741
+ alias_method :advanced_networking?, :advanced_networking
742
+
565
743
  # BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration
566
744
  # while running in island mode.
567
745
  # Corresponds to the JSON property `islandModeCidr`
568
746
  # @return [Google::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig]
569
747
  attr_accessor :island_mode_cidr
570
748
 
749
+ # Specifies the multiple networking interfaces cluster configuration.
750
+ # Corresponds to the JSON property `multipleNetworkInterfacesConfig`
751
+ # @return [Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig]
752
+ attr_accessor :multiple_network_interfaces_config
753
+
571
754
  def initialize(**args)
572
755
  update!(**args)
573
756
  end
574
757
 
575
758
  # Update properties of this object
576
759
  def update!(**args)
760
+ @advanced_networking = args[:advanced_networking] if args.key?(:advanced_networking)
577
761
  @island_mode_cidr = args[:island_mode_cidr] if args.key?(:island_mode_cidr)
762
+ @multiple_network_interfaces_config = args[:multiple_network_interfaces_config] if args.key?(:multiple_network_interfaces_config)
578
763
  end
579
764
  end
580
765
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkeonpremV1
18
18
  # Version of the google-apis-gkeonprem_v1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251022"
25
+ REVISION = "20251105"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BareMetalAdminBgpLbConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BareMetalAdminBgpPeerConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class BareMetalAdminCluster
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -76,12 +88,24 @@ module Google
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class BareMetalAdminLoadBalancerAddressPool
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class BareMetalAdminLoadBalancerConfig
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
103
+ class BareMetalAdminLoadBalancerNodePoolConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
85
109
  class BareMetalAdminMachineDrainStatus
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
@@ -106,6 +130,12 @@ module Google
106
130
  include Google::Apis::Core::JsonObjectSupport
107
131
  end
108
132
 
133
+ class BareMetalAdminMultipleNetworkInterfacesConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
109
139
  class BareMetalAdminNetworkConfig
110
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
141
 
@@ -962,6 +992,28 @@ module Google
962
992
  end
963
993
  end
964
994
 
995
+ class BareMetalAdminBgpLbConfig
996
+ # @private
997
+ class Representation < Google::Apis::Core::JsonRepresentation
998
+ collection :address_pools, as: 'addressPools', class: Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerAddressPool, decorator: Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerAddressPool::Representation
999
+
1000
+ property :asn, :numeric_string => true, as: 'asn'
1001
+ collection :bgp_peer_configs, as: 'bgpPeerConfigs', class: Google::Apis::GkeonpremV1::BareMetalAdminBgpPeerConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminBgpPeerConfig::Representation
1002
+
1003
+ property :load_balancer_node_pool_config, as: 'loadBalancerNodePoolConfig', class: Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerNodePoolConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerNodePoolConfig::Representation
1004
+
1005
+ end
1006
+ end
1007
+
1008
+ class BareMetalAdminBgpPeerConfig
1009
+ # @private
1010
+ class Representation < Google::Apis::Core::JsonRepresentation
1011
+ property :asn, :numeric_string => true, as: 'asn'
1012
+ collection :control_plane_nodes, as: 'controlPlaneNodes'
1013
+ property :ip_address, as: 'ipAddress'
1014
+ end
1015
+ end
1016
+
965
1017
  class BareMetalAdminCluster
966
1018
  # @private
967
1019
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1061,9 +1113,21 @@ module Google
1061
1113
  end
1062
1114
  end
1063
1115
 
1116
+ class BareMetalAdminLoadBalancerAddressPool
1117
+ # @private
1118
+ class Representation < Google::Apis::Core::JsonRepresentation
1119
+ collection :addresses, as: 'addresses'
1120
+ property :avoid_buggy_ips, as: 'avoidBuggyIps'
1121
+ property :manual_assign, as: 'manualAssign'
1122
+ property :pool, as: 'pool'
1123
+ end
1124
+ end
1125
+
1064
1126
  class BareMetalAdminLoadBalancerConfig
1065
1127
  # @private
1066
1128
  class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :bgp_lb_config, as: 'bgpLbConfig', class: Google::Apis::GkeonpremV1::BareMetalAdminBgpLbConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminBgpLbConfig::Representation
1130
+
1067
1131
  property :manual_lb_config, as: 'manualLbConfig', class: Google::Apis::GkeonpremV1::BareMetalAdminManualLbConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminManualLbConfig::Representation
1068
1132
 
1069
1133
  property :port_config, as: 'portConfig', class: Google::Apis::GkeonpremV1::BareMetalAdminPortConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminPortConfig::Representation
@@ -1073,6 +1137,14 @@ module Google
1073
1137
  end
1074
1138
  end
1075
1139
 
1140
+ class BareMetalAdminLoadBalancerNodePoolConfig
1141
+ # @private
1142
+ class Representation < Google::Apis::Core::JsonRepresentation
1143
+ property :node_pool_config, as: 'nodePoolConfig', class: Google::Apis::GkeonpremV1::BareMetalNodePoolConfig, decorator: Google::Apis::GkeonpremV1::BareMetalNodePoolConfig::Representation
1144
+
1145
+ end
1146
+ end
1147
+
1076
1148
  class BareMetalAdminMachineDrainStatus
1077
1149
  # @private
1078
1150
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1105,11 +1177,21 @@ module Google
1105
1177
  end
1106
1178
  end
1107
1179
 
1180
+ class BareMetalAdminMultipleNetworkInterfacesConfig
1181
+ # @private
1182
+ class Representation < Google::Apis::Core::JsonRepresentation
1183
+ property :enabled, as: 'enabled'
1184
+ end
1185
+ end
1186
+
1108
1187
  class BareMetalAdminNetworkConfig
1109
1188
  # @private
1110
1189
  class Representation < Google::Apis::Core::JsonRepresentation
1190
+ property :advanced_networking, as: 'advancedNetworking'
1111
1191
  property :island_mode_cidr, as: 'islandModeCidr', class: Google::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig::Representation
1112
1192
 
1193
+ property :multiple_network_interfaces_config, as: 'multipleNetworkInterfacesConfig', class: Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig, decorator: Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig::Representation
1194
+
1113
1195
  end
1114
1196
  end
1115
1197
 
@@ -1899,6 +1899,8 @@ module Google
1899
1899
  # in RMS when the creation fails during standalone preflight checks. In that
1900
1900
  # case the subsequent create call will fail with "cluster already exists" error
1901
1901
  # and hence a update cluster is required to fix the cluster.
1902
+ # @param [Array<String>, String] skip_validations
1903
+ # Optional. If set, skip the specified validations.
1902
1904
  # @param [Boolean] validate_only
1903
1905
  # Validate the request without actually doing any updates.
1904
1906
  # @param [String] vmware_admin_cluster_id
@@ -1922,7 +1924,7 @@ module Google
1922
1924
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1923
1925
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1924
1926
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1925
- def create_project_location_vmware_admin_cluster(parent, vmware_admin_cluster_object = nil, allow_preflight_failure: nil, validate_only: nil, vmware_admin_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1927
+ def create_project_location_vmware_admin_cluster(parent, vmware_admin_cluster_object = nil, allow_preflight_failure: nil, skip_validations: nil, validate_only: nil, vmware_admin_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1926
1928
  command = make_simple_command(:post, 'v1/{+parent}/vmwareAdminClusters', options)
1927
1929
  command.request_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
1928
1930
  command.request_object = vmware_admin_cluster_object
@@ -1930,6 +1932,7 @@ module Google
1930
1932
  command.response_class = Google::Apis::GkeonpremV1::Operation
1931
1933
  command.params['parent'] = parent unless parent.nil?
1932
1934
  command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
1935
+ command.query['skipValidations'] = skip_validations unless skip_validations.nil?
1933
1936
  command.query['validateOnly'] = validate_only unless validate_only.nil?
1934
1937
  command.query['vmwareAdminClusterId'] = vmware_admin_cluster_id unless vmware_admin_cluster_id.nil?
1935
1938
  command.query['fields'] = fields unless fields.nil?
@@ -2114,6 +2117,8 @@ module Google
2114
2117
  # @param [String] name
2115
2118
  # Immutable. The VMware admin cluster resource name.
2116
2119
  # @param [Google::Apis::GkeonpremV1::VmwareAdminCluster] vmware_admin_cluster_object
2120
+ # @param [Array<String>, String] skip_validations
2121
+ # Optional. If set, the server-side preflight checks will be skipped.
2117
2122
  # @param [String] update_mask
2118
2123
  # Required. Field mask is used to specify the fields to be overwritten in the
2119
2124
  # VMwareAdminCluster resource by the update. The fields specified in the
@@ -2140,13 +2145,14 @@ module Google
2140
2145
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2141
2146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2142
2147
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2143
- def patch_project_location_vmware_admin_cluster(name, vmware_admin_cluster_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2148
+ def patch_project_location_vmware_admin_cluster(name, vmware_admin_cluster_object = nil, skip_validations: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2144
2149
  command = make_simple_command(:patch, 'v1/{+name}', options)
2145
2150
  command.request_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
2146
2151
  command.request_object = vmware_admin_cluster_object
2147
2152
  command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
2148
2153
  command.response_class = Google::Apis::GkeonpremV1::Operation
2149
2154
  command.params['name'] = name unless name.nil?
2155
+ command.query['skipValidations'] = skip_validations unless skip_validations.nil?
2150
2156
  command.query['updateMask'] = update_mask unless update_mask.nil?
2151
2157
  command.query['validateOnly'] = validate_only unless validate_only.nil?
2152
2158
  command.query['fields'] = fields unless fields.nil?
@@ -2374,6 +2380,8 @@ module Google
2374
2380
  # in RMS when the creation fails during standalone preflight checks. In that
2375
2381
  # case the subsequent create call will fail with "cluster already exists" error
2376
2382
  # and hence a update cluster is required to fix the cluster.
2383
+ # @param [Array<String>, String] skip_validations
2384
+ # Optional. List of validations to skip during cluster creation.
2377
2385
  # @param [Boolean] validate_only
2378
2386
  # Validate the request without actually doing any updates.
2379
2387
  # @param [String] vmware_cluster_id
@@ -2397,7 +2405,7 @@ module Google
2397
2405
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2398
2406
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2399
2407
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2400
- def create_project_location_vmware_cluster(parent, vmware_cluster_object = nil, allow_preflight_failure: nil, validate_only: nil, vmware_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2408
+ def create_project_location_vmware_cluster(parent, vmware_cluster_object = nil, allow_preflight_failure: nil, skip_validations: nil, validate_only: nil, vmware_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2401
2409
  command = make_simple_command(:post, 'v1/{+parent}/vmwareClusters', options)
2402
2410
  command.request_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
2403
2411
  command.request_object = vmware_cluster_object
@@ -2405,6 +2413,7 @@ module Google
2405
2413
  command.response_class = Google::Apis::GkeonpremV1::Operation
2406
2414
  command.params['parent'] = parent unless parent.nil?
2407
2415
  command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
2416
+ command.query['skipValidations'] = skip_validations unless skip_validations.nil?
2408
2417
  command.query['validateOnly'] = validate_only unless validate_only.nil?
2409
2418
  command.query['vmwareClusterId'] = vmware_cluster_id unless vmware_cluster_id.nil?
2410
2419
  command.query['fields'] = fields unless fields.nil?
@@ -2647,6 +2656,7 @@ module Google
2647
2656
  # @param [String] name
2648
2657
  # Immutable. The VMware user cluster resource name.
2649
2658
  # @param [Google::Apis::GkeonpremV1::VmwareCluster] vmware_cluster_object
2659
+ # @param [Array<String>, String] skip_validations
2650
2660
  # @param [String] update_mask
2651
2661
  # Required. Field mask is used to specify the fields to be overwritten in the
2652
2662
  # VMwareCluster resource by the update. The fields specified in the update_mask
@@ -2673,13 +2683,14 @@ module Google
2673
2683
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2674
2684
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2675
2685
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2676
- def patch_project_location_vmware_cluster(name, vmware_cluster_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2686
+ def patch_project_location_vmware_cluster(name, vmware_cluster_object = nil, skip_validations: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2677
2687
  command = make_simple_command(:patch, 'v1/{+name}', options)
2678
2688
  command.request_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
2679
2689
  command.request_object = vmware_cluster_object
2680
2690
  command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
2681
2691
  command.response_class = Google::Apis::GkeonpremV1::Operation
2682
2692
  command.params['name'] = name unless name.nil?
2693
+ command.query['skipValidations'] = skip_validations unless skip_validations.nil?
2683
2694
  command.query['updateMask'] = update_mask unless update_mask.nil?
2684
2695
  command.query['validateOnly'] = validate_only unless validate_only.nil?
2685
2696
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkeonprem_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.34.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.35.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1
62
62
  rdoc_options: []
63
63
  require_paths: