@@ -492,6 +492,13 @@ class BackupVault
492492 # @return [String]
493493 attr_accessor :backup_vault_type
494494
495+ # Output only. The crypto key version used to encrypt the backup vault. Format:
496+ # projects/`project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`
497+ # crypto_key`/cryptoKeyVersions/`crypto_key_version`
498+ # Corresponds to the JSON property `backupsCryptoKeyVersion`
499+ # @return [String]
500+ attr_accessor :backups_crypto_key_version
501+
495502 # Output only. Create time of the backup vault.
496503 # Corresponds to the JSON property `createTime`
497504 # @return [String]
@@ -508,6 +515,17 @@ class BackupVault
508515 # @return [String]
509516 attr_accessor :destination_backup_vault
510517
518+ # Output only. Field indicating encryption state of CMEK backups.
519+ # Corresponds to the JSON property `encryptionState`
520+ # @return [String]
521+ attr_accessor :encryption_state
522+
523+ # Optional. Specifies the KMS config to be used for backup encryption. Format:
524+ # projects/`project`/locations/`location`/kmsConfigs/`kms_config`
525+ # Corresponds to the JSON property `kmsConfig`
526+ # @return [String]
527+ attr_accessor :kms_config
528+
511529 # Resource labels to represent user provided metadata.
512530 # Corresponds to the JSON property `labels`
513531 # @return [Hash<String,String>]
@@ -545,9 +563,12 @@ def update!(**args)
545563 @backup_region = args [ :backup_region ] if args . key? ( :backup_region )
546564 @backup_retention_policy = args [ :backup_retention_policy ] if args . key? ( :backup_retention_policy )
547565 @backup_vault_type = args [ :backup_vault_type ] if args . key? ( :backup_vault_type )
566+ @backups_crypto_key_version = args [ :backups_crypto_key_version ] if args . key? ( :backups_crypto_key_version )
548567 @create_time = args [ :create_time ] if args . key? ( :create_time )
549568 @description = args [ :description ] if args . key? ( :description )
550569 @destination_backup_vault = args [ :destination_backup_vault ] if args . key? ( :destination_backup_vault )
570+ @encryption_state = args [ :encryption_state ] if args . key? ( :encryption_state )
571+ @kms_config = args [ :kms_config ] if args . key? ( :kms_config )
551572 @labels = args [ :labels ] if args . key? ( :labels )
552573 @name = args [ :name ] if args . key? ( :name )
553574 @source_backup_vault = args [ :source_backup_vault ] if args . key? ( :source_backup_vault )
@@ -567,13 +588,13 @@ class BlockDevice
567588 # @return [Array<String>]
568589 attr_accessor :host_groups
569590
570- # Output only. Device identifier of the Block volume. This represents
571- # lun_serial_number for iSCSI volumes
591+ # Output only. Device identifier of the block volume. This represents `
592+ # lun_serial_number` for iSCSI volumes.
572593 # Corresponds to the JSON property `identifier`
573594 # @return [String]
574595 attr_accessor :identifier
575596
576- # Optional. User-defined name for the block device, unique within the Volume . In
597+ # Optional. User-defined name for the block device, unique within the volume . In
577598 # case no user input is provided, name will be autogenerated in the backend. The
578599 # name must meet the following requirements: * Be between 1 and 255 characters
579600 # long. * Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9),
@@ -589,9 +610,9 @@ class BlockDevice
589610 # @return [String]
590611 attr_accessor :os_type
591612
592- # Optional. The size of the block device in GiB. Any value provided in this
593- # field during Volume creation is IGNORED . The block device's size is system-
594- # managed and will be set to match the parent Volume's `capacity_gib`.
613+ # Optional. The size of the block device in GiB. Any value provided for the `
614+ # size_gib` field during volume creation is ignored . The block device's size is
615+ # system- managed and will be set to match the parent Volume's `capacity_gib`.
595616 # Corresponds to the JSON property `sizeGib`
596617 # @return [Fixnum]
597618 attr_accessor :size_gib
@@ -614,20 +635,41 @@ def update!(**args)
614635 class CacheConfig
615636 include Google ::Apis ::Core ::Hashable
616637
638+ # Pre-populate cache volume with data from the origin volume.
639+ # Corresponds to the JSON property `cachePrePopulate`
640+ # @return [Google::Apis::NetappV1::CachePrePopulate]
641+ attr_accessor :cache_pre_populate
642+
643+ # Output only. State of the prepopulation job indicating how the prepopulation
644+ # is progressing.
645+ # Corresponds to the JSON property `cachePrePopulateState`
646+ # @return [String]
647+ attr_accessor :cache_pre_populate_state
648+
617649 # Optional. Flag indicating whether a CIFS change notification is enabled for
618650 # the FlexCache volume.
619651 # Corresponds to the JSON property `cifsChangeNotifyEnabled`
620652 # @return [Boolean]
621653 attr_accessor :cifs_change_notify_enabled
622654 alias_method :cifs_change_notify_enabled? , :cifs_change_notify_enabled
623655
656+ # Optional. Flag indicating whether writeback is enabled for the FlexCache
657+ # volume.
658+ # Corresponds to the JSON property `writebackEnabled`
659+ # @return [Boolean]
660+ attr_accessor :writeback_enabled
661+ alias_method :writeback_enabled? , :writeback_enabled
662+
624663 def initialize ( **args )
625664 update! ( **args )
626665 end
627666
628667 # Update properties of this object
629668 def update! ( **args )
669+ @cache_pre_populate = args [ :cache_pre_populate ] if args . key? ( :cache_pre_populate )
670+ @cache_pre_populate_state = args [ :cache_pre_populate_state ] if args . key? ( :cache_pre_populate_state )
630671 @cifs_change_notify_enabled = args [ :cifs_change_notify_enabled ] if args . key? ( :cifs_change_notify_enabled )
672+ @writeback_enabled = args [ :writeback_enabled ] if args . key? ( :writeback_enabled )
631673 end
632674 end
633675
@@ -651,7 +693,7 @@ class CacheParameters
651693 # @return [String]
652694 attr_accessor :command
653695
654- # Optional. Field indicating whether cache volume as global file lock enabled.
696+ # Optional. Indicates whether the cache volume has global file lock enabled.
655697 # Corresponds to the JSON property `enableGlobalFileLock`
656698 # @return [Boolean]
657699 attr_accessor :enable_global_file_lock
@@ -713,6 +755,40 @@ def update!(**args)
713755 end
714756 end
715757
758+ # Pre-populate cache volume with data from the origin volume.
759+ class CachePrePopulate
760+ include Google ::Apis ::Core ::Hashable
761+
762+ # Optional. List of directory-paths to be excluded for pre-population for the
763+ # FlexCache volume.
764+ # Corresponds to the JSON property `excludePathList`
765+ # @return [Array<String>]
766+ attr_accessor :exclude_path_list
767+
768+ # Optional. List of directory-paths to be pre-populated for the FlexCache volume.
769+ # Corresponds to the JSON property `pathList`
770+ # @return [Array<String>]
771+ attr_accessor :path_list
772+
773+ # Optional. Flag indicating whether the directories listed with the pathList
774+ # need to be recursively pre-populated.
775+ # Corresponds to the JSON property `recursion`
776+ # @return [Boolean]
777+ attr_accessor :recursion
778+ alias_method :recursion? , :recursion
779+
780+ def initialize ( **args )
781+ update! ( **args )
782+ end
783+
784+ # Update properties of this object
785+ def update! ( **args )
786+ @exclude_path_list = args [ :exclude_path_list ] if args . key? ( :exclude_path_list )
787+ @path_list = args [ :path_list ] if args . key? ( :path_list )
788+ @recursion = args [ :recursion ] if args . key? ( :recursion )
789+ end
790+ end
791+
716792 # The request message for Operations.CancelOperation.
717793 class CancelOperationRequest
718794 include Google ::Apis ::Core ::Hashable
@@ -1138,8 +1214,8 @@ class KmsConfig
11381214 # @return [String]
11391215 attr_accessor :create_time
11401216
1141- # Required. Customer managed crypto key resource full name. Format: projects/`
1142- # project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key`.
1217+ # Required. Customer managed crypto key resource full name. Format: ` projects/`
1218+ # project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key`` .
11431219 # Corresponds to the JSON property `cryptoKeyName`
11441220 # @return [String]
11451221 attr_accessor :crypto_key_name
@@ -2097,13 +2173,14 @@ class RestoreBackupFilesRequest
20972173 # @return [String]
20982174 attr_accessor :backup
20992175
2100- # Required. List of files to be restored in the form of their absolute path as
2101- # in source volume.
2176+ # Required. List of files to be restored, specified by their absolute path in
2177+ # the source volume.
21022178 # Corresponds to the JSON property `fileList`
21032179 # @return [Array<String>]
21042180 attr_accessor :file_list
21052181
2106- # Optional. Absolute directory path in the destination volume.
2182+ # Optional. Absolute directory path in the destination volume. This is required
2183+ # if the `file_list` is provided.
21072184 # Corresponds to the JSON property `restoreDestinationPath`
21082185 # @return [String]
21092186 attr_accessor :restore_destination_path
@@ -2210,7 +2287,7 @@ class SimpleExportPolicyRule
22102287 attr_accessor :allowed_clients
22112288
22122289 # Optional. An integer representing the anonymous user ID. Range is 0 to
2213- # 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH.
2290+ # 4294967295. Required when ` squash_mode` is ` ROOT_SQUASH` or ` ALL_SQUASH` .
22142291 # Corresponds to the JSON property `anonUid`
22152292 # @return [Fixnum]
22162293 attr_accessor :anon_uid
@@ -2646,8 +2723,9 @@ class StoragePool
26462723 attr_accessor :total_throughput_mibps
26472724
26482725 # Optional. Type of the storage pool. This field is used to control whether the
2649- # pool supports FILE based volumes only or UNIFIED (both FILE and BLOCK) volumes.
2650- # If not specified during creation, it defaults to FILE.
2726+ # pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`)
2727+ # volumes or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with
2728+ # large capacity. If not specified during creation, it defaults to `FILE`.
26512729 # Corresponds to the JSON property `type`
26522730 # @return [String]
26532731 attr_accessor :type
0 commit comments