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.
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eCloudStorageConfig.Types.AvroConfig\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, detailing its functionality for writing message data in Avro format.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of versions for the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e library, from the latest version 3.23.0 down to version 2.3.0, which are all listed, along with a version dropdown.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAvroConfig\u003c/code\u003e class is designed for configuring how message payloads and metadata are written as Avro binary files, using the \u003ccode\u003eCloudStorageConfig.Types.AvroConfig\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and includes functionalities like constructors and a \u003ccode\u003eWriteMetadata\u003c/code\u003e property to manage data writing.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also provides details on the class's inheritance from \u003ccode\u003eobject\u003c/code\u003e, lists inherited members, and specifies the namespace (\u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e) and assembly (\u003ccode\u003eGoogle.Cloud.PubSub.V1.dll\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]