google-apis-compute_v1 0.102.0 → 0.104.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/compute_v1/classes.rb +856 -19
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +322 -0
- data/lib/google/apis/compute_v1/service.rb +455 -11
- metadata +3 -3
@@ -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.104.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240730"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1216,6 +1216,108 @@ module Google
|
|
1216
1216
|
include Google::Apis::Core::JsonObjectSupport
|
1217
1217
|
end
|
1218
1218
|
|
1219
|
+
class FutureReservation
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
|
+
|
1222
|
+
include Google::Apis::Core::JsonObjectSupport
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
class FutureReservationSpecificSkuProperties
|
1226
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
|
+
|
1228
|
+
include Google::Apis::Core::JsonObjectSupport
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
class FutureReservationStatus
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1233
|
+
|
1234
|
+
include Google::Apis::Core::JsonObjectSupport
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
class FutureReservationStatusExistingMatchingUsageInfo
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
|
+
|
1240
|
+
include Google::Apis::Core::JsonObjectSupport
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class FutureReservationStatusLastKnownGoodState
|
1244
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
|
+
|
1246
|
+
include Google::Apis::Core::JsonObjectSupport
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
|
1250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
|
+
|
1252
|
+
include Google::Apis::Core::JsonObjectSupport
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
class FutureReservationStatusSpecificSkuProperties
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
|
+
|
1258
|
+
include Google::Apis::Core::JsonObjectSupport
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
class FutureReservationTimeWindow
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
|
+
|
1264
|
+
include Google::Apis::Core::JsonObjectSupport
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class FutureReservationsAggregatedListResponse
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
class Warning
|
1271
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1272
|
+
|
1273
|
+
class Datum
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
include Google::Apis::Core::JsonObjectSupport
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
include Google::Apis::Core::JsonObjectSupport
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
class FutureReservationsListResponse
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
+
|
1288
|
+
class Warning
|
1289
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1290
|
+
|
1291
|
+
class Datum
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
+
|
1294
|
+
include Google::Apis::Core::JsonObjectSupport
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
include Google::Apis::Core::JsonObjectSupport
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
include Google::Apis::Core::JsonObjectSupport
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class FutureReservationsScopedList
|
1304
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1305
|
+
|
1306
|
+
class Warning
|
1307
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1308
|
+
|
1309
|
+
class Datum
|
1310
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1311
|
+
|
1312
|
+
include Google::Apis::Core::JsonObjectSupport
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
include Google::Apis::Core::JsonObjectSupport
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
include Google::Apis::Core::JsonObjectSupport
|
1319
|
+
end
|
1320
|
+
|
1219
1321
|
class GrpcHealthCheck
|
1220
1322
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
1323
|
|
@@ -4462,6 +4564,12 @@ module Google
|
|
4462
4564
|
include Google::Apis::Core::JsonObjectSupport
|
4463
4565
|
end
|
4464
4566
|
|
4567
|
+
class ResourceStatusScheduling
|
4568
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4569
|
+
|
4570
|
+
include Google::Apis::Core::JsonObjectSupport
|
4571
|
+
end
|
4572
|
+
|
4465
4573
|
class Route
|
4466
4574
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4467
4575
|
|
@@ -8844,6 +8952,209 @@ module Google
|
|
8844
8952
|
end
|
8845
8953
|
end
|
8846
8954
|
|
8955
|
+
class FutureReservation
|
8956
|
+
# @private
|
8957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8958
|
+
property :auto_created_reservations_delete_time, as: 'autoCreatedReservationsDeleteTime'
|
8959
|
+
property :auto_created_reservations_duration, as: 'autoCreatedReservationsDuration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
8960
|
+
|
8961
|
+
property :auto_delete_auto_created_reservations, as: 'autoDeleteAutoCreatedReservations'
|
8962
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
8963
|
+
property :description, as: 'description'
|
8964
|
+
property :id, :numeric_string => true, as: 'id'
|
8965
|
+
property :kind, as: 'kind'
|
8966
|
+
property :name, as: 'name'
|
8967
|
+
property :name_prefix, as: 'namePrefix'
|
8968
|
+
property :planning_status, as: 'planningStatus'
|
8969
|
+
property :self_link, as: 'selfLink'
|
8970
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
8971
|
+
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
8972
|
+
|
8973
|
+
property :specific_reservation_required, as: 'specificReservationRequired'
|
8974
|
+
property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties, decorator: Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties::Representation
|
8975
|
+
|
8976
|
+
property :status, as: 'status', class: Google::Apis::ComputeV1::FutureReservationStatus, decorator: Google::Apis::ComputeV1::FutureReservationStatus::Representation
|
8977
|
+
|
8978
|
+
property :time_window, as: 'timeWindow', class: Google::Apis::ComputeV1::FutureReservationTimeWindow, decorator: Google::Apis::ComputeV1::FutureReservationTimeWindow::Representation
|
8979
|
+
|
8980
|
+
property :zone, as: 'zone'
|
8981
|
+
end
|
8982
|
+
end
|
8983
|
+
|
8984
|
+
class FutureReservationSpecificSkuProperties
|
8985
|
+
# @private
|
8986
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8987
|
+
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
|
8988
|
+
|
8989
|
+
property :source_instance_template, as: 'sourceInstanceTemplate'
|
8990
|
+
property :total_count, :numeric_string => true, as: 'totalCount'
|
8991
|
+
end
|
8992
|
+
end
|
8993
|
+
|
8994
|
+
class FutureReservationStatus
|
8995
|
+
# @private
|
8996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8997
|
+
property :amendment_status, as: 'amendmentStatus'
|
8998
|
+
collection :auto_created_reservations, as: 'autoCreatedReservations'
|
8999
|
+
property :existing_matching_usage_info, as: 'existingMatchingUsageInfo', class: Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo, decorator: Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo::Representation
|
9000
|
+
|
9001
|
+
property :fulfilled_count, :numeric_string => true, as: 'fulfilledCount'
|
9002
|
+
property :last_known_good_state, as: 'lastKnownGoodState', class: Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodState, decorator: Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodState::Representation
|
9003
|
+
|
9004
|
+
property :lock_time, as: 'lockTime'
|
9005
|
+
property :procurement_status, as: 'procurementStatus'
|
9006
|
+
property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeV1::FutureReservationStatusSpecificSkuProperties, decorator: Google::Apis::ComputeV1::FutureReservationStatusSpecificSkuProperties::Representation
|
9007
|
+
|
9008
|
+
end
|
9009
|
+
end
|
9010
|
+
|
9011
|
+
class FutureReservationStatusExistingMatchingUsageInfo
|
9012
|
+
# @private
|
9013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9014
|
+
property :count, :numeric_string => true, as: 'count'
|
9015
|
+
property :timestamp, as: 'timestamp'
|
9016
|
+
end
|
9017
|
+
end
|
9018
|
+
|
9019
|
+
class FutureReservationStatusLastKnownGoodState
|
9020
|
+
# @private
|
9021
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9022
|
+
property :description, as: 'description'
|
9023
|
+
property :existing_matching_usage_info, as: 'existingMatchingUsageInfo', class: Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo, decorator: Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo::Representation
|
9024
|
+
|
9025
|
+
property :future_reservation_specs, as: 'futureReservationSpecs', class: Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs, decorator: Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs::Representation
|
9026
|
+
|
9027
|
+
property :lock_time, as: 'lockTime'
|
9028
|
+
property :name_prefix, as: 'namePrefix'
|
9029
|
+
property :procurement_status, as: 'procurementStatus'
|
9030
|
+
end
|
9031
|
+
end
|
9032
|
+
|
9033
|
+
class FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
|
9034
|
+
# @private
|
9035
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9036
|
+
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
9037
|
+
|
9038
|
+
property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties, decorator: Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties::Representation
|
9039
|
+
|
9040
|
+
property :time_window, as: 'timeWindow', class: Google::Apis::ComputeV1::FutureReservationTimeWindow, decorator: Google::Apis::ComputeV1::FutureReservationTimeWindow::Representation
|
9041
|
+
|
9042
|
+
end
|
9043
|
+
end
|
9044
|
+
|
9045
|
+
class FutureReservationStatusSpecificSkuProperties
|
9046
|
+
# @private
|
9047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9048
|
+
property :source_instance_template_id, as: 'sourceInstanceTemplateId'
|
9049
|
+
end
|
9050
|
+
end
|
9051
|
+
|
9052
|
+
class FutureReservationTimeWindow
|
9053
|
+
# @private
|
9054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9055
|
+
property :duration, as: 'duration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
9056
|
+
|
9057
|
+
property :end_time, as: 'endTime'
|
9058
|
+
property :start_time, as: 'startTime'
|
9059
|
+
end
|
9060
|
+
end
|
9061
|
+
|
9062
|
+
class FutureReservationsAggregatedListResponse
|
9063
|
+
# @private
|
9064
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9065
|
+
property :etag, as: 'etag'
|
9066
|
+
property :id, as: 'id'
|
9067
|
+
hash :items, as: 'items', class: Google::Apis::ComputeV1::FutureReservationsScopedList, decorator: Google::Apis::ComputeV1::FutureReservationsScopedList::Representation
|
9068
|
+
|
9069
|
+
property :kind, as: 'kind'
|
9070
|
+
property :next_page_token, as: 'nextPageToken'
|
9071
|
+
property :self_link, as: 'selfLink'
|
9072
|
+
collection :unreachables, as: 'unreachables'
|
9073
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::FutureReservationsAggregatedListResponse::Warning, decorator: Google::Apis::ComputeV1::FutureReservationsAggregatedListResponse::Warning::Representation
|
9074
|
+
|
9075
|
+
end
|
9076
|
+
|
9077
|
+
class Warning
|
9078
|
+
# @private
|
9079
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9080
|
+
property :code, as: 'code'
|
9081
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::FutureReservationsAggregatedListResponse::Warning::Datum, decorator: Google::Apis::ComputeV1::FutureReservationsAggregatedListResponse::Warning::Datum::Representation
|
9082
|
+
|
9083
|
+
property :message, as: 'message'
|
9084
|
+
end
|
9085
|
+
|
9086
|
+
class Datum
|
9087
|
+
# @private
|
9088
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9089
|
+
property :key, as: 'key'
|
9090
|
+
property :value, as: 'value'
|
9091
|
+
end
|
9092
|
+
end
|
9093
|
+
end
|
9094
|
+
end
|
9095
|
+
|
9096
|
+
class FutureReservationsListResponse
|
9097
|
+
# @private
|
9098
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9099
|
+
property :etag, as: 'etag'
|
9100
|
+
property :id, as: 'id'
|
9101
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::FutureReservation, decorator: Google::Apis::ComputeV1::FutureReservation::Representation
|
9102
|
+
|
9103
|
+
property :kind, as: 'kind'
|
9104
|
+
property :next_page_token, as: 'nextPageToken'
|
9105
|
+
property :self_link, as: 'selfLink'
|
9106
|
+
collection :unreachables, as: 'unreachables'
|
9107
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::FutureReservationsListResponse::Warning, decorator: Google::Apis::ComputeV1::FutureReservationsListResponse::Warning::Representation
|
9108
|
+
|
9109
|
+
end
|
9110
|
+
|
9111
|
+
class Warning
|
9112
|
+
# @private
|
9113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9114
|
+
property :code, as: 'code'
|
9115
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::FutureReservationsListResponse::Warning::Datum, decorator: Google::Apis::ComputeV1::FutureReservationsListResponse::Warning::Datum::Representation
|
9116
|
+
|
9117
|
+
property :message, as: 'message'
|
9118
|
+
end
|
9119
|
+
|
9120
|
+
class Datum
|
9121
|
+
# @private
|
9122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9123
|
+
property :key, as: 'key'
|
9124
|
+
property :value, as: 'value'
|
9125
|
+
end
|
9126
|
+
end
|
9127
|
+
end
|
9128
|
+
end
|
9129
|
+
|
9130
|
+
class FutureReservationsScopedList
|
9131
|
+
# @private
|
9132
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9133
|
+
collection :future_reservations, as: 'futureReservations', class: Google::Apis::ComputeV1::FutureReservation, decorator: Google::Apis::ComputeV1::FutureReservation::Representation
|
9134
|
+
|
9135
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::FutureReservationsScopedList::Warning, decorator: Google::Apis::ComputeV1::FutureReservationsScopedList::Warning::Representation
|
9136
|
+
|
9137
|
+
end
|
9138
|
+
|
9139
|
+
class Warning
|
9140
|
+
# @private
|
9141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9142
|
+
property :code, as: 'code'
|
9143
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::FutureReservationsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::FutureReservationsScopedList::Warning::Datum::Representation
|
9144
|
+
|
9145
|
+
property :message, as: 'message'
|
9146
|
+
end
|
9147
|
+
|
9148
|
+
class Datum
|
9149
|
+
# @private
|
9150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9151
|
+
property :key, as: 'key'
|
9152
|
+
property :value, as: 'value'
|
9153
|
+
end
|
9154
|
+
end
|
9155
|
+
end
|
9156
|
+
end
|
9157
|
+
|
8847
9158
|
class GrpcHealthCheck
|
8848
9159
|
# @private
|
8849
9160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9006,6 +9317,7 @@ module Google
|
|
9006
9317
|
property :name, as: 'name'
|
9007
9318
|
property :region, as: 'region'
|
9008
9319
|
property :self_link, as: 'selfLink'
|
9320
|
+
collection :source_regions, as: 'sourceRegions'
|
9009
9321
|
property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeV1::SslHealthCheck, decorator: Google::Apis::ComputeV1::SslHealthCheck::Representation
|
9010
9322
|
|
9011
9323
|
property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeV1::TcpHealthCheck, decorator: Google::Apis::ComputeV1::TcpHealthCheck::Representation
|
@@ -10741,6 +11053,7 @@ module Google
|
|
10741
11053
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10742
11054
|
property :display_name, as: 'displayName'
|
10743
11055
|
property :name, as: 'name'
|
11056
|
+
property :priority, as: 'priority'
|
10744
11057
|
collection :rules, as: 'rules', class: Google::Apis::ComputeV1::FirewallPolicyRule, decorator: Google::Apis::ComputeV1::FirewallPolicyRule::Representation
|
10745
11058
|
|
10746
11059
|
property :short_name, as: 'shortName'
|
@@ -14837,11 +15150,20 @@ module Google
|
|
14837
15150
|
# @private
|
14838
15151
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14839
15152
|
property :physical_host, as: 'physicalHost'
|
15153
|
+
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::ResourceStatusScheduling, decorator: Google::Apis::ComputeV1::ResourceStatusScheduling::Representation
|
15154
|
+
|
14840
15155
|
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
|
14841
15156
|
|
14842
15157
|
end
|
14843
15158
|
end
|
14844
15159
|
|
15160
|
+
class ResourceStatusScheduling
|
15161
|
+
# @private
|
15162
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15163
|
+
property :availability_domain, as: 'availabilityDomain'
|
15164
|
+
end
|
15165
|
+
end
|
15166
|
+
|
14845
15167
|
class Route
|
14846
15168
|
# @private
|
14847
15169
|
class Representation < Google::Apis::Core::JsonRepresentation
|