BigQuery Data Transfer V1 Client - Class RecordSchema (1.7.0)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class RecordSchema.

Describes schema of the data to be ingested.

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ ImportedDataInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ fields array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo\FieldSchema>

One field per column in the record.

getFields

One field per column in the record.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFields

One field per column in the record.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo\FieldSchema>
Returns
TypeDescription
$this