# Google Cloud Backup Dr V1 Client - Class DiskBackupProperties (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.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` | `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<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.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. |

### 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** |
| `https://protobuf.dev/reference/php/api-docs/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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.GuestOsFeature>` |   |

### setGuestOsFeature

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.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** |
| `https://protobuf.dev/reference/php/api-docs/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` |   |