Google Cloud Backup Dr V1 Client - Class DiskBackupProperties (0.7.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
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
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.

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

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

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

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
Design a Mobile Site
View Site in Mobile | Classic
Share by: