google-apis-gkeonprem_v1 0.21.0 → 0.23.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/gkeonprem_v1/classes.rb +73 -0
- data/lib/google/apis/gkeonprem_v1/gem_version.rb +3 -3
- data/lib/google/apis/gkeonprem_v1/representations.rb +34 -0
- data/lib/google/apis/gkeonprem_v1/service.rb +111 -12
- data/lib/google/apis/gkeonprem_v1.rb +2 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf7cdd0992d68aa8a7a0049786bab6c20817a477d6ef1dccdc6e4b82d629f188
|
4
|
+
data.tar.gz: 6488cf50a6fecb8d3b4fcac7fc82c3607326b1561cafea738592d1393198c988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0484d38a055bdd9e7204cc59f2ef8e0999878d7b083d66998a3469e0220e84fce30d962f284395807e7e8728f093b823f5e8e6d79c8b145ace04148566c31c6e'
|
7
|
+
data.tar.gz: 60ac26834d2ae17a97033a74667fffe7d5e17abb599ac9d324413bfebcd7890e2f03d3b3ecde87eae3624746cca9f96528b8c9e463b2eb90ae2094d5c284e330
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-gkeonprem_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2024-11-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241023
|
6
|
+
|
7
|
+
### v0.22.0 (2024-08-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240814
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.21.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.15.0
|
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V1 of the
|
1
|
+
# Simple REST client for version V1 of the GDC Virtual API
|
2
2
|
|
3
|
-
This is a simple client library for version V1 of the
|
3
|
+
This is a simple client library for version V1 of the GDC Virtual API. It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gkeonprem service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the
|
68
|
+
For reference information on specific calls in the GDC Virtual API, see the {Google::Apis::GkeonpremV1::GKEOnPremService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -1118,6 +1118,13 @@ module Google
|
|
1118
1118
|
class BareMetalClusterUpgradePolicy
|
1119
1119
|
include Google::Apis::Core::Hashable
|
1120
1120
|
|
1121
|
+
# Output only. Pause is used to show the upgrade pause status. It's view only
|
1122
|
+
# for now.
|
1123
|
+
# Corresponds to the JSON property `pause`
|
1124
|
+
# @return [Boolean]
|
1125
|
+
attr_accessor :pause
|
1126
|
+
alias_method :pause?, :pause
|
1127
|
+
|
1121
1128
|
# Specifies which upgrade policy to use.
|
1122
1129
|
# Corresponds to the JSON property `policy`
|
1123
1130
|
# @return [String]
|
@@ -1129,6 +1136,7 @@ module Google
|
|
1129
1136
|
|
1130
1137
|
# Update properties of this object
|
1131
1138
|
def update!(**args)
|
1139
|
+
@pause = args[:pause] if args.key?(:pause)
|
1132
1140
|
@policy = args[:policy] if args.key?(:policy)
|
1133
1141
|
end
|
1134
1142
|
end
|
@@ -3314,6 +3322,17 @@ module Google
|
|
3314
3322
|
# @return [String]
|
3315
3323
|
attr_accessor :error_message
|
3316
3324
|
|
3325
|
+
# Reflect current version of the resource.
|
3326
|
+
# Corresponds to the JSON property `version`
|
3327
|
+
# @return [String]
|
3328
|
+
attr_accessor :version
|
3329
|
+
|
3330
|
+
# Versions describes the mapping of a given version to the number of machines
|
3331
|
+
# under this version.
|
3332
|
+
# Corresponds to the JSON property `versions`
|
3333
|
+
# @return [Google::Apis::GkeonpremV1::Versions]
|
3334
|
+
attr_accessor :versions
|
3335
|
+
|
3317
3336
|
def initialize(**args)
|
3318
3337
|
update!(**args)
|
3319
3338
|
end
|
@@ -3322,6 +3341,8 @@ module Google
|
|
3322
3341
|
def update!(**args)
|
3323
3342
|
@conditions = args[:conditions] if args.key?(:conditions)
|
3324
3343
|
@error_message = args[:error_message] if args.key?(:error_message)
|
3344
|
+
@version = args[:version] if args.key?(:version)
|
3345
|
+
@versions = args[:versions] if args.key?(:versions)
|
3325
3346
|
end
|
3326
3347
|
end
|
3327
3348
|
|
@@ -3580,6 +3601,52 @@ module Google
|
|
3580
3601
|
end
|
3581
3602
|
end
|
3582
3603
|
|
3604
|
+
# Version describes the number of nodes at a given version under a resource.
|
3605
|
+
class Version
|
3606
|
+
include Google::Apis::Core::Hashable
|
3607
|
+
|
3608
|
+
# Number of machines under the above version.
|
3609
|
+
# Corresponds to the JSON property `count`
|
3610
|
+
# @return [Fixnum]
|
3611
|
+
attr_accessor :count
|
3612
|
+
|
3613
|
+
# Resource version.
|
3614
|
+
# Corresponds to the JSON property `version`
|
3615
|
+
# @return [String]
|
3616
|
+
attr_accessor :version
|
3617
|
+
|
3618
|
+
def initialize(**args)
|
3619
|
+
update!(**args)
|
3620
|
+
end
|
3621
|
+
|
3622
|
+
# Update properties of this object
|
3623
|
+
def update!(**args)
|
3624
|
+
@count = args[:count] if args.key?(:count)
|
3625
|
+
@version = args[:version] if args.key?(:version)
|
3626
|
+
end
|
3627
|
+
end
|
3628
|
+
|
3629
|
+
# Versions describes the mapping of a given version to the number of machines
|
3630
|
+
# under this version.
|
3631
|
+
class Versions
|
3632
|
+
include Google::Apis::Core::Hashable
|
3633
|
+
|
3634
|
+
# Shows the mapping of a given version to the number of machines under this
|
3635
|
+
# version.
|
3636
|
+
# Corresponds to the JSON property `versions`
|
3637
|
+
# @return [Array<Google::Apis::GkeonpremV1::Version>]
|
3638
|
+
attr_accessor :versions
|
3639
|
+
|
3640
|
+
def initialize(**args)
|
3641
|
+
update!(**args)
|
3642
|
+
end
|
3643
|
+
|
3644
|
+
# Update properties of this object
|
3645
|
+
def update!(**args)
|
3646
|
+
@versions = args[:versions] if args.key?(:versions)
|
3647
|
+
end
|
3648
|
+
end
|
3649
|
+
|
3583
3650
|
# Specifies anti affinity group config for the VMware user cluster.
|
3584
3651
|
class VmwareAagConfig
|
3585
3652
|
include Google::Apis::Core::Hashable
|
@@ -3841,6 +3908,11 @@ module Google
|
|
3841
3908
|
# @return [String]
|
3842
3909
|
attr_accessor :update_time
|
3843
3910
|
|
3911
|
+
# ValidationCheck represents the result of preflight check.
|
3912
|
+
# Corresponds to the JSON property `validationCheck`
|
3913
|
+
# @return [Google::Apis::GkeonpremV1::ValidationCheck]
|
3914
|
+
attr_accessor :validation_check
|
3915
|
+
|
3844
3916
|
# VmwareAdminVCenterConfig contains VCenter configuration for VMware admin
|
3845
3917
|
# cluster.
|
3846
3918
|
# Corresponds to the JSON property `vcenter`
|
@@ -3878,6 +3950,7 @@ module Google
|
|
3878
3950
|
@status = args[:status] if args.key?(:status)
|
3879
3951
|
@uid = args[:uid] if args.key?(:uid)
|
3880
3952
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3953
|
+
@validation_check = args[:validation_check] if args.key?(:validation_check)
|
3881
3954
|
@vcenter = args[:vcenter] if args.key?(:vcenter)
|
3882
3955
|
end
|
3883
3956
|
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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241023"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -646,6 +646,18 @@ module Google
|
|
646
646
|
include Google::Apis::Core::JsonObjectSupport
|
647
647
|
end
|
648
648
|
|
649
|
+
class Version
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
+
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
653
|
+
end
|
654
|
+
|
655
|
+
class Versions
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
649
661
|
class VmwareAagConfig
|
650
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
663
|
|
@@ -1245,6 +1257,7 @@ module Google
|
|
1245
1257
|
class BareMetalClusterUpgradePolicy
|
1246
1258
|
# @private
|
1247
1259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1260
|
+
property :pause, as: 'pause'
|
1248
1261
|
property :policy, as: 'policy'
|
1249
1262
|
end
|
1250
1263
|
end
|
@@ -1863,6 +1876,9 @@ module Google
|
|
1863
1876
|
collection :conditions, as: 'conditions', class: Google::Apis::GkeonpremV1::ResourceCondition, decorator: Google::Apis::GkeonpremV1::ResourceCondition::Representation
|
1864
1877
|
|
1865
1878
|
property :error_message, as: 'errorMessage'
|
1879
|
+
property :version, as: 'version'
|
1880
|
+
property :versions, as: 'versions', class: Google::Apis::GkeonpremV1::Versions, decorator: Google::Apis::GkeonpremV1::Versions::Representation
|
1881
|
+
|
1866
1882
|
end
|
1867
1883
|
end
|
1868
1884
|
|
@@ -1936,6 +1952,22 @@ module Google
|
|
1936
1952
|
end
|
1937
1953
|
end
|
1938
1954
|
|
1955
|
+
class Version
|
1956
|
+
# @private
|
1957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1958
|
+
property :count, :numeric_string => true, as: 'count'
|
1959
|
+
property :version, as: 'version'
|
1960
|
+
end
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
class Versions
|
1964
|
+
# @private
|
1965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1966
|
+
collection :versions, as: 'versions', class: Google::Apis::GkeonpremV1::Version, decorator: Google::Apis::GkeonpremV1::Version::Representation
|
1967
|
+
|
1968
|
+
end
|
1969
|
+
end
|
1970
|
+
|
1939
1971
|
class VmwareAagConfig
|
1940
1972
|
# @private
|
1941
1973
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2008,6 +2040,8 @@ module Google
|
|
2008
2040
|
|
2009
2041
|
property :uid, as: 'uid'
|
2010
2042
|
property :update_time, as: 'updateTime'
|
2043
|
+
property :validation_check, as: 'validationCheck', class: Google::Apis::GkeonpremV1::ValidationCheck, decorator: Google::Apis::GkeonpremV1::ValidationCheck::Representation
|
2044
|
+
|
2011
2045
|
property :vcenter, as: 'vcenter', class: Google::Apis::GkeonpremV1::VmwareAdminVCenterConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminVCenterConfig::Representation
|
2012
2046
|
|
2013
2047
|
end
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module GkeonpremV1
|
23
|
-
#
|
23
|
+
# GDC Virtual API
|
24
24
|
#
|
25
25
|
#
|
26
26
|
#
|
@@ -132,6 +132,11 @@ module Google
|
|
132
132
|
# Required. The parent of the project and location where the cluster is created
|
133
133
|
# in. Format: "projects/`project`/locations/`location`"
|
134
134
|
# @param [Google::Apis::GkeonpremV1::BareMetalAdminCluster] bare_metal_admin_cluster_object
|
135
|
+
# @param [Boolean] allow_preflight_failure
|
136
|
+
# Optional. If set to true, CLM will force CCFE to persist the cluster resource
|
137
|
+
# in RMS when the creation fails during standalone preflight checks. In that
|
138
|
+
# case the subsequent create call will fail with "cluster already exists" error
|
139
|
+
# and hence a update cluster is required to fix the cluster.
|
135
140
|
# @param [String] bare_metal_admin_cluster_id
|
136
141
|
# Required. User provided identifier that is used as part of the resource name;
|
137
142
|
# must conform to RFC-1034 and additionally restrict to lower-cased letters.
|
@@ -155,13 +160,14 @@ module Google
|
|
155
160
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
161
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
162
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
-
def create_project_location_bare_metal_admin_cluster(parent, bare_metal_admin_cluster_object = nil, bare_metal_admin_cluster_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
163
|
+
def create_project_location_bare_metal_admin_cluster(parent, bare_metal_admin_cluster_object = nil, allow_preflight_failure: nil, bare_metal_admin_cluster_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
164
|
command = make_simple_command(:post, 'v1/{+parent}/bareMetalAdminClusters', options)
|
160
165
|
command.request_representation = Google::Apis::GkeonpremV1::BareMetalAdminCluster::Representation
|
161
166
|
command.request_object = bare_metal_admin_cluster_object
|
162
167
|
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
163
168
|
command.response_class = Google::Apis::GkeonpremV1::Operation
|
164
169
|
command.params['parent'] = parent unless parent.nil?
|
170
|
+
command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
|
165
171
|
command.query['bareMetalAdminClusterId'] = bare_metal_admin_cluster_id unless bare_metal_admin_cluster_id.nil?
|
166
172
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
167
173
|
command.query['fields'] = fields unless fields.nil?
|
@@ -212,6 +218,9 @@ module Google
|
|
212
218
|
# Required. Name of the bare metal admin cluster to get. Format: "projects/`
|
213
219
|
# project`/locations/`location`/bareMetalAdminClusters/`bare_metal_admin_cluster`
|
214
220
|
# "
|
221
|
+
# @param [Boolean] allow_missing
|
222
|
+
# Optional. If true, return BareMetal Admin Cluster including the one that only
|
223
|
+
# exists in RMS.
|
215
224
|
# @param [String] view
|
216
225
|
# View for bare metal admin cluster. When `BASIC` is specified, only the cluster
|
217
226
|
# resource name and membership are returned. The default/unset value `
|
@@ -234,11 +243,12 @@ module Google
|
|
234
243
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
235
244
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
236
245
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
237
|
-
def get_project_location_bare_metal_admin_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
246
|
+
def get_project_location_bare_metal_admin_cluster(name, allow_missing: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
238
247
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
239
248
|
command.response_representation = Google::Apis::GkeonpremV1::BareMetalAdminCluster::Representation
|
240
249
|
command.response_class = Google::Apis::GkeonpremV1::BareMetalAdminCluster
|
241
250
|
command.params['name'] = name unless name.nil?
|
251
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
242
252
|
command.query['view'] = view unless view.nil?
|
243
253
|
command.query['fields'] = fields unless fields.nil?
|
244
254
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -294,6 +304,9 @@ module Google
|
|
294
304
|
# @param [String] parent
|
295
305
|
# Required. The parent of the project and location where the clusters are listed
|
296
306
|
# in. Format: "projects/`project`/locations/`location`"
|
307
|
+
# @param [Boolean] allow_missing
|
308
|
+
# Optional. If true, return list of BareMetal Admin Clusters including the ones
|
309
|
+
# that only exists in RMS.
|
297
310
|
# @param [Fixnum] page_size
|
298
311
|
# Requested page size. Server may return fewer items than requested. If
|
299
312
|
# unspecified, at most 50 clusters will be returned. The maximum value is 1000;
|
@@ -322,11 +335,12 @@ module Google
|
|
322
335
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
323
336
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
324
337
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
325
|
-
def list_project_location_bare_metal_admin_clusters(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
338
|
+
def list_project_location_bare_metal_admin_clusters(parent, allow_missing: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
326
339
|
command = make_simple_command(:get, 'v1/{+parent}/bareMetalAdminClusters', options)
|
327
340
|
command.response_representation = Google::Apis::GkeonpremV1::ListBareMetalAdminClustersResponse::Representation
|
328
341
|
command.response_class = Google::Apis::GkeonpremV1::ListBareMetalAdminClustersResponse
|
329
342
|
command.params['parent'] = parent unless parent.nil?
|
343
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
330
344
|
command.query['pageSize'] = page_size unless page_size.nil?
|
331
345
|
command.query['pageToken'] = page_token unless page_token.nil?
|
332
346
|
command.query['view'] = view unless view.nil?
|
@@ -623,6 +637,11 @@ module Google
|
|
623
637
|
# Required. The parent of the project and location where the cluster is created
|
624
638
|
# in. Format: "projects/`project`/locations/`location`"
|
625
639
|
# @param [Google::Apis::GkeonpremV1::BareMetalCluster] bare_metal_cluster_object
|
640
|
+
# @param [Boolean] allow_preflight_failure
|
641
|
+
# Optional. If set to true, CLM will force CCFE to persist the cluster resource
|
642
|
+
# in RMS when the creation fails during standalone preflight checks. In that
|
643
|
+
# case the subsequent create call will fail with "cluster already exists" error
|
644
|
+
# and hence a update cluster is required to fix the cluster.
|
626
645
|
# @param [String] bare_metal_cluster_id
|
627
646
|
# Required. User provided identifier that is used as part of the resource name;
|
628
647
|
# must conform to RFC-1034 and additionally restrict to lower-cased letters.
|
@@ -646,13 +665,14 @@ module Google
|
|
646
665
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
647
666
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
648
667
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
649
|
-
def create_project_location_bare_metal_cluster(parent, bare_metal_cluster_object = nil, bare_metal_cluster_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
668
|
+
def create_project_location_bare_metal_cluster(parent, bare_metal_cluster_object = nil, allow_preflight_failure: nil, bare_metal_cluster_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
650
669
|
command = make_simple_command(:post, 'v1/{+parent}/bareMetalClusters', options)
|
651
670
|
command.request_representation = Google::Apis::GkeonpremV1::BareMetalCluster::Representation
|
652
671
|
command.request_object = bare_metal_cluster_object
|
653
672
|
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
654
673
|
command.response_class = Google::Apis::GkeonpremV1::Operation
|
655
674
|
command.params['parent'] = parent unless parent.nil?
|
675
|
+
command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
|
656
676
|
command.query['bareMetalClusterId'] = bare_metal_cluster_id unless bare_metal_cluster_id.nil?
|
657
677
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
658
678
|
command.query['fields'] = fields unless fields.nil?
|
@@ -756,6 +776,9 @@ module Google
|
|
756
776
|
# @param [String] name
|
757
777
|
# Required. Name of the bare metal user cluster to get. Format: "projects/`
|
758
778
|
# project`/locations/`location`/bareMetalClusters/`bare_metal_cluster`"
|
779
|
+
# @param [Boolean] allow_missing
|
780
|
+
# Optional. If true, return BareMetal Cluster including the one that only exists
|
781
|
+
# in RMS.
|
759
782
|
# @param [String] view
|
760
783
|
# View for bare metal user cluster. When `BASIC` is specified, only the cluster
|
761
784
|
# resource name and admin cluster membership are returned. The default/unset
|
@@ -778,11 +801,12 @@ module Google
|
|
778
801
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
779
802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
780
803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
781
|
-
def get_project_location_bare_metal_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
804
|
+
def get_project_location_bare_metal_cluster(name, allow_missing: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
782
805
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
783
806
|
command.response_representation = Google::Apis::GkeonpremV1::BareMetalCluster::Representation
|
784
807
|
command.response_class = Google::Apis::GkeonpremV1::BareMetalCluster
|
785
808
|
command.params['name'] = name unless name.nil?
|
809
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
786
810
|
command.query['view'] = view unless view.nil?
|
787
811
|
command.query['fields'] = fields unless fields.nil?
|
788
812
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -838,6 +862,9 @@ module Google
|
|
838
862
|
# @param [String] parent
|
839
863
|
# Required. The parent of the project and location where the clusters are listed
|
840
864
|
# in. Format: "projects/`project`/locations/`location`"
|
865
|
+
# @param [Boolean] allow_missing
|
866
|
+
# Optional. If true, return list of BareMetal Clusters including the ones that
|
867
|
+
# only exists in RMS.
|
841
868
|
# @param [String] filter
|
842
869
|
# A resource filtering expression following https://google.aip.dev/160. When non-
|
843
870
|
# empty, only resource's whose attributes field matches the filter are returned.
|
@@ -869,11 +896,12 @@ module Google
|
|
869
896
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
870
897
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
871
898
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
872
|
-
def list_project_location_bare_metal_clusters(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
899
|
+
def list_project_location_bare_metal_clusters(parent, allow_missing: nil, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
873
900
|
command = make_simple_command(:get, 'v1/{+parent}/bareMetalClusters', options)
|
874
901
|
command.response_representation = Google::Apis::GkeonpremV1::ListBareMetalClustersResponse::Representation
|
875
902
|
command.response_class = Google::Apis::GkeonpremV1::ListBareMetalClustersResponse
|
876
903
|
command.params['parent'] = parent unless parent.nil?
|
904
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
877
905
|
command.query['filter'] = filter unless filter.nil?
|
878
906
|
command.query['pageSize'] = page_size unless page_size.nil?
|
879
907
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1824,6 +1852,55 @@ module Google
|
|
1824
1852
|
execute_or_queue_command(command, &block)
|
1825
1853
|
end
|
1826
1854
|
|
1855
|
+
# Creates a new VMware admin cluster in a given project and location. The API
|
1856
|
+
# needs to be combined with creating a bootstrap cluster to work.
|
1857
|
+
# @param [String] parent
|
1858
|
+
# Required. The parent of the project and location where the cluster is created
|
1859
|
+
# in. Format: "projects/`project`/locations/`location`"
|
1860
|
+
# @param [Google::Apis::GkeonpremV1::VmwareAdminCluster] vmware_admin_cluster_object
|
1861
|
+
# @param [Boolean] allow_preflight_failure
|
1862
|
+
# Optional. If set to true, CLM will force CCFE to persist the cluster resource
|
1863
|
+
# in RMS when the creation fails during standalone preflight checks. In that
|
1864
|
+
# case the subsequent create call will fail with "cluster already exists" error
|
1865
|
+
# and hence a update cluster is required to fix the cluster.
|
1866
|
+
# @param [Boolean] validate_only
|
1867
|
+
# Validate the request without actually doing any updates.
|
1868
|
+
# @param [String] vmware_admin_cluster_id
|
1869
|
+
# Required. User provided identifier that is used as part of the resource name;
|
1870
|
+
# must conform to RFC-1034 and additionally restrict to lower-cased letters.
|
1871
|
+
# This comes out roughly to: /^a-z+[a-z0-9]$/
|
1872
|
+
# @param [String] fields
|
1873
|
+
# Selector specifying which fields to include in a partial response.
|
1874
|
+
# @param [String] quota_user
|
1875
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1876
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1877
|
+
# @param [Google::Apis::RequestOptions] options
|
1878
|
+
# Request-specific options
|
1879
|
+
#
|
1880
|
+
# @yield [result, err] Result & error if block supplied
|
1881
|
+
# @yieldparam result [Google::Apis::GkeonpremV1::Operation] parsed result object
|
1882
|
+
# @yieldparam err [StandardError] error object if request failed
|
1883
|
+
#
|
1884
|
+
# @return [Google::Apis::GkeonpremV1::Operation]
|
1885
|
+
#
|
1886
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1887
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1888
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1889
|
+
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)
|
1890
|
+
command = make_simple_command(:post, 'v1/{+parent}/vmwareAdminClusters', options)
|
1891
|
+
command.request_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
|
1892
|
+
command.request_object = vmware_admin_cluster_object
|
1893
|
+
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
1894
|
+
command.response_class = Google::Apis::GkeonpremV1::Operation
|
1895
|
+
command.params['parent'] = parent unless parent.nil?
|
1896
|
+
command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
|
1897
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1898
|
+
command.query['vmwareAdminClusterId'] = vmware_admin_cluster_id unless vmware_admin_cluster_id.nil?
|
1899
|
+
command.query['fields'] = fields unless fields.nil?
|
1900
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1901
|
+
execute_or_queue_command(command, &block)
|
1902
|
+
end
|
1903
|
+
|
1827
1904
|
# Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a
|
1828
1905
|
# given project and location. Through enrollment, an existing admin cluster will
|
1829
1906
|
# become Anthos On-Prem API managed. The corresponding GCP resources will be
|
@@ -1866,6 +1943,9 @@ module Google
|
|
1866
1943
|
# @param [String] name
|
1867
1944
|
# Required. Name of the VMware admin cluster to be returned. Format: "projects/`
|
1868
1945
|
# project`/locations/`location`/vmwareAdminClusters/`vmware_admin_cluster`"
|
1946
|
+
# @param [Boolean] allow_missing
|
1947
|
+
# Optional. If true, return Vmware Admin Cluster including the one that only
|
1948
|
+
# exists in RMS.
|
1869
1949
|
# @param [String] view
|
1870
1950
|
# View for VMware admin cluster. When `BASIC` is specified, only the cluster
|
1871
1951
|
# resource name and membership are returned. The default/unset value `
|
@@ -1888,11 +1968,12 @@ module Google
|
|
1888
1968
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1889
1969
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1890
1970
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1891
|
-
def get_project_location_vmware_admin_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1971
|
+
def get_project_location_vmware_admin_cluster(name, allow_missing: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1892
1972
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1893
1973
|
command.response_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
|
1894
1974
|
command.response_class = Google::Apis::GkeonpremV1::VmwareAdminCluster
|
1895
1975
|
command.params['name'] = name unless name.nil?
|
1976
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1896
1977
|
command.query['view'] = view unless view.nil?
|
1897
1978
|
command.query['fields'] = fields unless fields.nil?
|
1898
1979
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1948,6 +2029,9 @@ module Google
|
|
1948
2029
|
# @param [String] parent
|
1949
2030
|
# Required. The parent of the project and location where the clusters are listed
|
1950
2031
|
# in. Format: "projects/`project`/locations/`location`"
|
2032
|
+
# @param [Boolean] allow_missing
|
2033
|
+
# Optional. If true, return list of Vmware Admin Clusters including the ones
|
2034
|
+
# that only exists in RMS.
|
1951
2035
|
# @param [Fixnum] page_size
|
1952
2036
|
# Requested page size. Server may return fewer items than requested. If
|
1953
2037
|
# unspecified, at most 50 clusters will be returned. The maximum value is 1000;
|
@@ -1976,11 +2060,12 @@ module Google
|
|
1976
2060
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1977
2061
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1978
2062
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1979
|
-
def list_project_location_vmware_admin_clusters(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2063
|
+
def list_project_location_vmware_admin_clusters(parent, allow_missing: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1980
2064
|
command = make_simple_command(:get, 'v1/{+parent}/vmwareAdminClusters', options)
|
1981
2065
|
command.response_representation = Google::Apis::GkeonpremV1::ListVmwareAdminClustersResponse::Representation
|
1982
2066
|
command.response_class = Google::Apis::GkeonpremV1::ListVmwareAdminClustersResponse
|
1983
2067
|
command.params['parent'] = parent unless parent.nil?
|
2068
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1984
2069
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1985
2070
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1986
2071
|
command.query['view'] = view unless view.nil?
|
@@ -2232,6 +2317,11 @@ module Google
|
|
2232
2317
|
# Required. The parent of the project and location where this cluster is created
|
2233
2318
|
# in. Format: "projects/`project`/locations/`location`"
|
2234
2319
|
# @param [Google::Apis::GkeonpremV1::VmwareCluster] vmware_cluster_object
|
2320
|
+
# @param [Boolean] allow_preflight_failure
|
2321
|
+
# Optional. If set to true, CLM will force CCFE to persist the cluster resource
|
2322
|
+
# in RMS when the creation fails during standalone preflight checks. In that
|
2323
|
+
# case the subsequent create call will fail with "cluster already exists" error
|
2324
|
+
# and hence a update cluster is required to fix the cluster.
|
2235
2325
|
# @param [Boolean] validate_only
|
2236
2326
|
# Validate the request without actually doing any updates.
|
2237
2327
|
# @param [String] vmware_cluster_id
|
@@ -2255,13 +2345,14 @@ module Google
|
|
2255
2345
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2256
2346
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2257
2347
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2258
|
-
def create_project_location_vmware_cluster(parent, vmware_cluster_object = nil, validate_only: nil, vmware_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2348
|
+
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)
|
2259
2349
|
command = make_simple_command(:post, 'v1/{+parent}/vmwareClusters', options)
|
2260
2350
|
command.request_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
|
2261
2351
|
command.request_object = vmware_cluster_object
|
2262
2352
|
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
2263
2353
|
command.response_class = Google::Apis::GkeonpremV1::Operation
|
2264
2354
|
command.params['parent'] = parent unless parent.nil?
|
2355
|
+
command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
|
2265
2356
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
2266
2357
|
command.query['vmwareClusterId'] = vmware_cluster_id unless vmware_cluster_id.nil?
|
2267
2358
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2365,6 +2456,9 @@ module Google
|
|
2365
2456
|
# @param [String] name
|
2366
2457
|
# Required. Name of the VMware user cluster to be returned. Format: "projects/`
|
2367
2458
|
# project`/locations/`location`/vmwareClusters/`vmware_cluster`"
|
2459
|
+
# @param [Boolean] allow_missing
|
2460
|
+
# Optional. If true, return Vmware Cluster including the one that only exists in
|
2461
|
+
# RMS.
|
2368
2462
|
# @param [String] view
|
2369
2463
|
# View for VMware user cluster. When `BASIC` is specified, only the cluster
|
2370
2464
|
# resource name and admin cluster membership are returned. The default/unset
|
@@ -2387,11 +2481,12 @@ module Google
|
|
2387
2481
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2388
2482
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2389
2483
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2390
|
-
def get_project_location_vmware_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2484
|
+
def get_project_location_vmware_cluster(name, allow_missing: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2391
2485
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
2392
2486
|
command.response_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
|
2393
2487
|
command.response_class = Google::Apis::GkeonpremV1::VmwareCluster
|
2394
2488
|
command.params['name'] = name unless name.nil?
|
2489
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
2395
2490
|
command.query['view'] = view unless view.nil?
|
2396
2491
|
command.query['fields'] = fields unless fields.nil?
|
2397
2492
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -2447,6 +2542,9 @@ module Google
|
|
2447
2542
|
# @param [String] parent
|
2448
2543
|
# Required. The parent of the project and location where the clusters are listed
|
2449
2544
|
# in. Format: "projects/`project`/locations/`location`"
|
2545
|
+
# @param [Boolean] allow_missing
|
2546
|
+
# Optional. If true, return list of Vmware Clusters including the ones that only
|
2547
|
+
# exists in RMS.
|
2450
2548
|
# @param [String] filter
|
2451
2549
|
# A resource filtering expression following https://google.aip.dev/160. When non-
|
2452
2550
|
# empty, only resource's whose attributes field matches the filter are returned.
|
@@ -2478,11 +2576,12 @@ module Google
|
|
2478
2576
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2479
2577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2480
2578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2481
|
-
def list_project_location_vmware_clusters(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2579
|
+
def list_project_location_vmware_clusters(parent, allow_missing: nil, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2482
2580
|
command = make_simple_command(:get, 'v1/{+parent}/vmwareClusters', options)
|
2483
2581
|
command.response_representation = Google::Apis::GkeonpremV1::ListVmwareClustersResponse::Representation
|
2484
2582
|
command.response_class = Google::Apis::GkeonpremV1::ListVmwareClustersResponse
|
2485
2583
|
command.params['parent'] = parent unless parent.nil?
|
2584
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
2486
2585
|
command.query['filter'] = filter unless filter.nil?
|
2487
2586
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2488
2587
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -19,13 +19,13 @@ require 'google/apis/gkeonprem_v1/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
#
|
22
|
+
# GDC Virtual API
|
23
23
|
#
|
24
24
|
#
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/anthos/clusters/docs/on-prem/
|
27
27
|
module GkeonpremV1
|
28
|
-
# Version of the
|
28
|
+
# Version of the GDC Virtual API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
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.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -30,13 +30,13 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
33
|
-
description: This is the simple REST client for
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
description: This is the simple REST client for GDC Virtual API V1. Simple REST clients
|
34
|
+
are Ruby client libraries that provide access to Google services via their HTTP
|
35
|
+
REST API endpoints. These libraries are generated and updated automatically based
|
36
|
+
on the discovery documents published by the service, and they handle most concerns
|
37
|
+
such as authentication, pagination, retry, timeouts, and logging. You can use this
|
38
|
+
client to access the GDC Virtual API, but note that some services may provide a
|
39
|
+
separate modern client that is easier to use.
|
40
40
|
email: googleapis-packages@google.com
|
41
41
|
executables: []
|
42
42
|
extensions: []
|
@@ -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.23.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: []
|
@@ -75,8 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
|
-
summary: Simple REST client for
|
81
|
+
summary: Simple REST client for GDC Virtual API V1
|
82
82
|
test_files: []
|