Reference documentation and code samples for the Google Cloud Dataproc V1 Client class RegexValidation.
Validation based on regular expressions.
Generated from protobuf message google.cloud.dataproc.v1.RegexValidation
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ regexes |
array
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). |
getRegexes
Required. RE2 regular expressions used to validate the parameter's value.
The value must match the regex in its entirety (substring matches are not sufficient).
Generated from protobuf field repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRegexes
Required. RE2 regular expressions used to validate the parameter's value.
The value must match the regex in its entirety (substring matches are not sufficient).
Generated from protobuf field repeated string regexes = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |