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\u003eThe webpage provides documentation for the \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e class within the Google BigQuery Storage v1 API, specifically for .NET development, across multiple versions, ranging from 2.3.0 to 3.17.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAvroSerializationOptions\u003c/code\u003e is a class that contains settings for customizing the Avro serialization process, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor and a property, \u003ccode\u003eEnableDisplayNameAttribute\u003c/code\u003e, which when set to \u003ccode\u003etrue\u003c/code\u003e, allows non-alphanumeric column names to be represented in the Avro schema by using placeholder field names and "displayName" attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the \u003ccode\u003eAvroSerializationOptions\u003c/code\u003e constructor and the \u003ccode\u003eEnableDisplayNameAttribute\u003c/code\u003e property, explaining their purpose and the types they handle.\u003c/p\u003e\n"],["\u003cp\u003eThis class resides in the \u003ccode\u003eGoogle.Cloud.BigQuery.Storage.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.BigQuery.Storage.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]