# Google Cloud Asset V1 Client - Class ConditionContext (2.3.3)

2.3.3 (latest) 2.3.2 2.2.3 2.1.3 2.0.1 1.16.4 1.14.1 1.13.2 1.12.2 1.11.3 1.10.2 1.9.2 Reference documentation and code samples for the Google Cloud Asset V1 Client class ConditionContext.

The IAM conditions context.

Generated from protobuf message `google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext`

## Namespace

Google \\ Cloud \\ Asset \\ V1 \\ IamPolicyAnalysisQuery

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ access_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned. |

### getAccessTime

The hypothetical access timestamp to evaluate IAM conditions. Note that
this value must not be earlier than the current time; otherwise, an
INVALID_ARGUMENT error will be returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasAccessTime

### setAccessTime

The hypothetical access timestamp to evaluate IAM conditions. Note that
this value must not be earlier than the current time; otherwise, an
INVALID_ARGUMENT error will be returned.

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

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

### getTimeContext

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |