Reference documentation and code samples for the Google Cloud Functions V2 Client class State.
Describes the current state of the function.
Protobuf type google.cloud.functions.v2.Function.State
Methods
name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Not specified. Invalid state.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
ACTIVE
Value: 1Function has been successfully deployed and is serving.
Generated from protobuf enum ACTIVE = 1;
FAILED
Value: 2Function deployment failed and the function is not serving.
Generated from protobuf enum FAILED = 2;
DEPLOYING
Value: 3Function is being created or updated.
Generated from protobuf enum DEPLOYING = 3;
DELETING
Value: 4Function is being deleted.
Generated from protobuf enum DELETING = 4;
UNKNOWN
Value: 5Function deployment failed and the function serving state is undefined.
The function should be updated or deleted to move it out of this state.
Generated from protobuf enum UNKNOWN = 5;