If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then struct_type
provides type information for the struct's fields.
public TypeAnnotationCode TypeAnnotation { get; set; }
The [TypeAnnotationCode][google.spanner.v1.TypeAnnotationCode] that disambiguates SQL type that Spanner will
use to represent values of this type during query processing. This is
necessary for some type codes because a single [TypeCode][google.spanner.v1.TypeCode] can be mapped
to different SQL types depending on the SQL dialect. [type_annotation][google.spanner.v1.Type.type_annotation]
typically is not needed to process the content of a value (it doesn't
affect serialization) and clients can ignore it on the read path.
[[["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\u003eType\u003c/code\u003e class in the Google Cloud Spanner v1 API represents the type of a Cloud Spanner value, used in table cells or SQL query results.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides documentation for version 4.6.0 of the \u003ccode\u003eType\u003c/code\u003e class, while also listing various past versions and a beta version 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eType\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has constructors for default initialization and cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eType\u003c/code\u003e class include \u003ccode\u003eCode\u003c/code\u003e (the \u003ccode\u003eTypeCode\u003c/code\u003e), \u003ccode\u003eArrayElementType\u003c/code\u003e (for array types), \u003ccode\u003eStructType\u003c/code\u003e (for struct types), and \u003ccode\u003eTypeAnnotation\u003c/code\u003e (disambiguates SQL types).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eType\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and has members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]