Cloud PubSub V1 Client - Class State (2.9.0)

Reference documentation and code samples for the Cloud PubSub V1 Client class State.

Possible states for managed ingestion from Event Hubs.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State

Namespace

Google \ Cloud \ PubSub \ V1 \ IngestionDataSourceSettings \ AzureEventHubs

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ACTIVE

Value: 1

Ingestion is active.

Generated from protobuf enum ACTIVE = 1;

EVENT_HUBS_PERMISSION_DENIED

Value: 2

Permission denied encountered while consuming data from Event Hubs.

This can happen when client_id, or tenant_id are invalid. Or the right permissions haven't been granted.

Generated from protobuf enum EVENT_HUBS_PERMISSION_DENIED = 2;

PUBLISH_PERMISSION_DENIED

Value: 3

Permission denied encountered while publishing to the topic.

Generated from protobuf enum PUBLISH_PERMISSION_DENIED = 3;

NAMESPACE_NOT_FOUND

Value: 4

The provided Event Hubs namespace couldn't be found.

Generated from protobuf enum NAMESPACE_NOT_FOUND = 4;

EVENT_HUB_NOT_FOUND

Value: 5

The provided Event Hub couldn't be found.

Generated from protobuf enum EVENT_HUB_NOT_FOUND = 5;

SUBSCRIPTION_NOT_FOUND

Value: 6

The provided Event Hubs subscription couldn't be found.

Generated from protobuf enum SUBSCRIPTION_NOT_FOUND = 6;

RESOURCE_GROUP_NOT_FOUND

Value: 7

The provided Event Hubs resource group couldn't be found.

Generated from protobuf enum RESOURCE_GROUP_NOT_FOUND = 7;