public sealed class AvroSerializationOptions : IMessage<AvroSerializationOptions>, IEquatable<AvroSerializationOptions>, IDeepCloneable<AvroSerializationOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google BigQuery Storage v1 API class AvroSerializationOptions.
public bool EnableDisplayNameAttribute { get; set; }
Enable displayName attribute in Avro schema.
The Avro specification requires field names to be alphanumeric. By
default, in cases when column names do not conform to these requirements
(e.g. non-ascii unicode codepoints) and Avro is requested as an output
format, the CreateReadSession call will fail.
Setting this field to true, populates avro field names with a placeholder
value and populates a "displayName" attribute for every avro field with the
original column name.
[[["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 webpage provides documentation for the \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class within the Google BigQuery Storage v1 API for .NET, with the current version being 3.11.0, and the latest version being 3.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class is used to specify options specific to Avro serialization when interacting with the Google BigQuery Storage API, and it implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of all available versions, ranging from version 2.3.0 to the latest version 3.17.0, with links to the documentation of each specific version for \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class has one property, \u003ccode\u003eEnableDisplayNameAttribute\u003c/code\u003e, which is a boolean that controls whether to include a "displayName" attribute in the Avro schema to handle non-alphanumeric column names.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides two constructors for the \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class which are a parameterless constructor and one that takes an \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,[]]