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"]],[["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-21 UTC."],[[["The webpage provides documentation for the `AvroSerializationOptions` 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)."],["`AvroSerializationOptions` is a class that contains settings for customizing the Avro serialization process, inheriting from `object` and implementing interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes a constructor and a property, `EnableDisplayNameAttribute`, which when set to `true`, allows non-alphanumeric column names to be represented in the Avro schema by using placeholder field names and \"displayName\" attributes."],["The documentation details the `AvroSerializationOptions` constructor and the `EnableDisplayNameAttribute` property, explaining their purpose and the types they handle."],["This class resides in the `Google.Cloud.BigQuery.Storage.V1` namespace, within the `Google.Cloud.BigQuery.Storage.V1.dll` assembly."]]],[]]