# Google Cloud Vm Migration V1 Client - Class AwsSourceDiskDetails (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AwsSourceDiskDetails.

Represents the source AWS Disk details.

Generated from protobuf message `google.cloud.vmmigration.v1.AwsSourceDiskDetails`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ volume_id` | `string` Required. AWS volume ID. |
| `↳ size_gib` | `int|string` Output only. Size in GiB. |
| `↳ disk_type` | `int` Optional. Output only. Disk type. |
| `↳ tags` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Output only. A map of AWS volume tags. |

### getVolumeId

Required. AWS volume ID.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVolumeId

Required. AWS volume ID.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSizeGib

Output only. Size in GiB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setSizeGib

Output only. Size in GiB.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDiskType

Optional. Output only. Disk type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AwsSourceDiskDetails.Type). |

### setDiskType

Optional. Output only. Disk type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AwsSourceDiskDetails.Type). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTags

Optional. Output only. A map of AWS volume tags.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setTags

Optional. Output only. A map of AWS volume tags.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |