Class State (1.16.2)

State(value)

Describes the current state of the function.

Values: STATE_UNSPECIFIED (0): Not specified. Invalid state. ACTIVE (1): Function has been successfully deployed and is serving. FAILED (2): Function deployment failed and the function is not serving. DEPLOYING (3): Function is being created or updated. DELETING (4): Function is being deleted. UNKNOWN (5): Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.