Google Cloud Security Compliance V1 Client - Class Validation (0.1.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class Validation.

Validation of the parameter.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.Validation

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ allowed_values
AllowedValues

Allowed set of values for the parameter.

↳ int_range
IntRange

Allowed range for numeric parameters.

↳ regexp_pattern
RegexpPattern

Regular expression for string parameters.

getAllowedValues

Allowed set of values for the parameter.

Returns
Type
Description

hasAllowedValues

setAllowedValues

Allowed set of values for the parameter.

Parameter
Name
Description
Returns
Type
Description
$this

getIntRange

Allowed range for numeric parameters.

Returns
Type
Description
IntRange |null

hasIntRange

setIntRange

Allowed range for numeric parameters.

Parameter
Name
Description
var
Returns
Type
Description
$this

getRegexpPattern

Regular expression for string parameters.

Returns
Type
Description

hasRegexpPattern

setRegexpPattern

Regular expression for string parameters.

Parameter
Name
Description
Returns
Type
Description
$this

getConstraint

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: