# Google Cloud Vm Migration V1 Client - Class FetchInventoryResponse (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 FetchInventoryResponse.

Response message for
[fetchInventory](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.Client.VmMigrationClient#_Google_Cloud_VMMigration_V1_Client_VmMigrationClient__fetchInventory__).

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

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ vmware_vms` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmwareVmsDetails` The description of the VMs in a Source of type Vmware. |
| `↳ aws_vms` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AwsVmsDetails` The description of the VMs in a Source of type AWS. |
| `↳ azure_vms` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureVmsDetails` The description of the VMs in a Source of type Azure. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The timestamp when the source was last queried (if the result is from the cache). |

### getVmwareVms

The description of the VMs in a Source of type Vmware.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmwareVmsDetails|null` |   |

### hasVmwareVms

### setVmwareVms

The description of the VMs in a Source of type Vmware.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmwareVmsDetails` |

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

### getAwsVms

The description of the VMs in a Source of type AWS.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AwsVmsDetails|null` |   |

### hasAwsVms

### setAwsVms

The description of the VMs in a Source of type AWS.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AwsVmsDetails` |

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

### getAzureVms

The description of the VMs in a Source of type Azure.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureVmsDetails|null` |   |

### hasAzureVms

### setAzureVms

The description of the VMs in a Source of type Azure.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureVmsDetails` |

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

### getUpdateTime

Output only. The timestamp when the source was last queried (if the result
is from the cache).

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The timestamp when the source was last queried (if the result
is from the cache).

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

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

### getSourceVms

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