# Cloud Functions v2 API - Enum Function.Types.State (1.8.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.8.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.Function.Types.State)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.7.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.6.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.5.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.4.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.3.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.2.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.1.0/Google.Cloud.Functions.V2.Function.Types.State)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/1.0.0/Google.Cloud.Functions.V2.Function.Types.State)

    public enum Function.Types.State

Reference documentation and code samples for the Cloud Functions v2 API enum Function.Types.State.

Describes the current state of the function.

## Namespace

[Google.Cloud.Functions.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2)

## Assembly

Google.Cloud.Functions.V2.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Active` | Function has been successfully deployed and is serving. |
| `Deleting` | Function is being deleted. |
| `Deploying` | Function is being created or updated. |
| `Failed` | Function deployment failed and the function is not serving. |
| `Unknown` | Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state. |
| `Unspecified` | Not specified. Invalid state. |