Class: Google::Cloud::PubSub::V1::CloudStorageConfig::AvroConfig

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

Overview

Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.

Instance Attribute Summary collapse

Instance Attribute Details

#use_topic_schema::Boolean

Returns Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.

Returns:

  • (::Boolean)

    Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.



1150
1151
1152
1153
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1150

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

#write_metadata::Boolean

Returns Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.

Returns:

  • (::Boolean)

    Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.



1150
1151
1152
1153
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 1150

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