Backup and DR Service V1BETA API - Class Google::Cloud::BackupDR::V1beta::RestoreDiskFromInstanceOptions (v0.1.0)

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.