Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason.
Failure when ingesting from an Azure Event Hubs source.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#api_violation_reason
def api_violation_reason() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason
-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason) — Optional. The Pub/Sub API limits prevented the desired message from
being published.
Note: The following fields are mutually exclusive:
api_violation_reason
,schema_violation_reason
,message_transformation_failure_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#api_violation_reason=
def api_violation_reason=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason
-
value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason) — Optional. The Pub/Sub API limits prevented the desired message from
being published.
Note: The following fields are mutually exclusive:
api_violation_reason
,schema_violation_reason
,message_transformation_failure_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason) — Optional. The Pub/Sub API limits prevented the desired message from
being published.
Note: The following fields are mutually exclusive:
api_violation_reason
,schema_violation_reason
,message_transformation_failure_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#event_hub
def event_hub() -> ::String
- (::String) — Optional. The name of the event hub being ingested from.
#event_hub=
def event_hub=(value) -> ::String
- value (::String) — Optional. The name of the event hub being ingested from.
- (::String) — Optional. The name of the event hub being ingested from.
#message_transformation_failure_reason
def message_transformation_failure_reason() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::MessageTransformationFailureReason
-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::MessageTransformationFailureReason) — Optional. Failure encountered when applying a message transformation to
the Pub/Sub message.
Note: The following fields are mutually exclusive:
message_transformation_failure_reason
,api_violation_reason
,schema_violation_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#message_transformation_failure_reason=
def message_transformation_failure_reason=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::MessageTransformationFailureReason
-
value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::MessageTransformationFailureReason) — Optional. Failure encountered when applying a message transformation to
the Pub/Sub message.
Note: The following fields are mutually exclusive:
message_transformation_failure_reason
,api_violation_reason
,schema_violation_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::MessageTransformationFailureReason) — Optional. Failure encountered when applying a message transformation to
the Pub/Sub message.
Note: The following fields are mutually exclusive:
message_transformation_failure_reason
,api_violation_reason
,schema_violation_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#namespace
def namespace() -> ::String
- (::String) — Optional. The namespace containing the event hub being ingested from.
#namespace=
def namespace=(value) -> ::String
- value (::String) — Optional. The namespace containing the event hub being ingested from.
- (::String) — Optional. The namespace containing the event hub being ingested from.
#offset
def offset() -> ::Integer
- (::Integer) — Optional. The offset within the partition of the message that failed to be ingested.
#offset=
def offset=(value) -> ::Integer
- value (::Integer) — Optional. The offset within the partition of the message that failed to be ingested.
- (::Integer) — Optional. The offset within the partition of the message that failed to be ingested.
#partition_id
def partition_id() -> ::Integer
- (::Integer) — Optional. The partition ID of the message that failed to be ingested.
#partition_id=
def partition_id=(value) -> ::Integer
- value (::Integer) — Optional. The partition ID of the message that failed to be ingested.
- (::Integer) — Optional. The partition ID of the message that failed to be ingested.
#schema_violation_reason
def schema_violation_reason() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::SchemaViolationReason
-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::SchemaViolationReason) — Optional. The Pub/Sub message failed schema validation.
Note: The following fields are mutually exclusive:
schema_violation_reason
,api_violation_reason
,message_transformation_failure_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#schema_violation_reason=
def schema_violation_reason=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::SchemaViolationReason
-
value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::SchemaViolationReason) — Optional. The Pub/Sub message failed schema validation.
Note: The following fields are mutually exclusive:
schema_violation_reason
,api_violation_reason
,message_transformation_failure_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::SchemaViolationReason) — Optional. The Pub/Sub message failed schema validation.
Note: The following fields are mutually exclusive:
schema_violation_reason
,api_violation_reason
,message_transformation_failure_reason
. If a field in that set is populated, all other fields in the set will automatically be cleared.