Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class DiskBackupProperties.
DiskBackupProperties represents the properties of a Disk backup.
Generated from protobuf message google.cloud.backupdr.v1.DiskBackupProperties
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ description
string
A description of the source disk.
↳ licenses
array
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.
↳ guest_os_feature
↳ architecture
int
The architecture of the source disk. Valid values are ARM64 or X86_64.
↳ type
string
The URL of the type of the disk.
↳ size_gb
int|string
Size(in GB) of the source disk.
↳ region
string
Region and zone are mutually exclusive fields. The URL of the region of the source disk.
↳ zone
string
The URL of the Zone where the source disk.
↳ replica_zones
array
The URL of the Zones where the source disk should be replicated.
↳ source_disk
string
The source disk used to create this backup.
getDescription
A description of the source disk.
string
hasDescription
clearDescription
setDescription
A description of the source disk.
var
string
$this
getLicenses
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.
setLicenses
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.
var
string[]
$this
getGuestOsFeature
A list of guest OS features that are applicable to this backup.
setGuestOsFeature
A list of guest OS features that are applicable to this backup.
$this
getArchitecture
The architecture of the source disk. Valid values are ARM64 or X86_64.
int
hasArchitecture
clearArchitecture
setArchitecture
The architecture of the source disk. Valid values are ARM64 or X86_64.
var
int
$this
getType
The URL of the type of the disk.
string
hasType
clearType
setType
The URL of the type of the disk.
var
string
$this
getSizeGb
Size(in GB) of the source disk.
int|string
hasSizeGb
clearSizeGb
setSizeGb
Size(in GB) of the source disk.
var
int|string
$this
getRegion
Region and zone are mutually exclusive fields.
The URL of the region of the source disk.
string
hasRegion
clearRegion
setRegion
Region and zone are mutually exclusive fields.
The URL of the region of the source disk.
var
string
$this
getZone
The URL of the Zone where the source disk.
string
hasZone
clearZone
setZone
The URL of the Zone where the source disk.
var
string
$this
getReplicaZones
The URL of the Zones where the source disk should be replicated.
setReplicaZones
The URL of the Zones where the source disk should be replicated.
var
string[]
$this
getSourceDisk
The source disk used to create this backup.
string
hasSourceDisk
clearSourceDisk
setSourceDisk
The source disk used to create this backup.
var
string
$this

