# Google Cloud Contact Center Insights V1 Client - Class AnalysisResult (2.4.2)

2.4.2 (latest) 2.4.1 2.3.3 2.2.1 2.1.1 2.0.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.3 Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class AnalysisResult.

The result of an analysis.

Generated from protobuf message `google.cloud.contactcenterinsights.v1.AnalysisResult`

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ call_analysis_metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.AnalysisResult.CallAnalysisMetadata` Call-specific metadata created by the analysis. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time at which the analysis ended. |

### getCallAnalysisMetadata

Call-specific metadata created by the analysis.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.AnalysisResult.CallAnalysisMetadata|null` |   |

### hasCallAnalysisMetadata

### setCallAnalysisMetadata

Call-specific metadata created by the analysis.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.AnalysisResult.CallAnalysisMetadata` |

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

### getEndTime

The time at which the analysis ended.

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

### hasEndTime

### clearEndTime

### setEndTime

The time at which the analysis ended.

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

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

### getMetadata

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