google-apis-gkeonprem_v1 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b88803409c4352db0ba1e5ec95f86d0973595b808ff425ab734410ddda0a28b
4
- data.tar.gz: ba194c2bdee1ee4acafe895a5f4483d2288e9e60396cb482893ca4b98d56dee8
3
+ metadata.gz: 29c99105784b64175f530697d755ed7411fbafc11d3aa2248f1417e30bf207ff
4
+ data.tar.gz: 9f660437a5853a9bee4b7b750412ef28b30ebec961c84012cba85e05714efeee
5
5
  SHA512:
6
- metadata.gz: a9314f0e831f57eda7946e8db28394cbe01a12147c04f63b1d280656465eec0dfe1ed5002658e05eacb269e79cc16bfe53ebddf0c0d9133918632653dd6ca420
7
- data.tar.gz: 676def8b323b57e4bc0699eb39e4377dea6e63d968e2effb27d9018f705aa1da4e05e4c103ad1150c0a60217b0f42d2c6d3ae14fa9ecb48e7a9cfc688173f84e
6
+ metadata.gz: 8d617667fb79422ffa927327699963b6191fdb806996da54619065aecf01d6b2b4092c8acfd71b68a085cf756cdc8aa5ab3955bd80043d7d04f2e4532e43f655
7
+ data.tar.gz: 5a2145398064dac1d8c17e8b7acf2d6b3c9d75686bfc35a2dffb020294533cbbf8c5cb65a967cd275bbc4faf6a56c626144d5843e9023371d22360803b0d4213
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.9.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230724
6
+
3
7
  ### v0.8.0 (2023-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230717
@@ -1031,6 +1031,11 @@ module Google
1031
1031
  # @return [String]
1032
1032
  attr_accessor :update_time
1033
1033
 
1034
+ # BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
1035
+ # Corresponds to the JSON property `upgradePolicy`
1036
+ # @return [Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy]
1037
+ attr_accessor :upgrade_policy
1038
+
1034
1039
  # ValidationCheck represents the result of preflight check.
1035
1040
  # Corresponds to the JSON property `validationCheck`
1036
1041
  # @return [Google::Apis::GkeonpremV1::ValidationCheck]
@@ -1071,6 +1076,7 @@ module Google
1071
1076
  @storage = args[:storage] if args.key?(:storage)
1072
1077
  @uid = args[:uid] if args.key?(:uid)
1073
1078
  @update_time = args[:update_time] if args.key?(:update_time)
1079
+ @upgrade_policy = args[:upgrade_policy] if args.key?(:upgrade_policy)
1074
1080
  @validation_check = args[:validation_check] if args.key?(:validation_check)
1075
1081
  end
1076
1082
  end
@@ -1096,6 +1102,25 @@ module Google
1096
1102
  end
1097
1103
  end
1098
1104
 
1105
+ # BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
1106
+ class BareMetalClusterUpgradePolicy
1107
+ include Google::Apis::Core::Hashable
1108
+
1109
+ # Specifies which upgrade policy to use.
1110
+ # Corresponds to the JSON property `policy`
1111
+ # @return [String]
1112
+ attr_accessor :policy
1113
+
1114
+ def initialize(**args)
1115
+ update!(**args)
1116
+ end
1117
+
1118
+ # Update properties of this object
1119
+ def update!(**args)
1120
+ @policy = args[:policy] if args.key?(:policy)
1121
+ end
1122
+ end
1123
+
1099
1124
  # Specifies the control plane configuration.
1100
1125
  class BareMetalControlPlaneConfig
1101
1126
  include Google::Apis::Core::Hashable
@@ -5332,6 +5357,11 @@ module Google
5332
5357
  # @return [String]
5333
5358
  attr_accessor :datastore
5334
5359
 
5360
+ # Vsphere host groups to apply to all VMs in the node pool
5361
+ # Corresponds to the JSON property `hostGroups`
5362
+ # @return [Array<String>]
5363
+ attr_accessor :host_groups
5364
+
5335
5365
  # Tags to apply to VMs.
5336
5366
  # Corresponds to the JSON property `tags`
5337
5367
  # @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
@@ -5344,6 +5374,7 @@ module Google
5344
5374
  # Update properties of this object
5345
5375
  def update!(**args)
5346
5376
  @datastore = args[:datastore] if args.key?(:datastore)
5377
+ @host_groups = args[:host_groups] if args.key?(:host_groups)
5347
5378
  @tags = args[:tags] if args.key?(:tags)
5348
5379
  end
5349
5380
  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.8.0"
19
+ GEM_VERSION = "0.9.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 = "20230717"
25
+ REVISION = "20230724"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class BareMetalClusterUpgradePolicy
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class BareMetalControlPlaneConfig
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -1188,6 +1194,8 @@ module Google
1188
1194
 
1189
1195
  property :uid, as: 'uid'
1190
1196
  property :update_time, as: 'updateTime'
1197
+ property :upgrade_policy, as: 'upgradePolicy', class: Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy, decorator: Google::Apis::GkeonpremV1::BareMetalClusterUpgradePolicy::Representation
1198
+
1191
1199
  property :validation_check, as: 'validationCheck', class: Google::Apis::GkeonpremV1::ValidationCheck, decorator: Google::Apis::GkeonpremV1::ValidationCheck::Representation
1192
1200
 
1193
1201
  end
@@ -1200,6 +1208,13 @@ module Google
1200
1208
  end
1201
1209
  end
1202
1210
 
1211
+ class BareMetalClusterUpgradePolicy
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ property :policy, as: 'policy'
1215
+ end
1216
+ end
1217
+
1203
1218
  class BareMetalControlPlaneConfig
1204
1219
  # @private
1205
1220
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2364,6 +2379,7 @@ module Google
2364
2379
  # @private
2365
2380
  class Representation < Google::Apis::Core::JsonRepresentation
2366
2381
  property :datastore, as: 'datastore'
2382
+ collection :host_groups, as: 'hostGroups'
2367
2383
  collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
2368
2384
 
2369
2385
  end
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.8.0
4
+ version: 0.9.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-06 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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.9.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: []