# Google Cloud OsConfig V1 Client - Class ExecResourceOutput (2.2.3)

2.2.3 (latest) 2.2.2 2.1.0 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ExecResourceOutput.

ExecResource specific output.

Generated from protobuf message `google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput`

## Namespace

Google \\ Cloud \\ OsConfig \\ V1 \\ OSPolicyAssignmentReport \\ OSPolicyCompliance \\ OSPolicyResourceCompliance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enforcement_output` | `string` Output from enforcement phase output file (if run). Output size is limited to 100K bytes. |

### getEnforcementOutput

Output from enforcement phase output file (if run).

Output size is limited to 100K bytes.

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

### setEnforcementOutput

Output from enforcement phase output file (if run).

Output size is limited to 100K bytes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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