Class: Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Failure when ingesting from a Cloud Storage source.

Instance Attribute Summary collapse

Instance Attribute Details

#api_violation_reason::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason

Returns 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.

Returns:

  • (::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.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#avro_failure_reason::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason

Returns 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.

Returns:

  • (::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.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#bucket::String

Returns Optional. Name of the Cloud Storage bucket used for ingestion.

Returns:

  • (::String)

    Optional. Name of the Cloud Storage bucket used for ingestion.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_transformation_failure_reason::Google::Cloud::PubSub::V1::IngestionFailureEvent::MessageTransformationFailureReason

Returns 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.

Returns:

  • (::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.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#object_generation::Integer

Returns Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.

Returns:

  • (::Integer)

    Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#object_name::String

Returns Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.

Returns:

  • (::String)

    Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#schema_violation_reason::Google::Cloud::PubSub::V1::IngestionFailureEvent::SchemaViolationReason

Returns 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.

Returns:

  • (::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.



566
567
568
569
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 566

class CloudStorageFailure
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end