# Google Cloud Migration Center V1 Client - Class BatchUpdateAssetsResponse (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class BatchUpdateAssetsResponse.

Response for updating a list of assets.

Generated from protobuf message `google.cloud.migrationcenter.v1.BatchUpdateAssetsResponse`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ assets` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.Asset>` Update asset content. The content only includes values after field mask being applied. |

### getAssets

Update asset content.

The content only includes values after field mask being applied.

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

### setAssets

Update asset content.

The content only includes values after field mask being applied.

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

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