public sealed class CloudStorageConfig.Types.AvroConfig : IMessage<CloudStorageConfig.Types.AvroConfig>, IEquatable<CloudStorageConfig.Types.AvroConfig>, IDeepCloneable<CloudStorageConfig.Types.AvroConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class CloudStorageConfig.Types.AvroConfig.
Configuration for writing message data in Avro format.
Message payloads and metadata will be written to files as an Avro binary.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["This page provides documentation for the `CloudStorageConfig.Types.AvroConfig` class within the Google Cloud Pub/Sub v1 API, which is used to configure writing message data in Avro format."],["The documentation includes a list of available versions for the `AvroConfig` class, ranging from version 2.3.0 to the latest version 3.23.0, allowing users to browse the API evolution."],["The `AvroConfig` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which defines its capabilities and how it can be used with other classes."],["The class offers two constructors: a default constructor (`AvroConfig()`) and one that accepts another `AvroConfig` instance for copying, enabling flexibility in object creation."],["`AvroConfig` class includes two boolean properties, `UseTopicSchema` and `WriteMetadata`, which can be set to true or false to customize if the output file is serialized using the topic schema and if to write additional metadata to the output, respectively."]]],[]]