Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure.
Failure when ingesting from a Cloud Storage 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,avro_failure_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,avro_failure_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,avro_failure_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.
#avro_failure_reason
def avro_failure_reason() -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason-
(::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason) — Optional. Failure encountered when parsing an Avro file.
Note: The following fields are mutually exclusive:
avro_failure_reason,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.
#avro_failure_reason=
def avro_failure_reason=(value) -> ::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason-
value (::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason) — Optional. Failure encountered when parsing an Avro file.
Note: The following fields are mutually exclusive:
avro_failure_reason,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::AvroFailureReason) — Optional. Failure encountered when parsing an Avro file.
Note: The following fields are mutually exclusive:
avro_failure_reason,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.
#bucket
def bucket() -> ::String- (::String) — Optional. Name of the Cloud Storage bucket used for ingestion.
#bucket=
def bucket=(value) -> ::String- value (::String) — Optional. Name of the Cloud Storage bucket used for ingestion.
- (::String) — Optional. Name of the Cloud Storage bucket used for ingestion.
#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,avro_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,avro_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,avro_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.
#object_generation
def object_generation() -> ::Integer- (::Integer) — Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
#object_generation=
def object_generation=(value) -> ::Integer- value (::Integer) — Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
- (::Integer) — Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
#object_name
def object_name() -> ::String- (::String) — Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
#object_name=
def object_name=(value) -> ::String- value (::String) — Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
- (::String) — Optional. Name of the Cloud Storage object which contained the section that couldn't 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,avro_failure_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,avro_failure_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,avro_failure_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.