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

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

Google.Cloud.Spanner.V1

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., "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.

Property Value
TypeDescription
string

Type

public Type Type { get; set; }

The type of the field.

Property Value
TypeDescription
Type