Skip to content

Commit 78e0961

Browse files
feat: Automated regeneration of compute beta client (googleapis#23731)
Auto-created at 2025-07-20 10:28:06 +0000 using the toys pull request generator.
1 parent 7c4287a commit 78e0961

File tree

5 files changed

+215
-3
lines changed

5 files changed

+215
-3
lines changed

api_names_out.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99559,9 +99559,14 @@
9955999559
"/compute:beta/AllocationReservationSharingPolicy": allocation_reservation_sharing_policy
9956099560
"/compute:beta/AllocationReservationSharingPolicy/serviceShareType": service_share_type
9956199561
"/compute:beta/AllocationResourceStatus": allocation_resource_status
99562+
"/compute:beta/AllocationResourceStatus/healthInfo": health_info
9956299563
"/compute:beta/AllocationResourceStatus/reservationBlockCount": reservation_block_count
9956399564
"/compute:beta/AllocationResourceStatus/reservationMaintenance": reservation_maintenance
9956499565
"/compute:beta/AllocationResourceStatus/specificSkuAllocation": specific_sku_allocation
99566+
"/compute:beta/AllocationResourceStatusHealthInfo": allocation_resource_status_health_info
99567+
"/compute:beta/AllocationResourceStatusHealthInfo/degradedBlockCount": degraded_block_count
99568+
"/compute:beta/AllocationResourceStatusHealthInfo/healthStatus": health_status
99569+
"/compute:beta/AllocationResourceStatusHealthInfo/healthyBlockCount": healthy_block_count
9956599570
"/compute:beta/AllocationResourceStatusSpecificSKUAllocation": allocation_resource_status_specific_sku_allocation
9956699571
"/compute:beta/AllocationResourceStatusSpecificSKUAllocation/sourceInstanceTemplateId": source_instance_template_id
9956799572
"/compute:beta/AllocationResourceStatusSpecificSKUAllocation/utilizations": utilizations
@@ -104523,6 +104528,7 @@
104523104528
"/compute:beta/Reservation/resourcePolicies/resource_policy": resource_policy
104524104529
"/compute:beta/Reservation/resourceStatus": resource_status
104525104530
"/compute:beta/Reservation/satisfiesPzs": satisfies_pzs
104531+
"/compute:beta/Reservation/schedulingType": scheduling_type
104526104532
"/compute:beta/Reservation/selfLink": self_link
104527104533
"/compute:beta/Reservation/shareSettings": share_settings
104528104534
"/compute:beta/Reservation/specificReservation": specific_reservation
@@ -104553,6 +104559,7 @@
104553104559
"/compute:beta/ReservationBlock": reservation_block
104554104560
"/compute:beta/ReservationBlock/count": count
104555104561
"/compute:beta/ReservationBlock/creationTimestamp": creation_timestamp
104562+
"/compute:beta/ReservationBlock/healthInfo": health_info
104556104563
"/compute:beta/ReservationBlock/id": id
104557104564
"/compute:beta/ReservationBlock/inUseCount": in_use_count
104558104565
"/compute:beta/ReservationBlock/kind": kind
@@ -104565,6 +104572,10 @@
104565104572
"/compute:beta/ReservationBlock/selfLinkWithId": self_link_with_id
104566104573
"/compute:beta/ReservationBlock/status": status
104567104574
"/compute:beta/ReservationBlock/zone": zone
104575+
"/compute:beta/ReservationBlockHealthInfo": reservation_block_health_info
104576+
"/compute:beta/ReservationBlockHealthInfo/degradedSubBlockCount": degraded_sub_block_count
104577+
"/compute:beta/ReservationBlockHealthInfo/healthStatus": health_status
104578+
"/compute:beta/ReservationBlockHealthInfo/healthySubBlockCount": healthy_sub_block_count
104568104579
"/compute:beta/ReservationBlockPhysicalTopology": reservation_block_physical_topology
104569104580
"/compute:beta/ReservationBlockPhysicalTopology/block": block
104570104581
"/compute:beta/ReservationBlockPhysicalTopology/cluster": cluster
@@ -104610,6 +104621,7 @@
104610104621
"/compute:beta/ReservationSubBlock": reservation_sub_block
104611104622
"/compute:beta/ReservationSubBlock/count": count
104612104623
"/compute:beta/ReservationSubBlock/creationTimestamp": creation_timestamp
104624+
"/compute:beta/ReservationSubBlock/healthInfo": health_info
104613104625
"/compute:beta/ReservationSubBlock/id": id
104614104626
"/compute:beta/ReservationSubBlock/inUseCount": in_use_count
104615104627
"/compute:beta/ReservationSubBlock/kind": kind
@@ -104620,6 +104632,12 @@
104620104632
"/compute:beta/ReservationSubBlock/selfLinkWithId": self_link_with_id
104621104633
"/compute:beta/ReservationSubBlock/status": status
104622104634
"/compute:beta/ReservationSubBlock/zone": zone
104635+
"/compute:beta/ReservationSubBlockHealthInfo": reservation_sub_block_health_info
104636+
"/compute:beta/ReservationSubBlockHealthInfo/degradedHostCount": degraded_host_count
104637+
"/compute:beta/ReservationSubBlockHealthInfo/degradedInfraCount": degraded_infra_count
104638+
"/compute:beta/ReservationSubBlockHealthInfo/healthStatus": health_status
104639+
"/compute:beta/ReservationSubBlockHealthInfo/healthyHostCount": healthy_host_count
104640+
"/compute:beta/ReservationSubBlockHealthInfo/healthyInfraCount": healthy_infra_count
104623104641
"/compute:beta/ReservationSubBlockPhysicalTopology": reservation_sub_block_physical_topology
104624104642
"/compute:beta/ReservationSubBlockPhysicalTopology/block": block
104625104643
"/compute:beta/ReservationSubBlockPhysicalTopology/cluster": cluster
@@ -106687,6 +106705,8 @@
106687106705
"/compute:beta/UpcomingMaintenance/canReschedule": can_reschedule
106688106706
"/compute:beta/UpcomingMaintenance/latestWindowStartTime": latest_window_start_time
106689106707
"/compute:beta/UpcomingMaintenance/maintenanceOnShutdown": maintenance_on_shutdown
106708+
"/compute:beta/UpcomingMaintenance/maintenanceReasons": maintenance_reasons
106709+
"/compute:beta/UpcomingMaintenance/maintenanceReasons/maintenance_reason": maintenance_reason
106690106710
"/compute:beta/UpcomingMaintenance/maintenanceStatus": maintenance_status
106691106711
"/compute:beta/UpcomingMaintenance/type": type
106692106712
"/compute:beta/UpcomingMaintenance/windowEndTime": window_end_time

generated/google-apis-compute_beta/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-compute_beta
22

3-
### v0.118.0 (2025-07-13)
3+
### v0.118.0 (2025-07-20)
44

5-
* Regenerated from discovery document revision 20250708
5+
* Regenerated from discovery document revision 20250717
66

77
### v0.117.0 (2025-06-29)
88

generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ComputeBeta
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250708"
25+
REVISION = "20250717"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)