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

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

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

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resources` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.SourceStorageResource>` The list of storage resources in the source. |
| `↳ 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). |
| `↳ next_page_token` | `string` Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getResources

The list of storage resources in the source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.SourceStorageResource>` |   |

### setResources

The list of storage resources in the source.

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

| **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` |   |

### getNextPageToken

Output only. A token, which can be sent as `page_token` to retrieve the
next page. If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

Output only. A token, which can be sent as `page_token` to retrieve the
next page. If this field is omitted, there are no subsequent pages.

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

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