Google Cloud Backup Dr V1beta Client - Class DiskBackupProperties (0.15.1)

Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class DiskBackupProperties.

DiskBackupProperties represents the properties of a Disk backup.

Generated from protobuf message google.cloud.backupdr.v1beta.DiskBackupProperties

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ description string

A description of the source disk.

↳ licenses 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.

↳ guest_os_feature array<GuestOsFeature>

A list of guest OS features that are applicable to this backup.

↳ 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 string[]

The URL of the Zones where the source disk should be replicated.

↳ source_disk string

The source disk used to create this backup.

↳ access_mode string

The access mode of the source disk.

↳ provisioned_iops int|string

The number of IOPS provisioned for the source disk.

↳ provisioned_throughput int|string

The number of throughput provisioned for the source disk.

↳ physical_block_size_bytes int|string

The physical block size of the source disk.

↳ enable_confidential_compute bool

Indicates whether the source disk is using confidential compute mode.

↳ storage_pool string

The storage pool of the source disk.

↳ labels array|Google\Protobuf\Internal\MapField

The labels of the source disk.

↳ guest_flush bool

Optional. Defines if the guest flush is enabled for the source disk. Default value is false.

getDescription

A description of the source disk.

Returns
Type Description
string

hasDescription

clearDescription

setDescription

A description of the source disk.

Parameter
Name Description
var string
Returns
Type Description
$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.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

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.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getGuestOsFeature

A list of guest OS features that are applicable to this backup.

Returns
Type Description
Google\Protobuf\RepeatedField<GuestOsFeature>

setGuestOsFeature

A list of guest OS features that are applicable to this backup.

Parameter
Name Description
var array<GuestOsFeature>
Returns
Type Description
$this

getArchitecture

The architecture of the source disk. Valid values are ARM64 or X86_64.

Returns
Type Description
int

hasArchitecture

clearArchitecture

setArchitecture

The architecture of the source disk. Valid values are ARM64 or X86_64.

Parameter
Name Description
var int
Returns
Type Description
$this

getType

The URL of the type of the disk.

Returns
Type Description
string

hasType

clearType

setType

The URL of the type of the disk.

Parameter
Name Description
var string
Returns
Type Description
$this

getSizeGb

Size(in GB) of the source disk.

Returns
Type Description
int|string

hasSizeGb

clearSizeGb

setSizeGb

Size(in GB) of the source disk.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getRegion

Region and zone are mutually exclusive fields.

The URL of the region of the source disk.

Returns
Type Description
string

hasRegion

clearRegion

setRegion

Region and zone are mutually exclusive fields.

The URL of the region of the source disk.

Parameter
Name Description
var string
Returns
Type Description
$this

getZone

The URL of the Zone where the source disk.

Returns
Type Description
string

hasZone

clearZone

setZone

The URL of the Zone where the source disk.

Parameter
Name Description
var string
Returns
Type Description
$this

getReplicaZones

The URL of the Zones where the source disk should be replicated.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setReplicaZones

The URL of the Zones where the source disk should be replicated.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSourceDisk

The source disk used to create this backup.

Returns
Type Description
string

hasSourceDisk

clearSourceDisk

setSourceDisk

The source disk used to create this backup.

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessMode

The access mode of the source disk.

Returns
Type Description
string

hasAccessMode

clearAccessMode

setAccessMode

The access mode of the source disk.

Parameter
Name Description
var string
Returns
Type Description
$this

getProvisionedIops

The number of IOPS provisioned for the source disk.

Returns
Type Description
int|string

hasProvisionedIops

clearProvisionedIops

setProvisionedIops

The number of IOPS provisioned for the source disk.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getProvisionedThroughput

The number of throughput provisioned for the source disk.

Returns
Type Description
int|string

hasProvisionedThroughput

clearProvisionedThroughput

setProvisionedThroughput

The number of throughput provisioned for the source disk.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPhysicalBlockSizeBytes

The physical block size of the source disk.

Returns
Type Description
int|string

hasPhysicalBlockSizeBytes

clearPhysicalBlockSizeBytes

setPhysicalBlockSizeBytes

The physical block size of the source disk.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEnableConfidentialCompute

Indicates whether the source disk is using confidential compute mode.

Returns
Type Description
bool

hasEnableConfidentialCompute

clearEnableConfidentialCompute

setEnableConfidentialCompute

Indicates whether the source disk is using confidential compute mode.

Parameter
Name Description
var bool
Returns
Type Description
$this

getStoragePool

The storage pool of the source disk.

Returns
Type Description
string

hasStoragePool

clearStoragePool

setStoragePool

The storage pool of the source disk.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabels

The labels of the source disk.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

The labels of the source disk.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getGuestFlush

Optional. Defines if the guest flush is enabled for the source disk.

Default value is false.

Returns
Type Description
bool

setGuestFlush

Optional. Defines if the guest flush is enabled for the source disk.

Default value is false.

Parameter
Name Description
var bool
Returns
Type Description
$this