# Google Cloud Network Services V1 Client - Class EventType (0.8.2)

0.8.2 (latest) 0.8.1 0.7.1 0.6.1 0.5.0 0.4.0 0.3.0 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Network Services V1 Client class EventType.

The part of the request or response for which the extension is called.

Protobuf type `google.cloud.networkservices.v1.EventType`

## Namespace

Google \\ Cloud \\ NetworkServices \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### EVENT_TYPE_UNSPECIFIED

    Value: 0

Unspecified value. Do not use.

Generated from protobuf enum `EVENT_TYPE_UNSPECIFIED = 0;`

### REQUEST_HEADERS

    Value: 1

If included in `supported_events`,
the extension is called when the HTTP request headers arrive.

Generated from protobuf enum `REQUEST_HEADERS = 1;`

### REQUEST_BODY

    Value: 2

If included in `supported_events`,
the extension is called when the HTTP request body arrives.

Generated from protobuf enum `REQUEST_BODY = 2;`

### RESPONSE_HEADERS

    Value: 3

If included in `supported_events`,
the extension is called when the HTTP response headers arrive.

Generated from protobuf enum `RESPONSE_HEADERS = 3;`

### RESPONSE_BODY

    Value: 4

If included in `supported_events`,
the extension is called when the HTTP response body arrives.

Generated from protobuf enum `RESPONSE_BODY = 4;`

### REQUEST_TRAILERS

    Value: 5

If included in `supported_events`,
the extension is called when the HTTP request trailers arrives.

Generated from protobuf enum `REQUEST_TRAILERS = 5;`

### RESPONSE_TRAILERS

    Value: 6

If included in `supported_events`,
the extension is called when the HTTP response trailers arrives.

Generated from protobuf enum `RESPONSE_TRAILERS = 6;`