@@ -212,6 +212,11 @@ class Backup
212
212
# @return [String]
213
213
attr_accessor :description
214
214
215
+ # Output only. The time until which the backup is not deletable.
216
+ # Corresponds to the JSON property `enforcedRetentionEndTime`
217
+ # @return [String]
218
+ attr_accessor :enforced_retention_end_time
219
+
215
220
# Resource labels to represent user provided metadata.
216
221
# Corresponds to the JSON property `labels`
217
222
# @return [Hash<String,String>]
@@ -278,6 +283,7 @@ def update!(**args)
278
283
@chain_storage_bytes = args [ :chain_storage_bytes ] if args . key? ( :chain_storage_bytes )
279
284
@create_time = args [ :create_time ] if args . key? ( :create_time )
280
285
@description = args [ :description ] if args . key? ( :description )
286
+ @enforced_retention_end_time = args [ :enforced_retention_end_time ] if args . key? ( :enforced_retention_end_time )
281
287
@labels = args [ :labels ] if args . key? ( :labels )
282
288
@name = args [ :name ] if args . key? ( :name )
283
289
@satisfies_pzi = args [ :satisfies_pzi ] if args . key? ( :satisfies_pzi )
@@ -411,6 +417,61 @@ def update!(**args)
411
417
end
412
418
end
413
419
420
+ # Retention policy for backups in the backup vault
421
+ class BackupRetentionPolicy
422
+ include Google ::Apis ::Core ::Hashable
423
+
424
+ # Required. Minimum retention duration in days for backups in the backup vault.
425
+ # Corresponds to the JSON property `backupMinimumEnforcedRetentionDays`
426
+ # @return [Fixnum]
427
+ attr_accessor :backup_minimum_enforced_retention_days
428
+
429
+ # Optional. Indicates if the daily backups are immutable. Atleast one of
430
+ # daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
431
+ # manual_backup_immutable must be true.
432
+ # Corresponds to the JSON property `dailyBackupImmutable`
433
+ # @return [Boolean]
434
+ attr_accessor :daily_backup_immutable
435
+ alias_method :daily_backup_immutable? , :daily_backup_immutable
436
+
437
+ # Optional. Indicates if the manual backups are immutable. Atleast one of
438
+ # daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
439
+ # manual_backup_immutable must be true.
440
+ # Corresponds to the JSON property `manualBackupImmutable`
441
+ # @return [Boolean]
442
+ attr_accessor :manual_backup_immutable
443
+ alias_method :manual_backup_immutable? , :manual_backup_immutable
444
+
445
+ # Optional. Indicates if the monthly backups are immutable. Atleast one of
446
+ # daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
447
+ # manual_backup_immutable must be true.
448
+ # Corresponds to the JSON property `monthlyBackupImmutable`
449
+ # @return [Boolean]
450
+ attr_accessor :monthly_backup_immutable
451
+ alias_method :monthly_backup_immutable? , :monthly_backup_immutable
452
+
453
+ # Optional. Indicates if the weekly backups are immutable. Atleast one of
454
+ # daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable and
455
+ # manual_backup_immutable must be true.
456
+ # Corresponds to the JSON property `weeklyBackupImmutable`
457
+ # @return [Boolean]
458
+ attr_accessor :weekly_backup_immutable
459
+ alias_method :weekly_backup_immutable? , :weekly_backup_immutable
460
+
461
+ def initialize ( **args )
462
+ update! ( **args )
463
+ end
464
+
465
+ # Update properties of this object
466
+ def update! ( **args )
467
+ @backup_minimum_enforced_retention_days = args [ :backup_minimum_enforced_retention_days ] if args . key? ( :backup_minimum_enforced_retention_days )
468
+ @daily_backup_immutable = args [ :daily_backup_immutable ] if args . key? ( :daily_backup_immutable )
469
+ @manual_backup_immutable = args [ :manual_backup_immutable ] if args . key? ( :manual_backup_immutable )
470
+ @monthly_backup_immutable = args [ :monthly_backup_immutable ] if args . key? ( :monthly_backup_immutable )
471
+ @weekly_backup_immutable = args [ :weekly_backup_immutable ] if args . key? ( :weekly_backup_immutable )
472
+ end
473
+ end
474
+
414
475
# A NetApp BackupVault.
415
476
class BackupVault
416
477
include Google ::Apis ::Core ::Hashable
@@ -421,6 +482,11 @@ class BackupVault
421
482
# @return [String]
422
483
attr_accessor :backup_region
423
484
485
+ # Retention policy for backups in the backup vault
486
+ # Corresponds to the JSON property `backupRetentionPolicy`
487
+ # @return [Google::Apis::NetappV1::BackupRetentionPolicy]
488
+ attr_accessor :backup_retention_policy
489
+
424
490
# Optional. Type of backup vault to be created. Default is IN_REGION.
425
491
# Corresponds to the JSON property `backupVaultType`
426
492
# @return [String]
@@ -477,6 +543,7 @@ def initialize(**args)
477
543
# Update properties of this object
478
544
def update! ( **args )
479
545
@backup_region = args [ :backup_region ] if args . key? ( :backup_region )
546
+ @backup_retention_policy = args [ :backup_retention_policy ] if args . key? ( :backup_retention_policy )
480
547
@backup_vault_type = args [ :backup_vault_type ] if args . key? ( :backup_vault_type )
481
548
@create_time = args [ :create_time ] if args . key? ( :create_time )
482
549
@description = args [ :description ] if args . key? ( :description )
@@ -2098,6 +2165,13 @@ class StoragePool
2098
2165
# @return [String]
2099
2166
attr_accessor :create_time
2100
2167
2168
+ # Optional. True if using Independent Scaling of capacity and performance (
2169
+ # Hyperdisk) By default set to false
2170
+ # Corresponds to the JSON property `customPerformanceEnabled`
2171
+ # @return [Boolean]
2172
+ attr_accessor :custom_performance_enabled
2173
+ alias_method :custom_performance_enabled? , :custom_performance_enabled
2174
+
2101
2175
# Optional. Description of the storage pool
2102
2176
# Corresponds to the JSON property `description`
2103
2177
# @return [String]
@@ -2180,6 +2254,17 @@ class StoragePool
2180
2254
# @return [String]
2181
2255
attr_accessor :state_details
2182
2256
2257
+ # Optional. Custom Performance Total IOPS of the pool If not provided, it will
2258
+ # be calculated based on the total_throughput_mibps
2259
+ # Corresponds to the JSON property `totalIops`
2260
+ # @return [Fixnum]
2261
+ attr_accessor :total_iops
2262
+
2263
+ # Optional. Custom Performance Total Throughput of the pool (in MiB/s)
2264
+ # Corresponds to the JSON property `totalThroughputMibps`
2265
+ # @return [Fixnum]
2266
+ attr_accessor :total_throughput_mibps
2267
+
2183
2268
# Output only. Allocated size of all volumes in GIB in the storage pool
2184
2269
# Corresponds to the JSON property `volumeCapacityGib`
2185
2270
# @return [Fixnum]
@@ -2205,6 +2290,7 @@ def update!(**args)
2205
2290
@allow_auto_tiering = args [ :allow_auto_tiering ] if args . key? ( :allow_auto_tiering )
2206
2291
@capacity_gib = args [ :capacity_gib ] if args . key? ( :capacity_gib )
2207
2292
@create_time = args [ :create_time ] if args . key? ( :create_time )
2293
+ @custom_performance_enabled = args [ :custom_performance_enabled ] if args . key? ( :custom_performance_enabled )
2208
2294
@description = args [ :description ] if args . key? ( :description )
2209
2295
@encryption_type = args [ :encryption_type ] if args . key? ( :encryption_type )
2210
2296
@global_access_allowed = args [ :global_access_allowed ] if args . key? ( :global_access_allowed )
@@ -2220,6 +2306,8 @@ def update!(**args)
2220
2306
@service_level = args [ :service_level ] if args . key? ( :service_level )
2221
2307
@state = args [ :state ] if args . key? ( :state )
2222
2308
@state_details = args [ :state_details ] if args . key? ( :state_details )
2309
+ @total_iops = args [ :total_iops ] if args . key? ( :total_iops )
2310
+ @total_throughput_mibps = args [ :total_throughput_mibps ] if args . key? ( :total_throughput_mibps )
2223
2311
@volume_capacity_gib = args [ :volume_capacity_gib ] if args . key? ( :volume_capacity_gib )
2224
2312
@volume_count = args [ :volume_count ] if args . key? ( :volume_count )
2225
2313
@zone = args [ :zone ] if args . key? ( :zone )
@@ -2315,7 +2403,7 @@ class TransferStats
2315
2403
# @return [String]
2316
2404
attr_accessor :total_transfer_duration
2317
2405
2318
- # Cumulative bytes trasferred so far for the replication relatinonship .
2406
+ # Cumulative bytes transferred so far for the replication relationship .
2319
2407
# Corresponds to the JSON property `transferBytes`
2320
2408
# @return [Fixnum]
2321
2409
attr_accessor :transfer_bytes
0 commit comments