google-apis-compute_beta 0.117.0 → 0.118.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: 5c83b138528bc2e99966e30c0d9d1d81cae20e8f66c8dbfc822b8a4d37de7833
4
- data.tar.gz: c092acb77a99356f8ed8e667a5291cad7d9d524b5f35e5344541eef64e2422f5
3
+ metadata.gz: 15a3063c2ad5e31e4829dfc22a17649df69f79f70e8e49c21e4647f70ae91cc0
4
+ data.tar.gz: 9cb0ea20df827e0325507efd4e662e6b88cc862ef5560d8e2f28acfec2c8db9e
5
5
  SHA512:
6
- metadata.gz: d4ae5b65be39970cd5f49522ca5695da025fe82041e3feffc43f8275c64df0a05c5165e87c25172c73416a174b177366d52ce49d9a5b33eaf91e5e6c4cc510d8
7
- data.tar.gz: 55f664ff7e982d2a88b6329301cf698e1b7b34d5b40b12dd64b393450f99d8602b293041d50c7a4aa96eaded18eb2174a88209d3eac53d169837e0b6223a1bb2
6
+ metadata.gz: 4ad496fb3ee44a235f0fa92d436f857dbc58338a7c27ff79cc5a9090f24fa504ae3e21b4e720ddbf6f08635ce5e90dc45dbe507b262b48a33ec9ac01ca7cd838
7
+ data.tar.gz: 681248d7943f7a86ef09168bdc53f30f67dcb2335de2f579e402ab9be58ed33fa071c6c9115aa6a20e8f00a03e15c1d04ee9ce3c6d97eaf95ad8dbd9d89dd8d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.118.0 (2025-07-20)
4
+
5
+ * Regenerated from discovery document revision 20250717
6
+
3
7
  ### v0.117.0 (2025-06-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20250626
@@ -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::ComputeBeta::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
@@ -40279,6 +40316,11 @@ module Google
40279
40316
  attr_accessor :satisfies_pzs
40280
40317
  alias_method :satisfies_pzs?, :satisfies_pzs
40281
40318
 
40319
+ # The type of maintenance for the reservation.
40320
+ # Corresponds to the JSON property `schedulingType`
40321
+ # @return [String]
40322
+ attr_accessor :scheduling_type
40323
+
40282
40324
  # [Output Only] Server-defined fully-qualified URL for this resource.
40283
40325
  # Corresponds to the JSON property `selfLink`
40284
40326
  # @return [String]
@@ -40339,6 +40381,7 @@ module Google
40339
40381
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
40340
40382
  @resource_status = args[:resource_status] if args.key?(:resource_status)
40341
40383
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
40384
+ @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
40342
40385
  @self_link = args[:self_link] if args.key?(:self_link)
40343
40386
  @share_settings = args[:share_settings] if args.key?(:share_settings)
40344
40387
  @specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
@@ -40524,6 +40567,11 @@ module Google
40524
40567
  # @return [String]
40525
40568
  attr_accessor :creation_timestamp
40526
40569
 
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
+
40527
40575
  # [Output Only] The unique identifier for the resource. This identifier is
40528
40576
  # defined by the server.
40529
40577
  # Corresponds to the JSON property `id`
@@ -40600,6 +40648,7 @@ module Google
40600
40648
  def update!(**args)
40601
40649
  @count = args[:count] if args.key?(:count)
40602
40650
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
40651
+ @health_info = args[:health_info] if args.key?(:health_info)
40603
40652
  @id = args[:id] if args.key?(:id)
40604
40653
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
40605
40654
  @kind = args[:kind] if args.key?(:kind)
@@ -40615,6 +40664,37 @@ module Google
40615
40664
  end
40616
40665
  end
40617
40666
 
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
+
40618
40698
  #
40619
40699
  class ReservationBlockPhysicalTopology
40620
40700
  include Google::Apis::Core::Hashable
@@ -40629,6 +40709,11 @@ module Google
40629
40709
  # @return [String]
40630
40710
  attr_accessor :cluster
40631
40711
 
40712
+ # The detailed instances information for a given Block
40713
+ # Corresponds to the JSON property `instances`
40714
+ # @return [Array<Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstance>]
40715
+ attr_accessor :instances
40716
+
40632
40717
  def initialize(**args)
40633
40718
  update!(**args)
40634
40719
  end
@@ -40637,6 +40722,63 @@ module Google
40637
40722
  def update!(**args)
40638
40723
  @block = args[:block] if args.key?(:block)
40639
40724
  @cluster = args[:cluster] if args.key?(:cluster)
40725
+ @instances = args[:instances] if args.key?(:instances)
40726
+ end
40727
+ end
40728
+
40729
+ # The instances information for a given Block
40730
+ class ReservationBlockPhysicalTopologyInstance
40731
+ include Google::Apis::Core::Hashable
40732
+
40733
+ # The InstanceId of the instance
40734
+ # Corresponds to the JSON property `instanceId`
40735
+ # @return [Fixnum]
40736
+ attr_accessor :instance_id
40737
+
40738
+ # The PhysicalHostTopology of the instance within a Block resource.
40739
+ # Corresponds to the JSON property `physicalHostTopology`
40740
+ # @return [Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology]
40741
+ attr_accessor :physical_host_topology
40742
+
40743
+ # Project where the instance lives
40744
+ # Corresponds to the JSON property `projectId`
40745
+ # @return [Fixnum]
40746
+ attr_accessor :project_id
40747
+
40748
+ def initialize(**args)
40749
+ update!(**args)
40750
+ end
40751
+
40752
+ # Update properties of this object
40753
+ def update!(**args)
40754
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
40755
+ @physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
40756
+ @project_id = args[:project_id] if args.key?(:project_id)
40757
+ end
40758
+ end
40759
+
40760
+ # The PhysicalHostTopology of the instance within a Block resource.
40761
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
40762
+ include Google::Apis::Core::Hashable
40763
+
40764
+ # Host hash for a given instance
40765
+ # Corresponds to the JSON property `host`
40766
+ # @return [String]
40767
+ attr_accessor :host
40768
+
40769
+ # Sub block hash for a given instance
40770
+ # Corresponds to the JSON property `subBlock`
40771
+ # @return [String]
40772
+ attr_accessor :sub_block
40773
+
40774
+ def initialize(**args)
40775
+ update!(**args)
40776
+ end
40777
+
40778
+ # Update properties of this object
40779
+ def update!(**args)
40780
+ @host = args[:host] if args.key?(:host)
40781
+ @sub_block = args[:sub_block] if args.key?(:sub_block)
40640
40782
  end
40641
40783
  end
40642
40784
 
@@ -40911,6 +41053,11 @@ module Google
40911
41053
  # @return [String]
40912
41054
  attr_accessor :creation_timestamp
40913
41055
 
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
+
40914
41061
  # [Output Only] The unique identifier for the resource. This identifier is
40915
41062
  # defined by the server.
40916
41063
  # Corresponds to the JSON property `id`
@@ -40974,6 +41121,7 @@ module Google
40974
41121
  def update!(**args)
40975
41122
  @count = args[:count] if args.key?(:count)
40976
41123
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
41124
+ @health_info = args[:health_info] if args.key?(:health_info)
40977
41125
  @id = args[:id] if args.key?(:id)
40978
41126
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
40979
41127
  @kind = args[:kind] if args.key?(:kind)
@@ -40987,6 +41135,51 @@ module Google
40987
41135
  end
40988
41136
  end
40989
41137
 
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
+
40990
41183
  #
40991
41184
  class ReservationSubBlockPhysicalTopology
40992
41185
  include Google::Apis::Core::Hashable
@@ -56704,6 +56897,11 @@ module Google
56704
56897
  attr_accessor :maintenance_on_shutdown
56705
56898
  alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
56706
56899
 
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
+
56707
56905
  #
56708
56906
  # Corresponds to the JSON property `maintenanceStatus`
56709
56907
  # @return [String]
@@ -56735,6 +56933,7 @@ module Google
56735
56933
  @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
56736
56934
  @latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
56737
56935
  @maintenance_on_shutdown = args[:maintenance_on_shutdown] if args.key?(:maintenance_on_shutdown)
56936
+ @maintenance_reasons = args[:maintenance_reasons] if args.key?(:maintenance_reasons)
56738
56937
  @maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
56739
56938
  @type = args[:type] if args.key?(:type)
56740
56939
  @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 ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.117.0"
19
+ GEM_VERSION = "0.118.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 = "20250626"
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
 
@@ -5326,12 +5332,30 @@ module Google
5326
5332
  include Google::Apis::Core::JsonObjectSupport
5327
5333
  end
5328
5334
 
5335
+ class ReservationBlockHealthInfo
5336
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5337
+
5338
+ include Google::Apis::Core::JsonObjectSupport
5339
+ end
5340
+
5329
5341
  class ReservationBlockPhysicalTopology
5330
5342
  class Representation < Google::Apis::Core::JsonRepresentation; end
5331
5343
 
5332
5344
  include Google::Apis::Core::JsonObjectSupport
5333
5345
  end
5334
5346
 
5347
+ class ReservationBlockPhysicalTopologyInstance
5348
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5349
+
5350
+ include Google::Apis::Core::JsonObjectSupport
5351
+ end
5352
+
5353
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
5354
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5355
+
5356
+ include Google::Apis::Core::JsonObjectSupport
5357
+ end
5358
+
5335
5359
  class ReservationBlocksGetResponse
5336
5360
  class Representation < Google::Apis::Core::JsonRepresentation; end
5337
5361
 
@@ -5380,6 +5404,12 @@ module Google
5380
5404
  include Google::Apis::Core::JsonObjectSupport
5381
5405
  end
5382
5406
 
5407
+ class ReservationSubBlockHealthInfo
5408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5409
+
5410
+ include Google::Apis::Core::JsonObjectSupport
5411
+ end
5412
+
5383
5413
  class ReservationSubBlockPhysicalTopology
5384
5414
  class Representation < Google::Apis::Core::JsonRepresentation; end
5385
5415
 
@@ -8322,6 +8352,8 @@ module Google
8322
8352
  class AllocationResourceStatus
8323
8353
  # @private
8324
8354
  class Representation < Google::Apis::Core::JsonRepresentation
8355
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::AllocationResourceStatusHealthInfo, decorator: Google::Apis::ComputeBeta::AllocationResourceStatusHealthInfo::Representation
8356
+
8325
8357
  property :reservation_block_count, as: 'reservationBlockCount'
8326
8358
  property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeBeta::GroupMaintenanceInfo, decorator: Google::Apis::ComputeBeta::GroupMaintenanceInfo::Representation
8327
8359
 
@@ -8330,6 +8362,15 @@ module Google
8330
8362
  end
8331
8363
  end
8332
8364
 
8365
+ class AllocationResourceStatusHealthInfo
8366
+ # @private
8367
+ class Representation < Google::Apis::Core::JsonRepresentation
8368
+ property :degraded_block_count, as: 'degradedBlockCount'
8369
+ property :health_status, as: 'healthStatus'
8370
+ property :healthy_block_count, as: 'healthyBlockCount'
8371
+ end
8372
+ end
8373
+
8333
8374
  class AllocationResourceStatusSpecificSkuAllocation
8334
8375
  # @private
8335
8376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17889,6 +17930,7 @@ module Google
17889
17930
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeBeta::AllocationResourceStatus, decorator: Google::Apis::ComputeBeta::AllocationResourceStatus::Representation
17890
17931
 
17891
17932
  property :satisfies_pzs, as: 'satisfiesPzs'
17933
+ property :scheduling_type, as: 'schedulingType'
17892
17934
  property :self_link, as: 'selfLink'
17893
17935
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
17894
17936
 
@@ -17947,6 +17989,8 @@ module Google
17947
17989
  class Representation < Google::Apis::Core::JsonRepresentation
17948
17990
  property :count, as: 'count'
17949
17991
  property :creation_timestamp, as: 'creationTimestamp'
17992
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
17993
+
17950
17994
  property :id, :numeric_string => true, as: 'id'
17951
17995
  property :in_use_count, as: 'inUseCount'
17952
17996
  property :kind, as: 'kind'
@@ -17964,11 +18008,40 @@ module Google
17964
18008
  end
17965
18009
  end
17966
18010
 
18011
+ class ReservationBlockHealthInfo
18012
+ # @private
18013
+ class Representation < Google::Apis::Core::JsonRepresentation
18014
+ property :degraded_sub_block_count, as: 'degradedSubBlockCount'
18015
+ property :health_status, as: 'healthStatus'
18016
+ property :healthy_sub_block_count, as: 'healthySubBlockCount'
18017
+ end
18018
+ end
18019
+
17967
18020
  class ReservationBlockPhysicalTopology
17968
18021
  # @private
17969
18022
  class Representation < Google::Apis::Core::JsonRepresentation
17970
18023
  property :block, as: 'block'
17971
18024
  property :cluster, as: 'cluster'
18025
+ collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstance, decorator: Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstance::Representation
18026
+
18027
+ end
18028
+ end
18029
+
18030
+ class ReservationBlockPhysicalTopologyInstance
18031
+ # @private
18032
+ class Representation < Google::Apis::Core::JsonRepresentation
18033
+ property :instance_id, :numeric_string => true, as: 'instanceId'
18034
+ property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology, decorator: Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology::Representation
18035
+
18036
+ property :project_id, :numeric_string => true, as: 'projectId'
18037
+ end
18038
+ end
18039
+
18040
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
18041
+ # @private
18042
+ class Representation < Google::Apis::Core::JsonRepresentation
18043
+ property :host, as: 'host'
18044
+ property :sub_block, as: 'subBlock'
17972
18045
  end
17973
18046
  end
17974
18047
 
@@ -18049,6 +18122,8 @@ module Google
18049
18122
  class Representation < Google::Apis::Core::JsonRepresentation
18050
18123
  property :count, as: 'count'
18051
18124
  property :creation_timestamp, as: 'creationTimestamp'
18125
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
18126
+
18052
18127
  property :id, :numeric_string => true, as: 'id'
18053
18128
  property :in_use_count, as: 'inUseCount'
18054
18129
  property :kind, as: 'kind'
@@ -18064,6 +18139,17 @@ module Google
18064
18139
  end
18065
18140
  end
18066
18141
 
18142
+ class ReservationSubBlockHealthInfo
18143
+ # @private
18144
+ class Representation < Google::Apis::Core::JsonRepresentation
18145
+ property :degraded_host_count, as: 'degradedHostCount'
18146
+ property :degraded_infra_count, as: 'degradedInfraCount'
18147
+ property :health_status, as: 'healthStatus'
18148
+ property :healthy_host_count, as: 'healthyHostCount'
18149
+ property :healthy_infra_count, as: 'healthyInfraCount'
18150
+ end
18151
+ end
18152
+
18067
18153
  class ReservationSubBlockPhysicalTopology
18068
18154
  # @private
18069
18155
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21974,6 +22060,7 @@ module Google
21974
22060
  property :can_reschedule, as: 'canReschedule'
21975
22061
  property :latest_window_start_time, as: 'latestWindowStartTime'
21976
22062
  property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
22063
+ collection :maintenance_reasons, as: 'maintenanceReasons'
21977
22064
  property :maintenance_status, as: 'maintenanceStatus'
21978
22065
  property :type, as: 'type'
21979
22066
  property :window_end_time, as: 'windowEndTime'
@@ -41158,6 +41158,8 @@ module Google
41158
41158
  # @param [String] reservation_block
41159
41159
  # The name of the reservation block. Name should conform to RFC1035 or be a
41160
41160
  # resource ID.
41161
+ # @param [String] view
41162
+ # View of the Block.
41161
41163
  # @param [String] fields
41162
41164
  # Selector specifying which fields to include in a partial response.
41163
41165
  # @param [String] quota_user
@@ -41177,7 +41179,7 @@ module Google
41177
41179
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41178
41180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41179
41181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
41180
- def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41182
+ def get_reservation_block(project, zone, reservation, reservation_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41181
41183
  command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
41182
41184
  command.response_representation = Google::Apis::ComputeBeta::ReservationBlocksGetResponse::Representation
41183
41185
  command.response_class = Google::Apis::ComputeBeta::ReservationBlocksGetResponse
@@ -41185,6 +41187,7 @@ module Google
41185
41187
  command.params['zone'] = zone unless zone.nil?
41186
41188
  command.params['reservation'] = reservation unless reservation.nil?
41187
41189
  command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
41190
+ command.query['view'] = view unless view.nil?
41188
41191
  command.query['fields'] = fields unless fields.nil?
41189
41192
  command.query['quotaUser'] = quota_user unless quota_user.nil?
41190
41193
  command.query['userIp'] = user_ip unless user_ip.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.117.0
4
+ version: 0.118.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_beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.117.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.118.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
62
62
  rdoc_options: []
63
63
  require_paths: