Class: Google::Cloud::PubSub::V1::IngestionFailureEvent
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::IngestionFailureEvent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/pubsub.rb
Overview
Payload of the Platform Log entry sent when a failure is encountered while ingesting.
Defined Under Namespace
Classes: ApiViolationReason, AvroFailureReason, CloudStorageFailure
Instance Attribute Summary collapse
-
#cloud_storage_failure ⇒ ::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure
Optional.
-
#error_message ⇒ ::String
Required.
-
#topic ⇒ ::String
Required.
Instance Attribute Details
#cloud_storage_failure ⇒ ::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure
Returns Optional. Failure when ingesting from Cloud Storage.
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 280 class IngestionFailureEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the reason why some data may have been left out of # the desired Pub/Sub message due to the API message limits # (https://cloud.google.com/pubsub/quotas#resource_limits). For example, # when the number of attributes is larger than 100, the number of # attributes is truncated to 100 to respect the limit on the attribute count. # Other attribute limits are treated similarly. When the size of the desired # message would've been larger than 10MB, the message won't be published at # all, and ingestion of the subsequent messages will proceed as normal. class ApiViolationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Set when an Avro file is unsupported or its format is not valid. When this # occurs, one or more Avro objects won't be ingested. class AvroFailureReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Failure when ingesting from a Cloud Storage source. # @!attribute [rw] bucket # @return [::String] # Optional. Name of the Cloud Storage bucket used for ingestion. # @!attribute [rw] object_name # @return [::String] # Optional. Name of the Cloud Storage object which contained the section # that couldn't be ingested. # @!attribute [rw] object_generation # @return [::Integer] # Optional. Generation of the Cloud Storage object which contained the # section that couldn't be ingested. # @!attribute [rw] avro_failure_reason # @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason] # Optional. Failure encountered when parsing an Avro file. # @!attribute [rw] api_violation_reason # @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason] # Optional. The Pub/Sub API limits prevented the desired message from # being published. class CloudStorageFailure include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#error_message ⇒ ::String
Returns Required. Error details explaining why ingestion to Pub/Sub has failed.
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 280 class IngestionFailureEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the reason why some data may have been left out of # the desired Pub/Sub message due to the API message limits # (https://cloud.google.com/pubsub/quotas#resource_limits). For example, # when the number of attributes is larger than 100, the number of # attributes is truncated to 100 to respect the limit on the attribute count. # Other attribute limits are treated similarly. When the size of the desired # message would've been larger than 10MB, the message won't be published at # all, and ingestion of the subsequent messages will proceed as normal. class ApiViolationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Set when an Avro file is unsupported or its format is not valid. When this # occurs, one or more Avro objects won't be ingested. class AvroFailureReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Failure when ingesting from a Cloud Storage source. # @!attribute [rw] bucket # @return [::String] # Optional. Name of the Cloud Storage bucket used for ingestion. # @!attribute [rw] object_name # @return [::String] # Optional. Name of the Cloud Storage object which contained the section # that couldn't be ingested. # @!attribute [rw] object_generation # @return [::Integer] # Optional. Generation of the Cloud Storage object which contained the # section that couldn't be ingested. # @!attribute [rw] avro_failure_reason # @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason] # Optional. Failure encountered when parsing an Avro file. # @!attribute [rw] api_violation_reason # @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason] # Optional. The Pub/Sub API limits prevented the desired message from # being published. class CloudStorageFailure include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#topic ⇒ ::String
Returns Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 280 class IngestionFailureEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the reason why some data may have been left out of # the desired Pub/Sub message due to the API message limits # (https://cloud.google.com/pubsub/quotas#resource_limits). For example, # when the number of attributes is larger than 100, the number of # attributes is truncated to 100 to respect the limit on the attribute count. # Other attribute limits are treated similarly. When the size of the desired # message would've been larger than 10MB, the message won't be published at # all, and ingestion of the subsequent messages will proceed as normal. class ApiViolationReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Set when an Avro file is unsupported or its format is not valid. When this # occurs, one or more Avro objects won't be ingested. class AvroFailureReason include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Failure when ingesting from a Cloud Storage source. # @!attribute [rw] bucket # @return [::String] # Optional. Name of the Cloud Storage bucket used for ingestion. # @!attribute [rw] object_name # @return [::String] # Optional. Name of the Cloud Storage object which contained the section # that couldn't be ingested. # @!attribute [rw] object_generation # @return [::Integer] # Optional. Generation of the Cloud Storage object which contained the # section that couldn't be ingested. # @!attribute [rw] avro_failure_reason # @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason] # Optional. Failure encountered when parsing an Avro file. # @!attribute [rw] api_violation_reason # @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason] # Optional. The Pub/Sub API limits prevented the desired message from # being published. class CloudStorageFailure include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |