google-apis-compute_beta 0.116.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15a3063c2ad5e31e4829dfc22a17649df69f79f70e8e49c21e4647f70ae91cc0
|
4
|
+
data.tar.gz: 9cb0ea20df827e0325507efd4e662e6b88cc862ef5560d8e2f28acfec2c8db9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad496fb3ee44a235f0fa92d436f857dbc58338a7c27ff79cc5a9090f24fa504ae3e21b4e720ddbf6f08635ce5e90dc45dbe507b262b48a33ec9ac01ca7cd838
|
7
|
+
data.tar.gz: 681248d7943f7a86ef09168bdc53f30f67dcb2335de2f579e402ab9be58ed33fa071c6c9115aa6a20e8f00a03e15c1d04ee9ce3c6d97eaf95ad8dbd9d89dd8d5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.117.0 (2025-06-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250626
|
10
|
+
|
3
11
|
### v0.116.0 (2025-06-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250601
|
@@ -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
|
@@ -13622,6 +13659,16 @@ module Google
|
|
13622
13659
|
class GroupMaintenanceInfo
|
13623
13660
|
include Google::Apis::Core::Hashable
|
13624
13661
|
|
13662
|
+
# Describes number of instances that have ongoing maintenance.
|
13663
|
+
# Corresponds to the JSON property `instanceMaintenanceOngoingCount`
|
13664
|
+
# @return [Fixnum]
|
13665
|
+
attr_accessor :instance_maintenance_ongoing_count
|
13666
|
+
|
13667
|
+
# Describes number of instances that have pending maintenance.
|
13668
|
+
# Corresponds to the JSON property `instanceMaintenancePendingCount`
|
13669
|
+
# @return [Fixnum]
|
13670
|
+
attr_accessor :instance_maintenance_pending_count
|
13671
|
+
|
13625
13672
|
# Progress for ongoing maintenance for this group of VMs/hosts. Describes number
|
13626
13673
|
# of hosts in the block that have ongoing maintenance.
|
13627
13674
|
# Corresponds to the JSON property `maintenanceOngoingCount`
|
@@ -13639,6 +13686,22 @@ module Google
|
|
13639
13686
|
# @return [String]
|
13640
13687
|
attr_accessor :scheduling_type
|
13641
13688
|
|
13689
|
+
# Describes number of subblock Infrastructure that has ongoing maintenance. Here,
|
13690
|
+
# Subblock Infrastructure Maintenance pertains to upstream hardware contained
|
13691
|
+
# in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not
|
13692
|
+
# all VM Families will support this field.
|
13693
|
+
# Corresponds to the JSON property `subblockInfraMaintenanceOngoingCount`
|
13694
|
+
# @return [Fixnum]
|
13695
|
+
attr_accessor :subblock_infra_maintenance_ongoing_count
|
13696
|
+
|
13697
|
+
# Describes number of subblock Infrastructure that has pending maintenance. Here,
|
13698
|
+
# Subblock Infrastructure Maintenance pertains to upstream hardware contained
|
13699
|
+
# in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not
|
13700
|
+
# all VM Families will support this field.
|
13701
|
+
# Corresponds to the JSON property `subblockInfraMaintenancePendingCount`
|
13702
|
+
# @return [Fixnum]
|
13703
|
+
attr_accessor :subblock_infra_maintenance_pending_count
|
13704
|
+
|
13642
13705
|
# Upcoming Maintenance notification information.
|
13643
13706
|
# Corresponds to the JSON property `upcomingGroupMaintenance`
|
13644
13707
|
# @return [Google::Apis::ComputeBeta::UpcomingMaintenance]
|
@@ -13650,9 +13713,13 @@ module Google
|
|
13650
13713
|
|
13651
13714
|
# Update properties of this object
|
13652
13715
|
def update!(**args)
|
13716
|
+
@instance_maintenance_ongoing_count = args[:instance_maintenance_ongoing_count] if args.key?(:instance_maintenance_ongoing_count)
|
13717
|
+
@instance_maintenance_pending_count = args[:instance_maintenance_pending_count] if args.key?(:instance_maintenance_pending_count)
|
13653
13718
|
@maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
|
13654
13719
|
@maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
|
13655
13720
|
@scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
|
13721
|
+
@subblock_infra_maintenance_ongoing_count = args[:subblock_infra_maintenance_ongoing_count] if args.key?(:subblock_infra_maintenance_ongoing_count)
|
13722
|
+
@subblock_infra_maintenance_pending_count = args[:subblock_infra_maintenance_pending_count] if args.key?(:subblock_infra_maintenance_pending_count)
|
13656
13723
|
@upcoming_group_maintenance = args[:upcoming_group_maintenance] if args.key?(:upcoming_group_maintenance)
|
13657
13724
|
end
|
13658
13725
|
end
|
@@ -40249,6 +40316,11 @@ module Google
|
|
40249
40316
|
attr_accessor :satisfies_pzs
|
40250
40317
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
40251
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
|
+
|
40252
40324
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
40253
40325
|
# Corresponds to the JSON property `selfLink`
|
40254
40326
|
# @return [String]
|
@@ -40309,6 +40381,7 @@ module Google
|
|
40309
40381
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
40310
40382
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
40311
40383
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
40384
|
+
@scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
|
40312
40385
|
@self_link = args[:self_link] if args.key?(:self_link)
|
40313
40386
|
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
40314
40387
|
@specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
|
@@ -40494,6 +40567,11 @@ module Google
|
|
40494
40567
|
# @return [String]
|
40495
40568
|
attr_accessor :creation_timestamp
|
40496
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
|
+
|
40497
40575
|
# [Output Only] The unique identifier for the resource. This identifier is
|
40498
40576
|
# defined by the server.
|
40499
40577
|
# Corresponds to the JSON property `id`
|
@@ -40570,6 +40648,7 @@ module Google
|
|
40570
40648
|
def update!(**args)
|
40571
40649
|
@count = args[:count] if args.key?(:count)
|
40572
40650
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
40651
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
40573
40652
|
@id = args[:id] if args.key?(:id)
|
40574
40653
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
40575
40654
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -40585,6 +40664,37 @@ module Google
|
|
40585
40664
|
end
|
40586
40665
|
end
|
40587
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
|
+
|
40588
40698
|
#
|
40589
40699
|
class ReservationBlockPhysicalTopology
|
40590
40700
|
include Google::Apis::Core::Hashable
|
@@ -40599,6 +40709,11 @@ module Google
|
|
40599
40709
|
# @return [String]
|
40600
40710
|
attr_accessor :cluster
|
40601
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
|
+
|
40602
40717
|
def initialize(**args)
|
40603
40718
|
update!(**args)
|
40604
40719
|
end
|
@@ -40607,6 +40722,63 @@ module Google
|
|
40607
40722
|
def update!(**args)
|
40608
40723
|
@block = args[:block] if args.key?(:block)
|
40609
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)
|
40610
40782
|
end
|
40611
40783
|
end
|
40612
40784
|
|
@@ -40881,6 +41053,11 @@ module Google
|
|
40881
41053
|
# @return [String]
|
40882
41054
|
attr_accessor :creation_timestamp
|
40883
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
|
+
|
40884
41061
|
# [Output Only] The unique identifier for the resource. This identifier is
|
40885
41062
|
# defined by the server.
|
40886
41063
|
# Corresponds to the JSON property `id`
|
@@ -40911,6 +41088,11 @@ module Google
|
|
40911
41088
|
# @return [Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology]
|
40912
41089
|
attr_accessor :physical_topology
|
40913
41090
|
|
41091
|
+
# Maintenance Info for ReservationBlocks.
|
41092
|
+
# Corresponds to the JSON property `reservationSubBlockMaintenance`
|
41093
|
+
# @return [Google::Apis::ComputeBeta::GroupMaintenanceInfo]
|
41094
|
+
attr_accessor :reservation_sub_block_maintenance
|
41095
|
+
|
40914
41096
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
40915
41097
|
# Corresponds to the JSON property `selfLink`
|
40916
41098
|
# @return [String]
|
@@ -40939,11 +41121,13 @@ module Google
|
|
40939
41121
|
def update!(**args)
|
40940
41122
|
@count = args[:count] if args.key?(:count)
|
40941
41123
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
41124
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
40942
41125
|
@id = args[:id] if args.key?(:id)
|
40943
41126
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
40944
41127
|
@kind = args[:kind] if args.key?(:kind)
|
40945
41128
|
@name = args[:name] if args.key?(:name)
|
40946
41129
|
@physical_topology = args[:physical_topology] if args.key?(:physical_topology)
|
41130
|
+
@reservation_sub_block_maintenance = args[:reservation_sub_block_maintenance] if args.key?(:reservation_sub_block_maintenance)
|
40947
41131
|
@self_link = args[:self_link] if args.key?(:self_link)
|
40948
41132
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
40949
41133
|
@status = args[:status] if args.key?(:status)
|
@@ -40951,6 +41135,51 @@ module Google
|
|
40951
41135
|
end
|
40952
41136
|
end
|
40953
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
|
+
|
40954
41183
|
#
|
40955
41184
|
class ReservationSubBlockPhysicalTopology
|
40956
41185
|
include Google::Apis::Core::Hashable
|
@@ -56668,6 +56897,11 @@ module Google
|
|
56668
56897
|
attr_accessor :maintenance_on_shutdown
|
56669
56898
|
alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
|
56670
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
|
+
|
56671
56905
|
#
|
56672
56906
|
# Corresponds to the JSON property `maintenanceStatus`
|
56673
56907
|
# @return [String]
|
@@ -56699,6 +56933,7 @@ module Google
|
|
56699
56933
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
56700
56934
|
@latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
|
56701
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)
|
56702
56937
|
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
56703
56938
|
@type = args[:type] if args.key?(:type)
|
56704
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.
|
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 = "
|
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
|
@@ -11128,9 +11169,13 @@ module Google
|
|
11128
11169
|
class GroupMaintenanceInfo
|
11129
11170
|
# @private
|
11130
11171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11172
|
+
property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
|
11173
|
+
property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
|
11131
11174
|
property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
|
11132
11175
|
property :maintenance_pending_count, as: 'maintenancePendingCount'
|
11133
11176
|
property :scheduling_type, as: 'schedulingType'
|
11177
|
+
property :subblock_infra_maintenance_ongoing_count, as: 'subblockInfraMaintenanceOngoingCount'
|
11178
|
+
property :subblock_infra_maintenance_pending_count, as: 'subblockInfraMaintenancePendingCount'
|
11134
11179
|
property :upcoming_group_maintenance, as: 'upcomingGroupMaintenance', class: Google::Apis::ComputeBeta::UpcomingMaintenance, decorator: Google::Apis::ComputeBeta::UpcomingMaintenance::Representation
|
11135
11180
|
|
11136
11181
|
end
|
@@ -17885,6 +17930,7 @@ module Google
|
|
17885
17930
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeBeta::AllocationResourceStatus, decorator: Google::Apis::ComputeBeta::AllocationResourceStatus::Representation
|
17886
17931
|
|
17887
17932
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
17933
|
+
property :scheduling_type, as: 'schedulingType'
|
17888
17934
|
property :self_link, as: 'selfLink'
|
17889
17935
|
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
|
17890
17936
|
|
@@ -17943,6 +17989,8 @@ module Google
|
|
17943
17989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
17944
17990
|
property :count, as: 'count'
|
17945
17991
|
property :creation_timestamp, as: 'creationTimestamp'
|
17992
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
|
17993
|
+
|
17946
17994
|
property :id, :numeric_string => true, as: 'id'
|
17947
17995
|
property :in_use_count, as: 'inUseCount'
|
17948
17996
|
property :kind, as: 'kind'
|
@@ -17960,11 +18008,40 @@ module Google
|
|
17960
18008
|
end
|
17961
18009
|
end
|
17962
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
|
+
|
17963
18020
|
class ReservationBlockPhysicalTopology
|
17964
18021
|
# @private
|
17965
18022
|
class Representation < Google::Apis::Core::JsonRepresentation
|
17966
18023
|
property :block, as: 'block'
|
17967
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'
|
17968
18045
|
end
|
17969
18046
|
end
|
17970
18047
|
|
@@ -18045,12 +18122,16 @@ module Google
|
|
18045
18122
|
class Representation < Google::Apis::Core::JsonRepresentation
|
18046
18123
|
property :count, as: 'count'
|
18047
18124
|
property :creation_timestamp, as: 'creationTimestamp'
|
18125
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
|
18126
|
+
|
18048
18127
|
property :id, :numeric_string => true, as: 'id'
|
18049
18128
|
property :in_use_count, as: 'inUseCount'
|
18050
18129
|
property :kind, as: 'kind'
|
18051
18130
|
property :name, as: 'name'
|
18052
18131
|
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology::Representation
|
18053
18132
|
|
18133
|
+
property :reservation_sub_block_maintenance, as: 'reservationSubBlockMaintenance', class: Google::Apis::ComputeBeta::GroupMaintenanceInfo, decorator: Google::Apis::ComputeBeta::GroupMaintenanceInfo::Representation
|
18134
|
+
|
18054
18135
|
property :self_link, as: 'selfLink'
|
18055
18136
|
property :self_link_with_id, as: 'selfLinkWithId'
|
18056
18137
|
property :status, as: 'status'
|
@@ -18058,6 +18139,17 @@ module Google
|
|
18058
18139
|
end
|
18059
18140
|
end
|
18060
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
|
+
|
18061
18153
|
class ReservationSubBlockPhysicalTopology
|
18062
18154
|
# @private
|
18063
18155
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -21968,6 +22060,7 @@ module Google
|
|
21968
22060
|
property :can_reschedule, as: 'canReschedule'
|
21969
22061
|
property :latest_window_start_time, as: 'latestWindowStartTime'
|
21970
22062
|
property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
|
22063
|
+
collection :maintenance_reasons, as: 'maintenanceReasons'
|
21971
22064
|
property :maintenance_status, as: 'maintenanceStatus'
|
21972
22065
|
property :type, as: 'type'
|
21973
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?
|
@@ -41489,6 +41492,61 @@ module Google
|
|
41489
41492
|
execute_or_queue_command(command, &block)
|
41490
41493
|
end
|
41491
41494
|
|
41495
|
+
# Allows customers to perform maintenance on a reservation subBlock
|
41496
|
+
# @param [String] project
|
41497
|
+
# Project ID for this request.
|
41498
|
+
# @param [String] zone
|
41499
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
41500
|
+
# @param [String] parent_name
|
41501
|
+
# The name of the parent reservation and parent block. In the format of
|
41502
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
|
41503
|
+
# @param [String] reservation_sub_block
|
41504
|
+
# The name of the reservation subBlock. Name should conform to RFC1035 or be a
|
41505
|
+
# resource ID.
|
41506
|
+
# @param [String] request_id
|
41507
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
41508
|
+
# that if you must retry your request, the server will know to ignore the
|
41509
|
+
# request if it has already been completed. For example, consider a situation
|
41510
|
+
# where you make an initial request and the request times out. If you make the
|
41511
|
+
# request again with the same request ID, the server can check if original
|
41512
|
+
# operation with the same request ID was received, and if so, will ignore the
|
41513
|
+
# second request. This prevents clients from accidentally creating duplicate
|
41514
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
41515
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
41516
|
+
# @param [String] fields
|
41517
|
+
# Selector specifying which fields to include in a partial response.
|
41518
|
+
# @param [String] quota_user
|
41519
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
41520
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
41521
|
+
# @param [String] user_ip
|
41522
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
41523
|
+
# @param [Google::Apis::RequestOptions] options
|
41524
|
+
# Request-specific options
|
41525
|
+
#
|
41526
|
+
# @yield [result, err] Result & error if block supplied
|
41527
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
41528
|
+
# @yieldparam err [StandardError] error object if request failed
|
41529
|
+
#
|
41530
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
41531
|
+
#
|
41532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
41533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
41534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
41535
|
+
def perform_reservation_sub_block_maintenance(project, zone, parent_name, reservation_sub_block, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
41536
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options)
|
41537
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
41538
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
41539
|
+
command.params['project'] = project unless project.nil?
|
41540
|
+
command.params['zone'] = zone unless zone.nil?
|
41541
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
41542
|
+
command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
|
41543
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
41544
|
+
command.query['fields'] = fields unless fields.nil?
|
41545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
41546
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
41547
|
+
execute_or_queue_command(command, &block)
|
41548
|
+
end
|
41549
|
+
|
41492
41550
|
# Retrieves an aggregated list of reservations. To prevent failure, Google
|
41493
41551
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
41494
41552
|
# @param [String] project
|
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.
|
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.
|
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:
|