# Google Cloud Privileged Access Manager V1 Client - Class RequesterJustificationConfig (0.4.4)

0.4.4 (latest) 0.4.3 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class RequesterJustificationConfig.

Defines how a requester must provide a justification when requesting
access.

Generated from protobuf message `google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig`

## Namespace

Google \\ Cloud \\ PrivilegedAccessManager \\ V1 \\ Entitlement

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ not_mandatory` | `https://docs.cloud.google.com/php/docs/reference/cloud-privilegedaccessmanager/latest/V1.Entitlement.RequesterJustificationConfig.NotMandatory` This option means the requester isn't required to provide a justification. |
| `↳ unstructured` | `https://docs.cloud.google.com/php/docs/reference/cloud-privilegedaccessmanager/latest/V1.Entitlement.RequesterJustificationConfig.Unstructured` This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it. |

### getNotMandatory

This option means the requester isn't required to provide a
justification.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-privilegedaccessmanager/latest/V1.Entitlement.RequesterJustificationConfig.NotMandatory|null` |   |

### hasNotMandatory

### setNotMandatory

This option means the requester isn't required to provide a
justification.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-privilegedaccessmanager/latest/V1.Entitlement.RequesterJustificationConfig.NotMandatory` |

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

### getUnstructured

This option means the requester must provide a string as
justification. If this is selected, the server allows the requester
to provide a justification but doesn't validate it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-privilegedaccessmanager/latest/V1.Entitlement.RequesterJustificationConfig.Unstructured|null` |   |

### hasUnstructured

### setUnstructured

This option means the requester must provide a string as
justification. If this is selected, the server allows the requester
to provide a justification but doesn't validate it.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-privilegedaccessmanager/latest/V1.Entitlement.RequesterJustificationConfig.Unstructured` |

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

### getJustificationType

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