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

The request to create an issue model.

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

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource of the issue model. |
| `↳ issue_model` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.IssueModel` Required. The issue model to create. |

### getParent

Required. The parent resource of the issue model.

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

### setParent

Required. The parent resource of the issue model.

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

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

### getIssueModel

Required. The issue model to create.

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

### hasIssueModel

### clearIssueModel

### setIssueModel

Required. The issue model to create.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource of the issue model. Please see ContactCenterInsightsClient::locationName() for help formatting this field. |
| `issueModel` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.IssueModel` Required. The issue model to create. |

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