0.10.0 (latest) 0.9.0 0.8.4 0.7.0 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Model Armor V1 Client class MatchingScope.

Defines the scope of the match for a rule.

Additional values may be added to this enum in the future.

Protobuf type `google.cloud.modelarmor.v1.MatchingScope`

## Namespace

Google \\ Cloud \\ ModelArmor \\ V1

## Methods

### static::name

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

### static::value

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

## Constants

### MATCHING_SCOPE_UNSPECIFIED

    Value: 0

Unspecified matching scope.

Generated from protobuf enum `MATCHING_SCOPE_UNSPECIFIED = 0;`

### MATCHING_SCOPE_FULL_MATCH

    Value: 1

Full match.

- Dictionary: the dictionary match covers the entire input content
- Regular expression: the regular expression pattern matches the entire input content

Generated from protobuf enum `MATCHING_SCOPE_FULL_MATCH = 1;`

### MATCHING_SCOPE_PARTIAL_MATCH

    Value: 2

Partial match.

- Dictionary: at least one of the tokens in the input content matches
- Regular expression: substring of the input content matches the regular expression pattern

Generated from protobuf enum `MATCHING_SCOPE_PARTIAL_MATCH = 2;`