Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::CloudStorageConfig::AvroConfig (v0.17.0)

Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::CloudStorageConfig::AvroConfig.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#write_metadata

def write_metadata() -> ::Boolean
Returns
  • (::Boolean) — When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output.

#write_metadata=

def write_metadata=(value) -> ::Boolean
Parameter
  • value (::Boolean) — When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output.
Returns
  • (::Boolean) — When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output.