@@ -1324,6 +1324,11 @@ def update!(**args)
1324
1324
class AllocationResourceStatus
1325
1325
include Google::Apis::Core::Hashable
1326
1326
1327
+ # Health information for the reservation.
1328
+ # Corresponds to the JSON property `healthInfo`
1329
+ # @return [Google::Apis::ComputeBeta::AllocationResourceStatusHealthInfo]
1330
+ attr_accessor :health_info
1331
+
1327
1332
# The number of reservation blocks associated with this reservation.
1328
1333
# Corresponds to the JSON property `reservationBlockCount`
1329
1334
# @return [Fixnum]
@@ -1345,12 +1350,44 @@ def initialize(**args)
1345
1350
1346
1351
# Update properties of this object
1347
1352
def update!(**args)
1353
+ @health_info = args[:health_info] if args.key?(:health_info)
1348
1354
@reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
1349
1355
@reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
1350
1356
@specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
1351
1357
end
1352
1358
end
1353
1359
1360
+ # Health information for the reservation.
1361
+ class AllocationResourceStatusHealthInfo
1362
+ include Google::Apis::Core::Hashable
1363
+
1364
+ # The number of reservation blocks that are degraded.
1365
+ # Corresponds to the JSON property `degradedBlockCount`
1366
+ # @return [Fixnum]
1367
+ attr_accessor :degraded_block_count
1368
+
1369
+ # The health status of the reservation.
1370
+ # Corresponds to the JSON property `healthStatus`
1371
+ # @return [String]
1372
+ attr_accessor :health_status
1373
+
1374
+ # The number of reservation blocks that are healthy.
1375
+ # Corresponds to the JSON property `healthyBlockCount`
1376
+ # @return [Fixnum]
1377
+ attr_accessor :healthy_block_count
1378
+
1379
+ def initialize(**args)
1380
+ update!(**args)
1381
+ end
1382
+
1383
+ # Update properties of this object
1384
+ def update!(**args)
1385
+ @degraded_block_count = args[:degraded_block_count] if args.key?(:degraded_block_count)
1386
+ @health_status = args[:health_status] if args.key?(:health_status)
1387
+ @healthy_block_count = args[:healthy_block_count] if args.key?(:healthy_block_count)
1388
+ end
1389
+ end
1390
+
1354
1391
# Contains Properties set for the reservation.
1355
1392
class AllocationResourceStatusSpecificSkuAllocation
1356
1393
include Google::Apis::Core::Hashable
@@ -40279,6 +40316,11 @@ class Reservation
40279
40316
attr_accessor :satisfies_pzs
40280
40317
alias_method :satisfies_pzs?, :satisfies_pzs
40281
40318
40319
+ # The type of maintenance for the reservation.
40320
+ # Corresponds to the JSON property `schedulingType`
40321
+ # @return [String]
40322
+ attr_accessor :scheduling_type
40323
+
40282
40324
# [Output Only] Server-defined fully-qualified URL for this resource.
40283
40325
# Corresponds to the JSON property `selfLink`
40284
40326
# @return [String]
@@ -40339,6 +40381,7 @@ def update!(**args)
40339
40381
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
40340
40382
@resource_status = args[:resource_status] if args.key?(:resource_status)
40341
40383
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
40384
+ @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
40342
40385
@self_link = args[:self_link] if args.key?(:self_link)
40343
40386
@share_settings = args[:share_settings] if args.key?(:share_settings)
40344
40387
@specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
@@ -40524,6 +40567,11 @@ class ReservationBlock
40524
40567
# @return [String]
40525
40568
attr_accessor :creation_timestamp
40526
40569
40570
+ # Health information for the reservation block.
40571
+ # Corresponds to the JSON property `healthInfo`
40572
+ # @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
40573
+ attr_accessor :health_info
40574
+
40527
40575
# [Output Only] The unique identifier for the resource. This identifier is
40528
40576
# defined by the server.
40529
40577
# Corresponds to the JSON property `id`
@@ -40600,6 +40648,7 @@ def initialize(**args)
40600
40648
def update!(**args)
40601
40649
@count = args[:count] if args.key?(:count)
40602
40650
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
40651
+ @health_info = args[:health_info] if args.key?(:health_info)
40603
40652
@id = args[:id] if args.key?(:id)
40604
40653
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
40605
40654
@kind = args[:kind] if args.key?(:kind)
@@ -40615,6 +40664,37 @@ def update!(**args)
40615
40664
end
40616
40665
end
40617
40666
40667
+ # Health information for the reservation block.
40668
+ class ReservationBlockHealthInfo
40669
+ include Google::Apis::Core::Hashable
40670
+
40671
+ # The number of subBlocks that are degraded.
40672
+ # Corresponds to the JSON property `degradedSubBlockCount`
40673
+ # @return [Fixnum]
40674
+ attr_accessor :degraded_sub_block_count
40675
+
40676
+ # The health status of the reservation block.
40677
+ # Corresponds to the JSON property `healthStatus`
40678
+ # @return [String]
40679
+ attr_accessor :health_status
40680
+
40681
+ # The number of subBlocks that are healthy.
40682
+ # Corresponds to the JSON property `healthySubBlockCount`
40683
+ # @return [Fixnum]
40684
+ attr_accessor :healthy_sub_block_count
40685
+
40686
+ def initialize(**args)
40687
+ update!(**args)
40688
+ end
40689
+
40690
+ # Update properties of this object
40691
+ def update!(**args)
40692
+ @degraded_sub_block_count = args[:degraded_sub_block_count] if args.key?(:degraded_sub_block_count)
40693
+ @health_status = args[:health_status] if args.key?(:health_status)
40694
+ @healthy_sub_block_count = args[:healthy_sub_block_count] if args.key?(:healthy_sub_block_count)
40695
+ end
40696
+ end
40697
+
40618
40698
#
40619
40699
class ReservationBlockPhysicalTopology
40620
40700
include Google::Apis::Core::Hashable
@@ -40973,6 +41053,11 @@ class ReservationSubBlock
40973
41053
# @return [String]
40974
41054
attr_accessor :creation_timestamp
40975
41055
41056
+ # Health information for the reservation subBlock.
41057
+ # Corresponds to the JSON property `healthInfo`
41058
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
41059
+ attr_accessor :health_info
41060
+
40976
41061
# [Output Only] The unique identifier for the resource. This identifier is
40977
41062
# defined by the server.
40978
41063
# Corresponds to the JSON property `id`
@@ -41036,6 +41121,7 @@ def initialize(**args)
41036
41121
def update!(**args)
41037
41122
@count = args[:count] if args.key?(:count)
41038
41123
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
41124
+ @health_info = args[:health_info] if args.key?(:health_info)
41039
41125
@id = args[:id] if args.key?(:id)
41040
41126
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
41041
41127
@kind = args[:kind] if args.key?(:kind)
@@ -41049,6 +41135,51 @@ def update!(**args)
41049
41135
end
41050
41136
end
41051
41137
41138
+ # Health information for the reservation subBlock.
41139
+ class ReservationSubBlockHealthInfo
41140
+ include Google::Apis::Core::Hashable
41141
+
41142
+ # The number of degraded hosts in the reservation subBlock.
41143
+ # Corresponds to the JSON property `degradedHostCount`
41144
+ # @return [Fixnum]
41145
+ attr_accessor :degraded_host_count
41146
+
41147
+ # The number of degraded infrastructure (e.g NV link domain) in the reservation
41148
+ # subblock.
41149
+ # Corresponds to the JSON property `degradedInfraCount`
41150
+ # @return [Fixnum]
41151
+ attr_accessor :degraded_infra_count
41152
+
41153
+ # The health status of the reservation subBlock.
41154
+ # Corresponds to the JSON property `healthStatus`
41155
+ # @return [String]
41156
+ attr_accessor :health_status
41157
+
41158
+ # The number of healthy hosts in the reservation subBlock.
41159
+ # Corresponds to the JSON property `healthyHostCount`
41160
+ # @return [Fixnum]
41161
+ attr_accessor :healthy_host_count
41162
+
41163
+ # The number of healthy infrastructure (e.g NV link domain) in the reservation
41164
+ # subblock.
41165
+ # Corresponds to the JSON property `healthyInfraCount`
41166
+ # @return [Fixnum]
41167
+ attr_accessor :healthy_infra_count
41168
+
41169
+ def initialize(**args)
41170
+ update!(**args)
41171
+ end
41172
+
41173
+ # Update properties of this object
41174
+ def update!(**args)
41175
+ @degraded_host_count = args[:degraded_host_count] if args.key?(:degraded_host_count)
41176
+ @degraded_infra_count = args[:degraded_infra_count] if args.key?(:degraded_infra_count)
41177
+ @health_status = args[:health_status] if args.key?(:health_status)
41178
+ @healthy_host_count = args[:healthy_host_count] if args.key?(:healthy_host_count)
41179
+ @healthy_infra_count = args[:healthy_infra_count] if args.key?(:healthy_infra_count)
41180
+ end
41181
+ end
41182
+
41052
41183
#
41053
41184
class ReservationSubBlockPhysicalTopology
41054
41185
include Google::Apis::Core::Hashable
@@ -56766,6 +56897,11 @@ class UpcomingMaintenance
56766
56897
attr_accessor :maintenance_on_shutdown
56767
56898
alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
56768
56899
56900
+ # The reasons for the maintenance. Only valid for vms.
56901
+ # Corresponds to the JSON property `maintenanceReasons`
56902
+ # @return [Array<String>]
56903
+ attr_accessor :maintenance_reasons
56904
+
56769
56905
#
56770
56906
# Corresponds to the JSON property `maintenanceStatus`
56771
56907
# @return [String]
@@ -56797,6 +56933,7 @@ def update!(**args)
56797
56933
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
56798
56934
@latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
56799
56935
@maintenance_on_shutdown = args[:maintenance_on_shutdown] if args.key?(:maintenance_on_shutdown)
56936
+ @maintenance_reasons = args[:maintenance_reasons] if args.key?(:maintenance_reasons)
56800
56937
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
56801
56938
@type = args[:type] if args.key?(:type)
56802
56939
@window_end_time = args[:window_end_time] if args.key?(:window_end_time)
0 commit comments