# Google Cloud Security Compliance V1 Client - Class AllowedValues (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class AllowedValues.

The allowed set of values for the parameter.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.AllowedValues`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ values` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.ParamValue>` Required. The list of allowed values for the parameter. |

### getValues

Required. The list of allowed values for the parameter.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.ParamValue>` |   |

### setValues

Required. The list of allowed values for the parameter.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.ParamValue>` |

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