google-apis-compute_v1 0.90.0 → 0.91.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.90.0"
19
+ GEM_VERSION = "0.91.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240218"
25
+ REVISION = "20240227"
26
26
  end
27
27
  end
28
28
  end
@@ -5230,6 +5230,156 @@ module Google
5230
5230
  include Google::Apis::Core::JsonObjectSupport
5231
5231
  end
5232
5232
 
5233
+ class StoragePool
5234
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5235
+
5236
+ include Google::Apis::Core::JsonObjectSupport
5237
+ end
5238
+
5239
+ class StoragePoolAggregatedList
5240
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5241
+
5242
+ class Warning
5243
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5244
+
5245
+ class Datum
5246
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5247
+
5248
+ include Google::Apis::Core::JsonObjectSupport
5249
+ end
5250
+
5251
+ include Google::Apis::Core::JsonObjectSupport
5252
+ end
5253
+
5254
+ include Google::Apis::Core::JsonObjectSupport
5255
+ end
5256
+
5257
+ class StoragePoolDisk
5258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5259
+
5260
+ include Google::Apis::Core::JsonObjectSupport
5261
+ end
5262
+
5263
+ class StoragePoolList
5264
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5265
+
5266
+ class Warning
5267
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5268
+
5269
+ class Datum
5270
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5271
+
5272
+ include Google::Apis::Core::JsonObjectSupport
5273
+ end
5274
+
5275
+ include Google::Apis::Core::JsonObjectSupport
5276
+ end
5277
+
5278
+ include Google::Apis::Core::JsonObjectSupport
5279
+ end
5280
+
5281
+ class StoragePoolListDisks
5282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5283
+
5284
+ class Warning
5285
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5286
+
5287
+ class Datum
5288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5289
+
5290
+ include Google::Apis::Core::JsonObjectSupport
5291
+ end
5292
+
5293
+ include Google::Apis::Core::JsonObjectSupport
5294
+ end
5295
+
5296
+ include Google::Apis::Core::JsonObjectSupport
5297
+ end
5298
+
5299
+ class StoragePoolResourceStatus
5300
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5301
+
5302
+ include Google::Apis::Core::JsonObjectSupport
5303
+ end
5304
+
5305
+ class StoragePoolType
5306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5307
+
5308
+ include Google::Apis::Core::JsonObjectSupport
5309
+ end
5310
+
5311
+ class StoragePoolTypeAggregatedList
5312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5313
+
5314
+ class Warning
5315
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5316
+
5317
+ class Datum
5318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5319
+
5320
+ include Google::Apis::Core::JsonObjectSupport
5321
+ end
5322
+
5323
+ include Google::Apis::Core::JsonObjectSupport
5324
+ end
5325
+
5326
+ include Google::Apis::Core::JsonObjectSupport
5327
+ end
5328
+
5329
+ class StoragePoolTypeList
5330
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5331
+
5332
+ class Warning
5333
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5334
+
5335
+ class Datum
5336
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5337
+
5338
+ include Google::Apis::Core::JsonObjectSupport
5339
+ end
5340
+
5341
+ include Google::Apis::Core::JsonObjectSupport
5342
+ end
5343
+
5344
+ include Google::Apis::Core::JsonObjectSupport
5345
+ end
5346
+
5347
+ class StoragePoolTypesScopedList
5348
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5349
+
5350
+ class Warning
5351
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5352
+
5353
+ class Datum
5354
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5355
+
5356
+ include Google::Apis::Core::JsonObjectSupport
5357
+ end
5358
+
5359
+ include Google::Apis::Core::JsonObjectSupport
5360
+ end
5361
+
5362
+ include Google::Apis::Core::JsonObjectSupport
5363
+ end
5364
+
5365
+ class StoragePoolsScopedList
5366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5367
+
5368
+ class Warning
5369
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5370
+
5371
+ class Datum
5372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5373
+
5374
+ include Google::Apis::Core::JsonObjectSupport
5375
+ end
5376
+
5377
+ include Google::Apis::Core::JsonObjectSupport
5378
+ end
5379
+
5380
+ include Google::Apis::Core::JsonObjectSupport
5381
+ end
5382
+
5233
5383
  class Subnetwork
5234
5384
  class Representation < Google::Apis::Core::JsonRepresentation; end
5235
5385
 
@@ -6663,6 +6813,7 @@ module Google
6663
6813
  property :source_snapshot, as: 'sourceSnapshot'
6664
6814
  property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
6665
6815
 
6816
+ property :storage_pool, as: 'storagePool'
6666
6817
  end
6667
6818
  end
6668
6819
 
@@ -7715,6 +7866,7 @@ module Google
7715
7866
  property :source_snapshot_id, as: 'sourceSnapshotId'
7716
7867
  property :source_storage_object, as: 'sourceStorageObject'
7717
7868
  property :status, as: 'status'
7869
+ property :storage_pool, as: 'storagePool'
7718
7870
  property :type, as: 'type'
7719
7871
  collection :users, as: 'users'
7720
7872
  property :zone, as: 'zone'
@@ -16018,6 +16170,312 @@ module Google
16018
16170
  end
16019
16171
  end
16020
16172
 
16173
+ class StoragePool
16174
+ # @private
16175
+ class Representation < Google::Apis::Core::JsonRepresentation
16176
+ property :capacity_provisioning_type, as: 'capacityProvisioningType'
16177
+ property :creation_timestamp, as: 'creationTimestamp'
16178
+ property :description, as: 'description'
16179
+ property :id, :numeric_string => true, as: 'id'
16180
+ property :kind, as: 'kind'
16181
+ property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
16182
+ hash :labels, as: 'labels'
16183
+ property :name, as: 'name'
16184
+ property :performance_provisioning_type, as: 'performanceProvisioningType'
16185
+ property :pool_provisioned_capacity_gb, :numeric_string => true, as: 'poolProvisionedCapacityGb'
16186
+ property :pool_provisioned_iops, :numeric_string => true, as: 'poolProvisionedIops'
16187
+ property :pool_provisioned_throughput, :numeric_string => true, as: 'poolProvisionedThroughput'
16188
+ property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::StoragePoolResourceStatus, decorator: Google::Apis::ComputeV1::StoragePoolResourceStatus::Representation
16189
+
16190
+ property :self_link, as: 'selfLink'
16191
+ property :self_link_with_id, as: 'selfLinkWithId'
16192
+ property :state, as: 'state'
16193
+ property :status, as: 'status', class: Google::Apis::ComputeV1::StoragePoolResourceStatus, decorator: Google::Apis::ComputeV1::StoragePoolResourceStatus::Representation
16194
+
16195
+ property :storage_pool_type, as: 'storagePoolType'
16196
+ property :zone, as: 'zone'
16197
+ end
16198
+ end
16199
+
16200
+ class StoragePoolAggregatedList
16201
+ # @private
16202
+ class Representation < Google::Apis::Core::JsonRepresentation
16203
+ property :etag, as: 'etag'
16204
+ property :id, as: 'id'
16205
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::StoragePoolsScopedList, decorator: Google::Apis::ComputeV1::StoragePoolsScopedList::Representation
16206
+
16207
+ property :kind, as: 'kind'
16208
+ property :next_page_token, as: 'nextPageToken'
16209
+ property :self_link, as: 'selfLink'
16210
+ collection :unreachables, as: 'unreachables'
16211
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolAggregatedList::Warning, decorator: Google::Apis::ComputeV1::StoragePoolAggregatedList::Warning::Representation
16212
+
16213
+ end
16214
+
16215
+ class Warning
16216
+ # @private
16217
+ class Representation < Google::Apis::Core::JsonRepresentation
16218
+ property :code, as: 'code'
16219
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolAggregatedList::Warning::Datum::Representation
16220
+
16221
+ property :message, as: 'message'
16222
+ end
16223
+
16224
+ class Datum
16225
+ # @private
16226
+ class Representation < Google::Apis::Core::JsonRepresentation
16227
+ property :key, as: 'key'
16228
+ property :value, as: 'value'
16229
+ end
16230
+ end
16231
+ end
16232
+ end
16233
+
16234
+ class StoragePoolDisk
16235
+ # @private
16236
+ class Representation < Google::Apis::Core::JsonRepresentation
16237
+ collection :attached_instances, as: 'attachedInstances'
16238
+ property :creation_timestamp, as: 'creationTimestamp'
16239
+ property :disk, as: 'disk'
16240
+ property :name, as: 'name'
16241
+ property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
16242
+ property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
16243
+ collection :resource_policies, as: 'resourcePolicies'
16244
+ property :size_gb, :numeric_string => true, as: 'sizeGb'
16245
+ property :status, as: 'status'
16246
+ property :type, as: 'type'
16247
+ property :used_bytes, :numeric_string => true, as: 'usedBytes'
16248
+ end
16249
+ end
16250
+
16251
+ class StoragePoolList
16252
+ # @private
16253
+ class Representation < Google::Apis::Core::JsonRepresentation
16254
+ property :etag, as: 'etag'
16255
+ property :id, as: 'id'
16256
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::StoragePool, decorator: Google::Apis::ComputeV1::StoragePool::Representation
16257
+
16258
+ property :kind, as: 'kind'
16259
+ property :next_page_token, as: 'nextPageToken'
16260
+ property :self_link, as: 'selfLink'
16261
+ collection :unreachables, as: 'unreachables'
16262
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolList::Warning, decorator: Google::Apis::ComputeV1::StoragePoolList::Warning::Representation
16263
+
16264
+ end
16265
+
16266
+ class Warning
16267
+ # @private
16268
+ class Representation < Google::Apis::Core::JsonRepresentation
16269
+ property :code, as: 'code'
16270
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolList::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolList::Warning::Datum::Representation
16271
+
16272
+ property :message, as: 'message'
16273
+ end
16274
+
16275
+ class Datum
16276
+ # @private
16277
+ class Representation < Google::Apis::Core::JsonRepresentation
16278
+ property :key, as: 'key'
16279
+ property :value, as: 'value'
16280
+ end
16281
+ end
16282
+ end
16283
+ end
16284
+
16285
+ class StoragePoolListDisks
16286
+ # @private
16287
+ class Representation < Google::Apis::Core::JsonRepresentation
16288
+ property :etag, as: 'etag'
16289
+ property :id, as: 'id'
16290
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::StoragePoolDisk, decorator: Google::Apis::ComputeV1::StoragePoolDisk::Representation
16291
+
16292
+ property :kind, as: 'kind'
16293
+ property :next_page_token, as: 'nextPageToken'
16294
+ property :self_link, as: 'selfLink'
16295
+ collection :unreachables, as: 'unreachables'
16296
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolListDisks::Warning, decorator: Google::Apis::ComputeV1::StoragePoolListDisks::Warning::Representation
16297
+
16298
+ end
16299
+
16300
+ class Warning
16301
+ # @private
16302
+ class Representation < Google::Apis::Core::JsonRepresentation
16303
+ property :code, as: 'code'
16304
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolListDisks::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolListDisks::Warning::Datum::Representation
16305
+
16306
+ property :message, as: 'message'
16307
+ end
16308
+
16309
+ class Datum
16310
+ # @private
16311
+ class Representation < Google::Apis::Core::JsonRepresentation
16312
+ property :key, as: 'key'
16313
+ property :value, as: 'value'
16314
+ end
16315
+ end
16316
+ end
16317
+ end
16318
+
16319
+ class StoragePoolResourceStatus
16320
+ # @private
16321
+ class Representation < Google::Apis::Core::JsonRepresentation
16322
+ property :disk_count, :numeric_string => true, as: 'diskCount'
16323
+ property :last_resize_timestamp, as: 'lastResizeTimestamp'
16324
+ property :max_total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'maxTotalProvisionedDiskCapacityGb'
16325
+ property :pool_used_capacity_bytes, :numeric_string => true, as: 'poolUsedCapacityBytes'
16326
+ property :pool_used_iops, :numeric_string => true, as: 'poolUsedIops'
16327
+ property :pool_used_throughput, :numeric_string => true, as: 'poolUsedThroughput'
16328
+ property :pool_user_written_bytes, :numeric_string => true, as: 'poolUserWrittenBytes'
16329
+ property :total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'totalProvisionedDiskCapacityGb'
16330
+ property :total_provisioned_disk_iops, :numeric_string => true, as: 'totalProvisionedDiskIops'
16331
+ property :total_provisioned_disk_throughput, :numeric_string => true, as: 'totalProvisionedDiskThroughput'
16332
+ end
16333
+ end
16334
+
16335
+ class StoragePoolType
16336
+ # @private
16337
+ class Representation < Google::Apis::Core::JsonRepresentation
16338
+ property :creation_timestamp, as: 'creationTimestamp'
16339
+ property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
16340
+
16341
+ property :description, as: 'description'
16342
+ property :id, :numeric_string => true, as: 'id'
16343
+ property :kind, as: 'kind'
16344
+ property :max_pool_provisioned_capacity_gb, :numeric_string => true, as: 'maxPoolProvisionedCapacityGb'
16345
+ property :max_pool_provisioned_iops, :numeric_string => true, as: 'maxPoolProvisionedIops'
16346
+ property :max_pool_provisioned_throughput, :numeric_string => true, as: 'maxPoolProvisionedThroughput'
16347
+ property :min_pool_provisioned_capacity_gb, :numeric_string => true, as: 'minPoolProvisionedCapacityGb'
16348
+ property :min_pool_provisioned_iops, :numeric_string => true, as: 'minPoolProvisionedIops'
16349
+ property :min_pool_provisioned_throughput, :numeric_string => true, as: 'minPoolProvisionedThroughput'
16350
+ property :min_size_gb, :numeric_string => true, as: 'minSizeGb'
16351
+ property :name, as: 'name'
16352
+ property :self_link, as: 'selfLink'
16353
+ property :self_link_with_id, as: 'selfLinkWithId'
16354
+ collection :supported_disk_types, as: 'supportedDiskTypes'
16355
+ property :zone, as: 'zone'
16356
+ end
16357
+ end
16358
+
16359
+ class StoragePoolTypeAggregatedList
16360
+ # @private
16361
+ class Representation < Google::Apis::Core::JsonRepresentation
16362
+ property :id, as: 'id'
16363
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::StoragePoolTypesScopedList, decorator: Google::Apis::ComputeV1::StoragePoolTypesScopedList::Representation
16364
+
16365
+ property :kind, as: 'kind'
16366
+ property :next_page_token, as: 'nextPageToken'
16367
+ property :self_link, as: 'selfLink'
16368
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolTypeAggregatedList::Warning, decorator: Google::Apis::ComputeV1::StoragePoolTypeAggregatedList::Warning::Representation
16369
+
16370
+ end
16371
+
16372
+ class Warning
16373
+ # @private
16374
+ class Representation < Google::Apis::Core::JsonRepresentation
16375
+ property :code, as: 'code'
16376
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolTypeAggregatedList::Warning::Datum::Representation
16377
+
16378
+ property :message, as: 'message'
16379
+ end
16380
+
16381
+ class Datum
16382
+ # @private
16383
+ class Representation < Google::Apis::Core::JsonRepresentation
16384
+ property :key, as: 'key'
16385
+ property :value, as: 'value'
16386
+ end
16387
+ end
16388
+ end
16389
+ end
16390
+
16391
+ class StoragePoolTypeList
16392
+ # @private
16393
+ class Representation < Google::Apis::Core::JsonRepresentation
16394
+ property :id, as: 'id'
16395
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::StoragePoolType, decorator: Google::Apis::ComputeV1::StoragePoolType::Representation
16396
+
16397
+ property :kind, as: 'kind'
16398
+ property :next_page_token, as: 'nextPageToken'
16399
+ property :self_link, as: 'selfLink'
16400
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolTypeList::Warning, decorator: Google::Apis::ComputeV1::StoragePoolTypeList::Warning::Representation
16401
+
16402
+ end
16403
+
16404
+ class Warning
16405
+ # @private
16406
+ class Representation < Google::Apis::Core::JsonRepresentation
16407
+ property :code, as: 'code'
16408
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolTypeList::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolTypeList::Warning::Datum::Representation
16409
+
16410
+ property :message, as: 'message'
16411
+ end
16412
+
16413
+ class Datum
16414
+ # @private
16415
+ class Representation < Google::Apis::Core::JsonRepresentation
16416
+ property :key, as: 'key'
16417
+ property :value, as: 'value'
16418
+ end
16419
+ end
16420
+ end
16421
+ end
16422
+
16423
+ class StoragePoolTypesScopedList
16424
+ # @private
16425
+ class Representation < Google::Apis::Core::JsonRepresentation
16426
+ collection :storage_pool_types, as: 'storagePoolTypes', class: Google::Apis::ComputeV1::StoragePoolType, decorator: Google::Apis::ComputeV1::StoragePoolType::Representation
16427
+
16428
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolTypesScopedList::Warning, decorator: Google::Apis::ComputeV1::StoragePoolTypesScopedList::Warning::Representation
16429
+
16430
+ end
16431
+
16432
+ class Warning
16433
+ # @private
16434
+ class Representation < Google::Apis::Core::JsonRepresentation
16435
+ property :code, as: 'code'
16436
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolTypesScopedList::Warning::Datum::Representation
16437
+
16438
+ property :message, as: 'message'
16439
+ end
16440
+
16441
+ class Datum
16442
+ # @private
16443
+ class Representation < Google::Apis::Core::JsonRepresentation
16444
+ property :key, as: 'key'
16445
+ property :value, as: 'value'
16446
+ end
16447
+ end
16448
+ end
16449
+ end
16450
+
16451
+ class StoragePoolsScopedList
16452
+ # @private
16453
+ class Representation < Google::Apis::Core::JsonRepresentation
16454
+ collection :storage_pools, as: 'storagePools', class: Google::Apis::ComputeV1::StoragePool, decorator: Google::Apis::ComputeV1::StoragePool::Representation
16455
+
16456
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::StoragePoolsScopedList::Warning, decorator: Google::Apis::ComputeV1::StoragePoolsScopedList::Warning::Representation
16457
+
16458
+ end
16459
+
16460
+ class Warning
16461
+ # @private
16462
+ class Representation < Google::Apis::Core::JsonRepresentation
16463
+ property :code, as: 'code'
16464
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::StoragePoolsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::StoragePoolsScopedList::Warning::Datum::Representation
16465
+
16466
+ property :message, as: 'message'
16467
+ end
16468
+
16469
+ class Datum
16470
+ # @private
16471
+ class Representation < Google::Apis::Core::JsonRepresentation
16472
+ property :key, as: 'key'
16473
+ property :value, as: 'value'
16474
+ end
16475
+ end
16476
+ end
16477
+ end
16478
+
16021
16479
  class Subnetwork
16022
16480
  # @private
16023
16481
  class Representation < Google::Apis::Core::JsonRepresentation