google-apis-gkeonprem_v1 0.3.0 → 0.5.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: ac4c982a1de414f7100fc8e3f51b81f0b45189991bebea9a4a7c1af5e9e8e962
|
4
|
+
data.tar.gz: 2c7be7b4b77e58635ca80b39a2e1f37fcb229894af214d611c78fe5314ff46ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e429060adc0864ee759f3cc37dbd135754c34083ca656a18cdfc99dc20dc77640987020f1f26b9a9c3957eef08eb8ccead4db8097b4b6b93169f8bef05f0f9bb
|
7
|
+
data.tar.gz: 6bfcbcdedf4788561c85ce130842e73b62b33472fa7e88c4366247fc8a5bcbc57b990e12b40c8584e35c88712dee041e667e195215669d3358ec7068b7f81151
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkeonprem_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2023-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230620
|
6
|
+
|
7
|
+
### v0.4.0 (2023-06-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230607
|
10
|
+
|
3
11
|
### v0.3.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230517
|
@@ -1713,6 +1713,11 @@ module Google
|
|
1713
1713
|
# @return [String]
|
1714
1714
|
attr_accessor :update_time
|
1715
1715
|
|
1716
|
+
# BareMetalNodePoolUpgradePolicy defines the node pool upgrade policy.
|
1717
|
+
# Corresponds to the JSON property `upgradePolicy`
|
1718
|
+
# @return [Google::Apis::GkeonpremV1::BareMetalNodePoolUpgradePolicy]
|
1719
|
+
attr_accessor :upgrade_policy
|
1720
|
+
|
1716
1721
|
def initialize(**args)
|
1717
1722
|
update!(**args)
|
1718
1723
|
end
|
@@ -1731,6 +1736,7 @@ module Google
|
|
1731
1736
|
@status = args[:status] if args.key?(:status)
|
1732
1737
|
@uid = args[:uid] if args.key?(:uid)
|
1733
1738
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1739
|
+
@upgrade_policy = args[:upgrade_policy] if args.key?(:upgrade_policy)
|
1734
1740
|
end
|
1735
1741
|
end
|
1736
1742
|
|
@@ -1781,6 +1787,26 @@ module Google
|
|
1781
1787
|
end
|
1782
1788
|
end
|
1783
1789
|
|
1790
|
+
# BareMetalNodePoolUpgradePolicy defines the node pool upgrade policy.
|
1791
|
+
class BareMetalNodePoolUpgradePolicy
|
1792
|
+
include Google::Apis::Core::Hashable
|
1793
|
+
|
1794
|
+
# BareMetalParallelUpgradeConfig defines the parallel upgrade settings for
|
1795
|
+
# worker node pools.
|
1796
|
+
# Corresponds to the JSON property `parallelUpgradeConfig`
|
1797
|
+
# @return [Google::Apis::GkeonpremV1::BareMetalParallelUpgradeConfig]
|
1798
|
+
attr_accessor :parallel_upgrade_config
|
1799
|
+
|
1800
|
+
def initialize(**args)
|
1801
|
+
update!(**args)
|
1802
|
+
end
|
1803
|
+
|
1804
|
+
# Update properties of this object
|
1805
|
+
def update!(**args)
|
1806
|
+
@parallel_upgrade_config = args[:parallel_upgrade_config] if args.key?(:parallel_upgrade_config)
|
1807
|
+
end
|
1808
|
+
end
|
1809
|
+
|
1784
1810
|
# Specifies operating system settings for cluster provisioning.
|
1785
1811
|
class BareMetalOsEnvironmentConfig
|
1786
1812
|
include Google::Apis::Core::Hashable
|
@@ -1802,6 +1828,35 @@ module Google
|
|
1802
1828
|
end
|
1803
1829
|
end
|
1804
1830
|
|
1831
|
+
# BareMetalParallelUpgradeConfig defines the parallel upgrade settings for
|
1832
|
+
# worker node pools.
|
1833
|
+
class BareMetalParallelUpgradeConfig
|
1834
|
+
include Google::Apis::Core::Hashable
|
1835
|
+
|
1836
|
+
# Required. The maximum number of nodes that can be upgraded at once. Defaults
|
1837
|
+
# to 1.
|
1838
|
+
# Corresponds to the JSON property `concurrentNodes`
|
1839
|
+
# @return [Fixnum]
|
1840
|
+
attr_accessor :concurrent_nodes
|
1841
|
+
|
1842
|
+
# The minimum number of nodes that should be healthy and available during an
|
1843
|
+
# upgrade. If set to the default value of 0, it is possible that none of the
|
1844
|
+
# nodes will be available during an upgrade.
|
1845
|
+
# Corresponds to the JSON property `minimumAvailableNodes`
|
1846
|
+
# @return [Fixnum]
|
1847
|
+
attr_accessor :minimum_available_nodes
|
1848
|
+
|
1849
|
+
def initialize(**args)
|
1850
|
+
update!(**args)
|
1851
|
+
end
|
1852
|
+
|
1853
|
+
# Update properties of this object
|
1854
|
+
def update!(**args)
|
1855
|
+
@concurrent_nodes = args[:concurrent_nodes] if args.key?(:concurrent_nodes)
|
1856
|
+
@minimum_available_nodes = args[:minimum_available_nodes] if args.key?(:minimum_available_nodes)
|
1857
|
+
end
|
1858
|
+
end
|
1859
|
+
|
1805
1860
|
# Specifies load balancer ports for the bare metal user cluster.
|
1806
1861
|
class BareMetalPortConfig
|
1807
1862
|
include Google::Apis::Core::Hashable
|
@@ -1918,6 +1973,11 @@ module Google
|
|
1918
1973
|
class BareMetalVersionInfo
|
1919
1974
|
include Google::Apis::Core::Hashable
|
1920
1975
|
|
1976
|
+
# The list of upgrade dependencies for this version.
|
1977
|
+
# Corresponds to the JSON property `dependencies`
|
1978
|
+
# @return [Array<Google::Apis::GkeonpremV1::UpgradeDependency>]
|
1979
|
+
attr_accessor :dependencies
|
1980
|
+
|
1921
1981
|
# If set, the cluster dependencies (e.g. the admin cluster, other user clusters
|
1922
1982
|
# managed by the same admin cluster, version skew policy, etc) must be upgraded
|
1923
1983
|
# before this version can be installed or upgraded to.
|
@@ -1937,6 +1997,7 @@ module Google
|
|
1937
1997
|
|
1938
1998
|
# Update properties of this object
|
1939
1999
|
def update!(**args)
|
2000
|
+
@dependencies = args[:dependencies] if args.key?(:dependencies)
|
1940
2001
|
@has_dependencies = args[:has_dependencies] if args.key?(:has_dependencies)
|
1941
2002
|
@version = args[:version] if args.key?(:version)
|
1942
2003
|
end
|
@@ -2126,9 +2187,8 @@ module Google
|
|
2126
2187
|
|
2127
2188
|
# User provided OnePlatform identifier that is used as part of the resource name.
|
2128
2189
|
# This must be unique among all GKE on-prem clusters within a project and
|
2129
|
-
# location and will return a 409 if the cluster already exists.
|
2130
|
-
#
|
2131
|
-
# rfc1123) format.
|
2190
|
+
# location and will return a 409 if the cluster already exists. (https://tools.
|
2191
|
+
# ietf.org/html/rfc1123) format.
|
2132
2192
|
# Corresponds to the JSON property `bareMetalAdminClusterId`
|
2133
2193
|
# @return [String]
|
2134
2194
|
attr_accessor :bare_metal_admin_cluster_id
|
@@ -2164,19 +2224,18 @@ module Google
|
|
2164
2224
|
|
2165
2225
|
# User provided OnePlatform identifier that is used as part of the resource name.
|
2166
2226
|
# This must be unique among all bare metal clusters within a project and
|
2167
|
-
# location and will return a 409 if the cluster already exists.
|
2168
|
-
#
|
2169
|
-
# rfc1123) format.
|
2227
|
+
# location and will return a 409 if the cluster already exists. (https://tools.
|
2228
|
+
# ietf.org/html/rfc1123) format.
|
2170
2229
|
# Corresponds to the JSON property `bareMetalClusterId`
|
2171
2230
|
# @return [String]
|
2172
2231
|
attr_accessor :bare_metal_cluster_id
|
2173
2232
|
|
2174
|
-
# The object name of the bare metal cluster custom resource on the
|
2175
|
-
# admin cluster. This field is used to support conflicting resource
|
2176
|
-
# enrolling existing clusters to the API. When not provided, this
|
2177
|
-
# resolve to the bare_metal_cluster_id. Otherwise, it must match the
|
2178
|
-
# of the bare metal cluster custom resource. It is not modifiable
|
2179
|
-
# beyond the enrollment operation.
|
2233
|
+
# Optional. The object name of the bare metal cluster custom resource on the
|
2234
|
+
# associated admin cluster. This field is used to support conflicting resource
|
2235
|
+
# names when enrolling existing clusters to the API. When not provided, this
|
2236
|
+
# field will resolve to the bare_metal_cluster_id. Otherwise, it must match the
|
2237
|
+
# object name of the bare metal cluster custom resource. It is not modifiable
|
2238
|
+
# outside / beyond the enrollment operation.
|
2180
2239
|
# Corresponds to the JSON property `localName`
|
2181
2240
|
# @return [String]
|
2182
2241
|
attr_accessor :local_name
|
@@ -2198,8 +2257,7 @@ module Google
|
|
2198
2257
|
include Google::Apis::Core::Hashable
|
2199
2258
|
|
2200
2259
|
# User provided OnePlatform identifier that is used as part of the resource name.
|
2201
|
-
#
|
2202
|
-
# ietf.org/html/rfc1123) format.
|
2260
|
+
# (https://tools.ietf.org/html/rfc1123) format.
|
2203
2261
|
# Corresponds to the JSON property `bareMetalNodePoolId`
|
2204
2262
|
# @return [String]
|
2205
2263
|
attr_accessor :bare_metal_node_pool_id
|
@@ -2221,35 +2279,6 @@ module Google
|
|
2221
2279
|
end
|
2222
2280
|
end
|
2223
2281
|
|
2224
|
-
# Message for enrolling an existing bare metal standalone node pool to the GKE
|
2225
|
-
# on-prem API.
|
2226
|
-
class EnrollBareMetalStandaloneNodePoolRequest
|
2227
|
-
include Google::Apis::Core::Hashable
|
2228
|
-
|
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`
|
2233
|
-
# @return [String]
|
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
2282
|
# Message for enrolling an existing VMware admin cluster to the GKE on-prem API.
|
2254
2283
|
class EnrollVmwareAdminClusterRequest
|
2255
2284
|
include Google::Apis::Core::Hashable
|
@@ -2262,9 +2291,8 @@ module Google
|
|
2262
2291
|
|
2263
2292
|
# User provided OnePlatform identifier that is used as part of the resource name.
|
2264
2293
|
# This must be unique among all GKE on-prem clusters within a project and
|
2265
|
-
# location and will return a 409 if the cluster already exists.
|
2266
|
-
#
|
2267
|
-
# rfc1123) format.
|
2294
|
+
# location and will return a 409 if the cluster already exists. (https://tools.
|
2295
|
+
# ietf.org/html/rfc1123) format.
|
2268
2296
|
# Corresponds to the JSON property `vmwareAdminClusterId`
|
2269
2297
|
# @return [String]
|
2270
2298
|
attr_accessor :vmware_admin_cluster_id
|
@@ -2292,10 +2320,10 @@ module Google
|
|
2292
2320
|
# @return [String]
|
2293
2321
|
attr_accessor :admin_cluster_membership
|
2294
2322
|
|
2295
|
-
# The object name of the VMware OnPremUserCluster custom resource on
|
2296
|
-
# associated admin cluster. This field is used to support conflicting
|
2297
|
-
# names when enrolling existing clusters to the API. When not provided,
|
2298
|
-
# field will resolve to the vmware_cluster_id. Otherwise, it must match the
|
2323
|
+
# Optional. The object name of the VMware OnPremUserCluster custom resource on
|
2324
|
+
# the associated admin cluster. This field is used to support conflicting
|
2325
|
+
# resource names when enrolling existing clusters to the API. When not provided,
|
2326
|
+
# this field will resolve to the vmware_cluster_id. Otherwise, it must match the
|
2299
2327
|
# object name of the VMware OnPremUserCluster custom resource. It is not
|
2300
2328
|
# modifiable outside / beyond the enrollment operation.
|
2301
2329
|
# Corresponds to the JSON property `localName`
|
@@ -2310,9 +2338,8 @@ module Google
|
|
2310
2338
|
|
2311
2339
|
# User provided OnePlatform identifier that is used as part of the resource name.
|
2312
2340
|
# This must be unique among all GKE on-prem clusters within a project and
|
2313
|
-
# location and will return a 409 if the cluster already exists.
|
2314
|
-
#
|
2315
|
-
# rfc1123) format.
|
2341
|
+
# location and will return a 409 if the cluster already exists. (https://tools.
|
2342
|
+
# ietf.org/html/rfc1123) format.
|
2316
2343
|
# Corresponds to the JSON property `vmwareClusterId`
|
2317
2344
|
# @return [String]
|
2318
2345
|
attr_accessor :vmware_cluster_id
|
@@ -3236,6 +3263,44 @@ module Google
|
|
3236
3263
|
end
|
3237
3264
|
end
|
3238
3265
|
|
3266
|
+
# UpgradeDependency represents a dependency when upgrading a resource.
|
3267
|
+
class UpgradeDependency
|
3268
|
+
include Google::Apis::Core::Hashable
|
3269
|
+
|
3270
|
+
# Current version of the dependency e.g. 1.15.0.
|
3271
|
+
# Corresponds to the JSON property `currentVersion`
|
3272
|
+
# @return [String]
|
3273
|
+
attr_accessor :current_version
|
3274
|
+
|
3275
|
+
# Local name of the dependency.
|
3276
|
+
# Corresponds to the JSON property `localName`
|
3277
|
+
# @return [String]
|
3278
|
+
attr_accessor :local_name
|
3279
|
+
|
3280
|
+
# Resource name of the dependency.
|
3281
|
+
# Corresponds to the JSON property `resourceName`
|
3282
|
+
# @return [String]
|
3283
|
+
attr_accessor :resource_name
|
3284
|
+
|
3285
|
+
# Target version of the dependency e.g. 1.16.1. This is the version the
|
3286
|
+
# dependency needs to be upgraded to before a resource can be upgraded.
|
3287
|
+
# Corresponds to the JSON property `targetVersion`
|
3288
|
+
# @return [String]
|
3289
|
+
attr_accessor :target_version
|
3290
|
+
|
3291
|
+
def initialize(**args)
|
3292
|
+
update!(**args)
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
# Update properties of this object
|
3296
|
+
def update!(**args)
|
3297
|
+
@current_version = args[:current_version] if args.key?(:current_version)
|
3298
|
+
@local_name = args[:local_name] if args.key?(:local_name)
|
3299
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3300
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
3301
|
+
end
|
3302
|
+
end
|
3303
|
+
|
3239
3304
|
# ValidationCheck represents the result of preflight check.
|
3240
3305
|
class ValidationCheck
|
3241
3306
|
include Google::Apis::Core::Hashable
|
@@ -4262,6 +4327,11 @@ module Google
|
|
4262
4327
|
# @return [String]
|
4263
4328
|
attr_accessor :datastore
|
4264
4329
|
|
4330
|
+
# The Vsphere storage policy used by the control plane Node.
|
4331
|
+
# Corresponds to the JSON property `storagePolicyName`
|
4332
|
+
# @return [String]
|
4333
|
+
attr_accessor :storage_policy_name
|
4334
|
+
|
4265
4335
|
def initialize(**args)
|
4266
4336
|
update!(**args)
|
4267
4337
|
end
|
@@ -4269,6 +4339,7 @@ module Google
|
|
4269
4339
|
# Update properties of this object
|
4270
4340
|
def update!(**args)
|
4271
4341
|
@datastore = args[:datastore] if args.key?(:datastore)
|
4342
|
+
@storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
|
4272
4343
|
end
|
4273
4344
|
end
|
4274
4345
|
|
@@ -4961,6 +5032,11 @@ module Google
|
|
4961
5032
|
# @return [String]
|
4962
5033
|
attr_accessor :resource_pool
|
4963
5034
|
|
5035
|
+
# The name of the vCenter storage policy for the user cluster.
|
5036
|
+
# Corresponds to the JSON property `storagePolicyName`
|
5037
|
+
# @return [String]
|
5038
|
+
attr_accessor :storage_policy_name
|
5039
|
+
|
4964
5040
|
def initialize(**args)
|
4965
5041
|
update!(**args)
|
4966
5042
|
end
|
@@ -4974,6 +5050,7 @@ module Google
|
|
4974
5050
|
@datastore = args[:datastore] if args.key?(:datastore)
|
4975
5051
|
@folder = args[:folder] if args.key?(:folder)
|
4976
5052
|
@resource_pool = args[:resource_pool] if args.key?(:resource_pool)
|
5053
|
+
@storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
|
4977
5054
|
end
|
4978
5055
|
end
|
4979
5056
|
|
@@ -5049,6 +5126,11 @@ module Google
|
|
5049
5126
|
# @return [String]
|
5050
5127
|
attr_accessor :datastore
|
5051
5128
|
|
5129
|
+
# The name of the vCenter storage policy. Inherited from the user cluster.
|
5130
|
+
# Corresponds to the JSON property `storagePolicyName`
|
5131
|
+
# @return [String]
|
5132
|
+
attr_accessor :storage_policy_name
|
5133
|
+
|
5052
5134
|
# Tags to apply to VMs.
|
5053
5135
|
# Corresponds to the JSON property `tags`
|
5054
5136
|
# @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
|
@@ -5061,6 +5143,7 @@ module Google
|
|
5061
5143
|
# Update properties of this object
|
5062
5144
|
def update!(**args)
|
5063
5145
|
@datastore = args[:datastore] if args.key?(:datastore)
|
5146
|
+
@storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
|
5064
5147
|
@tags = args[:tags] if args.key?(:tags)
|
5065
5148
|
end
|
5066
5149
|
end
|
@@ -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.5.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 = "20230620"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -322,12 +322,24 @@ module Google
|
|
322
322
|
include Google::Apis::Core::JsonObjectSupport
|
323
323
|
end
|
324
324
|
|
325
|
+
class BareMetalNodePoolUpgradePolicy
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
325
331
|
class BareMetalOsEnvironmentConfig
|
326
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
333
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class BareMetalParallelUpgradeConfig
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
331
343
|
class BareMetalPortConfig
|
332
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
345
|
|
@@ -418,12 +430,6 @@ module Google
|
|
418
430
|
include Google::Apis::Core::JsonObjectSupport
|
419
431
|
end
|
420
432
|
|
421
|
-
class EnrollBareMetalStandaloneNodePoolRequest
|
422
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
-
|
424
|
-
include Google::Apis::Core::JsonObjectSupport
|
425
|
-
end
|
426
|
-
|
427
433
|
class EnrollVmwareAdminClusterRequest
|
428
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
435
|
|
@@ -586,6 +592,12 @@ module Google
|
|
586
592
|
include Google::Apis::Core::JsonObjectSupport
|
587
593
|
end
|
588
594
|
|
595
|
+
class UpgradeDependency
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
589
601
|
class ValidationCheck
|
590
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
603
|
|
@@ -1353,6 +1365,8 @@ module Google
|
|
1353
1365
|
|
1354
1366
|
property :uid, as: 'uid'
|
1355
1367
|
property :update_time, as: 'updateTime'
|
1368
|
+
property :upgrade_policy, as: 'upgradePolicy', class: Google::Apis::GkeonpremV1::BareMetalNodePoolUpgradePolicy, decorator: Google::Apis::GkeonpremV1::BareMetalNodePoolUpgradePolicy::Representation
|
1369
|
+
|
1356
1370
|
end
|
1357
1371
|
end
|
1358
1372
|
|
@@ -1370,6 +1384,14 @@ module Google
|
|
1370
1384
|
end
|
1371
1385
|
end
|
1372
1386
|
|
1387
|
+
class BareMetalNodePoolUpgradePolicy
|
1388
|
+
# @private
|
1389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1390
|
+
property :parallel_upgrade_config, as: 'parallelUpgradeConfig', class: Google::Apis::GkeonpremV1::BareMetalParallelUpgradeConfig, decorator: Google::Apis::GkeonpremV1::BareMetalParallelUpgradeConfig::Representation
|
1391
|
+
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1373
1395
|
class BareMetalOsEnvironmentConfig
|
1374
1396
|
# @private
|
1375
1397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1377,6 +1399,14 @@ module Google
|
|
1377
1399
|
end
|
1378
1400
|
end
|
1379
1401
|
|
1402
|
+
class BareMetalParallelUpgradeConfig
|
1403
|
+
# @private
|
1404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
+
property :concurrent_nodes, as: 'concurrentNodes'
|
1406
|
+
property :minimum_available_nodes, as: 'minimumAvailableNodes'
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1380
1410
|
class BareMetalPortConfig
|
1381
1411
|
# @private
|
1382
1412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1420,6 +1450,8 @@ module Google
|
|
1420
1450
|
class BareMetalVersionInfo
|
1421
1451
|
# @private
|
1422
1452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1453
|
+
collection :dependencies, as: 'dependencies', class: Google::Apis::GkeonpremV1::UpgradeDependency, decorator: Google::Apis::GkeonpremV1::UpgradeDependency::Representation
|
1454
|
+
|
1423
1455
|
property :has_dependencies, as: 'hasDependencies'
|
1424
1456
|
property :version, as: 'version'
|
1425
1457
|
end
|
@@ -1495,14 +1527,6 @@ module Google
|
|
1495
1527
|
end
|
1496
1528
|
end
|
1497
1529
|
|
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
|
-
|
1506
1530
|
class EnrollVmwareAdminClusterRequest
|
1507
1531
|
# @private
|
1508
1532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1755,6 +1779,16 @@ module Google
|
|
1755
1779
|
end
|
1756
1780
|
end
|
1757
1781
|
|
1782
|
+
class UpgradeDependency
|
1783
|
+
# @private
|
1784
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1785
|
+
property :current_version, as: 'currentVersion'
|
1786
|
+
property :local_name, as: 'localName'
|
1787
|
+
property :resource_name, as: 'resourceName'
|
1788
|
+
property :target_version, as: 'targetVersion'
|
1789
|
+
end
|
1790
|
+
end
|
1791
|
+
|
1758
1792
|
class ValidationCheck
|
1759
1793
|
# @private
|
1760
1794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2029,6 +2063,7 @@ module Google
|
|
2029
2063
|
# @private
|
2030
2064
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2031
2065
|
property :datastore, as: 'datastore'
|
2066
|
+
property :storage_policy_name, as: 'storagePolicyName'
|
2032
2067
|
end
|
2033
2068
|
end
|
2034
2069
|
|
@@ -2219,6 +2254,7 @@ module Google
|
|
2219
2254
|
property :datastore, as: 'datastore'
|
2220
2255
|
property :folder, as: 'folder'
|
2221
2256
|
property :resource_pool, as: 'resourcePool'
|
2257
|
+
property :storage_policy_name, as: 'storagePolicyName'
|
2222
2258
|
end
|
2223
2259
|
end
|
2224
2260
|
|
@@ -2243,6 +2279,7 @@ module Google
|
|
2243
2279
|
# @private
|
2244
2280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2245
2281
|
property :datastore, as: 'datastore'
|
2282
|
+
property :storage_policy_name, as: 'storagePolicyName'
|
2246
2283
|
collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
|
2247
2284
|
|
2248
2285
|
end
|
@@ -505,6 +505,13 @@ module Google
|
|
505
505
|
# The current etag of the bare metal admin cluster. If an etag is provided and
|
506
506
|
# does not match the current etag of the cluster, deletion will be blocked and
|
507
507
|
# an ABORTED error will be returned.
|
508
|
+
# @param [Boolean] ignore_errors
|
509
|
+
# If set to true, the unenrollment of a bare metal admin cluster resource will
|
510
|
+
# succeed even if errors occur during unenrollment. This parameter can be used
|
511
|
+
# when you want to unenroll admin cluster resource and the on-prem admin cluster
|
512
|
+
# is disconnected / unreachable. WARNING: Using this parameter when your admin
|
513
|
+
# cluster still exists may result in a deleted GCP admin cluster but existing
|
514
|
+
# resourcelink in on-prem admin cluster and membership.
|
508
515
|
# @param [Boolean] validate_only
|
509
516
|
# Validate the request without actually doing any updates.
|
510
517
|
# @param [String] fields
|
@@ -524,13 +531,14 @@ module Google
|
|
524
531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
525
532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
526
533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
527
|
-
def unenroll_project_location_bare_metal_admin_cluster(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
534
|
+
def unenroll_project_location_bare_metal_admin_cluster(name, allow_missing: nil, etag: nil, ignore_errors: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
528
535
|
command = make_simple_command(:delete, 'v1/{+name}:unenroll', options)
|
529
536
|
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
530
537
|
command.response_class = Google::Apis::GkeonpremV1::Operation
|
531
538
|
command.params['name'] = name unless name.nil?
|
532
539
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
533
540
|
command.query['etag'] = etag unless etag.nil?
|
541
|
+
command.query['ignoreErrors'] = ignore_errors unless ignore_errors.nil?
|
534
542
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
535
543
|
command.query['fields'] = fields unless fields.nil?
|
536
544
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1670,43 +1678,6 @@ module Google
|
|
1670
1678
|
execute_or_queue_command(command, &block)
|
1671
1679
|
end
|
1672
1680
|
|
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
|
-
|
1710
1681
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1711
1682
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1712
1683
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
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.5.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-
|
11
|
+
date: 2023-06-25 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.5.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: []
|