Google Cloud Spanner v1 API - Class StructType (5.0.0-beta02)

public sealed class StructType : IMessage<StructType>, IEquatable<StructType>, IDeepCloneable<StructType>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner v1 API class StructType.

StructType defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.

Inheritance

object > StructType

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

StructType()

public StructType()

StructType(StructType)

public StructType(StructType other)
Parameter
NameDescription
otherStructType

Properties

Fields

public RepeatedField<StructType.Types.Field> Fields { get; }

The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the SELECT clause of a query.

Property Value
TypeDescription
RepeatedFieldStructTypeTypesField