# Google Cloud Contact Center Insights V1 Client - Class UpdateConversationRequest (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 UpdateConversationRequest.

The request to update a conversation.

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

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ conversation` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.Conversation` Required. The new values for the conversation. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: \* \* `agent_id` \* \* `language_code` \* \* `labels` \* \* `metadata` \* \* `quality_metadata` \* \* `call_metadata` \* \* `start_time` \* \* `expire_time` or `ttl` \* \* `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` |

### getConversation

Required. The new values for the conversation.

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

### hasConversation

### clearConversation

### setConversation

Required. The new values for the conversation.

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

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

### getUpdateMask

The list of fields to be updated. All possible fields can be updated by
passing `*`, or a subset of the following updateable fields can be
provided:

- `agent_id`
- `language_code`
- `labels`
- `metadata`
- `quality_metadata`
- `call_metadata`
- `start_time`
- `expire_time` or `ttl`
- `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

The list of fields to be updated. All possible fields can be updated by
passing `*`, or a subset of the following updateable fields can be
provided:

- `agent_id`
- `language_code`
- `labels`
- `metadata`
- `quality_metadata`
- `call_metadata`
- `start_time`
- `expire_time` or `ttl`
- `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `conversation` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.Conversation` Required. The new values for the conversation. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: - - `agent_id` - - `language_code` - - `labels` - - `metadata` - - `quality_metadata` - - `call_metadata` - - `start_time` - - `expire_time` or `ttl` - - `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri` |

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