google-apis-compute_v1 0.124.0 → 0.126.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: a948137b8e0aa73f0365b5bfc394620ad5587df07a679a0a1265afba55c6f044
|
4
|
+
data.tar.gz: 4ee25c06a099fe0098dbedf55dfe1861f4c811a8f8eb0a7746594e783c606bad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fadf115830babf668f7251fe7052a993c7203dd0944ea48ce7797c388475c1a4592d70f054668adf34c34319e1c104a4c7c72506669a73c5cc16257f76564da
|
7
|
+
data.tar.gz: e9421319ffa28dbb299e4f9e80829d9d2d17ae7b2984448ca5613500810e4874efe67004066ef1191ccc2e0f02d9771baa4f749f07f454ba84d7b6037fca8f65
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.126.0 (2025-08-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250728
|
6
|
+
|
7
|
+
### v0.125.0 (2025-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250717
|
10
|
+
|
3
11
|
### v0.124.0 (2025-07-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250708
|
@@ -1324,6 +1324,11 @@ module Google
|
|
1324
1324
|
class AllocationResourceStatus
|
1325
1325
|
include Google::Apis::Core::Hashable
|
1326
1326
|
|
1327
|
+
# Health information for the reservation.
|
1328
|
+
# Corresponds to the JSON property `healthInfo`
|
1329
|
+
# @return [Google::Apis::ComputeV1::AllocationResourceStatusHealthInfo]
|
1330
|
+
attr_accessor :health_info
|
1331
|
+
|
1327
1332
|
# The number of reservation blocks associated with this reservation.
|
1328
1333
|
# Corresponds to the JSON property `reservationBlockCount`
|
1329
1334
|
# @return [Fixnum]
|
@@ -1345,12 +1350,44 @@ module Google
|
|
1345
1350
|
|
1346
1351
|
# Update properties of this object
|
1347
1352
|
def update!(**args)
|
1353
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
1348
1354
|
@reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
|
1349
1355
|
@reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
|
1350
1356
|
@specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
|
1351
1357
|
end
|
1352
1358
|
end
|
1353
1359
|
|
1360
|
+
# Health information for the reservation.
|
1361
|
+
class AllocationResourceStatusHealthInfo
|
1362
|
+
include Google::Apis::Core::Hashable
|
1363
|
+
|
1364
|
+
# The number of reservation blocks that are degraded.
|
1365
|
+
# Corresponds to the JSON property `degradedBlockCount`
|
1366
|
+
# @return [Fixnum]
|
1367
|
+
attr_accessor :degraded_block_count
|
1368
|
+
|
1369
|
+
# The health status of the reservation.
|
1370
|
+
# Corresponds to the JSON property `healthStatus`
|
1371
|
+
# @return [String]
|
1372
|
+
attr_accessor :health_status
|
1373
|
+
|
1374
|
+
# The number of reservation blocks that are healthy.
|
1375
|
+
# Corresponds to the JSON property `healthyBlockCount`
|
1376
|
+
# @return [Fixnum]
|
1377
|
+
attr_accessor :healthy_block_count
|
1378
|
+
|
1379
|
+
def initialize(**args)
|
1380
|
+
update!(**args)
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# Update properties of this object
|
1384
|
+
def update!(**args)
|
1385
|
+
@degraded_block_count = args[:degraded_block_count] if args.key?(:degraded_block_count)
|
1386
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
1387
|
+
@healthy_block_count = args[:healthy_block_count] if args.key?(:healthy_block_count)
|
1388
|
+
end
|
1389
|
+
end
|
1390
|
+
|
1354
1391
|
# Contains Properties set for the reservation.
|
1355
1392
|
class AllocationResourceStatusSpecificSkuAllocation
|
1356
1393
|
include Google::Apis::Core::Hashable
|
@@ -3407,7 +3444,7 @@ module Google
|
|
3407
3444
|
attr_accessor :max_utilization
|
3408
3445
|
|
3409
3446
|
# Name of a custom utilization signal. The name must be 1-64 characters long and
|
3410
|
-
# match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the
|
3447
|
+
# match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means that the
|
3411
3448
|
# first character must be a lowercase letter, and all following characters must
|
3412
3449
|
# be a dash, period, underscore, lowercase letter, or digit, except the last
|
3413
3450
|
# character, which cannot be a dash, period, or underscore. For usage guidelines,
|
@@ -3690,11 +3727,16 @@ module Google
|
|
3690
3727
|
# was redirected to the load balancer. - MAGLEV: used as a drop in replacement
|
3691
3728
|
# for the ring hash load balancer. Maglev is not as stable as ring hash but has
|
3692
3729
|
# faster table lookup build times and host selection times. For more information
|
3693
|
-
# about Maglev, see https://ai.google/research/pubs/pub44824
|
3694
|
-
#
|
3695
|
-
#
|
3696
|
-
#
|
3697
|
-
#
|
3730
|
+
# about Maglev, see https://ai.google/research/pubs/pub44824 -
|
3731
|
+
# WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round Robin Load Balancing using
|
3732
|
+
# weights computed from Backend reported Custom Metrics. If set, the Backend
|
3733
|
+
# Service responses are expected to contain non-standard HTTP response header
|
3734
|
+
# field Endpoint-Load-Metrics. The reported metrics to use for computing the
|
3735
|
+
# weights are specified via the customMetrics field. This field is applicable to
|
3736
|
+
# either: - A regional backend service with the service_protocol set to HTTP,
|
3737
|
+
# HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A
|
3738
|
+
# global backend service with the load_balancing_scheme set to
|
3739
|
+
# INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
|
3698
3740
|
# sessionAffinity is not configured—that is, if session affinity remains at the
|
3699
3741
|
# default value of NONE—then the default value for localityLbPolicy is
|
3700
3742
|
# ROUND_ROBIN. If session affinity is set to a value other than NONE, then the
|
@@ -4329,7 +4371,7 @@ module Google
|
|
4329
4371
|
alias_method :dry_run?, :dry_run
|
4330
4372
|
|
4331
4373
|
# Name of a custom utilization signal. The name must be 1-64 characters long and
|
4332
|
-
# match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means the
|
4374
|
+
# match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means that the
|
4333
4375
|
# first character must be a lowercase letter, and all following characters must
|
4334
4376
|
# be a dash, period, underscore, lowercase letter, or digit, except the last
|
4335
4377
|
# character, which cannot be a dash, period, or underscore. For usage guidelines,
|
@@ -36063,6 +36105,11 @@ module Google
|
|
36063
36105
|
attr_accessor :satisfies_pzs
|
36064
36106
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
36065
36107
|
|
36108
|
+
# The type of maintenance for the reservation.
|
36109
|
+
# Corresponds to the JSON property `schedulingType`
|
36110
|
+
# @return [String]
|
36111
|
+
attr_accessor :scheduling_type
|
36112
|
+
|
36066
36113
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
36067
36114
|
# Corresponds to the JSON property `selfLink`
|
36068
36115
|
# @return [String]
|
@@ -36122,6 +36169,7 @@ module Google
|
|
36122
36169
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
36123
36170
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
36124
36171
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
36172
|
+
@scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
|
36125
36173
|
@self_link = args[:self_link] if args.key?(:self_link)
|
36126
36174
|
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
36127
36175
|
@specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
|
@@ -36307,6 +36355,11 @@ module Google
|
|
36307
36355
|
# @return [String]
|
36308
36356
|
attr_accessor :creation_timestamp
|
36309
36357
|
|
36358
|
+
# Health information for the reservation block.
|
36359
|
+
# Corresponds to the JSON property `healthInfo`
|
36360
|
+
# @return [Google::Apis::ComputeV1::ReservationBlockHealthInfo]
|
36361
|
+
attr_accessor :health_info
|
36362
|
+
|
36310
36363
|
# [Output Only] The unique identifier for the resource. This identifier is
|
36311
36364
|
# defined by the server.
|
36312
36365
|
# Corresponds to the JSON property `id`
|
@@ -36383,6 +36436,7 @@ module Google
|
|
36383
36436
|
def update!(**args)
|
36384
36437
|
@count = args[:count] if args.key?(:count)
|
36385
36438
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36439
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
36386
36440
|
@id = args[:id] if args.key?(:id)
|
36387
36441
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
36388
36442
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -36398,6 +36452,37 @@ module Google
|
|
36398
36452
|
end
|
36399
36453
|
end
|
36400
36454
|
|
36455
|
+
# Health information for the reservation block.
|
36456
|
+
class ReservationBlockHealthInfo
|
36457
|
+
include Google::Apis::Core::Hashable
|
36458
|
+
|
36459
|
+
# The number of subBlocks that are degraded.
|
36460
|
+
# Corresponds to the JSON property `degradedSubBlockCount`
|
36461
|
+
# @return [Fixnum]
|
36462
|
+
attr_accessor :degraded_sub_block_count
|
36463
|
+
|
36464
|
+
# The health status of the reservation block.
|
36465
|
+
# Corresponds to the JSON property `healthStatus`
|
36466
|
+
# @return [String]
|
36467
|
+
attr_accessor :health_status
|
36468
|
+
|
36469
|
+
# The number of subBlocks that are healthy.
|
36470
|
+
# Corresponds to the JSON property `healthySubBlockCount`
|
36471
|
+
# @return [Fixnum]
|
36472
|
+
attr_accessor :healthy_sub_block_count
|
36473
|
+
|
36474
|
+
def initialize(**args)
|
36475
|
+
update!(**args)
|
36476
|
+
end
|
36477
|
+
|
36478
|
+
# Update properties of this object
|
36479
|
+
def update!(**args)
|
36480
|
+
@degraded_sub_block_count = args[:degraded_sub_block_count] if args.key?(:degraded_sub_block_count)
|
36481
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
36482
|
+
@healthy_sub_block_count = args[:healthy_sub_block_count] if args.key?(:healthy_sub_block_count)
|
36483
|
+
end
|
36484
|
+
end
|
36485
|
+
|
36401
36486
|
#
|
36402
36487
|
class ReservationBlockPhysicalTopology
|
36403
36488
|
include Google::Apis::Core::Hashable
|
@@ -36756,6 +36841,11 @@ module Google
|
|
36756
36841
|
# @return [String]
|
36757
36842
|
attr_accessor :creation_timestamp
|
36758
36843
|
|
36844
|
+
# Health information for the reservation subBlock.
|
36845
|
+
# Corresponds to the JSON property `healthInfo`
|
36846
|
+
# @return [Google::Apis::ComputeV1::ReservationSubBlockHealthInfo]
|
36847
|
+
attr_accessor :health_info
|
36848
|
+
|
36759
36849
|
# [Output Only] The unique identifier for the resource. This identifier is
|
36760
36850
|
# defined by the server.
|
36761
36851
|
# Corresponds to the JSON property `id`
|
@@ -36819,6 +36909,7 @@ module Google
|
|
36819
36909
|
def update!(**args)
|
36820
36910
|
@count = args[:count] if args.key?(:count)
|
36821
36911
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36912
|
+
@health_info = args[:health_info] if args.key?(:health_info)
|
36822
36913
|
@id = args[:id] if args.key?(:id)
|
36823
36914
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
36824
36915
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -36832,6 +36923,51 @@ module Google
|
|
36832
36923
|
end
|
36833
36924
|
end
|
36834
36925
|
|
36926
|
+
# Health information for the reservation subBlock.
|
36927
|
+
class ReservationSubBlockHealthInfo
|
36928
|
+
include Google::Apis::Core::Hashable
|
36929
|
+
|
36930
|
+
# The number of degraded hosts in the reservation subBlock.
|
36931
|
+
# Corresponds to the JSON property `degradedHostCount`
|
36932
|
+
# @return [Fixnum]
|
36933
|
+
attr_accessor :degraded_host_count
|
36934
|
+
|
36935
|
+
# The number of degraded infrastructure (e.g NV link domain) in the reservation
|
36936
|
+
# subblock.
|
36937
|
+
# Corresponds to the JSON property `degradedInfraCount`
|
36938
|
+
# @return [Fixnum]
|
36939
|
+
attr_accessor :degraded_infra_count
|
36940
|
+
|
36941
|
+
# The health status of the reservation subBlock.
|
36942
|
+
# Corresponds to the JSON property `healthStatus`
|
36943
|
+
# @return [String]
|
36944
|
+
attr_accessor :health_status
|
36945
|
+
|
36946
|
+
# The number of healthy hosts in the reservation subBlock.
|
36947
|
+
# Corresponds to the JSON property `healthyHostCount`
|
36948
|
+
# @return [Fixnum]
|
36949
|
+
attr_accessor :healthy_host_count
|
36950
|
+
|
36951
|
+
# The number of healthy infrastructure (e.g NV link domain) in the reservation
|
36952
|
+
# subblock.
|
36953
|
+
# Corresponds to the JSON property `healthyInfraCount`
|
36954
|
+
# @return [Fixnum]
|
36955
|
+
attr_accessor :healthy_infra_count
|
36956
|
+
|
36957
|
+
def initialize(**args)
|
36958
|
+
update!(**args)
|
36959
|
+
end
|
36960
|
+
|
36961
|
+
# Update properties of this object
|
36962
|
+
def update!(**args)
|
36963
|
+
@degraded_host_count = args[:degraded_host_count] if args.key?(:degraded_host_count)
|
36964
|
+
@degraded_infra_count = args[:degraded_infra_count] if args.key?(:degraded_infra_count)
|
36965
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
36966
|
+
@healthy_host_count = args[:healthy_host_count] if args.key?(:healthy_host_count)
|
36967
|
+
@healthy_infra_count = args[:healthy_infra_count] if args.key?(:healthy_infra_count)
|
36968
|
+
end
|
36969
|
+
end
|
36970
|
+
|
36835
36971
|
#
|
36836
36972
|
class ReservationSubBlockPhysicalTopology
|
36837
36973
|
include Google::Apis::Core::Hashable
|
@@ -42705,7 +42841,9 @@ module Google
|
|
42705
42841
|
# @return [String]
|
42706
42842
|
attr_accessor :target
|
42707
42843
|
|
42708
|
-
# Type of the redirect action.
|
42844
|
+
# Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: redirect
|
42845
|
+
# to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: redirect to a
|
42846
|
+
# different URL via a 302 response.
|
42709
42847
|
# Corresponds to the JSON property `type`
|
42710
42848
|
# @return [String]
|
42711
42849
|
attr_accessor :type
|
@@ -42942,7 +43080,8 @@ module Google
|
|
42942
43080
|
# service attachment. Each project or network has a connection limit. A given
|
42943
43081
|
# service attachment can manage connections at either the project or network
|
42944
43082
|
# level. Therefore, both the accept and reject lists for a given service
|
42945
|
-
# attachment must contain either only projects or only networks
|
43083
|
+
# attachment must contain either only projects or only networks or only
|
43084
|
+
# endpoints.
|
42946
43085
|
# Corresponds to the JSON property `consumerAcceptLists`
|
42947
43086
|
# @return [Array<Google::Apis::ComputeV1::ServiceAttachmentConsumerProjectLimit>]
|
42948
43087
|
attr_accessor :consumer_accept_lists
|
@@ -43006,6 +43145,11 @@ module Google
|
|
43006
43145
|
# @return [String]
|
43007
43146
|
attr_accessor :kind
|
43008
43147
|
|
43148
|
+
# Metadata of the service attachment.
|
43149
|
+
# Corresponds to the JSON property `metadata`
|
43150
|
+
# @return [Hash<String,String>]
|
43151
|
+
attr_accessor :metadata
|
43152
|
+
|
43009
43153
|
# Name of the resource. Provided by the client when the resource is created. The
|
43010
43154
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
43011
43155
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -43095,6 +43239,7 @@ module Google
|
|
43095
43239
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
43096
43240
|
@id = args[:id] if args.key?(:id)
|
43097
43241
|
@kind = args[:kind] if args.key?(:kind)
|
43242
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
43098
43243
|
@name = args[:name] if args.key?(:name)
|
43099
43244
|
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
43100
43245
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
@@ -43278,7 +43423,8 @@ module Google
|
|
43278
43423
|
class ServiceAttachmentConsumerProjectLimit
|
43279
43424
|
include Google::Apis::Core::Hashable
|
43280
43425
|
|
43281
|
-
# The value of the limit to set.
|
43426
|
+
# The value of the limit to set. For endpoint_url, the limit should be no more
|
43427
|
+
# than 1.
|
43282
43428
|
# Corresponds to the JSON property `connectionLimit`
|
43283
43429
|
# @return [Fixnum]
|
43284
43430
|
attr_accessor :connection_limit
|
@@ -45695,7 +45841,7 @@ module Google
|
|
45695
45841
|
# @return [String]
|
45696
45842
|
attr_accessor :performance_provisioning_type
|
45697
45843
|
|
45698
|
-
# Size
|
45844
|
+
# Size of the storage pool in GiB. For more information about the size limits,
|
45699
45845
|
# see https://cloud.google.com/compute/docs/disks/storage-pools.
|
45700
45846
|
# Corresponds to the JSON property `poolProvisionedCapacityGb`
|
45701
45847
|
# @return [Fixnum]
|
@@ -45707,8 +45853,8 @@ module Google
|
|
45707
45853
|
# @return [Fixnum]
|
45708
45854
|
attr_accessor :pool_provisioned_iops
|
45709
45855
|
|
45710
|
-
# Provisioned throughput of the storage pool. Only relevant if the
|
45711
|
-
# type is hyperdisk-balanced or hyperdisk-throughput.
|
45856
|
+
# Provisioned throughput of the storage pool in MiB/s. Only relevant if the
|
45857
|
+
# storage pool type is hyperdisk-balanced or hyperdisk-throughput.
|
45712
45858
|
# Corresponds to the JSON property `poolProvisionedThroughput`
|
45713
45859
|
# @return [Fixnum]
|
45714
45860
|
attr_accessor :pool_provisioned_throughput
|
@@ -46266,7 +46412,7 @@ module Google
|
|
46266
46412
|
# @return [String]
|
46267
46413
|
attr_accessor :last_resize_timestamp
|
46268
46414
|
|
46269
|
-
# [Output Only] Maximum allowed aggregate disk size in
|
46415
|
+
# [Output Only] Maximum allowed aggregate disk size in GiB.
|
46270
46416
|
# Corresponds to the JSON property `maxTotalProvisionedDiskCapacityGb`
|
46271
46417
|
# @return [Fixnum]
|
46272
46418
|
attr_accessor :max_total_provisioned_disk_capacity_gb
|
@@ -46285,7 +46431,7 @@ module Google
|
|
46285
46431
|
# @return [Fixnum]
|
46286
46432
|
attr_accessor :pool_used_iops
|
46287
46433
|
|
46288
|
-
# [Output Only] Sum of all the disks' provisioned throughput in
|
46434
|
+
# [Output Only] Sum of all the disks' provisioned throughput in MiB/s.
|
46289
46435
|
# Corresponds to the JSON property `poolUsedThroughput`
|
46290
46436
|
# @return [Fixnum]
|
46291
46437
|
attr_accessor :pool_used_throughput
|
@@ -46295,8 +46441,8 @@ module Google
|
|
46295
46441
|
# @return [Fixnum]
|
46296
46442
|
attr_accessor :pool_user_written_bytes
|
46297
46443
|
|
46298
|
-
# [Output Only] Sum of all the
|
46299
|
-
# pool. A disk's provisioned capacity is the same as its total capacity.
|
46444
|
+
# [Output Only] Sum of all the disks' provisioned capacity (in GiB) in this
|
46445
|
+
# storage pool. A disk's provisioned capacity is the same as its total capacity.
|
46300
46446
|
# Corresponds to the JSON property `totalProvisionedDiskCapacityGb`
|
46301
46447
|
# @return [Fixnum]
|
46302
46448
|
attr_accessor :total_provisioned_disk_capacity_gb
|
@@ -46306,9 +46452,9 @@ module Google
|
|
46306
46452
|
# @return [Fixnum]
|
46307
46453
|
attr_accessor :total_provisioned_disk_iops
|
46308
46454
|
|
46309
|
-
# [Output Only] Sum of all the disks' provisioned throughput in
|
46310
|
-
# amount that is allowed per disk that is not counted towards pool's
|
46311
|
-
# capacity.
|
46455
|
+
# [Output Only] Sum of all the disks' provisioned throughput in MiB/s, minus
|
46456
|
+
# some amount that is allowed per disk that is not counted towards pool's
|
46457
|
+
# throughput capacity.
|
46312
46458
|
# Corresponds to the JSON property `totalProvisionedDiskThroughput`
|
46313
46459
|
# @return [Fixnum]
|
46314
46460
|
attr_accessor :total_provisioned_disk_throughput
|
@@ -51450,6 +51596,17 @@ module Google
|
|
51450
51596
|
# @return [String]
|
51451
51597
|
attr_accessor :latest_window_start_time
|
51452
51598
|
|
51599
|
+
# Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
|
51600
|
+
# Corresponds to the JSON property `maintenanceOnShutdown`
|
51601
|
+
# @return [Boolean]
|
51602
|
+
attr_accessor :maintenance_on_shutdown
|
51603
|
+
alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
|
51604
|
+
|
51605
|
+
# The reasons for the maintenance. Only valid for vms.
|
51606
|
+
# Corresponds to the JSON property `maintenanceReasons`
|
51607
|
+
# @return [Array<String>]
|
51608
|
+
attr_accessor :maintenance_reasons
|
51609
|
+
|
51453
51610
|
#
|
51454
51611
|
# Corresponds to the JSON property `maintenanceStatus`
|
51455
51612
|
# @return [String]
|
@@ -51480,6 +51637,8 @@ module Google
|
|
51480
51637
|
def update!(**args)
|
51481
51638
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
51482
51639
|
@latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
|
51640
|
+
@maintenance_on_shutdown = args[:maintenance_on_shutdown] if args.key?(:maintenance_on_shutdown)
|
51641
|
+
@maintenance_reasons = args[:maintenance_reasons] if args.key?(:maintenance_reasons)
|
51483
51642
|
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
51484
51643
|
@type = args[:type] if args.key?(:type)
|
51485
51644
|
@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.126.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 = "20250728"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class AllocationResourceStatusHealthInfo
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class AllocationResourceStatusSpecificSkuAllocation
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -4714,6 +4720,12 @@ module Google
|
|
4714
4720
|
include Google::Apis::Core::JsonObjectSupport
|
4715
4721
|
end
|
4716
4722
|
|
4723
|
+
class ReservationBlockHealthInfo
|
4724
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4725
|
+
|
4726
|
+
include Google::Apis::Core::JsonObjectSupport
|
4727
|
+
end
|
4728
|
+
|
4717
4729
|
class ReservationBlockPhysicalTopology
|
4718
4730
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4719
4731
|
|
@@ -4780,6 +4792,12 @@ module Google
|
|
4780
4792
|
include Google::Apis::Core::JsonObjectSupport
|
4781
4793
|
end
|
4782
4794
|
|
4795
|
+
class ReservationSubBlockHealthInfo
|
4796
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4797
|
+
|
4798
|
+
include Google::Apis::Core::JsonObjectSupport
|
4799
|
+
end
|
4800
|
+
|
4783
4801
|
class ReservationSubBlockPhysicalTopology
|
4784
4802
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4785
4803
|
|
@@ -7494,6 +7512,8 @@ module Google
|
|
7494
7512
|
class AllocationResourceStatus
|
7495
7513
|
# @private
|
7496
7514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7515
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::AllocationResourceStatusHealthInfo, decorator: Google::Apis::ComputeV1::AllocationResourceStatusHealthInfo::Representation
|
7516
|
+
|
7497
7517
|
property :reservation_block_count, as: 'reservationBlockCount'
|
7498
7518
|
property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
|
7499
7519
|
|
@@ -7502,6 +7522,15 @@ module Google
|
|
7502
7522
|
end
|
7503
7523
|
end
|
7504
7524
|
|
7525
|
+
class AllocationResourceStatusHealthInfo
|
7526
|
+
# @private
|
7527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7528
|
+
property :degraded_block_count, as: 'degradedBlockCount'
|
7529
|
+
property :health_status, as: 'healthStatus'
|
7530
|
+
property :healthy_block_count, as: 'healthyBlockCount'
|
7531
|
+
end
|
7532
|
+
end
|
7533
|
+
|
7505
7534
|
class AllocationResourceStatusSpecificSkuAllocation
|
7506
7535
|
# @private
|
7507
7536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15939,6 +15968,7 @@ module Google
|
|
15939
15968
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
|
15940
15969
|
|
15941
15970
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
15971
|
+
property :scheduling_type, as: 'schedulingType'
|
15942
15972
|
property :self_link, as: 'selfLink'
|
15943
15973
|
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
15944
15974
|
|
@@ -15997,6 +16027,8 @@ module Google
|
|
15997
16027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15998
16028
|
property :count, as: 'count'
|
15999
16029
|
property :creation_timestamp, as: 'creationTimestamp'
|
16030
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeV1::ReservationBlockHealthInfo::Representation
|
16031
|
+
|
16000
16032
|
property :id, :numeric_string => true, as: 'id'
|
16001
16033
|
property :in_use_count, as: 'inUseCount'
|
16002
16034
|
property :kind, as: 'kind'
|
@@ -16014,6 +16046,15 @@ module Google
|
|
16014
16046
|
end
|
16015
16047
|
end
|
16016
16048
|
|
16049
|
+
class ReservationBlockHealthInfo
|
16050
|
+
# @private
|
16051
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16052
|
+
property :degraded_sub_block_count, as: 'degradedSubBlockCount'
|
16053
|
+
property :health_status, as: 'healthStatus'
|
16054
|
+
property :healthy_sub_block_count, as: 'healthySubBlockCount'
|
16055
|
+
end
|
16056
|
+
end
|
16057
|
+
|
16017
16058
|
class ReservationBlockPhysicalTopology
|
16018
16059
|
# @private
|
16019
16060
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16119,6 +16160,8 @@ module Google
|
|
16119
16160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16120
16161
|
property :count, as: 'count'
|
16121
16162
|
property :creation_timestamp, as: 'creationTimestamp'
|
16163
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeV1::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeV1::ReservationSubBlockHealthInfo::Representation
|
16164
|
+
|
16122
16165
|
property :id, :numeric_string => true, as: 'id'
|
16123
16166
|
property :in_use_count, as: 'inUseCount'
|
16124
16167
|
property :kind, as: 'kind'
|
@@ -16134,6 +16177,17 @@ module Google
|
|
16134
16177
|
end
|
16135
16178
|
end
|
16136
16179
|
|
16180
|
+
class ReservationSubBlockHealthInfo
|
16181
|
+
# @private
|
16182
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16183
|
+
property :degraded_host_count, as: 'degradedHostCount'
|
16184
|
+
property :degraded_infra_count, as: 'degradedInfraCount'
|
16185
|
+
property :health_status, as: 'healthStatus'
|
16186
|
+
property :healthy_host_count, as: 'healthyHostCount'
|
16187
|
+
property :healthy_infra_count, as: 'healthyInfraCount'
|
16188
|
+
end
|
16189
|
+
end
|
16190
|
+
|
16137
16191
|
class ReservationSubBlockPhysicalTopology
|
16138
16192
|
# @private
|
16139
16193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17672,6 +17726,7 @@ module Google
|
|
17672
17726
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
17673
17727
|
property :id, :numeric_string => true, as: 'id'
|
17674
17728
|
property :kind, as: 'kind'
|
17729
|
+
hash :metadata, as: 'metadata'
|
17675
17730
|
property :name, as: 'name'
|
17676
17731
|
collection :nat_subnets, as: 'natSubnets'
|
17677
17732
|
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
@@ -19778,6 +19833,8 @@ module Google
|
|
19778
19833
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19779
19834
|
property :can_reschedule, as: 'canReschedule'
|
19780
19835
|
property :latest_window_start_time, as: 'latestWindowStartTime'
|
19836
|
+
property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
|
19837
|
+
collection :maintenance_reasons, as: 'maintenanceReasons'
|
19781
19838
|
property :maintenance_status, as: 'maintenanceStatus'
|
19782
19839
|
property :type, as: 'type'
|
19783
19840
|
property :window_end_time, as: 'windowEndTime'
|
@@ -7377,9 +7377,9 @@ module Google
|
|
7377
7377
|
# Retrieves the specified Operations resource. Gets a list of operations by
|
7378
7378
|
# making a `list()` request.
|
7379
7379
|
# @param [String] operation
|
7380
|
-
# Name of the Operations resource to return
|
7380
|
+
# Name of the Operations resource to return. Parent is derived from this field.
|
7381
7381
|
# @param [String] parent_id
|
7382
|
-
# Parent ID for this request.
|
7382
|
+
# Parent ID for this request. Not used. Parent is derived from resource_id.
|
7383
7383
|
# @param [String] fields
|
7384
7384
|
# Selector specifying which fields to include in a partial response.
|
7385
7385
|
# @param [String] quota_user
|
@@ -42425,6 +42425,10 @@ module Google
|
|
42425
42425
|
# failure. The default value is false. For example, when partial success
|
42426
42426
|
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
42427
42427
|
# resources in the zone or no resources, with an error code.
|
42428
|
+
# @param [String] service_project
|
42429
|
+
# The project id or project number in which the subnetwork is intended to be
|
42430
|
+
# used. Only applied for Shared VPC. See [Shared VPC documentation](https://
|
42431
|
+
# cloud.google.com/vpc/docs/shared-vpc/)
|
42428
42432
|
# @param [String] fields
|
42429
42433
|
# Selector specifying which fields to include in a partial response.
|
42430
42434
|
# @param [String] quota_user
|
@@ -42444,7 +42448,7 @@ module Google
|
|
42444
42448
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
42445
42449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
42446
42450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
42447
|
-
def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
42451
|
+
def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
42448
42452
|
command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options)
|
42449
42453
|
command.response_representation = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList::Representation
|
42450
42454
|
command.response_class = Google::Apis::ComputeV1::UsableSubnetworksAggregatedList
|
@@ -42454,6 +42458,7 @@ module Google
|
|
42454
42458
|
command.query['orderBy'] = order_by unless order_by.nil?
|
42455
42459
|
command.query['pageToken'] = page_token unless page_token.nil?
|
42456
42460
|
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
42461
|
+
command.query['serviceProject'] = service_project unless service_project.nil?
|
42457
42462
|
command.query['fields'] = fields unless fields.nil?
|
42458
42463
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
42459
42464
|
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.126.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.126.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:
|