Skip to content

Commit af23966

Browse files
feat: Automated regeneration of compute alpha client (googleapis#23710)
Auto-created at 2025-07-20 09:39:42 +0000 using the toys pull request generator.
1 parent 418dbbc commit af23966

File tree

5 files changed

+201
-2
lines changed

5 files changed

+201
-2
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84369,12 +84369,17 @@
8436984369
"/compute:alpha/AllocationReservationSharingPolicy/serviceShareType": service_share_type
8437084370
"/compute:alpha/AllocationResourceStatus": allocation_resource_status
8437184371
"/compute:alpha/AllocationResourceStatus/aggregateAllocation": aggregate_allocation
84372+
"/compute:alpha/AllocationResourceStatus/healthInfo": health_info
8437284373
"/compute:alpha/AllocationResourceStatus/reservationBlockCount": reservation_block_count
8437384374
"/compute:alpha/AllocationResourceStatus/reservationMaintenance": reservation_maintenance
8437484375
"/compute:alpha/AllocationResourceStatus/specificSkuAllocation": specific_sku_allocation
8437584376
"/compute:alpha/AllocationResourceStatusAggregateAllocation": allocation_resource_status_aggregate_allocation
8437684377
"/compute:alpha/AllocationResourceStatusAggregateAllocation/utilizations": utilizations
8437784378
"/compute:alpha/AllocationResourceStatusAggregateAllocation/utilizations/utilization": utilization
84379+
"/compute:alpha/AllocationResourceStatusHealthInfo": allocation_resource_status_health_info
84380+
"/compute:alpha/AllocationResourceStatusHealthInfo/degradedBlockCount": degraded_block_count
84381+
"/compute:alpha/AllocationResourceStatusHealthInfo/healthStatus": health_status
84382+
"/compute:alpha/AllocationResourceStatusHealthInfo/healthyBlockCount": healthy_block_count
8437884383
"/compute:alpha/AllocationResourceStatusSpecificSKUAllocation": allocation_resource_status_specific_sku_allocation
8437984384
"/compute:alpha/AllocationResourceStatusSpecificSKUAllocation/sourceInstanceTemplateId": source_instance_template_id
8438084385
"/compute:alpha/AllocationResourceStatusSpecificSKUAllocation/utilizations": utilizations
@@ -90756,6 +90761,7 @@
9075690761
"/compute:alpha/ReservationBlock": reservation_block
9075790762
"/compute:alpha/ReservationBlock/count": count
9075890763
"/compute:alpha/ReservationBlock/creationTimestamp": creation_timestamp
90764+
"/compute:alpha/ReservationBlock/healthInfo": health_info
9075990765
"/compute:alpha/ReservationBlock/id": id
9076090766
"/compute:alpha/ReservationBlock/inUseCount": in_use_count
9076190767
"/compute:alpha/ReservationBlock/kind": kind
@@ -90769,6 +90775,10 @@
9076990775
"/compute:alpha/ReservationBlock/selfLinkWithId": self_link_with_id
9077090776
"/compute:alpha/ReservationBlock/status": status
9077190777
"/compute:alpha/ReservationBlock/zone": zone
90778+
"/compute:alpha/ReservationBlockHealthInfo": reservation_block_health_info
90779+
"/compute:alpha/ReservationBlockHealthInfo/degradedSubBlockCount": degraded_sub_block_count
90780+
"/compute:alpha/ReservationBlockHealthInfo/healthStatus": health_status
90781+
"/compute:alpha/ReservationBlockHealthInfo/healthySubBlockCount": healthy_sub_block_count
9077290782
"/compute:alpha/ReservationBlockPhysicalTopology": reservation_block_physical_topology
9077390783
"/compute:alpha/ReservationBlockPhysicalTopology/block": block
9077490784
"/compute:alpha/ReservationBlockPhysicalTopology/cluster": cluster
@@ -90814,6 +90824,7 @@
9081490824
"/compute:alpha/ReservationSubBlock": reservation_sub_block
9081590825
"/compute:alpha/ReservationSubBlock/count": count
9081690826
"/compute:alpha/ReservationSubBlock/creationTimestamp": creation_timestamp
90827+
"/compute:alpha/ReservationSubBlock/healthInfo": health_info
9081790828
"/compute:alpha/ReservationSubBlock/id": id
9081890829
"/compute:alpha/ReservationSubBlock/inUseCount": in_use_count
9081990830
"/compute:alpha/ReservationSubBlock/kind": kind
@@ -90824,6 +90835,12 @@
9082490835
"/compute:alpha/ReservationSubBlock/selfLinkWithId": self_link_with_id
9082590836
"/compute:alpha/ReservationSubBlock/status": status
9082690837
"/compute:alpha/ReservationSubBlock/zone": zone
90838+
"/compute:alpha/ReservationSubBlockHealthInfo": reservation_sub_block_health_info
90839+
"/compute:alpha/ReservationSubBlockHealthInfo/degradedHostCount": degraded_host_count
90840+
"/compute:alpha/ReservationSubBlockHealthInfo/degradedInfraCount": degraded_infra_count
90841+
"/compute:alpha/ReservationSubBlockHealthInfo/healthStatus": health_status
90842+
"/compute:alpha/ReservationSubBlockHealthInfo/healthyHostCount": healthy_host_count
90843+
"/compute:alpha/ReservationSubBlockHealthInfo/healthyInfraCount": healthy_infra_count
9082790844
"/compute:alpha/ReservationSubBlockPhysicalTopology": reservation_sub_block_physical_topology
9082890845
"/compute:alpha/ReservationSubBlockPhysicalTopology/block": block
9082990846
"/compute:alpha/ReservationSubBlockPhysicalTopology/cluster": cluster

generated/google-apis-compute_alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-compute_alpha
22

3+
### v0.117.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250717
6+
37
### v0.116.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250708

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

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,11 @@ class AllocationResourceStatus
13681368
# @return [Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation]
13691369
attr_accessor :aggregate_allocation
13701370

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+
13711376
# The number of reservation blocks associated with this reservation.
13721377
# Corresponds to the JSON property `reservationBlockCount`
13731378
# @return [Fixnum]
@@ -1390,6 +1395,7 @@ def initialize(**args)
13901395
# Update properties of this object
13911396
def update!(**args)
13921397
@aggregate_allocation = args[:aggregate_allocation] if args.key?(:aggregate_allocation)
1398+
@health_info = args[:health_info] if args.key?(:health_info)
13931399
@reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
13941400
@reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
13951401
@specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
@@ -1416,6 +1422,37 @@ def update!(**args)
14161422
end
14171423
end
14181424

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+
14191456
# Contains Properties set for the reservation.
14201457
class AllocationResourceStatusSpecificSkuAllocation
14211458
include Google::Apis::Core::Hashable
@@ -47722,6 +47759,11 @@ class ReservationBlock
4772247759
# @return [String]
4772347760
attr_accessor :creation_timestamp
4772447761

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+
4772547767
# [Output Only] The unique identifier for the resource. This identifier is
4772647768
# defined by the server.
4772747769
# Corresponds to the JSON property `id`
@@ -47806,6 +47848,7 @@ def initialize(**args)
4780647848
def update!(**args)
4780747849
@count = args[:count] if args.key?(:count)
4780847850
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
47851+
@health_info = args[:health_info] if args.key?(:health_info)
4780947852
@id = args[:id] if args.key?(:id)
4781047853
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
4781147854
@kind = args[:kind] if args.key?(:kind)
@@ -47822,6 +47865,37 @@ def update!(**args)
4782247865
end
4782347866
end
4782447867

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+
4782547899
#
4782647900
class ReservationBlockPhysicalTopology
4782747901
include Google::Apis::Core::Hashable
@@ -48180,6 +48254,11 @@ class ReservationSubBlock
4818048254
# @return [String]
4818148255
attr_accessor :creation_timestamp
4818248256

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+
4818348262
# [Output Only] The unique identifier for the resource. This identifier is
4818448263
# defined by the server.
4818548264
# Corresponds to the JSON property `id`
@@ -48243,6 +48322,7 @@ def initialize(**args)
4824348322
def update!(**args)
4824448323
@count = args[:count] if args.key?(:count)
4824548324
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
48325+
@health_info = args[:health_info] if args.key?(:health_info)
4824648326
@id = args[:id] if args.key?(:id)
4824748327
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
4824848328
@kind = args[:kind] if args.key?(:kind)
@@ -48256,6 +48336,51 @@ def update!(**args)
4825648336
end
4825748337
end
4825848338

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+
4825948384
#
4826048385
class ReservationSubBlockPhysicalTopology
4826148386
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ComputeAlpha
1818
# Version of the google-apis-compute_alpha gem
19-
GEM_VERSION = "0.116.0"
19+
GEM_VERSION = "0.117.0"
2020

2121
# Version of the code generator used to generate this client
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

generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/representations.rb

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
208208
include Google::Apis::Core::JsonObjectSupport
209209
end
210210

211+
class AllocationResourceStatusHealthInfo
212+
class Representation < Google::Apis::Core::JsonRepresentation; end
213+
214+
include Google::Apis::Core::JsonObjectSupport
215+
end
216+
211217
class AllocationResourceStatusSpecificSkuAllocation
212218
class Representation < Google::Apis::Core::JsonRepresentation; end
213219

@@ -6232,6 +6238,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
62326238
include Google::Apis::Core::JsonObjectSupport
62336239
end
62346240

6241+
class ReservationBlockHealthInfo
6242+
class Representation < Google::Apis::Core::JsonRepresentation; end
6243+
6244+
include Google::Apis::Core::JsonObjectSupport
6245+
end
6246+
62356247
class ReservationBlockPhysicalTopology
62366248
class Representation < Google::Apis::Core::JsonRepresentation; end
62376249

@@ -6298,6 +6310,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
62986310
include Google::Apis::Core::JsonObjectSupport
62996311
end
63006312

6313+
class ReservationSubBlockHealthInfo
6314+
class Representation < Google::Apis::Core::JsonRepresentation; end
6315+
6316+
include Google::Apis::Core::JsonObjectSupport
6317+
end
6318+
63016319
class ReservationSubBlockPhysicalTopology
63026320
class Representation < Google::Apis::Core::JsonRepresentation; end
63036321

@@ -9506,6 +9524,8 @@ class AllocationResourceStatus
95069524
class Representation < Google::Apis::Core::JsonRepresentation
95079525
property :aggregate_allocation, as: 'aggregateAllocation', class: Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation::Representation
95089526

9527+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeAlpha::AllocationResourceStatusHealthInfo, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatusHealthInfo::Representation
9528+
95099529
property :reservation_block_count, as: 'reservationBlockCount'
95109530
property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeAlpha::GroupMaintenanceInfo, decorator: Google::Apis::ComputeAlpha::GroupMaintenanceInfo::Representation
95119531

@@ -9521,6 +9541,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
95219541
end
95229542
end
95239543

9544+
class AllocationResourceStatusHealthInfo
9545+
# @private
9546+
class Representation < Google::Apis::Core::JsonRepresentation
9547+
property :degraded_block_count, as: 'degradedBlockCount'
9548+
property :health_status, as: 'healthStatus'
9549+
property :healthy_block_count, as: 'healthyBlockCount'
9550+
end
9551+
end
9552+
95249553
class AllocationResourceStatusSpecificSkuAllocation
95259554
# @private
95269555
class Representation < Google::Apis::Core::JsonRepresentation
@@ -20914,6 +20943,8 @@ class ReservationBlock
2091420943
class Representation < Google::Apis::Core::JsonRepresentation
2091520944
property :count, as: 'count'
2091620945
property :creation_timestamp, as: 'creationTimestamp'
20946+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeAlpha::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeAlpha::ReservationBlockHealthInfo::Representation
20947+
2091720948
property :id, :numeric_string => true, as: 'id'
2091820949
property :in_use_count, as: 'inUseCount'
2091920950
property :kind, as: 'kind'
@@ -20932,6 +20963,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
2093220963
end
2093320964
end
2093420965

20966+
class ReservationBlockHealthInfo
20967+
# @private
20968+
class Representation < Google::Apis::Core::JsonRepresentation
20969+
property :degraded_sub_block_count, as: 'degradedSubBlockCount'
20970+
property :health_status, as: 'healthStatus'
20971+
property :healthy_sub_block_count, as: 'healthySubBlockCount'
20972+
end
20973+
end
20974+
2093520975
class ReservationBlockPhysicalTopology
2093620976
# @private
2093720977
class Representation < Google::Apis::Core::JsonRepresentation
@@ -21037,6 +21077,8 @@ class ReservationSubBlock
2103721077
class Representation < Google::Apis::Core::JsonRepresentation
2103821078
property :count, as: 'count'
2103921079
property :creation_timestamp, as: 'creationTimestamp'
21080+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo::Representation
21081+
2104021082
property :id, :numeric_string => true, as: 'id'
2104121083
property :in_use_count, as: 'inUseCount'
2104221084
property :kind, as: 'kind'
@@ -21052,6 +21094,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
2105221094
end
2105321095
end
2105421096

21097+
class ReservationSubBlockHealthInfo
21098+
# @private
21099+
class Representation < Google::Apis::Core::JsonRepresentation
21100+
property :degraded_host_count, as: 'degradedHostCount'
21101+
property :degraded_infra_count, as: 'degradedInfraCount'
21102+
property :health_status, as: 'healthStatus'
21103+
property :healthy_host_count, as: 'healthyHostCount'
21104+
property :healthy_infra_count, as: 'healthyInfraCount'
21105+
end
21106+
end
21107+
2105521108
class ReservationSubBlockPhysicalTopology
2105621109
# @private
2105721110
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)