google-apis-gkeonprem_v1 0.2.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd84659bba3fc8c83cf5e948443b7a3dda4d040da52243a646074357852dc0b5
|
4
|
+
data.tar.gz: cb8f06f5dda6afdcc2d9eb2d7afb2cc8138834716ba4a5661682ecc3030f55e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1009fe2da788f30cf843f974bbf575582a57ecf6bc16cc794123dc659a880903038baac5bb8f4121f45b306acd98a22893a40deb8ef077e891ed7737dd493d4
|
7
|
+
data.tar.gz: 26bc79909c32eb7d81f7f4bb30b50b2002c0d5218661b30c3f6ed8733aa7b5f5bb0452f80a22489ab282ef5675b8b05ece05424a46263d865397bb8421d7168c
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Release history for google-apis-gkeonprem_v1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.3.0 (2023-05-28)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20230517
|
6
|
+
|
7
|
+
### v0.2.0 (2023-05-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230507
|
6
10
|
|
7
11
|
### v0.1.0 (2023-04-30)
|
8
12
|
|
@@ -27,10 +27,10 @@ module Google
|
|
27
27
|
class Authorization
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
-
# Required. For VMware
|
31
|
-
#
|
32
|
-
# to the cluster. For bare metal
|
33
|
-
# role, which
|
30
|
+
# Required. For VMware and bare metal user clusters, users will be granted the
|
31
|
+
# cluster-admin role on the cluster, which provides full administrative access
|
32
|
+
# to the cluster. For bare metal admin clusters, users will be granted the
|
33
|
+
# cluster-view role, which limits users to read-only access.
|
34
34
|
# Corresponds to the JSON property `adminUsers`
|
35
35
|
# @return [Array<Google::Apis::GkeonpremV1::ClusterUser>]
|
36
36
|
attr_accessor :admin_users
|
@@ -1215,7 +1215,7 @@ module Google
|
|
1215
1215
|
end
|
1216
1216
|
end
|
1217
1217
|
|
1218
|
-
# KubeletConfig defines the modifiable kubelet configurations for
|
1218
|
+
# KubeletConfig defines the modifiable kubelet configurations for bare metal
|
1219
1219
|
# machines. Note: this list includes fields supported in GKE (see https://cloud.
|
1220
1220
|
# google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).
|
1221
1221
|
class BareMetalKubeletConfig
|
@@ -1739,7 +1739,7 @@ module Google
|
|
1739
1739
|
class BareMetalNodePoolConfig
|
1740
1740
|
include Google::Apis::Core::Hashable
|
1741
1741
|
|
1742
|
-
# KubeletConfig defines the modifiable kubelet configurations for
|
1742
|
+
# KubeletConfig defines the modifiable kubelet configurations for bare metal
|
1743
1743
|
# machines. Note: this list includes fields supported in GKE (see https://cloud.
|
1744
1744
|
# google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).
|
1745
1745
|
# Corresponds to the JSON property `kubeletConfig`
|
@@ -2133,16 +2133,6 @@ module Google
|
|
2133
2133
|
# @return [String]
|
2134
2134
|
attr_accessor :bare_metal_admin_cluster_id
|
2135
2135
|
|
2136
|
-
# The object name of the bare metal OnPremAdminCluster custom resource on the
|
2137
|
-
# associated admin cluster. This field is used to support conflicting resource
|
2138
|
-
# names when enrolling existing clusters to the API. When not provided, this
|
2139
|
-
# field will resolve to the bare_metal_admin_cluster_id. Otherwise, it must
|
2140
|
-
# match the object name of the bare metal OnPremAdminCluster custom resource. It
|
2141
|
-
# is not modifiable outside / beyond the enrollment operation.
|
2142
|
-
# Corresponds to the JSON property `localName`
|
2143
|
-
# @return [String]
|
2144
|
-
attr_accessor :local_name
|
2145
|
-
|
2146
2136
|
# Required. This is the full resource name of this admin cluster's fleet
|
2147
2137
|
# membership.
|
2148
2138
|
# Corresponds to the JSON property `membership`
|
@@ -2156,7 +2146,6 @@ module Google
|
|
2156
2146
|
# Update properties of this object
|
2157
2147
|
def update!(**args)
|
2158
2148
|
@bare_metal_admin_cluster_id = args[:bare_metal_admin_cluster_id] if args.key?(:bare_metal_admin_cluster_id)
|
2159
|
-
@local_name = args[:local_name] if args.key?(:local_name)
|
2160
2149
|
@membership = args[:membership] if args.key?(:membership)
|
2161
2150
|
end
|
2162
2151
|
end
|
@@ -2232,19 +2221,38 @@ module Google
|
|
2232
2221
|
end
|
2233
2222
|
end
|
2234
2223
|
|
2235
|
-
# Message for enrolling an existing
|
2236
|
-
|
2224
|
+
# Message for enrolling an existing bare metal standalone node pool to the GKE
|
2225
|
+
# on-prem API.
|
2226
|
+
class EnrollBareMetalStandaloneNodePoolRequest
|
2237
2227
|
include Google::Apis::Core::Hashable
|
2238
2228
|
|
2239
|
-
#
|
2240
|
-
#
|
2241
|
-
#
|
2242
|
-
#
|
2243
|
-
# the object name of the VMware OnPremAdminCluster custom resource. It is not
|
2244
|
-
# modifiable outside / beyond the enrollment operation.
|
2245
|
-
# Corresponds to the JSON property `localName`
|
2229
|
+
# User provided OnePlatform identifier that is used as part of the resource name.
|
2230
|
+
# This value must be up to 40 characters and follow RFC-1123 (https://tools.
|
2231
|
+
# ietf.org/html/rfc1123) format.
|
2232
|
+
# Corresponds to the JSON property `bareMetalStandaloneNodePoolId`
|
2246
2233
|
# @return [String]
|
2247
|
-
attr_accessor :
|
2234
|
+
attr_accessor :bare_metal_standalone_node_pool_id
|
2235
|
+
|
2236
|
+
# If set, only validate the request, but do not actually enroll the node pool.
|
2237
|
+
# Corresponds to the JSON property `validateOnly`
|
2238
|
+
# @return [Boolean]
|
2239
|
+
attr_accessor :validate_only
|
2240
|
+
alias_method :validate_only?, :validate_only
|
2241
|
+
|
2242
|
+
def initialize(**args)
|
2243
|
+
update!(**args)
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
# Update properties of this object
|
2247
|
+
def update!(**args)
|
2248
|
+
@bare_metal_standalone_node_pool_id = args[:bare_metal_standalone_node_pool_id] if args.key?(:bare_metal_standalone_node_pool_id)
|
2249
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# Message for enrolling an existing VMware admin cluster to the GKE on-prem API.
|
2254
|
+
class EnrollVmwareAdminClusterRequest
|
2255
|
+
include Google::Apis::Core::Hashable
|
2248
2256
|
|
2249
2257
|
# Required. This is the full resource name of this admin cluster's fleet
|
2250
2258
|
# membership.
|
@@ -2267,7 +2275,6 @@ module Google
|
|
2267
2275
|
|
2268
2276
|
# Update properties of this object
|
2269
2277
|
def update!(**args)
|
2270
|
-
@local_name = args[:local_name] if args.key?(:local_name)
|
2271
2278
|
@membership = args[:membership] if args.key?(:membership)
|
2272
2279
|
@vmware_admin_cluster_id = args[:vmware_admin_cluster_id] if args.key?(:vmware_admin_cluster_id)
|
2273
2280
|
end
|
@@ -2818,6 +2825,14 @@ module Google
|
|
2818
2825
|
# @return [String]
|
2819
2826
|
attr_accessor :api_version
|
2820
2827
|
|
2828
|
+
# Output only. Denotes if the local managing cluster's control plane is
|
2829
|
+
# currently disconnected. This is expected to occur temporarily during self-
|
2830
|
+
# managed cluster upgrades.
|
2831
|
+
# Corresponds to the JSON property `controlPlaneDisconnected`
|
2832
|
+
# @return [Boolean]
|
2833
|
+
attr_accessor :control_plane_disconnected
|
2834
|
+
alias_method :control_plane_disconnected?, :control_plane_disconnected
|
2835
|
+
|
2821
2836
|
# Output only. The time the operation was created.
|
2822
2837
|
# Corresponds to the JSON property `createTime`
|
2823
2838
|
# @return [String]
|
@@ -2864,6 +2879,7 @@ module Google
|
|
2864
2879
|
# Update properties of this object
|
2865
2880
|
def update!(**args)
|
2866
2881
|
@api_version = args[:api_version] if args.key?(:api_version)
|
2882
|
+
@control_plane_disconnected = args[:control_plane_disconnected] if args.key?(:control_plane_disconnected)
|
2867
2883
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2868
2884
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2869
2885
|
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
@@ -4080,8 +4096,7 @@ module Google
|
|
4080
4096
|
# @return [Google::Apis::GkeonpremV1::VmwareNetworkConfig]
|
4081
4097
|
attr_accessor :network_config
|
4082
4098
|
|
4083
|
-
# The Anthos clusters on the VMware version for your user cluster.
|
4084
|
-
# the admin cluster version.
|
4099
|
+
# Required. The Anthos clusters on the VMware version for your user cluster.
|
4085
4100
|
# Corresponds to the JSON property `onPremVersion`
|
4086
4101
|
# @return [String]
|
4087
4102
|
attr_accessor :on_prem_version
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -418,6 +418,12 @@ module Google
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
420
|
|
421
|
+
class EnrollBareMetalStandaloneNodePoolRequest
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
421
427
|
class EnrollVmwareAdminClusterRequest
|
422
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
429
|
|
@@ -1468,7 +1474,6 @@ module Google
|
|
1468
1474
|
# @private
|
1469
1475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1470
1476
|
property :bare_metal_admin_cluster_id, as: 'bareMetalAdminClusterId'
|
1471
|
-
property :local_name, as: 'localName'
|
1472
1477
|
property :membership, as: 'membership'
|
1473
1478
|
end
|
1474
1479
|
end
|
@@ -1490,10 +1495,17 @@ module Google
|
|
1490
1495
|
end
|
1491
1496
|
end
|
1492
1497
|
|
1498
|
+
class EnrollBareMetalStandaloneNodePoolRequest
|
1499
|
+
# @private
|
1500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1501
|
+
property :bare_metal_standalone_node_pool_id, as: 'bareMetalStandaloneNodePoolId'
|
1502
|
+
property :validate_only, as: 'validateOnly'
|
1503
|
+
end
|
1504
|
+
end
|
1505
|
+
|
1493
1506
|
class EnrollVmwareAdminClusterRequest
|
1494
1507
|
# @private
|
1495
1508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1496
|
-
property :local_name, as: 'localName'
|
1497
1509
|
property :membership, as: 'membership'
|
1498
1510
|
property :vmware_admin_cluster_id, as: 'vmwareAdminClusterId'
|
1499
1511
|
end
|
@@ -1647,6 +1659,7 @@ module Google
|
|
1647
1659
|
# @private
|
1648
1660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1649
1661
|
property :api_version, as: 'apiVersion'
|
1662
|
+
property :control_plane_disconnected, as: 'controlPlaneDisconnected'
|
1650
1663
|
property :create_time, as: 'createTime'
|
1651
1664
|
property :end_time, as: 'endTime'
|
1652
1665
|
property :requested_cancellation, as: 'requestedCancellation'
|
@@ -210,6 +210,11 @@ module Google
|
|
210
210
|
# Required. Name of the bare metal admin cluster to get. Format: "projects/`
|
211
211
|
# project`/locations/`location`/bareMetalAdminClusters/`bare_metal_admin_cluster`
|
212
212
|
# "
|
213
|
+
# @param [String] view
|
214
|
+
# View for bare metal admin cluster. When `BASIC` is specified, only the cluster
|
215
|
+
# resource name and membership are returned. The default/unset value `
|
216
|
+
# CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete
|
217
|
+
# cluster configuration details.
|
213
218
|
# @param [String] fields
|
214
219
|
# Selector specifying which fields to include in a partial response.
|
215
220
|
# @param [String] quota_user
|
@@ -227,11 +232,12 @@ module Google
|
|
227
232
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
228
233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
|
-
def get_project_location_bare_metal_admin_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
|
235
|
+
def get_project_location_bare_metal_admin_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
231
236
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
232
237
|
command.response_representation = Google::Apis::GkeonpremV1::BareMetalAdminCluster::Representation
|
233
238
|
command.response_class = Google::Apis::GkeonpremV1::BareMetalAdminCluster
|
234
239
|
command.params['name'] = name unless name.nil?
|
240
|
+
command.query['view'] = view unless view.nil?
|
235
241
|
command.query['fields'] = fields unless fields.nil?
|
236
242
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
237
243
|
execute_or_queue_command(command, &block)
|
@@ -740,6 +746,11 @@ module Google
|
|
740
746
|
# @param [String] name
|
741
747
|
# Required. Name of the bare metal user cluster to get. Format: "projects/`
|
742
748
|
# project`/locations/`location`/bareMetalClusters/`bare_metal_cluster`"
|
749
|
+
# @param [String] view
|
750
|
+
# View for bare metal user cluster. When `BASIC` is specified, only the cluster
|
751
|
+
# resource name and admin cluster membership are returned. The default/unset
|
752
|
+
# value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the
|
753
|
+
# complete cluster configuration details.
|
743
754
|
# @param [String] fields
|
744
755
|
# Selector specifying which fields to include in a partial response.
|
745
756
|
# @param [String] quota_user
|
@@ -757,11 +768,12 @@ module Google
|
|
757
768
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
758
769
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
759
770
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
760
|
-
def get_project_location_bare_metal_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
|
771
|
+
def get_project_location_bare_metal_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
761
772
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
762
773
|
command.response_representation = Google::Apis::GkeonpremV1::BareMetalCluster::Representation
|
763
774
|
command.response_class = Google::Apis::GkeonpremV1::BareMetalCluster
|
764
775
|
command.params['name'] = name unless name.nil?
|
776
|
+
command.query['view'] = view unless view.nil?
|
765
777
|
command.query['fields'] = fields unless fields.nil?
|
766
778
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
767
779
|
execute_or_queue_command(command, &block)
|
@@ -1220,6 +1232,11 @@ module Google
|
|
1220
1232
|
# @param [String] name
|
1221
1233
|
# Required. The name of the node pool to retrieve. projects/`project`/locations/`
|
1222
1234
|
# location`/bareMetalClusters/`cluster`/bareMetalNodePools/`nodepool`
|
1235
|
+
# @param [String] view
|
1236
|
+
# View for bare metal node pool. When `BASIC` is specified, only the node pool
|
1237
|
+
# resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED`
|
1238
|
+
# is the same as `FULL', which returns the complete node pool configuration
|
1239
|
+
# details.
|
1223
1240
|
# @param [String] fields
|
1224
1241
|
# Selector specifying which fields to include in a partial response.
|
1225
1242
|
# @param [String] quota_user
|
@@ -1237,11 +1254,12 @@ module Google
|
|
1237
1254
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1238
1255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1239
1256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1240
|
-
def get_project_location_bare_metal_cluster_bare_metal_node_pool(name, fields: nil, quota_user: nil, options: nil, &block)
|
1257
|
+
def get_project_location_bare_metal_cluster_bare_metal_node_pool(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1241
1258
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1242
1259
|
command.response_representation = Google::Apis::GkeonpremV1::BareMetalNodePool::Representation
|
1243
1260
|
command.response_class = Google::Apis::GkeonpremV1::BareMetalNodePool
|
1244
1261
|
command.params['name'] = name unless name.nil?
|
1262
|
+
command.query['view'] = view unless view.nil?
|
1245
1263
|
command.query['fields'] = fields unless fields.nil?
|
1246
1264
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1247
1265
|
execute_or_queue_command(command, &block)
|
@@ -1306,6 +1324,11 @@ module Google
|
|
1306
1324
|
# this to retrieve the subsequent page. When paginating, all other parameters
|
1307
1325
|
# provided to `ListBareMetalNodePools` must match the call that provided the
|
1308
1326
|
# page token.
|
1327
|
+
# @param [String] view
|
1328
|
+
# View for bare metal node pools. When `BASIC` is specified, only the node pool
|
1329
|
+
# resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED`
|
1330
|
+
# is the same as `FULL', which returns the complete node pool configuration
|
1331
|
+
# details.
|
1309
1332
|
# @param [String] fields
|
1310
1333
|
# Selector specifying which fields to include in a partial response.
|
1311
1334
|
# @param [String] quota_user
|
@@ -1323,13 +1346,14 @@ module Google
|
|
1323
1346
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1324
1347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1325
1348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1326
|
-
def list_project_location_bare_metal_cluster_bare_metal_node_pools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1349
|
+
def list_project_location_bare_metal_cluster_bare_metal_node_pools(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1327
1350
|
command = make_simple_command(:get, 'v1/{+parent}/bareMetalNodePools', options)
|
1328
1351
|
command.response_representation = Google::Apis::GkeonpremV1::ListBareMetalNodePoolsResponse::Representation
|
1329
1352
|
command.response_class = Google::Apis::GkeonpremV1::ListBareMetalNodePoolsResponse
|
1330
1353
|
command.params['parent'] = parent unless parent.nil?
|
1331
1354
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1332
1355
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1356
|
+
command.query['view'] = view unless view.nil?
|
1333
1357
|
command.query['fields'] = fields unless fields.nil?
|
1334
1358
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1335
1359
|
execute_or_queue_command(command, &block)
|
@@ -1339,6 +1363,11 @@ module Google
|
|
1339
1363
|
# @param [String] name
|
1340
1364
|
# Immutable. The bare metal node pool resource name.
|
1341
1365
|
# @param [Google::Apis::GkeonpremV1::BareMetalNodePool] bare_metal_node_pool_object
|
1366
|
+
# @param [Boolean] allow_missing
|
1367
|
+
# If set to true, and the bare metal node pool is not found, the request will
|
1368
|
+
# create a new bare metal node pool with the provided configuration. The user
|
1369
|
+
# must have both create and update permission to call Update with allow_missing
|
1370
|
+
# set to true.
|
1342
1371
|
# @param [String] update_mask
|
1343
1372
|
# Required. Field mask is used to specify the fields to be overwritten in the
|
1344
1373
|
# BareMetalNodePool resource by the update. The fields specified in the
|
@@ -1365,13 +1394,14 @@ module Google
|
|
1365
1394
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1366
1395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1367
1396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1368
|
-
def patch_project_location_bare_metal_cluster_bare_metal_node_pool(name, bare_metal_node_pool_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1397
|
+
def patch_project_location_bare_metal_cluster_bare_metal_node_pool(name, bare_metal_node_pool_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1369
1398
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1370
1399
|
command.request_representation = Google::Apis::GkeonpremV1::BareMetalNodePool::Representation
|
1371
1400
|
command.request_object = bare_metal_node_pool_object
|
1372
1401
|
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
1373
1402
|
command.response_class = Google::Apis::GkeonpremV1::Operation
|
1374
1403
|
command.params['name'] = name unless name.nil?
|
1404
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1375
1405
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1376
1406
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1377
1407
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1640,6 +1670,43 @@ module Google
|
|
1640
1670
|
execute_or_queue_command(command, &block)
|
1641
1671
|
end
|
1642
1672
|
|
1673
|
+
# Enrolls an existing bare metal standalone node pool to the Anthos On-Prem API
|
1674
|
+
# within a given project and location. Through enrollment, an existing
|
1675
|
+
# standalone node pool will become Anthos On-Prem API managed. The corresponding
|
1676
|
+
# GCP resources will be created.
|
1677
|
+
# @param [String] parent
|
1678
|
+
# Required. The parent resource where this node pool will be created. projects/`
|
1679
|
+
# project`/locations/`location`/bareMetalStandaloneClusters/`cluster`
|
1680
|
+
# @param [Google::Apis::GkeonpremV1::EnrollBareMetalStandaloneNodePoolRequest] enroll_bare_metal_standalone_node_pool_request_object
|
1681
|
+
# @param [String] fields
|
1682
|
+
# Selector specifying which fields to include in a partial response.
|
1683
|
+
# @param [String] quota_user
|
1684
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1685
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1686
|
+
# @param [Google::Apis::RequestOptions] options
|
1687
|
+
# Request-specific options
|
1688
|
+
#
|
1689
|
+
# @yield [result, err] Result & error if block supplied
|
1690
|
+
# @yieldparam result [Google::Apis::GkeonpremV1::Operation] parsed result object
|
1691
|
+
# @yieldparam err [StandardError] error object if request failed
|
1692
|
+
#
|
1693
|
+
# @return [Google::Apis::GkeonpremV1::Operation]
|
1694
|
+
#
|
1695
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1696
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1697
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1698
|
+
def enroll_bare_metal_standalone_node_pool(parent, enroll_bare_metal_standalone_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1699
|
+
command = make_simple_command(:post, 'v1/{+parent}/bareMetalStandaloneNodePools:enroll', options)
|
1700
|
+
command.request_representation = Google::Apis::GkeonpremV1::EnrollBareMetalStandaloneNodePoolRequest::Representation
|
1701
|
+
command.request_object = enroll_bare_metal_standalone_node_pool_request_object
|
1702
|
+
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
1703
|
+
command.response_class = Google::Apis::GkeonpremV1::Operation
|
1704
|
+
command.params['parent'] = parent unless parent.nil?
|
1705
|
+
command.query['fields'] = fields unless fields.nil?
|
1706
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1707
|
+
execute_or_queue_command(command, &block)
|
1708
|
+
end
|
1709
|
+
|
1643
1710
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1644
1711
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1645
1712
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1826,6 +1893,11 @@ module Google
|
|
1826
1893
|
# @param [String] name
|
1827
1894
|
# Required. Name of the VMware admin cluster to be returned. Format: "projects/`
|
1828
1895
|
# project`/locations/`location`/vmwareAdminClusters/`vmware_admin_cluster`"
|
1896
|
+
# @param [String] view
|
1897
|
+
# View for VMware admin cluster. When `BASIC` is specified, only the cluster
|
1898
|
+
# resource name and membership are returned. The default/unset value `
|
1899
|
+
# CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete
|
1900
|
+
# cluster configuration details.
|
1829
1901
|
# @param [String] fields
|
1830
1902
|
# Selector specifying which fields to include in a partial response.
|
1831
1903
|
# @param [String] quota_user
|
@@ -1843,11 +1915,12 @@ module Google
|
|
1843
1915
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1844
1916
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1845
1917
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1846
|
-
def get_project_location_vmware_admin_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
|
1918
|
+
def get_project_location_vmware_admin_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1847
1919
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1848
1920
|
command.response_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
|
1849
1921
|
command.response_class = Google::Apis::GkeonpremV1::VmwareAdminCluster
|
1850
1922
|
command.params['name'] = name unless name.nil?
|
1923
|
+
command.query['view'] = view unless view.nil?
|
1851
1924
|
command.query['fields'] = fields unless fields.nil?
|
1852
1925
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1853
1926
|
execute_or_queue_command(command, &block)
|
@@ -2181,7 +2254,7 @@ module Google
|
|
2181
2254
|
execute_or_queue_command(command, &block)
|
2182
2255
|
end
|
2183
2256
|
|
2184
|
-
# Creates a new VMware cluster in a given project and location.
|
2257
|
+
# Creates a new VMware user cluster in a given project and location.
|
2185
2258
|
# @param [String] parent
|
2186
2259
|
# Required. The parent of the project and location where this cluster is created
|
2187
2260
|
# in. Format: "projects/`project`/locations/`location`"
|
@@ -2319,6 +2392,11 @@ module Google
|
|
2319
2392
|
# @param [String] name
|
2320
2393
|
# Required. Name of the VMware user cluster to be returned. Format: "projects/`
|
2321
2394
|
# project`/locations/`location`/vmwareClusters/`vmware_cluster`"
|
2395
|
+
# @param [String] view
|
2396
|
+
# View for VMware user cluster. When `BASIC` is specified, only the cluster
|
2397
|
+
# resource name and admin cluster membership are returned. The default/unset
|
2398
|
+
# value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the
|
2399
|
+
# complete cluster configuration details.
|
2322
2400
|
# @param [String] fields
|
2323
2401
|
# Selector specifying which fields to include in a partial response.
|
2324
2402
|
# @param [String] quota_user
|
@@ -2336,11 +2414,12 @@ module Google
|
|
2336
2414
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2337
2415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2338
2416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2339
|
-
def get_project_location_vmware_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
|
2417
|
+
def get_project_location_vmware_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2340
2418
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
2341
2419
|
command.response_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
|
2342
2420
|
command.response_class = Google::Apis::GkeonpremV1::VmwareCluster
|
2343
2421
|
command.params['name'] = name unless name.nil?
|
2422
|
+
command.query['view'] = view unless view.nil?
|
2344
2423
|
command.query['fields'] = fields unless fields.nil?
|
2345
2424
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2346
2425
|
execute_or_queue_command(command, &block)
|
@@ -2860,6 +2939,11 @@ module Google
|
|
2860
2939
|
# @param [String] name
|
2861
2940
|
# Required. The name of the node pool to retrieve. projects/`project`/locations/`
|
2862
2941
|
# location`/vmwareClusters/`cluster`/vmwareNodePools/`nodepool`
|
2942
|
+
# @param [String] view
|
2943
|
+
# View for VMware node pool. When `BASIC` is specified, only the node pool
|
2944
|
+
# resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED`
|
2945
|
+
# is the same as `FULL', which returns the complete node pool configuration
|
2946
|
+
# details.
|
2863
2947
|
# @param [String] fields
|
2864
2948
|
# Selector specifying which fields to include in a partial response.
|
2865
2949
|
# @param [String] quota_user
|
@@ -2877,11 +2961,12 @@ module Google
|
|
2877
2961
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2878
2962
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2879
2963
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2880
|
-
def get_project_location_vmware_cluster_vmware_node_pool(name, fields: nil, quota_user: nil, options: nil, &block)
|
2964
|
+
def get_project_location_vmware_cluster_vmware_node_pool(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2881
2965
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
2882
2966
|
command.response_representation = Google::Apis::GkeonpremV1::VmwareNodePool::Representation
|
2883
2967
|
command.response_class = Google::Apis::GkeonpremV1::VmwareNodePool
|
2884
2968
|
command.params['name'] = name unless name.nil?
|
2969
|
+
command.query['view'] = view unless view.nil?
|
2885
2970
|
command.query['fields'] = fields unless fields.nil?
|
2886
2971
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2887
2972
|
execute_or_queue_command(command, &block)
|
@@ -2945,6 +3030,11 @@ module Google
|
|
2945
3030
|
# this to retrieve the subsequent page. When paginating, all other parameters
|
2946
3031
|
# provided to `ListVmwareNodePools` must match the call that provided the page
|
2947
3032
|
# token.
|
3033
|
+
# @param [String] view
|
3034
|
+
# View for VMware node pools. When `BASIC` is specified, only the node pool
|
3035
|
+
# resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED`
|
3036
|
+
# is the same as `FULL', which returns the complete node pool configuration
|
3037
|
+
# details.
|
2948
3038
|
# @param [String] fields
|
2949
3039
|
# Selector specifying which fields to include in a partial response.
|
2950
3040
|
# @param [String] quota_user
|
@@ -2962,13 +3052,14 @@ module Google
|
|
2962
3052
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2963
3053
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2964
3054
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2965
|
-
def list_project_location_vmware_cluster_vmware_node_pools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3055
|
+
def list_project_location_vmware_cluster_vmware_node_pools(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2966
3056
|
command = make_simple_command(:get, 'v1/{+parent}/vmwareNodePools', options)
|
2967
3057
|
command.response_representation = Google::Apis::GkeonpremV1::ListVmwareNodePoolsResponse::Representation
|
2968
3058
|
command.response_class = Google::Apis::GkeonpremV1::ListVmwareNodePoolsResponse
|
2969
3059
|
command.params['parent'] = parent unless parent.nil?
|
2970
3060
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2971
3061
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3062
|
+
command.query['view'] = view unless view.nil?
|
2972
3063
|
command.query['fields'] = fields unless fields.nil?
|
2973
3064
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2974
3065
|
execute_or_queue_command(command, &block)
|
@@ -3098,6 +3189,9 @@ module Google
|
|
3098
3189
|
# @param [String] name
|
3099
3190
|
# Required. The name of the node pool to unenroll. Format: projects/`project`/
|
3100
3191
|
# locations/`location`/vmwareClusters/`cluster`/vmwareNodePools/`nodepool`
|
3192
|
+
# @param [Boolean] allow_missing
|
3193
|
+
# If set to true, and the VMware node pool is not found, the request will
|
3194
|
+
# succeed but no action will be taken on the server and return a completed LRO.
|
3101
3195
|
# @param [String] etag
|
3102
3196
|
# The current etag of the VMware node pool. If an etag is provided and does not
|
3103
3197
|
# match the current etag of node pool, deletion will be blocked and an ABORTED
|
@@ -3121,11 +3215,12 @@ module Google
|
|
3121
3215
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3122
3216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3123
3217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3124
|
-
def unenroll_project_location_vmware_cluster_vmware_node_pool(name, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3218
|
+
def unenroll_project_location_vmware_cluster_vmware_node_pool(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3125
3219
|
command = make_simple_command(:delete, 'v1/{+name}:unenroll', options)
|
3126
3220
|
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
3127
3221
|
command.response_class = Google::Apis::GkeonpremV1::Operation
|
3128
3222
|
command.params['name'] = name unless name.nil?
|
3223
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
3129
3224
|
command.query['etag'] = etag unless etag.nil?
|
3130
3225
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
3131
3226
|
command.query['fields'] = fields unless fields.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkeonprem_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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: 2023-05-
|
11
|
+
date: 2023-05-28 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-gkeonprem_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.3.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|