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.
3744 3745 3746 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3744 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
3737 3738 3739 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3737 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
3742 3743 3744 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3742 def volume_uuid @volume_uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3749 3750 3751 3752 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 3749 def update!(**args) @backup_config = args[:backup_config] if args.key?(:backup_config) @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid) end |