@@ -556,6 +556,109 @@ def update!(**args)
556556 end
557557 end
558558
559+ # Configuration of the cache volume.
560+ class CacheConfig
561+ include Google ::Apis ::Core ::Hashable
562+
563+ # Optional. Flag indicating whether a CIFS change notification is enabled for
564+ # the FlexCache volume.
565+ # Corresponds to the JSON property `cifsChangeNotifyEnabled`
566+ # @return [Boolean]
567+ attr_accessor :cifs_change_notify_enabled
568+ alias_method :cifs_change_notify_enabled? , :cifs_change_notify_enabled
569+
570+ def initialize ( **args )
571+ update! ( **args )
572+ end
573+
574+ # Update properties of this object
575+ def update! ( **args )
576+ @cifs_change_notify_enabled = args [ :cifs_change_notify_enabled ] if args . key? ( :cifs_change_notify_enabled )
577+ end
578+ end
579+
580+ # Cache Parameters for the volume.
581+ class CacheParameters
582+ include Google ::Apis ::Core ::Hashable
583+
584+ # Configuration of the cache volume.
585+ # Corresponds to the JSON property `cacheConfig`
586+ # @return [Google::Apis::NetappV1::CacheConfig]
587+ attr_accessor :cache_config
588+
589+ # Output only. State of the cache volume indicating the peering status.
590+ # Corresponds to the JSON property `cacheState`
591+ # @return [String]
592+ attr_accessor :cache_state
593+
594+ # Output only. Copy-paste-able commands to be used on user's ONTAP to accept
595+ # peering requests.
596+ # Corresponds to the JSON property `command`
597+ # @return [String]
598+ attr_accessor :command
599+
600+ # Optional. Field indicating whether cache volume as global file lock enabled.
601+ # Corresponds to the JSON property `enableGlobalFileLock`
602+ # @return [Boolean]
603+ attr_accessor :enable_global_file_lock
604+ alias_method :enable_global_file_lock? , :enable_global_file_lock
605+
606+ # Output only. Temporary passphrase generated to accept cluster peering command.
607+ # Corresponds to the JSON property `passphrase`
608+ # @return [String]
609+ attr_accessor :passphrase
610+
611+ # Required. Name of the origin volume's ONTAP cluster.
612+ # Corresponds to the JSON property `peerClusterName`
613+ # @return [String]
614+ attr_accessor :peer_cluster_name
615+
616+ # Required. List of IC LIF addresses of the origin volume's ONTAP cluster.
617+ # Corresponds to the JSON property `peerIpAddresses`
618+ # @return [Array<String>]
619+ attr_accessor :peer_ip_addresses
620+
621+ # Required. Name of the origin volume's SVM.
622+ # Corresponds to the JSON property `peerSvmName`
623+ # @return [String]
624+ attr_accessor :peer_svm_name
625+
626+ # Required. Name of the origin volume for the cache volume.
627+ # Corresponds to the JSON property `peerVolumeName`
628+ # @return [String]
629+ attr_accessor :peer_volume_name
630+
631+ # Optional. Expiration time for the peering command to be executed on user's
632+ # ONTAP.
633+ # Corresponds to the JSON property `peeringCommandExpiryTime`
634+ # @return [String]
635+ attr_accessor :peering_command_expiry_time
636+
637+ # Output only. Detailed description of the current cache state.
638+ # Corresponds to the JSON property `stateDetails`
639+ # @return [String]
640+ attr_accessor :state_details
641+
642+ def initialize ( **args )
643+ update! ( **args )
644+ end
645+
646+ # Update properties of this object
647+ def update! ( **args )
648+ @cache_config = args [ :cache_config ] if args . key? ( :cache_config )
649+ @cache_state = args [ :cache_state ] if args . key? ( :cache_state )
650+ @command = args [ :command ] if args . key? ( :command )
651+ @enable_global_file_lock = args [ :enable_global_file_lock ] if args . key? ( :enable_global_file_lock )
652+ @passphrase = args [ :passphrase ] if args . key? ( :passphrase )
653+ @peer_cluster_name = args [ :peer_cluster_name ] if args . key? ( :peer_cluster_name )
654+ @peer_ip_addresses = args [ :peer_ip_addresses ] if args . key? ( :peer_ip_addresses )
655+ @peer_svm_name = args [ :peer_svm_name ] if args . key? ( :peer_svm_name )
656+ @peer_volume_name = args [ :peer_volume_name ] if args . key? ( :peer_volume_name )
657+ @peering_command_expiry_time = args [ :peering_command_expiry_time ] if args . key? ( :peering_command_expiry_time )
658+ @state_details = args [ :state_details ] if args . key? ( :state_details )
659+ end
660+ end
661+
559662 # The request message for Operations.CancelOperation.
560663 class CancelOperationRequest
561664 include Google ::Apis ::Core ::Hashable
@@ -1825,6 +1928,39 @@ def update!(**args)
18251928 end
18261929 end
18271930
1931+ # RestoreBackupFilesRequest restores files from a backup to a volume.
1932+ class RestoreBackupFilesRequest
1933+ include Google ::Apis ::Core ::Hashable
1934+
1935+ # Required. The backup resource name, in the format `projects/`project_id`/
1936+ # locations/`location`/backupVaults/`backup_vault_id`/backups/`backup_id``
1937+ # Corresponds to the JSON property `backup`
1938+ # @return [String]
1939+ attr_accessor :backup
1940+
1941+ # Required. List of files to be restored in the form of their absolute path as
1942+ # in source volume.
1943+ # Corresponds to the JSON property `fileList`
1944+ # @return [Array<String>]
1945+ attr_accessor :file_list
1946+
1947+ # Optional. Absolute directory path in the destination volume.
1948+ # Corresponds to the JSON property `restoreDestinationPath`
1949+ # @return [String]
1950+ attr_accessor :restore_destination_path
1951+
1952+ def initialize ( **args )
1953+ update! ( **args )
1954+ end
1955+
1956+ # Update properties of this object
1957+ def update! ( **args )
1958+ @backup = args [ :backup ] if args . key? ( :backup )
1959+ @file_list = args [ :file_list ] if args . key? ( :file_list )
1960+ @restore_destination_path = args [ :restore_destination_path ] if args . key? ( :restore_destination_path )
1961+ end
1962+ end
1963+
18281964 # The RestoreParameters if volume is created from a snapshot or backup.
18291965 class RestoreParameters
18301966 include Google ::Apis ::Core ::Hashable
@@ -2629,6 +2765,11 @@ class Volume
26292765 # @return [Google::Apis::NetappV1::BackupConfig]
26302766 attr_accessor :backup_config
26312767
2768+ # Cache Parameters for the volume.
2769+ # Corresponds to the JSON property `cacheParameters`
2770+ # @return [Google::Apis::NetappV1::CacheParameters]
2771+ attr_accessor :cache_parameters
2772+
26322773 # Required. Capacity in GIB of the volume
26332774 # Corresponds to the JSON property `capacityGib`
26342775 # @return [Fixnum]
@@ -2846,6 +2987,7 @@ def initialize(**args)
28462987 def update! ( **args )
28472988 @active_directory = args [ :active_directory ] if args . key? ( :active_directory )
28482989 @backup_config = args [ :backup_config ] if args . key? ( :backup_config )
2990+ @cache_parameters = args [ :cache_parameters ] if args . key? ( :cache_parameters )
28492991 @capacity_gib = args [ :capacity_gib ] if args . key? ( :capacity_gib )
28502992 @cold_tier_size_gib = args [ :cold_tier_size_gib ] if args . key? ( :cold_tier_size_gib )
28512993 @create_time = args [ :create_time ] if args . key? ( :create_time )
0 commit comments