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

0.4.4 (latest) 0.4.3 0.3.1 0.2.9 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** ||
|---|---|
| **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` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Value` Value of this expression. |
| `↳ errors` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` 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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Value|null` |   |

### hasValue

### clearValue

### setValue

Value of this expression.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Value` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrors

Any errors that prevented complete evaluation of the condition
expression.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |   |

### setErrors

Any errors that prevented complete evaluation of the condition
expression.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |