Class State (1.7.0)

State(value)

Stream state.

Values: STATE_UNSPECIFIED (0): Unspecified stream state. CREATED (1): The stream has been created. RUNNING (2): The stream is running. PAUSED (3): The stream is paused. MAINTENANCE (4): The stream is in maintenance mode. Updates are rejected on the resource in this state. FAILED (5): The stream is experiencing an error that is preventing data from being streamed. FAILED_PERMANENTLY (6): The stream has experienced a terminal failure. STARTING (7): The stream is starting, but not yet running. DRAINING (8): The Stream is no longer reading new events, but still writing events in the buffer.