google-apis-compute_v1 0.124.0 → 0.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a19dfe86aca145b64da1acdb79bb55cd5e73da10c71007304c85d14329e7b1c8
4
- data.tar.gz: a455cf7d31d28d15d0eca45349a4ebddbc2e450b47b5e47e0bca5c2ad8928ead
3
+ metadata.gz: 11254c7644423362a4f968811b7f8ba40f1856e3abfc56f2ec1c8c9ac21db3da
4
+ data.tar.gz: '018252b20c6adb11fc5d8ace2792ea4950c108fd4c1459777806be6f52139e7c'
5
5
  SHA512:
6
- metadata.gz: 353708673c1ebc41fef848123042c28d83905e0f2a8466409168321f97f25fefac1421a8d0bcb6ea77210bc8f7b1cb5b5af3f7a389ab187b268360a784aac967
7
- data.tar.gz: fd104125a149b96e706dfd25076f6a896c3927fcb1648e43d11d16a5c17299f655f4c44c9da6abd25a0adc4c89951dc2783271b00b85c41d24b91ca4c02b17d6
6
+ metadata.gz: c1a7764a16e37c2929d5c811980914d294227390d7bfa8bf964503d6975723f22b914f0c89113351f74974dcb73e684306809111f2aace6f6dc4e08fa99b45dd
7
+ data.tar.gz: ffcd2dd1ca3e4e47094807bd8e292810b847e148c6d3f3c5dae4c4b7c718353cc97552334053e6c75d2d99143404639ba98264483cb67f174b90c03f59826718
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.125.0 (2025-07-20)
4
+
5
+ * Regenerated from discovery document revision 20250717
6
+
3
7
  ### v0.124.0 (2025-07-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20250708
@@ -1324,6 +1324,11 @@ module Google
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::ComputeV1::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 @@ module Google
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
@@ -36063,6 +36100,11 @@ module Google
36063
36100
  attr_accessor :satisfies_pzs
36064
36101
  alias_method :satisfies_pzs?, :satisfies_pzs
36065
36102
 
36103
+ # The type of maintenance for the reservation.
36104
+ # Corresponds to the JSON property `schedulingType`
36105
+ # @return [String]
36106
+ attr_accessor :scheduling_type
36107
+
36066
36108
  # [Output Only] Server-defined fully-qualified URL for this resource.
36067
36109
  # Corresponds to the JSON property `selfLink`
36068
36110
  # @return [String]
@@ -36122,6 +36164,7 @@ module Google
36122
36164
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
36123
36165
  @resource_status = args[:resource_status] if args.key?(:resource_status)
36124
36166
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
36167
+ @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
36125
36168
  @self_link = args[:self_link] if args.key?(:self_link)
36126
36169
  @share_settings = args[:share_settings] if args.key?(:share_settings)
36127
36170
  @specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
@@ -36307,6 +36350,11 @@ module Google
36307
36350
  # @return [String]
36308
36351
  attr_accessor :creation_timestamp
36309
36352
 
36353
+ # Health information for the reservation block.
36354
+ # Corresponds to the JSON property `healthInfo`
36355
+ # @return [Google::Apis::ComputeV1::ReservationBlockHealthInfo]
36356
+ attr_accessor :health_info
36357
+
36310
36358
  # [Output Only] The unique identifier for the resource. This identifier is
36311
36359
  # defined by the server.
36312
36360
  # Corresponds to the JSON property `id`
@@ -36383,6 +36431,7 @@ module Google
36383
36431
  def update!(**args)
36384
36432
  @count = args[:count] if args.key?(:count)
36385
36433
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
36434
+ @health_info = args[:health_info] if args.key?(:health_info)
36386
36435
  @id = args[:id] if args.key?(:id)
36387
36436
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
36388
36437
  @kind = args[:kind] if args.key?(:kind)
@@ -36398,6 +36447,37 @@ module Google
36398
36447
  end
36399
36448
  end
36400
36449
 
36450
+ # Health information for the reservation block.
36451
+ class ReservationBlockHealthInfo
36452
+ include Google::Apis::Core::Hashable
36453
+
36454
+ # The number of subBlocks that are degraded.
36455
+ # Corresponds to the JSON property `degradedSubBlockCount`
36456
+ # @return [Fixnum]
36457
+ attr_accessor :degraded_sub_block_count
36458
+
36459
+ # The health status of the reservation block.
36460
+ # Corresponds to the JSON property `healthStatus`
36461
+ # @return [String]
36462
+ attr_accessor :health_status
36463
+
36464
+ # The number of subBlocks that are healthy.
36465
+ # Corresponds to the JSON property `healthySubBlockCount`
36466
+ # @return [Fixnum]
36467
+ attr_accessor :healthy_sub_block_count
36468
+
36469
+ def initialize(**args)
36470
+ update!(**args)
36471
+ end
36472
+
36473
+ # Update properties of this object
36474
+ def update!(**args)
36475
+ @degraded_sub_block_count = args[:degraded_sub_block_count] if args.key?(:degraded_sub_block_count)
36476
+ @health_status = args[:health_status] if args.key?(:health_status)
36477
+ @healthy_sub_block_count = args[:healthy_sub_block_count] if args.key?(:healthy_sub_block_count)
36478
+ end
36479
+ end
36480
+
36401
36481
  #
36402
36482
  class ReservationBlockPhysicalTopology
36403
36483
  include Google::Apis::Core::Hashable
@@ -36756,6 +36836,11 @@ module Google
36756
36836
  # @return [String]
36757
36837
  attr_accessor :creation_timestamp
36758
36838
 
36839
+ # Health information for the reservation subBlock.
36840
+ # Corresponds to the JSON property `healthInfo`
36841
+ # @return [Google::Apis::ComputeV1::ReservationSubBlockHealthInfo]
36842
+ attr_accessor :health_info
36843
+
36759
36844
  # [Output Only] The unique identifier for the resource. This identifier is
36760
36845
  # defined by the server.
36761
36846
  # Corresponds to the JSON property `id`
@@ -36819,6 +36904,7 @@ module Google
36819
36904
  def update!(**args)
36820
36905
  @count = args[:count] if args.key?(:count)
36821
36906
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
36907
+ @health_info = args[:health_info] if args.key?(:health_info)
36822
36908
  @id = args[:id] if args.key?(:id)
36823
36909
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
36824
36910
  @kind = args[:kind] if args.key?(:kind)
@@ -36832,6 +36918,51 @@ module Google
36832
36918
  end
36833
36919
  end
36834
36920
 
36921
+ # Health information for the reservation subBlock.
36922
+ class ReservationSubBlockHealthInfo
36923
+ include Google::Apis::Core::Hashable
36924
+
36925
+ # The number of degraded hosts in the reservation subBlock.
36926
+ # Corresponds to the JSON property `degradedHostCount`
36927
+ # @return [Fixnum]
36928
+ attr_accessor :degraded_host_count
36929
+
36930
+ # The number of degraded infrastructure (e.g NV link domain) in the reservation
36931
+ # subblock.
36932
+ # Corresponds to the JSON property `degradedInfraCount`
36933
+ # @return [Fixnum]
36934
+ attr_accessor :degraded_infra_count
36935
+
36936
+ # The health status of the reservation subBlock.
36937
+ # Corresponds to the JSON property `healthStatus`
36938
+ # @return [String]
36939
+ attr_accessor :health_status
36940
+
36941
+ # The number of healthy hosts in the reservation subBlock.
36942
+ # Corresponds to the JSON property `healthyHostCount`
36943
+ # @return [Fixnum]
36944
+ attr_accessor :healthy_host_count
36945
+
36946
+ # The number of healthy infrastructure (e.g NV link domain) in the reservation
36947
+ # subblock.
36948
+ # Corresponds to the JSON property `healthyInfraCount`
36949
+ # @return [Fixnum]
36950
+ attr_accessor :healthy_infra_count
36951
+
36952
+ def initialize(**args)
36953
+ update!(**args)
36954
+ end
36955
+
36956
+ # Update properties of this object
36957
+ def update!(**args)
36958
+ @degraded_host_count = args[:degraded_host_count] if args.key?(:degraded_host_count)
36959
+ @degraded_infra_count = args[:degraded_infra_count] if args.key?(:degraded_infra_count)
36960
+ @health_status = args[:health_status] if args.key?(:health_status)
36961
+ @healthy_host_count = args[:healthy_host_count] if args.key?(:healthy_host_count)
36962
+ @healthy_infra_count = args[:healthy_infra_count] if args.key?(:healthy_infra_count)
36963
+ end
36964
+ end
36965
+
36835
36966
  #
36836
36967
  class ReservationSubBlockPhysicalTopology
36837
36968
  include Google::Apis::Core::Hashable
@@ -51450,6 +51581,17 @@ module Google
51450
51581
  # @return [String]
51451
51582
  attr_accessor :latest_window_start_time
51452
51583
 
51584
+ # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
51585
+ # Corresponds to the JSON property `maintenanceOnShutdown`
51586
+ # @return [Boolean]
51587
+ attr_accessor :maintenance_on_shutdown
51588
+ alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
51589
+
51590
+ # The reasons for the maintenance. Only valid for vms.
51591
+ # Corresponds to the JSON property `maintenanceReasons`
51592
+ # @return [Array<String>]
51593
+ attr_accessor :maintenance_reasons
51594
+
51453
51595
  #
51454
51596
  # Corresponds to the JSON property `maintenanceStatus`
51455
51597
  # @return [String]
@@ -51480,6 +51622,8 @@ module Google
51480
51622
  def update!(**args)
51481
51623
  @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
51482
51624
  @latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
51625
+ @maintenance_on_shutdown = args[:maintenance_on_shutdown] if args.key?(:maintenance_on_shutdown)
51626
+ @maintenance_reasons = args[:maintenance_reasons] if args.key?(:maintenance_reasons)
51483
51627
  @maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
51484
51628
  @type = args[:type] if args.key?(:type)
51485
51629
  @window_end_time = args[:window_end_time] if args.key?(:window_end_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.124.0"
19
+ GEM_VERSION = "0.125.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250708"
25
+ REVISION = "20250717"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class AllocationResourceStatusHealthInfo
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class AllocationResourceStatusSpecificSkuAllocation
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -4714,6 +4720,12 @@ module Google
4714
4720
  include Google::Apis::Core::JsonObjectSupport
4715
4721
  end
4716
4722
 
4723
+ class ReservationBlockHealthInfo
4724
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4725
+
4726
+ include Google::Apis::Core::JsonObjectSupport
4727
+ end
4728
+
4717
4729
  class ReservationBlockPhysicalTopology
4718
4730
  class Representation < Google::Apis::Core::JsonRepresentation; end
4719
4731
 
@@ -4780,6 +4792,12 @@ module Google
4780
4792
  include Google::Apis::Core::JsonObjectSupport
4781
4793
  end
4782
4794
 
4795
+ class ReservationSubBlockHealthInfo
4796
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4797
+
4798
+ include Google::Apis::Core::JsonObjectSupport
4799
+ end
4800
+
4783
4801
  class ReservationSubBlockPhysicalTopology
4784
4802
  class Representation < Google::Apis::Core::JsonRepresentation; end
4785
4803
 
@@ -7494,6 +7512,8 @@ module Google
7494
7512
  class AllocationResourceStatus
7495
7513
  # @private
7496
7514
  class Representation < Google::Apis::Core::JsonRepresentation
7515
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::AllocationResourceStatusHealthInfo, decorator: Google::Apis::ComputeV1::AllocationResourceStatusHealthInfo::Representation
7516
+
7497
7517
  property :reservation_block_count, as: 'reservationBlockCount'
7498
7518
  property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
7499
7519
 
@@ -7502,6 +7522,15 @@ module Google
7502
7522
  end
7503
7523
  end
7504
7524
 
7525
+ class AllocationResourceStatusHealthInfo
7526
+ # @private
7527
+ class Representation < Google::Apis::Core::JsonRepresentation
7528
+ property :degraded_block_count, as: 'degradedBlockCount'
7529
+ property :health_status, as: 'healthStatus'
7530
+ property :healthy_block_count, as: 'healthyBlockCount'
7531
+ end
7532
+ end
7533
+
7505
7534
  class AllocationResourceStatusSpecificSkuAllocation
7506
7535
  # @private
7507
7536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15939,6 +15968,7 @@ module Google
15939
15968
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
15940
15969
 
15941
15970
  property :satisfies_pzs, as: 'satisfiesPzs'
15971
+ property :scheduling_type, as: 'schedulingType'
15942
15972
  property :self_link, as: 'selfLink'
15943
15973
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
15944
15974
 
@@ -15997,6 +16027,8 @@ module Google
15997
16027
  class Representation < Google::Apis::Core::JsonRepresentation
15998
16028
  property :count, as: 'count'
15999
16029
  property :creation_timestamp, as: 'creationTimestamp'
16030
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeV1::ReservationBlockHealthInfo::Representation
16031
+
16000
16032
  property :id, :numeric_string => true, as: 'id'
16001
16033
  property :in_use_count, as: 'inUseCount'
16002
16034
  property :kind, as: 'kind'
@@ -16014,6 +16046,15 @@ module Google
16014
16046
  end
16015
16047
  end
16016
16048
 
16049
+ class ReservationBlockHealthInfo
16050
+ # @private
16051
+ class Representation < Google::Apis::Core::JsonRepresentation
16052
+ property :degraded_sub_block_count, as: 'degradedSubBlockCount'
16053
+ property :health_status, as: 'healthStatus'
16054
+ property :healthy_sub_block_count, as: 'healthySubBlockCount'
16055
+ end
16056
+ end
16057
+
16017
16058
  class ReservationBlockPhysicalTopology
16018
16059
  # @private
16019
16060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16119,6 +16160,8 @@ module Google
16119
16160
  class Representation < Google::Apis::Core::JsonRepresentation
16120
16161
  property :count, as: 'count'
16121
16162
  property :creation_timestamp, as: 'creationTimestamp'
16163
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeV1::ReservationSubBlockHealthInfo::Representation
16164
+
16122
16165
  property :id, :numeric_string => true, as: 'id'
16123
16166
  property :in_use_count, as: 'inUseCount'
16124
16167
  property :kind, as: 'kind'
@@ -16134,6 +16177,17 @@ module Google
16134
16177
  end
16135
16178
  end
16136
16179
 
16180
+ class ReservationSubBlockHealthInfo
16181
+ # @private
16182
+ class Representation < Google::Apis::Core::JsonRepresentation
16183
+ property :degraded_host_count, as: 'degradedHostCount'
16184
+ property :degraded_infra_count, as: 'degradedInfraCount'
16185
+ property :health_status, as: 'healthStatus'
16186
+ property :healthy_host_count, as: 'healthyHostCount'
16187
+ property :healthy_infra_count, as: 'healthyInfraCount'
16188
+ end
16189
+ end
16190
+
16137
16191
  class ReservationSubBlockPhysicalTopology
16138
16192
  # @private
16139
16193
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19778,6 +19832,8 @@ module Google
19778
19832
  class Representation < Google::Apis::Core::JsonRepresentation
19779
19833
  property :can_reschedule, as: 'canReschedule'
19780
19834
  property :latest_window_start_time, as: 'latestWindowStartTime'
19835
+ property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
19836
+ collection :maintenance_reasons, as: 'maintenanceReasons'
19781
19837
  property :maintenance_status, as: 'maintenanceStatus'
19782
19838
  property :type, as: 'type'
19783
19839
  property :window_end_time, as: 'windowEndTime'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.124.0
4
+ version: 0.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.124.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.125.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
62
62
  rdoc_options: []
63
63
  require_paths: