Reference documentation and code samples for the BigQuery Storage V1 API class Google::Cloud::Bigquery::Storage::V1::TableSchema.
Schema of a table. This schema is a subset of google.cloud.bigquery.v2.TableSchema containing information necessary to generate valid message to write to BigQuery.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#fields
def fields() -> ::Array<::Google::Cloud::Bigquery::Storage::V1::TableFieldSchema>
Returns
- (::Array<::Google::Cloud::Bigquery::Storage::V1::TableFieldSchema>) — Describes the fields in a table.
#fields=
def fields=(value) -> ::Array<::Google::Cloud::Bigquery::Storage::V1::TableFieldSchema>
Parameter
- value (::Array<::Google::Cloud::Bigquery::Storage::V1::TableFieldSchema>) — Describes the fields in a table.
Returns
- (::Array<::Google::Cloud::Bigquery::Storage::V1::TableFieldSchema>) — Describes the fields in a table.