Google Cloud Spanner v1 API - Class StructType.Types.Field (4.4.0)

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.

Message representing a single field of a struct.

Inheritance

object > StructType.Types.Field

Namespace

GoogleGoogle.CloudGoogle.Cloud.SpannerV1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

Field()

public Field()

Field(Field)

public Field(StructType.Types.Field other)
Parameter
NameDescription
otherStructTypeTypesField

Properties

Name

public string Name { get; set; }

The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., &quot;Word&quot; in the query &quot;SELECT &apos;hello&apos; AS Word&quot;), or the column name (e.g., &quot;ColName&quot; in the query &quot;SELECT ColName FROM Table&quot;). Some columns might have an empty name (e.g., &quot;SELECT UPPER(ColName)&quot;). Note that a query result can contain multiple fields with the same name.

Property Value
TypeDescription
string

Type

public Type Type { get; set; }

The type of the field.

Property Value
TypeDescription
Type