# Google Cloud Functions V2 Client - Class OperationType (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.7.0 1.6.5 1.5.0 1.4.2 1.3.1 1.2.0 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Functions V2 Client class OperationType.

The type of the long running operation.

Protobuf type `google.cloud.functions.v2.OperationType`

## Namespace

Google \\ Cloud \\ Functions \\ V2

## Methods

### static::name

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

### static::value

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

## Constants

### OPERATIONTYPE_UNSPECIFIED

    Value: 0

Unspecified

Generated from protobuf enum `OPERATIONTYPE_UNSPECIFIED = 0;`

### CREATE_FUNCTION

    Value: 1

CreateFunction

Generated from protobuf enum `CREATE_FUNCTION = 1;`

### UPDATE_FUNCTION

    Value: 2

UpdateFunction

Generated from protobuf enum `UPDATE_FUNCTION = 2;`

### DELETE_FUNCTION

    Value: 3

DeleteFunction

Generated from protobuf enum `DELETE_FUNCTION = 3;`