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

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
Name Description
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
Type Description
Google\Protobuf\Value|null

hasValue

clearValue

setValue

Value of the condition.

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

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
Type Description
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
Name Description
var array<Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation\EvaluationState>
Returns
Type Description
$this