Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::RestoreDiskFromInstanceOptions.
Options for creating a disk from a source Compute Instance backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boot_disk
def boot_disk() -> ::Boolean-
(::Boolean) — Set to true to restore the boot disk from the instance backup.
This field should only be set to true if selected.
Note: The following fields are mutually exclusive:
boot_disk,source_device_name. If a field in that set is populated, all other fields in the set will automatically be cleared.
#boot_disk=
def boot_disk=(value) -> ::Boolean-
value (::Boolean) — Set to true to restore the boot disk from the instance backup.
This field should only be set to true if selected.
Note: The following fields are mutually exclusive:
boot_disk,source_device_name. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — Set to true to restore the boot disk from the instance backup.
This field should only be set to true if selected.
Note: The following fields are mutually exclusive:
boot_disk,source_device_name. If a field in that set is populated, all other fields in the set will automatically be cleared.
#source_device_name
def source_device_name() -> ::String-
(::String) — The device name of the disk to restore from the VM backup.
Note: The following fields are mutually exclusive:
source_device_name,boot_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
#source_device_name=
def source_device_name=(value) -> ::String-
value (::String) — The device name of the disk to restore from the VM backup.
Note: The following fields are mutually exclusive:
source_device_name,boot_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The device name of the disk to restore from the VM backup.
Note: The following fields are mutually exclusive:
source_device_name,boot_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.