@@ -1368,6 +1368,11 @@ class AllocationResourceStatus
1368
1368
# @return [Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation]
1369
1369
attr_accessor :aggregate_allocation
1370
1370
1371
+ # Health information for the reservation.
1372
+ # Corresponds to the JSON property `healthInfo`
1373
+ # @return [Google::Apis::ComputeAlpha::AllocationResourceStatusHealthInfo]
1374
+ attr_accessor :health_info
1375
+
1371
1376
# The number of reservation blocks associated with this reservation.
1372
1377
# Corresponds to the JSON property `reservationBlockCount`
1373
1378
# @return [Fixnum]
@@ -1390,6 +1395,7 @@ def initialize(**args)
1390
1395
# Update properties of this object
1391
1396
def update!(**args)
1392
1397
@aggregate_allocation = args[:aggregate_allocation] if args.key?(:aggregate_allocation)
1398
+ @health_info = args[:health_info] if args.key?(:health_info)
1393
1399
@reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
1394
1400
@reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
1395
1401
@specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
@@ -1416,6 +1422,37 @@ def update!(**args)
1416
1422
end
1417
1423
end
1418
1424
1425
+ # Health information for the reservation.
1426
+ class AllocationResourceStatusHealthInfo
1427
+ include Google::Apis::Core::Hashable
1428
+
1429
+ # The number of reservation blocks that are degraded.
1430
+ # Corresponds to the JSON property `degradedBlockCount`
1431
+ # @return [Fixnum]
1432
+ attr_accessor :degraded_block_count
1433
+
1434
+ # The health status of the reservation.
1435
+ # Corresponds to the JSON property `healthStatus`
1436
+ # @return [String]
1437
+ attr_accessor :health_status
1438
+
1439
+ # The number of reservation blocks that are healthy.
1440
+ # Corresponds to the JSON property `healthyBlockCount`
1441
+ # @return [Fixnum]
1442
+ attr_accessor :healthy_block_count
1443
+
1444
+ def initialize(**args)
1445
+ update!(**args)
1446
+ end
1447
+
1448
+ # Update properties of this object
1449
+ def update!(**args)
1450
+ @degraded_block_count = args[:degraded_block_count] if args.key?(:degraded_block_count)
1451
+ @health_status = args[:health_status] if args.key?(:health_status)
1452
+ @healthy_block_count = args[:healthy_block_count] if args.key?(:healthy_block_count)
1453
+ end
1454
+ end
1455
+
1419
1456
# Contains Properties set for the reservation.
1420
1457
class AllocationResourceStatusSpecificSkuAllocation
1421
1458
include Google::Apis::Core::Hashable
@@ -47722,6 +47759,11 @@ class ReservationBlock
47722
47759
# @return [String]
47723
47760
attr_accessor :creation_timestamp
47724
47761
47762
+ # Health information for the reservation block.
47763
+ # Corresponds to the JSON property `healthInfo`
47764
+ # @return [Google::Apis::ComputeAlpha::ReservationBlockHealthInfo]
47765
+ attr_accessor :health_info
47766
+
47725
47767
# [Output Only] The unique identifier for the resource. This identifier is
47726
47768
# defined by the server.
47727
47769
# Corresponds to the JSON property `id`
@@ -47806,6 +47848,7 @@ def initialize(**args)
47806
47848
def update!(**args)
47807
47849
@count = args[:count] if args.key?(:count)
47808
47850
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
47851
+ @health_info = args[:health_info] if args.key?(:health_info)
47809
47852
@id = args[:id] if args.key?(:id)
47810
47853
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
47811
47854
@kind = args[:kind] if args.key?(:kind)
@@ -47822,6 +47865,37 @@ def update!(**args)
47822
47865
end
47823
47866
end
47824
47867
47868
+ # Health information for the reservation block.
47869
+ class ReservationBlockHealthInfo
47870
+ include Google::Apis::Core::Hashable
47871
+
47872
+ # The number of subBlocks that are degraded.
47873
+ # Corresponds to the JSON property `degradedSubBlockCount`
47874
+ # @return [Fixnum]
47875
+ attr_accessor :degraded_sub_block_count
47876
+
47877
+ # The health status of the reservation block.
47878
+ # Corresponds to the JSON property `healthStatus`
47879
+ # @return [String]
47880
+ attr_accessor :health_status
47881
+
47882
+ # The number of subBlocks that are healthy.
47883
+ # Corresponds to the JSON property `healthySubBlockCount`
47884
+ # @return [Fixnum]
47885
+ attr_accessor :healthy_sub_block_count
47886
+
47887
+ def initialize(**args)
47888
+ update!(**args)
47889
+ end
47890
+
47891
+ # Update properties of this object
47892
+ def update!(**args)
47893
+ @degraded_sub_block_count = args[:degraded_sub_block_count] if args.key?(:degraded_sub_block_count)
47894
+ @health_status = args[:health_status] if args.key?(:health_status)
47895
+ @healthy_sub_block_count = args[:healthy_sub_block_count] if args.key?(:healthy_sub_block_count)
47896
+ end
47897
+ end
47898
+
47825
47899
#
47826
47900
class ReservationBlockPhysicalTopology
47827
47901
include Google::Apis::Core::Hashable
@@ -48180,6 +48254,11 @@ class ReservationSubBlock
48180
48254
# @return [String]
48181
48255
attr_accessor :creation_timestamp
48182
48256
48257
+ # Health information for the reservation subBlock.
48258
+ # Corresponds to the JSON property `healthInfo`
48259
+ # @return [Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo]
48260
+ attr_accessor :health_info
48261
+
48183
48262
# [Output Only] The unique identifier for the resource. This identifier is
48184
48263
# defined by the server.
48185
48264
# Corresponds to the JSON property `id`
@@ -48243,6 +48322,7 @@ def initialize(**args)
48243
48322
def update!(**args)
48244
48323
@count = args[:count] if args.key?(:count)
48245
48324
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
48325
+ @health_info = args[:health_info] if args.key?(:health_info)
48246
48326
@id = args[:id] if args.key?(:id)
48247
48327
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
48248
48328
@kind = args[:kind] if args.key?(:kind)
@@ -48256,6 +48336,51 @@ def update!(**args)
48256
48336
end
48257
48337
end
48258
48338
48339
+ # Health information for the reservation subBlock.
48340
+ class ReservationSubBlockHealthInfo
48341
+ include Google::Apis::Core::Hashable
48342
+
48343
+ # The number of degraded hosts in the reservation subBlock.
48344
+ # Corresponds to the JSON property `degradedHostCount`
48345
+ # @return [Fixnum]
48346
+ attr_accessor :degraded_host_count
48347
+
48348
+ # The number of degraded infrastructure (e.g NV link domain) in the reservation
48349
+ # subblock.
48350
+ # Corresponds to the JSON property `degradedInfraCount`
48351
+ # @return [Fixnum]
48352
+ attr_accessor :degraded_infra_count
48353
+
48354
+ # The health status of the reservation subBlock.
48355
+ # Corresponds to the JSON property `healthStatus`
48356
+ # @return [String]
48357
+ attr_accessor :health_status
48358
+
48359
+ # The number of healthy hosts in the reservation subBlock.
48360
+ # Corresponds to the JSON property `healthyHostCount`
48361
+ # @return [Fixnum]
48362
+ attr_accessor :healthy_host_count
48363
+
48364
+ # The number of healthy infrastructure (e.g NV link domain) in the reservation
48365
+ # subblock.
48366
+ # Corresponds to the JSON property `healthyInfraCount`
48367
+ # @return [Fixnum]
48368
+ attr_accessor :healthy_infra_count
48369
+
48370
+ def initialize(**args)
48371
+ update!(**args)
48372
+ end
48373
+
48374
+ # Update properties of this object
48375
+ def update!(**args)
48376
+ @degraded_host_count = args[:degraded_host_count] if args.key?(:degraded_host_count)
48377
+ @degraded_infra_count = args[:degraded_infra_count] if args.key?(:degraded_infra_count)
48378
+ @health_status = args[:health_status] if args.key?(:health_status)
48379
+ @healthy_host_count = args[:healthy_host_count] if args.key?(:healthy_host_count)
48380
+ @healthy_infra_count = args[:healthy_infra_count] if args.key?(:healthy_infra_count)
48381
+ end
48382
+ end
48383
+
48259
48384
#
48260
48385
class ReservationSubBlockPhysicalTopology
48261
48386
include Google::Apis::Core::Hashable
0 commit comments