Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DiskBackupProperties.
DiskBackupProperties represents the properties of a Disk backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#architecture
def architecture() -> ::Google::Cloud::BackupDR::V1::DiskBackupProperties::Architecture
Returns
- (::Google::Cloud::BackupDR::V1::DiskBackupProperties::Architecture) — The architecture of the source disk. Valid values are ARM64 or X86_64.
#architecture=
def architecture=(value) -> ::Google::Cloud::BackupDR::V1::DiskBackupProperties::Architecture
Parameter
- value (::Google::Cloud::BackupDR::V1::DiskBackupProperties::Architecture) — The architecture of the source disk. Valid values are ARM64 or X86_64.
Returns
- (::Google::Cloud::BackupDR::V1::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.
#guest_os_feature
def guest_os_feature() -> ::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>
Returns
- (::Array<::Google::Cloud::BackupDR::V1::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::V1::GuestOsFeature>
Parameter
- value (::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>) — A list of guest OS features that are applicable to this backup.
Returns
- (::Array<::Google::Cloud::BackupDR::V1::GuestOsFeature>) — A list of guest OS features that are applicable to this backup.
#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.
#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.
#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.