@@ -1324,6 +1324,11 @@ def update!(**args)
13241324 class AllocationResourceStatus
13251325 include Google::Apis::Core::Hashable
13261326
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+
13271332 # The number of reservation blocks associated with this reservation.
13281333 # Corresponds to the JSON property `reservationBlockCount`
13291334 # @return [Fixnum]
@@ -1345,12 +1350,44 @@ def initialize(**args)
13451350
13461351 # Update properties of this object
13471352 def update!(**args)
1353+ @health_info = args[:health_info] if args.key?(:health_info)
13481354 @reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
13491355 @reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
13501356 @specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
13511357 end
13521358 end
13531359
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+
13541391 # Contains Properties set for the reservation.
13551392 class AllocationResourceStatusSpecificSkuAllocation
13561393 include Google::Apis::Core::Hashable
@@ -40279,6 +40316,11 @@ class Reservation
4027940316 attr_accessor :satisfies_pzs
4028040317 alias_method :satisfies_pzs?, :satisfies_pzs
4028140318
40319+ # The type of maintenance for the reservation.
40320+ # Corresponds to the JSON property `schedulingType`
40321+ # @return [String]
40322+ attr_accessor :scheduling_type
40323+
4028240324 # [Output Only] Server-defined fully-qualified URL for this resource.
4028340325 # Corresponds to the JSON property `selfLink`
4028440326 # @return [String]
@@ -40339,6 +40381,7 @@ def update!(**args)
4033940381 @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
4034040382 @resource_status = args[:resource_status] if args.key?(:resource_status)
4034140383 @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
40384+ @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
4034240385 @self_link = args[:self_link] if args.key?(:self_link)
4034340386 @share_settings = args[:share_settings] if args.key?(:share_settings)
4034440387 @specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
@@ -40524,6 +40567,11 @@ class ReservationBlock
4052440567 # @return [String]
4052540568 attr_accessor :creation_timestamp
4052640569
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+
4052740575 # [Output Only] The unique identifier for the resource. This identifier is
4052840576 # defined by the server.
4052940577 # Corresponds to the JSON property `id`
@@ -40600,6 +40648,7 @@ def initialize(**args)
4060040648 def update!(**args)
4060140649 @count = args[:count] if args.key?(:count)
4060240650 @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
40651+ @health_info = args[:health_info] if args.key?(:health_info)
4060340652 @id = args[:id] if args.key?(:id)
4060440653 @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
4060540654 @kind = args[:kind] if args.key?(:kind)
@@ -40615,6 +40664,37 @@ def update!(**args)
4061540664 end
4061640665 end
4061740666
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+
4061840698 #
4061940699 class ReservationBlockPhysicalTopology
4062040700 include Google::Apis::Core::Hashable
@@ -40973,6 +41053,11 @@ class ReservationSubBlock
4097341053 # @return [String]
4097441054 attr_accessor :creation_timestamp
4097541055
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+
4097641061 # [Output Only] The unique identifier for the resource. This identifier is
4097741062 # defined by the server.
4097841063 # Corresponds to the JSON property `id`
@@ -41036,6 +41121,7 @@ def initialize(**args)
4103641121 def update!(**args)
4103741122 @count = args[:count] if args.key?(:count)
4103841123 @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
41124+ @health_info = args[:health_info] if args.key?(:health_info)
4103941125 @id = args[:id] if args.key?(:id)
4104041126 @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
4104141127 @kind = args[:kind] if args.key?(:kind)
@@ -41049,6 +41135,51 @@ def update!(**args)
4104941135 end
4105041136 end
4105141137
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+
4105241183 #
4105341184 class ReservationSubBlockPhysicalTopology
4105441185 include Google::Apis::Core::Hashable
@@ -56766,6 +56897,11 @@ class UpcomingMaintenance
5676656897 attr_accessor :maintenance_on_shutdown
5676756898 alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
5676856899
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+
5676956905 #
5677056906 # Corresponds to the JSON property `maintenanceStatus`
5677156907 # @return [String]
@@ -56797,6 +56933,7 @@ def update!(**args)
5679756933 @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
5679856934 @latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
5679956935 @maintenance_on_shutdown = args[:maintenance_on_shutdown] if args.key?(:maintenance_on_shutdown)
56936+ @maintenance_reasons = args[:maintenance_reasons] if args.key?(:maintenance_reasons)
5680056937 @maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
5680156938 @type = args[:type] if args.key?(:type)
5680256939 @window_end_time = args[:window_end_time] if args.key?(:window_end_time)
0 commit comments