google-apis-compute_alpha 0.115.0 → 0.117.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: f929983b7568a1ad546d8a344e6273ad68a9c2f90d838f7bc36b329cb988a82b
|
4
|
+
data.tar.gz: 3a76de484b0bcee93d9d14597c3554cba22cbc1656a02783c656a655d7cb20c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 951a6dca33da2ac5446ba1b8d9ba0c8cc21ef8d377d5d28c03fa3c61dcba2b78ea94a4b64b50ed63977cf176c7bbc05ddd72496905b6d20935461e939c184eac
|
7
|
+
data.tar.gz: e343265b7f624fabffc3ce0f41b0bd851b6b59d63b1f7a2245a345a0067ff58566f4a876e795422206dc2f632a198c98d6bca66a5f9192effd4d70947a2b40ae
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.117.0 (2025-07-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250717
|
6
|
+
|
7
|
+
### v0.116.0 (2025-07-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250708
|
10
|
+
|
3
11
|
### v0.115.0 (2025-06-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250601
|
@@ -1368,6 +1368,11 @@ module Google
|
|
1368
1368
|
# @return [Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation]
|
1369
1369
|
attr_accessor :aggregate_allocation
|
1370
1370
|
|
1371
|
+
# Health information for the reservation.
|
1372
|
+
# Corresponds to the JSON property `healthInfo`
|
1373
|
+
# @return [Google::Apis::ComputeAlpha::AllocationResourceStatusHealthInfo]
|
1374
|
+
attr_accessor :health_info
|
1375
|
+
|
1371
1376
|
# The number of reservation blocks associated with this reservation.
|
1372
1377
|
# Corresponds to the JSON property `reservationBlockCount`
|
1373
1378
|
# @return [Fixnum]
|
@@ -1390,6 +1395,7 @@ module Google
|
|
1390
1395
|
# Update properties of this object
|
1391
1396
|
def update!(**args)
|
1392
1397
|
@aggregate_allocation = args[:aggregate_allocation] if args.key?(:aggregate_allocation)
|
1398
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
1393
1399
|
@reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
|
1394
1400
|
@reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
|
1395
1401
|
@specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
|
@@ -1416,6 +1422,37 @@ module Google
|
|
1416
1422
|
end
|
1417
1423
|
end
|
1418
1424
|
|
1425
|
+
# Health information for the reservation.
|
1426
|
+
class AllocationResourceStatusHealthInfo
|
1427
|
+
include Google::Apis::Core::Hashable
|
1428
|
+
|
1429
|
+
# The number of reservation blocks that are degraded.
|
1430
|
+
# Corresponds to the JSON property `degradedBlockCount`
|
1431
|
+
# @return [Fixnum]
|
1432
|
+
attr_accessor :degraded_block_count
|
1433
|
+
|
1434
|
+
# The health status of the reservation.
|
1435
|
+
# Corresponds to the JSON property `healthStatus`
|
1436
|
+
# @return [String]
|
1437
|
+
attr_accessor :health_status
|
1438
|
+
|
1439
|
+
# The number of reservation blocks that are healthy.
|
1440
|
+
# Corresponds to the JSON property `healthyBlockCount`
|
1441
|
+
# @return [Fixnum]
|
1442
|
+
attr_accessor :healthy_block_count
|
1443
|
+
|
1444
|
+
def initialize(**args)
|
1445
|
+
update!(**args)
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# Update properties of this object
|
1449
|
+
def update!(**args)
|
1450
|
+
@degraded_block_count = args[:degraded_block_count] if args.key?(:degraded_block_count)
|
1451
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
1452
|
+
@healthy_block_count = args[:healthy_block_count] if args.key?(:healthy_block_count)
|
1453
|
+
end
|
1454
|
+
end
|
1455
|
+
|
1419
1456
|
# Contains Properties set for the reservation.
|
1420
1457
|
class AllocationResourceStatusSpecificSkuAllocation
|
1421
1458
|
include Google::Apis::Core::Hashable
|
@@ -47722,6 +47759,11 @@ module Google
|
|
47722
47759
|
# @return [String]
|
47723
47760
|
attr_accessor :creation_timestamp
|
47724
47761
|
|
47762
|
+
# Health information for the reservation block.
|
47763
|
+
# Corresponds to the JSON property `healthInfo`
|
47764
|
+
# @return [Google::Apis::ComputeAlpha::ReservationBlockHealthInfo]
|
47765
|
+
attr_accessor :health_info
|
47766
|
+
|
47725
47767
|
# [Output Only] The unique identifier for the resource. This identifier is
|
47726
47768
|
# defined by the server.
|
47727
47769
|
# Corresponds to the JSON property `id`
|
@@ -47806,6 +47848,7 @@ module Google
|
|
47806
47848
|
def update!(**args)
|
47807
47849
|
@count = args[:count] if args.key?(:count)
|
47808
47850
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
47851
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
47809
47852
|
@id = args[:id] if args.key?(:id)
|
47810
47853
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
47811
47854
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -47822,6 +47865,37 @@ module Google
|
|
47822
47865
|
end
|
47823
47866
|
end
|
47824
47867
|
|
47868
|
+
# Health information for the reservation block.
|
47869
|
+
class ReservationBlockHealthInfo
|
47870
|
+
include Google::Apis::Core::Hashable
|
47871
|
+
|
47872
|
+
# The number of subBlocks that are degraded.
|
47873
|
+
# Corresponds to the JSON property `degradedSubBlockCount`
|
47874
|
+
# @return [Fixnum]
|
47875
|
+
attr_accessor :degraded_sub_block_count
|
47876
|
+
|
47877
|
+
# The health status of the reservation block.
|
47878
|
+
# Corresponds to the JSON property `healthStatus`
|
47879
|
+
# @return [String]
|
47880
|
+
attr_accessor :health_status
|
47881
|
+
|
47882
|
+
# The number of subBlocks that are healthy.
|
47883
|
+
# Corresponds to the JSON property `healthySubBlockCount`
|
47884
|
+
# @return [Fixnum]
|
47885
|
+
attr_accessor :healthy_sub_block_count
|
47886
|
+
|
47887
|
+
def initialize(**args)
|
47888
|
+
update!(**args)
|
47889
|
+
end
|
47890
|
+
|
47891
|
+
# Update properties of this object
|
47892
|
+
def update!(**args)
|
47893
|
+
@degraded_sub_block_count = args[:degraded_sub_block_count] if args.key?(:degraded_sub_block_count)
|
47894
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
47895
|
+
@healthy_sub_block_count = args[:healthy_sub_block_count] if args.key?(:healthy_sub_block_count)
|
47896
|
+
end
|
47897
|
+
end
|
47898
|
+
|
47825
47899
|
#
|
47826
47900
|
class ReservationBlockPhysicalTopology
|
47827
47901
|
include Google::Apis::Core::Hashable
|
@@ -47836,6 +47910,11 @@ module Google
|
|
47836
47910
|
# @return [String]
|
47837
47911
|
attr_accessor :cluster
|
47838
47912
|
|
47913
|
+
# The detailed instances information for a given Block
|
47914
|
+
# Corresponds to the JSON property `instances`
|
47915
|
+
# @return [Array<Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance>]
|
47916
|
+
attr_accessor :instances
|
47917
|
+
|
47839
47918
|
def initialize(**args)
|
47840
47919
|
update!(**args)
|
47841
47920
|
end
|
@@ -47844,6 +47923,63 @@ module Google
|
|
47844
47923
|
def update!(**args)
|
47845
47924
|
@block = args[:block] if args.key?(:block)
|
47846
47925
|
@cluster = args[:cluster] if args.key?(:cluster)
|
47926
|
+
@instances = args[:instances] if args.key?(:instances)
|
47927
|
+
end
|
47928
|
+
end
|
47929
|
+
|
47930
|
+
# The instances information for a given Block
|
47931
|
+
class ReservationBlockPhysicalTopologyInstance
|
47932
|
+
include Google::Apis::Core::Hashable
|
47933
|
+
|
47934
|
+
# The InstanceId of the instance
|
47935
|
+
# Corresponds to the JSON property `instanceId`
|
47936
|
+
# @return [Fixnum]
|
47937
|
+
attr_accessor :instance_id
|
47938
|
+
|
47939
|
+
# The PhysicalHostTopology of the instance within a Block resource.
|
47940
|
+
# Corresponds to the JSON property `physicalHostTopology`
|
47941
|
+
# @return [Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology]
|
47942
|
+
attr_accessor :physical_host_topology
|
47943
|
+
|
47944
|
+
# Project where the instance lives
|
47945
|
+
# Corresponds to the JSON property `projectId`
|
47946
|
+
# @return [Fixnum]
|
47947
|
+
attr_accessor :project_id
|
47948
|
+
|
47949
|
+
def initialize(**args)
|
47950
|
+
update!(**args)
|
47951
|
+
end
|
47952
|
+
|
47953
|
+
# Update properties of this object
|
47954
|
+
def update!(**args)
|
47955
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
47956
|
+
@physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
|
47957
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
47958
|
+
end
|
47959
|
+
end
|
47960
|
+
|
47961
|
+
# The PhysicalHostTopology of the instance within a Block resource.
|
47962
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
47963
|
+
include Google::Apis::Core::Hashable
|
47964
|
+
|
47965
|
+
# Host hash for a given instance
|
47966
|
+
# Corresponds to the JSON property `host`
|
47967
|
+
# @return [String]
|
47968
|
+
attr_accessor :host
|
47969
|
+
|
47970
|
+
# Sub block hash for a given instance
|
47971
|
+
# Corresponds to the JSON property `subBlock`
|
47972
|
+
# @return [String]
|
47973
|
+
attr_accessor :sub_block
|
47974
|
+
|
47975
|
+
def initialize(**args)
|
47976
|
+
update!(**args)
|
47977
|
+
end
|
47978
|
+
|
47979
|
+
# Update properties of this object
|
47980
|
+
def update!(**args)
|
47981
|
+
@host = args[:host] if args.key?(:host)
|
47982
|
+
@sub_block = args[:sub_block] if args.key?(:sub_block)
|
47847
47983
|
end
|
47848
47984
|
end
|
47849
47985
|
|
@@ -48118,6 +48254,11 @@ module Google
|
|
48118
48254
|
# @return [String]
|
48119
48255
|
attr_accessor :creation_timestamp
|
48120
48256
|
|
48257
|
+
# Health information for the reservation subBlock.
|
48258
|
+
# Corresponds to the JSON property `healthInfo`
|
48259
|
+
# @return [Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo]
|
48260
|
+
attr_accessor :health_info
|
48261
|
+
|
48121
48262
|
# [Output Only] The unique identifier for the resource. This identifier is
|
48122
48263
|
# defined by the server.
|
48123
48264
|
# Corresponds to the JSON property `id`
|
@@ -48181,6 +48322,7 @@ module Google
|
|
48181
48322
|
def update!(**args)
|
48182
48323
|
@count = args[:count] if args.key?(:count)
|
48183
48324
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
48325
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
48184
48326
|
@id = args[:id] if args.key?(:id)
|
48185
48327
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
48186
48328
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -48194,6 +48336,51 @@ module Google
|
|
48194
48336
|
end
|
48195
48337
|
end
|
48196
48338
|
|
48339
|
+
# Health information for the reservation subBlock.
|
48340
|
+
class ReservationSubBlockHealthInfo
|
48341
|
+
include Google::Apis::Core::Hashable
|
48342
|
+
|
48343
|
+
# The number of degraded hosts in the reservation subBlock.
|
48344
|
+
# Corresponds to the JSON property `degradedHostCount`
|
48345
|
+
# @return [Fixnum]
|
48346
|
+
attr_accessor :degraded_host_count
|
48347
|
+
|
48348
|
+
# The number of degraded infrastructure (e.g NV link domain) in the reservation
|
48349
|
+
# subblock.
|
48350
|
+
# Corresponds to the JSON property `degradedInfraCount`
|
48351
|
+
# @return [Fixnum]
|
48352
|
+
attr_accessor :degraded_infra_count
|
48353
|
+
|
48354
|
+
# The health status of the reservation subBlock.
|
48355
|
+
# Corresponds to the JSON property `healthStatus`
|
48356
|
+
# @return [String]
|
48357
|
+
attr_accessor :health_status
|
48358
|
+
|
48359
|
+
# The number of healthy hosts in the reservation subBlock.
|
48360
|
+
# Corresponds to the JSON property `healthyHostCount`
|
48361
|
+
# @return [Fixnum]
|
48362
|
+
attr_accessor :healthy_host_count
|
48363
|
+
|
48364
|
+
# The number of healthy infrastructure (e.g NV link domain) in the reservation
|
48365
|
+
# subblock.
|
48366
|
+
# Corresponds to the JSON property `healthyInfraCount`
|
48367
|
+
# @return [Fixnum]
|
48368
|
+
attr_accessor :healthy_infra_count
|
48369
|
+
|
48370
|
+
def initialize(**args)
|
48371
|
+
update!(**args)
|
48372
|
+
end
|
48373
|
+
|
48374
|
+
# Update properties of this object
|
48375
|
+
def update!(**args)
|
48376
|
+
@degraded_host_count = args[:degraded_host_count] if args.key?(:degraded_host_count)
|
48377
|
+
@degraded_infra_count = args[:degraded_infra_count] if args.key?(:degraded_infra_count)
|
48378
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
48379
|
+
@healthy_host_count = args[:healthy_host_count] if args.key?(:healthy_host_count)
|
48380
|
+
@healthy_infra_count = args[:healthy_infra_count] if args.key?(:healthy_infra_count)
|
48381
|
+
end
|
48382
|
+
end
|
48383
|
+
|
48197
48384
|
#
|
48198
48385
|
class ReservationSubBlockPhysicalTopology
|
48199
48386
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.117.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
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class AllocationResourceStatusHealthInfo
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class AllocationResourceStatusSpecificSkuAllocation
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -6232,12 +6238,30 @@ module Google
|
|
6232
6238
|
include Google::Apis::Core::JsonObjectSupport
|
6233
6239
|
end
|
6234
6240
|
|
6241
|
+
class ReservationBlockHealthInfo
|
6242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6243
|
+
|
6244
|
+
include Google::Apis::Core::JsonObjectSupport
|
6245
|
+
end
|
6246
|
+
|
6235
6247
|
class ReservationBlockPhysicalTopology
|
6236
6248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6237
6249
|
|
6238
6250
|
include Google::Apis::Core::JsonObjectSupport
|
6239
6251
|
end
|
6240
6252
|
|
6253
|
+
class ReservationBlockPhysicalTopologyInstance
|
6254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6255
|
+
|
6256
|
+
include Google::Apis::Core::JsonObjectSupport
|
6257
|
+
end
|
6258
|
+
|
6259
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
6260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6261
|
+
|
6262
|
+
include Google::Apis::Core::JsonObjectSupport
|
6263
|
+
end
|
6264
|
+
|
6241
6265
|
class ReservationBlocksGetResponse
|
6242
6266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6243
6267
|
|
@@ -6286,6 +6310,12 @@ module Google
|
|
6286
6310
|
include Google::Apis::Core::JsonObjectSupport
|
6287
6311
|
end
|
6288
6312
|
|
6313
|
+
class ReservationSubBlockHealthInfo
|
6314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6315
|
+
|
6316
|
+
include Google::Apis::Core::JsonObjectSupport
|
6317
|
+
end
|
6318
|
+
|
6289
6319
|
class ReservationSubBlockPhysicalTopology
|
6290
6320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6291
6321
|
|
@@ -9494,6 +9524,8 @@ module Google
|
|
9494
9524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9495
9525
|
property :aggregate_allocation, as: 'aggregateAllocation', class: Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation::Representation
|
9496
9526
|
|
9527
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeAlpha::AllocationResourceStatusHealthInfo, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatusHealthInfo::Representation
|
9528
|
+
|
9497
9529
|
property :reservation_block_count, as: 'reservationBlockCount'
|
9498
9530
|
property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeAlpha::GroupMaintenanceInfo, decorator: Google::Apis::ComputeAlpha::GroupMaintenanceInfo::Representation
|
9499
9531
|
|
@@ -9509,6 +9541,15 @@ module Google
|
|
9509
9541
|
end
|
9510
9542
|
end
|
9511
9543
|
|
9544
|
+
class AllocationResourceStatusHealthInfo
|
9545
|
+
# @private
|
9546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9547
|
+
property :degraded_block_count, as: 'degradedBlockCount'
|
9548
|
+
property :health_status, as: 'healthStatus'
|
9549
|
+
property :healthy_block_count, as: 'healthyBlockCount'
|
9550
|
+
end
|
9551
|
+
end
|
9552
|
+
|
9512
9553
|
class AllocationResourceStatusSpecificSkuAllocation
|
9513
9554
|
# @private
|
9514
9555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20902,6 +20943,8 @@ module Google
|
|
20902
20943
|
class Representation < Google::Apis::Core::JsonRepresentation
|
20903
20944
|
property :count, as: 'count'
|
20904
20945
|
property :creation_timestamp, as: 'creationTimestamp'
|
20946
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeAlpha::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeAlpha::ReservationBlockHealthInfo::Representation
|
20947
|
+
|
20905
20948
|
property :id, :numeric_string => true, as: 'id'
|
20906
20949
|
property :in_use_count, as: 'inUseCount'
|
20907
20950
|
property :kind, as: 'kind'
|
@@ -20920,11 +20963,40 @@ module Google
|
|
20920
20963
|
end
|
20921
20964
|
end
|
20922
20965
|
|
20966
|
+
class ReservationBlockHealthInfo
|
20967
|
+
# @private
|
20968
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
20969
|
+
property :degraded_sub_block_count, as: 'degradedSubBlockCount'
|
20970
|
+
property :health_status, as: 'healthStatus'
|
20971
|
+
property :healthy_sub_block_count, as: 'healthySubBlockCount'
|
20972
|
+
end
|
20973
|
+
end
|
20974
|
+
|
20923
20975
|
class ReservationBlockPhysicalTopology
|
20924
20976
|
# @private
|
20925
20977
|
class Representation < Google::Apis::Core::JsonRepresentation
|
20926
20978
|
property :block, as: 'block'
|
20927
20979
|
property :cluster, as: 'cluster'
|
20980
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance, decorator: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstance::Representation
|
20981
|
+
|
20982
|
+
end
|
20983
|
+
end
|
20984
|
+
|
20985
|
+
class ReservationBlockPhysicalTopologyInstance
|
20986
|
+
# @private
|
20987
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
20988
|
+
property :instance_id, :numeric_string => true, as: 'instanceId'
|
20989
|
+
property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology, decorator: Google::Apis::ComputeAlpha::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology::Representation
|
20990
|
+
|
20991
|
+
property :project_id, :numeric_string => true, as: 'projectId'
|
20992
|
+
end
|
20993
|
+
end
|
20994
|
+
|
20995
|
+
class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
|
20996
|
+
# @private
|
20997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
20998
|
+
property :host, as: 'host'
|
20999
|
+
property :sub_block, as: 'subBlock'
|
20928
21000
|
end
|
20929
21001
|
end
|
20930
21002
|
|
@@ -21005,6 +21077,8 @@ module Google
|
|
21005
21077
|
class Representation < Google::Apis::Core::JsonRepresentation
|
21006
21078
|
property :count, as: 'count'
|
21007
21079
|
property :creation_timestamp, as: 'creationTimestamp'
|
21080
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo::Representation
|
21081
|
+
|
21008
21082
|
property :id, :numeric_string => true, as: 'id'
|
21009
21083
|
property :in_use_count, as: 'inUseCount'
|
21010
21084
|
property :kind, as: 'kind'
|
@@ -21020,6 +21094,17 @@ module Google
|
|
21020
21094
|
end
|
21021
21095
|
end
|
21022
21096
|
|
21097
|
+
class ReservationSubBlockHealthInfo
|
21098
|
+
# @private
|
21099
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
21100
|
+
property :degraded_host_count, as: 'degradedHostCount'
|
21101
|
+
property :degraded_infra_count, as: 'degradedInfraCount'
|
21102
|
+
property :health_status, as: 'healthStatus'
|
21103
|
+
property :healthy_host_count, as: 'healthyHostCount'
|
21104
|
+
property :healthy_infra_count, as: 'healthyInfraCount'
|
21105
|
+
end
|
21106
|
+
end
|
21107
|
+
|
21023
21108
|
class ReservationSubBlockPhysicalTopology
|
21024
21109
|
# @private
|
21025
21110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -45521,6 +45521,8 @@ module Google
|
|
45521
45521
|
# @param [String] reservation_block
|
45522
45522
|
# The name of the reservation block. Name should conform to RFC1035 or be a
|
45523
45523
|
# resource ID.
|
45524
|
+
# @param [String] view
|
45525
|
+
# View of the Block.
|
45524
45526
|
# @param [String] fields
|
45525
45527
|
# Selector specifying which fields to include in a partial response.
|
45526
45528
|
# @param [String] quota_user
|
@@ -45540,7 +45542,7 @@ module Google
|
|
45540
45542
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
45541
45543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
45542
45544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
45543
|
-
def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
45545
|
+
def get_reservation_block(project, zone, reservation, reservation_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
45544
45546
|
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
|
45545
45547
|
command.response_representation = Google::Apis::ComputeAlpha::ReservationBlocksGetResponse::Representation
|
45546
45548
|
command.response_class = Google::Apis::ComputeAlpha::ReservationBlocksGetResponse
|
@@ -45548,6 +45550,7 @@ module Google
|
|
45548
45550
|
command.params['zone'] = zone unless zone.nil?
|
45549
45551
|
command.params['reservation'] = reservation unless reservation.nil?
|
45550
45552
|
command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
|
45553
|
+
command.query['view'] = view unless view.nil?
|
45551
45554
|
command.query['fields'] = fields unless fields.nil?
|
45552
45555
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
45553
45556
|
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_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.117.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_alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.117.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|