# Google Cloud Vision Ai V1 Client - Class AnalysisStatus (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AnalysisStatus.

The status of analysis on each search capability.

Generated from protobuf message `google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ AnalyzeAssetMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` |
| `↳ status_message` | `string` |
| `↳ search_capability` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.SearchCapability` The search capability requested. |

### getState

Generated from protobuf field `.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;`

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

### setState

Generated from protobuf field `.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;`

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

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

### getStatusMessage

Generated from protobuf field `string status_message = 3;`

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

### setStatusMessage

Generated from protobuf field `string status_message = 3;`

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

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

### getSearchCapability

The search capability requested.

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

### hasSearchCapability

### clearSearchCapability

### setSearchCapability

The search capability requested.

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

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