class Google::Apis::BigqueryV2::TableFieldSchema
Attributes
- Optional
-
The field description. The maximum length is 16K characters.
Corresponds to the JSON property `description` @return [String]
- Optional
-
Describes the nested schema fields if the type property is set to
RECORD. Corresponds to the JSON property `fields` @return [Array<Google::Apis::BigqueryV2::TableFieldSchema>]
- Optional
-
The field mode. Possible values include NULLABLE, REQUIRED and
REPEATED. The default value is NULLABLE. Corresponds to the JSON property `mode` @return [String]
- Required
-
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. Corresponds to the JSON property `name` @return [String]
- Required
-
The field data type. Possible values include STRING, BYTES, INTEGER,
FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/bigquery_v2/classes.rb, line 2500 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/bigquery_v2/classes.rb, line 2505 def update!(**args) @description = args[:description] if args.key?(:description) @fields = args[:fields] if args.key?(:fields) @mode = args[:mode] if args.key?(:mode) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end