# Google Cloud Asset V1 Client - Class MoveAnalysis (2.3.3)

2.3.3 (latest) 2.3.2 2.2.3 2.1.3 2.0.1 1.16.4 1.14.1 1.13.2 1.12.2 1.11.3 1.10.2 1.9.2 Reference documentation and code samples for the Google Cloud Asset V1 Client class MoveAnalysis.

A message to group the analysis information.

Generated from protobuf message `google.cloud.asset.v1.MoveAnalysis`

## Namespace

Google \\ Cloud \\ Asset \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` The user friendly display name of the analysis. E.g. IAM, organization policy etc. |
| `↳ analysis` | `https://docs.cloud.google.com/php/docs/reference/cloud-asset/latest/V1.MoveAnalysisResult` Analysis result of moving the target resource. |
| `↳ error` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` Description of error encountered when performing the analysis. |

### getDisplayName

The user friendly display name of the analysis. E.g. IAM, organization
policy etc.

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

### setDisplayName

The user friendly display name of the analysis. E.g. IAM, organization
policy etc.

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

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

### getAnalysis

Analysis result of moving the target resource.

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

### hasAnalysis

### setAnalysis

Analysis result of moving the target resource.

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

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

### getError

Description of error encountered when performing the analysis.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html|null` |   |

### hasError

### setError

Description of error encountered when performing the analysis.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` |

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

### getResult

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