# Google Cloud Dialogflow Cx V3 Client - Class PhraseMatchStrategy (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PhraseMatchStrategy.

Strategy for matching phrases.

Protobuf type `google.cloud.dialogflow.cx.v3.SafetySettings.PhraseMatchStrategy`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ SafetySettings

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### PHRASE_MATCH_STRATEGY_UNSPECIFIED

    Value: 0

Unspecified, defaults to PARTIAL_MATCH.

Generated from protobuf enum `PHRASE_MATCH_STRATEGY_UNSPECIFIED = 0;`

### PARTIAL_MATCH

    Value: 1

Text that contains the phrase as a substring will be matched, e.g. "foo"
will match "afoobar".

Generated from protobuf enum `PARTIAL_MATCH = 1;`

### WORD_MATCH

    Value: 2

Text that contains the tokenized words of the phrase will be matched,
e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar".

Generated from protobuf enum `WORD_MATCH = 2;`