Class TableFieldSchema (3.1.0)

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

A field in TableSchema.

Inheritance

Object > TableFieldSchema

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

TableFieldSchema()

public TableFieldSchema()

TableFieldSchema(TableFieldSchema)

public TableFieldSchema(TableFieldSchema other)
Parameter
NameDescription
otherTableFieldSchema

Properties

Field

public string Field { get; set; }

The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.

Property Value
TypeDescription
String

Fields

public RepeatedField<TableFieldSchema> Fields { get; }

Describes the nested schema fields if the type property is set to RECORD.

Property Value
TypeDescription
RepeatedField<TableFieldSchema>

Mode

public string Mode { get; set; }

The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.

Property Value
TypeDescription
String

Type

public string Type { get; set; }

The field data type. Possible values include

  • STRING
  • BYTES
  • INTEGER
  • FLOAT
  • BOOLEAN
  • TIMESTAMP
  • DATE
  • TIME
  • DATETIME
  • GEOGRAPHY,
  • NUMERIC,
  • BIGNUMERIC,
  • RECORD (where RECORD indicates that the field contains a nested schema).
Property Value
TypeDescription
String