Reference documentation and code samples for the Google BigQuery Storage V1 Client class 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.
Generated from protobuf message google.cloud.bigquery.storage.v1.TableSchema
Namespace
Google \ Cloud \ BigQuery \ Storage \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ fields |
array<Google\Cloud\BigQuery\Storage\V1\TableFieldSchema>
Describes the fields in a table. |
getFields
Describes the fields in a table.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFields
Describes the fields in a table.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\BigQuery\Storage\V1\TableFieldSchema>
|
Returns | |
---|---|
Type | Description |
$this |