google-apis-compute_v1 0.123.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11254c7644423362a4f968811b7f8ba40f1856e3abfc56f2ec1c8c9ac21db3da
|
4
|
+
data.tar.gz: '018252b20c6adb11fc5d8ace2792ea4950c108fd4c1459777806be6f52139e7c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1a7764a16e37c2929d5c811980914d294227390d7bfa8bf964503d6975723f22b914f0c89113351f74974dcb73e684306809111f2aace6f6dc4e08fa99b45dd
|
7
|
+
data.tar.gz: ffcd2dd1ca3e4e47094807bd8e292810b847e148c6d3f3c5dae4c4b7c718353cc97552334053e6c75d2d99143404639ba98264483cb67f174b90c03f59826718
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.124.0 (2025-07-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250708
|
10
|
+
|
3
11
|
### v0.123.0 (2025-07-06)
|
4
12
|
|
5
13
|
* 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::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
|
@@ -36412,6 +36492,11 @@ module Google
|
|
36412
36492
|
# @return [String]
|
36413
36493
|
attr_accessor :cluster
|
36414
36494
|
|
36495
|
+
# The detailed instances information for a given Block
|
36496
|
+
# Corresponds to the JSON property `instances`
|
36497
|
+
# @return [Array<Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance>]
|
36498
|
+
attr_accessor :instances
|
36499
|
+
|
36415
36500
|
def initialize(**args)
|
36416
36501
|
update!(**args)
|
36417
36502
|
end
|
@@ -36420,6 +36505,63 @@ module Google
|
|
36420
36505
|
def update!(**args)
|
36421
36506
|
@block = args[:block] if args.key?(:block)
|
36422
36507
|
@cluster = args[:cluster] if args.key?(:cluster)
|
36508
|
+
@instances = args[:instances] if args.key?(:instances)
|
36509
|
+
end
|
36510
|
+
end
|
36511
|
+
|
36512
|
+
# The instances information for a given Block
|
36513
|
+
class ReservationBlockPhysicalTopologyInstance
|
36514
|
+
include Google::Apis::Core::Hashable
|
36515
|
+
|
36516
|
+
# The InstanceId of the instance
|
36517
|
+
# Corresponds to the JSON property `instanceId`
|
36518
|
+
# @return [Fixnum]
|
36519
|
+
attr_accessor :instance_id
|
36520
|
+
|
36521
|
+
# The PhysicalHostTopology of the instance within a Block resource.
|
36522
|
+
# Corresponds to the JSON property `physicalHostTopology`
|
36523
|
+
# @return [Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology]
|
36524
|
+
attr_accessor :physical_host_topology
|
36525
|
+
|
36526
|
+
# Project where the instance lives
|
36527
|
+
# Corresponds to the JSON property `projectId`
|
36528
|
+
# @return [Fixnum]
|
36529
|
+
attr_accessor :project_id
|
36530
|
+
|
36531
|
+
def initialize(**args)
|
36532
|
+
update!(**args)
|
36533
|
+
end
|
36534
|
+
|
36535
|
+
# Update properties of this object
|
36536
|
+
def update!(**args)
|
36537
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
36538
|
+
@physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
|
36539
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
36540
|
+
end
|
36541
|
+
end
|
36542
|
+
|
36543
|
+
# The PhysicalHostTopology of the instance within a Block resource.
|
36544
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
36545
|
+
include Google::Apis::Core::Hashable
|
36546
|
+
|
36547
|
+
# Host hash for a given instance
|
36548
|
+
# Corresponds to the JSON property `host`
|
36549
|
+
# @return [String]
|
36550
|
+
attr_accessor :host
|
36551
|
+
|
36552
|
+
# Sub block hash for a given instance
|
36553
|
+
# Corresponds to the JSON property `subBlock`
|
36554
|
+
# @return [String]
|
36555
|
+
attr_accessor :sub_block
|
36556
|
+
|
36557
|
+
def initialize(**args)
|
36558
|
+
update!(**args)
|
36559
|
+
end
|
36560
|
+
|
36561
|
+
# Update properties of this object
|
36562
|
+
def update!(**args)
|
36563
|
+
@host = args[:host] if args.key?(:host)
|
36564
|
+
@sub_block = args[:sub_block] if args.key?(:sub_block)
|
36423
36565
|
end
|
36424
36566
|
end
|
36425
36567
|
|
@@ -36694,6 +36836,11 @@ module Google
|
|
36694
36836
|
# @return [String]
|
36695
36837
|
attr_accessor :creation_timestamp
|
36696
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
|
+
|
36697
36844
|
# [Output Only] The unique identifier for the resource. This identifier is
|
36698
36845
|
# defined by the server.
|
36699
36846
|
# Corresponds to the JSON property `id`
|
@@ -36757,6 +36904,7 @@ module Google
|
|
36757
36904
|
def update!(**args)
|
36758
36905
|
@count = args[:count] if args.key?(:count)
|
36759
36906
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36907
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
36760
36908
|
@id = args[:id] if args.key?(:id)
|
36761
36909
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
36762
36910
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -36770,6 +36918,51 @@ module Google
|
|
36770
36918
|
end
|
36771
36919
|
end
|
36772
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
|
+
|
36773
36966
|
#
|
36774
36967
|
class ReservationSubBlockPhysicalTopology
|
36775
36968
|
include Google::Apis::Core::Hashable
|
@@ -51388,6 +51581,17 @@ module Google
|
|
51388
51581
|
# @return [String]
|
51389
51582
|
attr_accessor :latest_window_start_time
|
51390
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
|
+
|
51391
51595
|
#
|
51392
51596
|
# Corresponds to the JSON property `maintenanceStatus`
|
51393
51597
|
# @return [String]
|
@@ -51418,6 +51622,8 @@ module Google
|
|
51418
51622
|
def update!(**args)
|
51419
51623
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
51420
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)
|
51421
51627
|
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
51422
51628
|
@type = args[:type] if args.key?(:type)
|
51423
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.
|
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 = "
|
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,12 +4720,30 @@ 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
|
|
4720
4732
|
include Google::Apis::Core::JsonObjectSupport
|
4721
4733
|
end
|
4722
4734
|
|
4735
|
+
class ReservationBlockPhysicalTopologyInstance
|
4736
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4737
|
+
|
4738
|
+
include Google::Apis::Core::JsonObjectSupport
|
4739
|
+
end
|
4740
|
+
|
4741
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
4742
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4743
|
+
|
4744
|
+
include Google::Apis::Core::JsonObjectSupport
|
4745
|
+
end
|
4746
|
+
|
4723
4747
|
class ReservationBlocksGetResponse
|
4724
4748
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4725
4749
|
|
@@ -4768,6 +4792,12 @@ module Google
|
|
4768
4792
|
include Google::Apis::Core::JsonObjectSupport
|
4769
4793
|
end
|
4770
4794
|
|
4795
|
+
class ReservationSubBlockHealthInfo
|
4796
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4797
|
+
|
4798
|
+
include Google::Apis::Core::JsonObjectSupport
|
4799
|
+
end
|
4800
|
+
|
4771
4801
|
class ReservationSubBlockPhysicalTopology
|
4772
4802
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4773
4803
|
|
@@ -7482,6 +7512,8 @@ module Google
|
|
7482
7512
|
class AllocationResourceStatus
|
7483
7513
|
# @private
|
7484
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
|
+
|
7485
7517
|
property :reservation_block_count, as: 'reservationBlockCount'
|
7486
7518
|
property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
|
7487
7519
|
|
@@ -7490,6 +7522,15 @@ module Google
|
|
7490
7522
|
end
|
7491
7523
|
end
|
7492
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
|
+
|
7493
7534
|
class AllocationResourceStatusSpecificSkuAllocation
|
7494
7535
|
# @private
|
7495
7536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15927,6 +15968,7 @@ module Google
|
|
15927
15968
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
|
15928
15969
|
|
15929
15970
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
15971
|
+
property :scheduling_type, as: 'schedulingType'
|
15930
15972
|
property :self_link, as: 'selfLink'
|
15931
15973
|
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
15932
15974
|
|
@@ -15985,6 +16027,8 @@ module Google
|
|
15985
16027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15986
16028
|
property :count, as: 'count'
|
15987
16029
|
property :creation_timestamp, as: 'creationTimestamp'
|
16030
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeV1::ReservationBlockHealthInfo::Representation
|
16031
|
+
|
15988
16032
|
property :id, :numeric_string => true, as: 'id'
|
15989
16033
|
property :in_use_count, as: 'inUseCount'
|
15990
16034
|
property :kind, as: 'kind'
|
@@ -16002,11 +16046,40 @@ module Google
|
|
16002
16046
|
end
|
16003
16047
|
end
|
16004
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
|
+
|
16005
16058
|
class ReservationBlockPhysicalTopology
|
16006
16059
|
# @private
|
16007
16060
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16008
16061
|
property :block, as: 'block'
|
16009
16062
|
property :cluster, as: 'cluster'
|
16063
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance::Representation
|
16064
|
+
|
16065
|
+
end
|
16066
|
+
end
|
16067
|
+
|
16068
|
+
class ReservationBlockPhysicalTopologyInstance
|
16069
|
+
# @private
|
16070
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16071
|
+
property :instance_id, :numeric_string => true, as: 'instanceId'
|
16072
|
+
property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology::Representation
|
16073
|
+
|
16074
|
+
property :project_id, :numeric_string => true, as: 'projectId'
|
16075
|
+
end
|
16076
|
+
end
|
16077
|
+
|
16078
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
16079
|
+
# @private
|
16080
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16081
|
+
property :host, as: 'host'
|
16082
|
+
property :sub_block, as: 'subBlock'
|
16010
16083
|
end
|
16011
16084
|
end
|
16012
16085
|
|
@@ -16087,6 +16160,8 @@ module Google
|
|
16087
16160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16088
16161
|
property :count, as: 'count'
|
16089
16162
|
property :creation_timestamp, as: 'creationTimestamp'
|
16163
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeV1::ReservationSubBlockHealthInfo::Representation
|
16164
|
+
|
16090
16165
|
property :id, :numeric_string => true, as: 'id'
|
16091
16166
|
property :in_use_count, as: 'inUseCount'
|
16092
16167
|
property :kind, as: 'kind'
|
@@ -16102,6 +16177,17 @@ module Google
|
|
16102
16177
|
end
|
16103
16178
|
end
|
16104
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
|
+
|
16105
16191
|
class ReservationSubBlockPhysicalTopology
|
16106
16192
|
# @private
|
16107
16193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19746,6 +19832,8 @@ module Google
|
|
19746
19832
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19747
19833
|
property :can_reschedule, as: 'canReschedule'
|
19748
19834
|
property :latest_window_start_time, as: 'latestWindowStartTime'
|
19835
|
+
property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
|
19836
|
+
collection :maintenance_reasons, as: 'maintenanceReasons'
|
19749
19837
|
property :maintenance_status, as: 'maintenanceStatus'
|
19750
19838
|
property :type, as: 'type'
|
19751
19839
|
property :window_end_time, as: 'windowEndTime'
|
@@ -35734,6 +35734,8 @@ module Google
|
|
35734
35734
|
# @param [String] reservation_block
|
35735
35735
|
# The name of the reservation block. Name should conform to RFC1035 or be a
|
35736
35736
|
# resource ID.
|
35737
|
+
# @param [String] view
|
35738
|
+
# View of the Block.
|
35737
35739
|
# @param [String] fields
|
35738
35740
|
# Selector specifying which fields to include in a partial response.
|
35739
35741
|
# @param [String] quota_user
|
@@ -35753,7 +35755,7 @@ module Google
|
|
35753
35755
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35754
35756
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35755
35757
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35756
|
-
def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35758
|
+
def get_reservation_block(project, zone, reservation, reservation_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35757
35759
|
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
|
35758
35760
|
command.response_representation = Google::Apis::ComputeV1::ReservationBlocksGetResponse::Representation
|
35759
35761
|
command.response_class = Google::Apis::ComputeV1::ReservationBlocksGetResponse
|
@@ -35761,6 +35763,7 @@ module Google
|
|
35761
35763
|
command.params['zone'] = zone unless zone.nil?
|
35762
35764
|
command.params['reservation'] = reservation unless reservation.nil?
|
35763
35765
|
command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
|
35766
|
+
command.query['view'] = view unless view.nil?
|
35764
35767
|
command.query['fields'] = fields unless fields.nil?
|
35765
35768
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35766
35769
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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.
|
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:
|