- [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#SCHEMA_REPRESENTATION)
- [ContextualHeaders](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#ContextualHeaders)
  - [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#ContextualHeaders.SCHEMA_REPRESENTATION)
- [DelegatedUserInfo](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedUserInfo)
  - [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedUserInfo.SCHEMA_REPRESENTATION)
- [OutputType](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType)
- [DelegatedGroupInfo](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedGroupInfo)
  - [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedGroupInfo.SCHEMA_REPRESENTATION)
- [DelegatedDeviceInfo](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDeviceInfo)
  - [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDeviceInfo.SCHEMA_REPRESENTATION)
- [DelegatedDispatchInfo](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDispatchInfo)
  - [JSON representation](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDispatchInfo.SCHEMA_REPRESENTATION)
- [GatewayIdentity](https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#GatewayIdentity)

The configuration for the proxy.

| JSON representation |
|---|
| ``` { "allowedClientHeaders": [ string ], "contextualHeaders": { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#ContextualHeaders`) }, "metadataHeaders": { string: string, ... }, "gatewayIdentity": enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#GatewayIdentity`), "clientIp": boolean } ``` |

| Fields ||
|---|---|
| `allowedClientHeaders[]` | `string` Optional. List of the allowed client header names. |
| `contextualHeaders` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#ContextualHeaders`)`` Optional. Configuration for the contextual headers. |
| `metadataHeaders` | `map (key: string, value: string)` Optional. Custom resource specific headers along with the values. The names should conform to RFC 9110: > Field names can contain alphanumeric characters, hyphens, and periods, can contain only ASCII-printable characters and tabs, and must start with a letter. |
| `gatewayIdentity` | ``enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#GatewayIdentity`)`` Optional. The security gateway identity configuration. |
| `clientIp` | `boolean` Optional. Client IP configuration. The client IP address is included if true. |

## ContextualHeaders

Contextual headers configuration.

| JSON representation |
|---|
| ``` { "userInfo": { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedUserInfo`) }, "groupInfo": { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedGroupInfo`) }, "deviceInfo": { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDeviceInfo`) }, "dispatchInfo": { object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDispatchInfo`) }, "outputType": enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`) } ``` |

| Fields ||
|---|---|
| `userInfo` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedUserInfo`)`` Optional. User details. |
| `groupInfo` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedGroupInfo`)`` Optional. Group details. |
| `deviceInfo` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDeviceInfo`)`` Optional. The device information configuration. |
| `dispatchInfo` | ``object (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#DelegatedDispatchInfo`)`` Optional. The dispatch information configuration. |
| `outputType` | ``enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`)`` Optional. Default output type for all enabled headers. |

## DelegatedUserInfo

The configuration information for the delegated user.

| JSON representation |
|---|
| ``` { "outputType": enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`) } ``` |

| Fields ||
|---|---|
| `outputType` | ``enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`)`` Optional. The delegated user's information. |

## OutputType

The output type of the headers.

| Enums ||
|---|---|
| `OUTPUT_TYPE_UNSPECIFIED` | The unspecified output type. |
| `PROTOBUF` | Protobuf output type. |
| `JSON` | JSON output type. |
| `NONE` | Explicitly disable header output. |

## DelegatedGroupInfo

The delegated group configuration details.

| JSON representation |
|---|
| ``` { "outputType": enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`) } ``` |

| Fields ||
|---|---|
| `outputType` | ``enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`)`` Optional. The output type of the delegated group information. |

## DelegatedDeviceInfo

The delegated device information configuration.

| JSON representation |
|---|
| ``` { "outputType": enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`) } ``` |

| Fields ||
|---|---|
| `outputType` | ``enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`)`` Optional. The output type details for the delegated device. |

## DelegatedDispatchInfo

The delegated dispatch information configuration.

| JSON representation |
|---|
| ``` { "outputType": enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`) } ``` |

| Fields ||
|---|---|
| `outputType` | ``enum (`https://docs.cloud.google.com/chrome-enterprise-premium/docs/reference/rest/v1/ProxyProtocolConfig#OutputType`)`` Optional. The output type details for the delegated dispatch information. |

## GatewayIdentity

The security gateway identity type.

| Enums ||
|---|---|
| `GATEWAY_IDENTITY_UNSPECIFIED` | Unspecified gateway identity. |
| `RESOURCE_NAME` | Resource name for gateway identity, in the format: projects/{projectId}/locations/{locationId}/securityGateways/{securityGatewayId} |