Google Cloud Policy Troubleshooter Iam V3 Client - Class EvaluationState (0.2.6)

Reference documentation and code samples for the Google Cloud Policy Troubleshooter Iam V3 Client class EvaluationState.

Evaluated state of a condition expression.

Generated from protobuf message google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState

Namespace

Google \ Cloud \ PolicyTroubleshooter \ Iam \ V3 \ ConditionExplanation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start int

Start position of an expression in the condition, by character.

↳ end int

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

↳ value Google\Protobuf\Value

Value of this expression.

↳ errors array<Google\Rpc\Status>

Any errors that prevented complete evaluation of the condition expression.

getStart

Start position of an expression in the condition, by character.

Returns
Type Description
int

setStart

Start position of an expression in the condition, by character.

Parameter
Name Description
var int
Returns
Type Description
$this

getEnd

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

Returns
Type Description
int

setEnd

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

Parameter
Name Description
var int
Returns
Type Description
$this

getValue

Value of this expression.

Returns
Type Description
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Value of this expression.

Parameter
Name Description
var Google\Protobuf\Value
Returns
Type Description
$this

getErrors

Any errors that prevented complete evaluation of the condition expression.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

Any errors that prevented complete evaluation of the condition expression.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this