# Google Cloud Assured Workloads V1beta1 Client - Class SaaEnrollmentResponse (1.1.3)

1.1.3 (latest) 1.1.2 1.0.5 0.11.5 0.10.2 0.9.1 0.8.3 0.7.3

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Assured Workloads V1beta1 Client class SaaEnrollmentResponse.

Signed Access Approvals (SAA) enrollment response.

Generated from protobuf message `google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse`

## Namespace

Google \\ Cloud \\ AssuredWorkloads \\ V1beta1 \\ Workload

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ setup_status` | `int` Indicates SAA enrollment status of a given workload. |
| `↳ setup_errors` | `int[]` Indicates SAA enrollment setup error if any. |

### getSetupStatus

Indicates SAA enrollment status of a given workload.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasSetupStatus

### clearSetupStatus

### setSetupStatus

Indicates SAA enrollment status of a given workload.

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

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

### getSetupErrors

Indicates SAA enrollment setup error if any.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setSetupErrors

Indicates SAA enrollment setup error if any.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

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