# Google Cloud Iap V1 Client - Class ValidateIapAttributeExpressionRequest (2.3.0)

2.3.0 (latest) 2.2.2 2.1.2 2.0.3 1.4.5 1.3.4 1.2.3 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Iap V1 Client class ValidateIapAttributeExpressionRequest.

Request sent to IAP Expression Linter endpoint.

Generated from protobuf message `google.cloud.iap.v1.ValidateIapAttributeExpressionRequest`

## Namespace

Google \\ Cloud \\ Iap \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the IAP protected resource. |
| `↳ expression` | `string` Required. User input string expression. Should be of the form `attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])` |

### getName

Required. The resource name of the IAP protected resource.

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

### setName

Required. The resource name of the IAP protected resource.

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

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

### getExpression

Required. User input string expression. Should be of the form
`attributes.saml_attributes.filter(attribute, attribute.name in
['{attribute_name}', '{attribute_name}'])`

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

### setExpression

Required. User input string expression. Should be of the form
`attributes.saml_attributes.filter(attribute, attribute.name in
['{attribute_name}', '{attribute_name}'])`

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

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