Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::DiskBackupProperties.
DiskBackupProperties represents the properties of a Disk backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_mode
def access_mode() -> ::String
Returns
- (::String) — The access mode of the source disk.
#access_mode=
def access_mode=(value) -> ::String
Parameter
- value (::String) — The access mode of the source disk.
Returns
- (::String) — The access mode of the source disk.
#architecture
def architecture() -> ::Google::Cloud::BackupDR::V1beta::DiskBackupProperties::Architecture
Returns
- (::Google::Cloud::BackupDR::V1beta::DiskBackupProperties::Architecture) — The architecture of the source disk. Valid values are ARM64 or X86_64.
#architecture=
def architecture=(value) -> ::Google::Cloud::BackupDR::V1beta::DiskBackupProperties::Architecture
Parameter
- value (::Google::Cloud::BackupDR::V1beta::DiskBackupProperties::Architecture) — The architecture of the source disk. Valid values are ARM64 or X86_64.
Returns
- (::Google::Cloud::BackupDR::V1beta::DiskBackupProperties::Architecture) — The architecture of the source disk. Valid values are ARM64 or X86_64.
#description
def description() -> ::String
Returns
- (::String) — A description of the source disk.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — A description of the source disk.
Returns
- (::String) — A description of the source disk.
#enable_confidential_compute
def enable_confidential_compute() -> ::Boolean
Returns
- (::Boolean) — Indicates whether the source disk is using confidential compute mode.
#enable_confidential_compute=
def enable_confidential_compute=(value) -> ::Boolean
Parameter
- value (::Boolean) — Indicates whether the source disk is using confidential compute mode.
Returns
- (::Boolean) — Indicates whether the source disk is using confidential compute mode.
#guest_flush
def guest_flush() -> ::Boolean
Returns
- (::Boolean) — Optional. Defines if the guest flush is enabled for the source disk. Default value is false.
#guest_flush=
def guest_flush=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Defines if the guest flush is enabled for the source disk. Default value is false.
Returns
- (::Boolean) — Optional. Defines if the guest flush is enabled for the source disk. Default value is false.
#guest_os_feature
def guest_os_feature() -> ::Array<::Google::Cloud::BackupDR::V1beta::GuestOsFeature>
Returns
- (::Array<::Google::Cloud::BackupDR::V1beta::GuestOsFeature>) — A list of guest OS features that are applicable to this backup.
#guest_os_feature=
def guest_os_feature=(value) -> ::Array<::Google::Cloud::BackupDR::V1beta::GuestOsFeature>
Parameter
- value (::Array<::Google::Cloud::BackupDR::V1beta::GuestOsFeature>) — A list of guest OS features that are applicable to this backup.
Returns
- (::Array<::Google::Cloud::BackupDR::V1beta::GuestOsFeature>) — A list of guest OS features that are applicable to this backup.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The labels of the source disk.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — The labels of the source disk.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The labels of the source disk.
#licenses
def licenses() -> ::Array<::String>
Returns
- (::Array<::String>) — A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
#licenses=
def licenses=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
Returns
- (::Array<::String>) — A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.
#physical_block_size_bytes
def physical_block_size_bytes() -> ::Integer
Returns
- (::Integer) — The physical block size of the source disk.
#physical_block_size_bytes=
def physical_block_size_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — The physical block size of the source disk.
Returns
- (::Integer) — The physical block size of the source disk.
#provisioned_iops
def provisioned_iops() -> ::Integer
Returns
- (::Integer) — The number of IOPS provisioned for the source disk.
#provisioned_iops=
def provisioned_iops=(value) -> ::Integer
Parameter
- value (::Integer) — The number of IOPS provisioned for the source disk.
Returns
- (::Integer) — The number of IOPS provisioned for the source disk.
#provisioned_throughput
def provisioned_throughput() -> ::Integer
Returns
- (::Integer) — The number of throughput provisioned for the source disk.
#provisioned_throughput=
def provisioned_throughput=(value) -> ::Integer
Parameter
- value (::Integer) — The number of throughput provisioned for the source disk.
Returns
- (::Integer) — The number of throughput provisioned for the source disk.
#region
def region() -> ::String
Returns
- (::String) — Region and zone are mutually exclusive fields. The URL of the region of the source disk.
#region=
def region=(value) -> ::String
Parameter
- value (::String) — Region and zone are mutually exclusive fields. The URL of the region of the source disk.
Returns
- (::String) — Region and zone are mutually exclusive fields. The URL of the region of the source disk.
#replica_zones
def replica_zones() -> ::Array<::String>
Returns
- (::Array<::String>) — The URL of the Zones where the source disk should be replicated.
#replica_zones=
def replica_zones=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The URL of the Zones where the source disk should be replicated.
Returns
- (::Array<::String>) — The URL of the Zones where the source disk should be replicated.
#size_gb
def size_gb() -> ::Integer
Returns
- (::Integer) — Size(in GB) of the source disk.
#size_gb=
def size_gb=(value) -> ::Integer
Parameter
- value (::Integer) — Size(in GB) of the source disk.
Returns
- (::Integer) — Size(in GB) of the source disk.
#source_disk
def source_disk() -> ::String
Returns
- (::String) — The source disk used to create this backup.
#source_disk=
def source_disk=(value) -> ::String
Parameter
- value (::String) — The source disk used to create this backup.
Returns
- (::String) — The source disk used to create this backup.
#storage_pool
def storage_pool() -> ::String
Returns
- (::String) — The storage pool of the source disk.
#storage_pool=
def storage_pool=(value) -> ::String
Parameter
- value (::String) — The storage pool of the source disk.
Returns
- (::String) — The storage pool of the source disk.
#type
def type() -> ::String
Returns
- (::String) — The URL of the type of the disk.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — The URL of the type of the disk.
Returns
- (::String) — The URL of the type of the disk.
#zone
def zone() -> ::String
Returns
- (::String) — The URL of the Zone where the source disk.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — The URL of the Zone where the source disk.
Returns
- (::String) — The URL of the Zone where the source disk.