Reference documentation and code samples for the Cloud PubSub V1 Client class State.
The state of the topic.
Protobuf type google.pubsub.v1.Topic.State
Namespace
Google \ Cloud \ PubSub \ V1 \ TopicMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
ACTIVE
Value: 1The topic does not have any persistent errors.
Generated from protobuf enum ACTIVE = 1;
INGESTION_RESOURCE_ERROR
Value: 2Ingestion from the data source has encountered a permanent error.
See the more detailed error state in the corresponding ingestion source configuration.
Generated from protobuf enum INGESTION_RESOURCE_ERROR = 2;