google-apis-gkeonprem_v1 0.20.0 → 0.22.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: 03e15ca28b464a12e4b37e75c877042527d3ef9db22bcfbe4b37ebba0f422465
4
- data.tar.gz: 86b6651b8ffbe284aa2b7485583af76990d94a9645938a7a1fa23e33facad9fc
3
+ metadata.gz: 8c36d1f3337ae232c867aa48144ea7ccfabcdd7efc20f26326e294a88f1fc8f9
4
+ data.tar.gz: 6dacdc0c5f1c8d87e4c04893f3d33e462b32624842f6019b2b46963105a60bf3
5
5
  SHA512:
6
- metadata.gz: e0b4794229f3938717c0699b6d8dc8b69358a8f2929616910a91ec84385b4af88c3f914dee95014da09bef3c6b9c274252fc7a1b4383bc8f98f33aa7f9797b99
7
- data.tar.gz: 851ba48ff79233af34a191cccd4580513334c4effe1d32720428f4652d15467871c3846222bfce9a0be52849c4725c4dad52c4a12d70b74e163ada1a2aad5802
6
+ metadata.gz: ddadf4dcbffb649240f035067c85d6907f74e6812b81adf7855ffbea5f0f2d78fccffb7f7936b7ae97aa7f7f7bf79325741e1cabce09256f36cf81f2b4d500ca
7
+ data.tar.gz: dd2a48ade917fd13ee47febb2474395c983629b374831de6804194feaa10f26fcfe6fe870d0882f98fe40f0a112beca9b2203fd8f684c1c3514eb940010d46ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.22.0 (2024-08-25)
4
+
5
+ * Regenerated from discovery document revision 20240814
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.21.0 (2024-05-19)
9
+
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.20.0 (2024-03-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20240228
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V1 of the Anthos On-Prem API
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 Anthos On-Prem API. It provides:
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 Anthos On-Prem API, see the {Google::Apis::GkeonpremV1::GKEOnPremService class reference docs}.
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.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240228"
25
+ REVISION = "20240814"
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
- # Anthos On-Prem API
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?
@@ -1866,6 +1894,9 @@ module Google
1866
1894
  # @param [String] name
1867
1895
  # Required. Name of the VMware admin cluster to be returned. Format: "projects/`
1868
1896
  # project`/locations/`location`/vmwareAdminClusters/`vmware_admin_cluster`"
1897
+ # @param [Boolean] allow_missing
1898
+ # Optional. If true, return Vmware Admin Cluster including the one that only
1899
+ # exists in RMS.
1869
1900
  # @param [String] view
1870
1901
  # View for VMware admin cluster. When `BASIC` is specified, only the cluster
1871
1902
  # resource name and membership are returned. The default/unset value `
@@ -1888,11 +1919,12 @@ module Google
1888
1919
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1889
1920
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1890
1921
  # @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)
1922
+ def get_project_location_vmware_admin_cluster(name, allow_missing: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1892
1923
  command = make_simple_command(:get, 'v1/{+name}', options)
1893
1924
  command.response_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
1894
1925
  command.response_class = Google::Apis::GkeonpremV1::VmwareAdminCluster
1895
1926
  command.params['name'] = name unless name.nil?
1927
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
1896
1928
  command.query['view'] = view unless view.nil?
1897
1929
  command.query['fields'] = fields unless fields.nil?
1898
1930
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1948,6 +1980,9 @@ module Google
1948
1980
  # @param [String] parent
1949
1981
  # Required. The parent of the project and location where the clusters are listed
1950
1982
  # in. Format: "projects/`project`/locations/`location`"
1983
+ # @param [Boolean] allow_missing
1984
+ # Optional. If true, return list of Vmware Admin Clusters including the ones
1985
+ # that only exists in RMS.
1951
1986
  # @param [Fixnum] page_size
1952
1987
  # Requested page size. Server may return fewer items than requested. If
1953
1988
  # unspecified, at most 50 clusters will be returned. The maximum value is 1000;
@@ -1976,11 +2011,12 @@ module Google
1976
2011
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1977
2012
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1978
2013
  # @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)
2014
+ 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
2015
  command = make_simple_command(:get, 'v1/{+parent}/vmwareAdminClusters', options)
1981
2016
  command.response_representation = Google::Apis::GkeonpremV1::ListVmwareAdminClustersResponse::Representation
1982
2017
  command.response_class = Google::Apis::GkeonpremV1::ListVmwareAdminClustersResponse
1983
2018
  command.params['parent'] = parent unless parent.nil?
2019
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
1984
2020
  command.query['pageSize'] = page_size unless page_size.nil?
1985
2021
  command.query['pageToken'] = page_token unless page_token.nil?
1986
2022
  command.query['view'] = view unless view.nil?
@@ -2232,6 +2268,11 @@ module Google
2232
2268
  # Required. The parent of the project and location where this cluster is created
2233
2269
  # in. Format: "projects/`project`/locations/`location`"
2234
2270
  # @param [Google::Apis::GkeonpremV1::VmwareCluster] vmware_cluster_object
2271
+ # @param [Boolean] allow_preflight_failure
2272
+ # Optional. If set to true, CLM will force CCFE to persist the cluster resource
2273
+ # in RMS when the creation fails during standalone preflight checks. In that
2274
+ # case the subsequent create call will fail with "cluster already exists" error
2275
+ # and hence a update cluster is required to fix the cluster.
2235
2276
  # @param [Boolean] validate_only
2236
2277
  # Validate the request without actually doing any updates.
2237
2278
  # @param [String] vmware_cluster_id
@@ -2255,13 +2296,14 @@ module Google
2255
2296
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2256
2297
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2257
2298
  # @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)
2299
+ 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
2300
  command = make_simple_command(:post, 'v1/{+parent}/vmwareClusters', options)
2260
2301
  command.request_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
2261
2302
  command.request_object = vmware_cluster_object
2262
2303
  command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
2263
2304
  command.response_class = Google::Apis::GkeonpremV1::Operation
2264
2305
  command.params['parent'] = parent unless parent.nil?
2306
+ command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
2265
2307
  command.query['validateOnly'] = validate_only unless validate_only.nil?
2266
2308
  command.query['vmwareClusterId'] = vmware_cluster_id unless vmware_cluster_id.nil?
2267
2309
  command.query['fields'] = fields unless fields.nil?
@@ -2365,6 +2407,9 @@ module Google
2365
2407
  # @param [String] name
2366
2408
  # Required. Name of the VMware user cluster to be returned. Format: "projects/`
2367
2409
  # project`/locations/`location`/vmwareClusters/`vmware_cluster`"
2410
+ # @param [Boolean] allow_missing
2411
+ # Optional. If true, return Vmware Cluster including the one that only exists in
2412
+ # RMS.
2368
2413
  # @param [String] view
2369
2414
  # View for VMware user cluster. When `BASIC` is specified, only the cluster
2370
2415
  # resource name and admin cluster membership are returned. The default/unset
@@ -2387,11 +2432,12 @@ module Google
2387
2432
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2388
2433
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2389
2434
  # @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)
2435
+ def get_project_location_vmware_cluster(name, allow_missing: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
2391
2436
  command = make_simple_command(:get, 'v1/{+name}', options)
2392
2437
  command.response_representation = Google::Apis::GkeonpremV1::VmwareCluster::Representation
2393
2438
  command.response_class = Google::Apis::GkeonpremV1::VmwareCluster
2394
2439
  command.params['name'] = name unless name.nil?
2440
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
2395
2441
  command.query['view'] = view unless view.nil?
2396
2442
  command.query['fields'] = fields unless fields.nil?
2397
2443
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2447,6 +2493,9 @@ module Google
2447
2493
  # @param [String] parent
2448
2494
  # Required. The parent of the project and location where the clusters are listed
2449
2495
  # in. Format: "projects/`project`/locations/`location`"
2496
+ # @param [Boolean] allow_missing
2497
+ # Optional. If true, return list of Vmware Clusters including the ones that only
2498
+ # exists in RMS.
2450
2499
  # @param [String] filter
2451
2500
  # A resource filtering expression following https://google.aip.dev/160. When non-
2452
2501
  # empty, only resource's whose attributes field matches the filter are returned.
@@ -2478,11 +2527,12 @@ module Google
2478
2527
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2479
2528
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2480
2529
  # @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)
2530
+ 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
2531
  command = make_simple_command(:get, 'v1/{+parent}/vmwareClusters', options)
2483
2532
  command.response_representation = Google::Apis::GkeonpremV1::ListVmwareClustersResponse::Representation
2484
2533
  command.response_class = Google::Apis::GkeonpremV1::ListVmwareClustersResponse
2485
2534
  command.params['parent'] = parent unless parent.nil?
2535
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
2486
2536
  command.query['filter'] = filter unless filter.nil?
2487
2537
  command.query['pageSize'] = page_size unless page_size.nil?
2488
2538
  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
- # Anthos On-Prem API
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 Anthos On-Prem API this client connects to.
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.20.0
4
+ version: 0.22.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-03-10 00:00:00.000000000 Z
11
+ date: 2024-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,17 +26,17 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for Anthos On-Prem API V1. Simple REST
34
- clients are Ruby client libraries that provide access to Google services via their
35
- HTTP REST API endpoints. These libraries are generated and updated automatically
36
- based on the discovery documents published by the service, and they handle most
37
- concerns such as authentication, pagination, retry, timeouts, and logging. You can
38
- use this client to access the Anthos On-Prem API, but note that some services may
39
- provide a separate modern client that is easier to use.
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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.22.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: []
@@ -78,5 +78,5 @@ requirements: []
78
78
  rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for Anthos On-Prem API V1
81
+ summary: Simple REST client for GDC Virtual API V1
82
82
  test_files: []