Class: Google::Apis::NetappV1::VolumeBackupConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::VolumeBackupConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
Backup configuration for a volume in a pool.
Instance Attribute Summary collapse
-
#backup_config ⇒ Google::Apis::NetappV1::BackupConfig
BackupConfig contains backup related config on a volume.
-
#volume_uuid ⇒ String
Provides the Ontap UUID of the volume within the pool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VolumeBackupConfig
constructor
A new instance of VolumeBackupConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VolumeBackupConfig
Returns a new instance of VolumeBackupConfig.
3738 3739 3740 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_config ⇒ Google::Apis::NetappV1::BackupConfig
BackupConfig contains backup related config on a volume.
Corresponds to the JSON property backupConfig
3731 3732 3733 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3731 def backup_config @backup_config end |
#volume_uuid ⇒ String
Provides the Ontap UUID of the volume within the pool.
Corresponds to the JSON property volumeUuid
3736 3737 3738 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3736 def volume_uuid @volume_uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3743 3744 3745 3746 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3743 def update!(**args) @backup_config = args[:backup_config] if args.key?(:backup_config) @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid) end |