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

Selector of all available annotators and phrase matchers to run.

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

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ run_interruption_annotator` | `bool` Whether to run the interruption annotator. |
| `↳ run_silence_annotator` | `bool` Whether to run the silence annotator. |
| `↳ run_phrase_matcher_annotator` | `bool` Whether to run the active phrase matcher annotator(s). |
| `↳ phrase_matchers` | `string[]` The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} |
| `↳ run_sentiment_annotator` | `bool` Whether to run the sentiment annotator. |
| `↳ run_entity_annotator` | `bool` Whether to run the entity annotator. |
| `↳ run_intent_annotator` | `bool` Whether to run the intent annotator. |
| `↳ run_issue_model_annotator` | `bool` Whether to run the issue model annotator. A model should have already been deployed for this to take effect. |
| `↳ issue_models` | `string[]` The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference. |
| `↳ run_summarization_annotator` | `bool` Whether to run the summarization annotator. |
| `↳ summarization_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.AnnotatorSelector.SummarizationConfig` Configuration for the summarization annotator. |
| `↳ run_qa_annotator` | `bool` Whether to run the QA annotator. |
| `↳ qa_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.AnnotatorSelector.QaConfig` Configuration for the QA annotator. |

### getRunInterruptionAnnotator

Whether to run the interruption annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunInterruptionAnnotator

Whether to run the interruption annotator.

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

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

### getRunSilenceAnnotator

Whether to run the silence annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunSilenceAnnotator

Whether to run the silence annotator.

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

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

### getRunPhraseMatcherAnnotator

Whether to run the active phrase matcher annotator(s).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunPhraseMatcherAnnotator

Whether to run the active phrase matcher annotator(s).

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

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

### getPhraseMatchers

The list of phrase matchers to run. If not provided, all active phrase
matchers will be used. If inactive phrase matchers are provided, they will
not be used. Phrase matchers will be run only if
run_phrase_matcher_annotator is set to true. Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setPhraseMatchers

The list of phrase matchers to run. If not provided, all active phrase
matchers will be used. If inactive phrase matchers are provided, they will
not be used. Phrase matchers will be run only if
run_phrase_matcher_annotator is set to true. Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

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

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

### getRunSentimentAnnotator

Whether to run the sentiment annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunSentimentAnnotator

Whether to run the sentiment annotator.

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

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

### getRunEntityAnnotator

Whether to run the entity annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunEntityAnnotator

Whether to run the entity annotator.

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

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

### getRunIntentAnnotator

Whether to run the intent annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunIntentAnnotator

Whether to run the intent annotator.

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

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

### getRunIssueModelAnnotator

Whether to run the issue model annotator. A model should have already been
deployed for this to take effect.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunIssueModelAnnotator

Whether to run the issue model annotator. A model should have already been
deployed for this to take effect.

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

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

### getIssueModels

The issue model to run. If not provided, the most recently deployed topic
model will be used. The provided issue model will only be used for
inference if the issue model is deployed and if run_issue_model_annotator
is set to true. If more than one issue model is provided, only the first
provided issue model will be used for inference.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setIssueModels

The issue model to run. If not provided, the most recently deployed topic
model will be used. The provided issue model will only be used for
inference if the issue model is deployed and if run_issue_model_annotator
is set to true. If more than one issue model is provided, only the first
provided issue model will be used for inference.

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

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

### getRunSummarizationAnnotator

Whether to run the summarization annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunSummarizationAnnotator

Whether to run the summarization annotator.

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

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

### getSummarizationConfig

Configuration for the summarization annotator.

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

### hasSummarizationConfig

### clearSummarizationConfig

### setSummarizationConfig

Configuration for the summarization annotator.

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

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

### getRunQaAnnotator

Whether to run the QA annotator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRunQaAnnotator

Whether to run the QA annotator.

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

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

### getQaConfig

Configuration for the QA annotator.

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

### hasQaConfig

### clearQaConfig

### setQaConfig

Configuration for the QA annotator.

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

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