public sealed class StructType.Types.Field : IMessage<StructType.Types.Field>, IEquatable<StructType.Types.Field>, IDeepCloneable<StructType.Types.Field>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class StructType.Types.Field.
The name of the field. For reads, this is the column name. For
SQL queries, it is the column alias (e.g., "Word" in the
query "SELECT 'hello' AS Word"), or the column name (e.g.,
"ColName" in the query "SELECT ColName FROM Table"). Some
columns might have an empty name (e.g., "SELECT
UPPER(ColName)"). Note that a query result can contain
multiple fields with the same 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 \u003ccode\u003eStructType.Types.Field\u003c/code\u003e class in the Google Cloud Spanner v1 API represents a single field within a struct, holding data about the name and type of the field.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Spanner.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor \u003ccode\u003eField()\u003c/code\u003e and another that accepts an existing \u003ccode\u003eStructType.Types.Field\u003c/code\u003e object, \u003ccode\u003eField(Field)\u003c/code\u003e to create a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property represents the name of the field, which can correspond to a column name in reads or a column alias/name in SQL queries, and the \u003ccode\u003eType\u003c/code\u003e property refers to the field's type.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides a list of all available versions, including beta, of the \u003ccode\u003eStructType.Types.Field\u003c/code\u003e class in the Google Cloud Spanner V1 API, from \u003ccode\u003e5.0.0-beta05\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]