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

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

The 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

The permitted set of values for the parameter.

↳ int_range
IntRange

The permitted range for numeric parameters.

↳ regexp_pattern
RegexpPattern

The regular expression for string parameters.

getAllowedValues

The permitted set of values for the parameter.

Returns
Type
Description

hasAllowedValues

setAllowedValues

The permitted set of values for the parameter.

Parameter
Name
Description
Returns
Type
Description
$this

getIntRange

The permitted range for numeric parameters.

Returns
Type
Description
IntRange |null

hasIntRange

setIntRange

The permitted range for numeric parameters.

Parameter
Name
Description
var
Returns
Type
Description
$this

getRegexpPattern

The regular expression for string parameters.

Returns
Type
Description

hasRegexpPattern

setRegexpPattern

The 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: