Google BigQuery Storage V1 Client - Class TableSchema (2.2.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fields array<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<TableFieldSchema>
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.