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

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

Explanation for how a condition affects a principal's access

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

Namespace

Google \ Cloud \ PolicyTroubleshooter \ Iam \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value Google\Protobuf\Value

Value of the condition.

↳ errors array<Google\Rpc\Status>

Any errors that prevented complete evaluation of the condition expression.

↳ evaluation_states array<Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation\EvaluationState>

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

getValue

Value of the condition.

Returns
TypeDescription
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Value of the condition.

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

getEvaluationStates

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEvaluationStates

The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

Parameter
NameDescription
var array<Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation\EvaluationState>
Returns
TypeDescription
$this