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

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
NameDescription
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
TypeDescription
int

setStart

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

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getValue

Value of this expression.

Returns
TypeDescription
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Value of this expression.

Parameter
NameDescription
var Google\Protobuf\Value
Returns
TypeDescription
$this

getErrors

Any errors that prevented complete evaluation of the condition expression.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

Any errors that prevented complete evaluation of the condition expression.

Parameter
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$this