Reference documentation and code samples for the Google Cloud Model Armor V1 Client class Regex.
Message defining a custom regular expression.
Generated from protobuf message google.cloud.modelarmor.v1.Regex
Namespace
Google \ Cloud \ ModelArmor \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ pattern |
string
Required. The regular expression pattern. |
getPattern
Required. The regular expression pattern.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPattern
Required. The regular expression pattern.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|